diff options
author | Michael Buesch <mbuesch@freenet.de> | 2006-03-21 12:16:28 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2006-03-27 11:19:43 -0500 |
commit | e382c234cbc6fcd76e9ed1168c77fe88d75df73c (patch) | |
tree | 3f0a38c5e9712f62384019e670126a9b46a18c39 /drivers/net/wireless/bcm43xx/bcm43xx.h | |
parent | 6ecb26904c9db15ca964d60b9483f19dc51bda5b (diff) |
[PATCH] bcm43xx: sync interference mitigation code to the specs.
This also includes a rewritten valuesave-stack.
Signed-off-by: Michael Buesch <mbuesch@freenet.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/bcm43xx/bcm43xx.h')
-rw-r--r-- | drivers/net/wireless/bcm43xx/bcm43xx.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/drivers/net/wireless/bcm43xx/bcm43xx.h b/drivers/net/wireless/bcm43xx/bcm43xx.h index 1fca1f9c48fe..57fcaafcf7dd 100644 --- a/drivers/net/wireless/bcm43xx/bcm43xx.h +++ b/drivers/net/wireless/bcm43xx/bcm43xx.h | |||
@@ -526,8 +526,16 @@ struct bcm43xx_radioinfo { | |||
526 | 526 | ||
527 | /* Current Interference Mitigation mode */ | 527 | /* Current Interference Mitigation mode */ |
528 | int interfmode; | 528 | int interfmode; |
529 | /* Stack of saved values from the Interference Mitigation code */ | 529 | /* Stack of saved values from the Interference Mitigation code. |
530 | u16 interfstack[20]; | 530 | * Each value in the stack is layed out as follows: |
531 | * bit 0-11: offset | ||
532 | * bit 12-15: register ID | ||
533 | * bit 16-32: value | ||
534 | * register ID is: 0x1 PHY, 0x2 Radio, 0x3 ILT | ||
535 | */ | ||
536 | #define BCM43xx_INTERFSTACK_SIZE 26 | ||
537 | u32 interfstack[BCM43xx_INTERFSTACK_SIZE]; | ||
538 | |||
531 | /* Saved values from the NRSSI Slope calculation */ | 539 | /* Saved values from the NRSSI Slope calculation */ |
532 | s16 nrssi[2]; | 540 | s16 nrssi[2]; |
533 | s32 nrssislope; | 541 | s32 nrssislope; |