Skip to content

Commit

Permalink
[PATCH] bcm43xx: sync interference mitigation code to the specs.
Browse files Browse the repository at this point in the history
This also includes a rewritten valuesave-stack.

Signed-off-by: Michael Buesch <mbuesch@freenet.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Michael Buesch authored and John W. Linville committed Mar 27, 2006
1 parent 6ecb269 commit e382c23
Show file tree
Hide file tree
Showing 2 changed files with 309 additions and 150 deletions.
12 changes: 10 additions & 2 deletions drivers/net/wireless/bcm43xx/bcm43xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -526,8 +526,16 @@ struct bcm43xx_radioinfo {

/* Current Interference Mitigation mode */
int interfmode;
/* Stack of saved values from the Interference Mitigation code */
u16 interfstack[20];
/* Stack of saved values from the Interference Mitigation code.
* Each value in the stack is layed out as follows:
* bit 0-11: offset
* bit 12-15: register ID
* bit 16-32: value
* register ID is: 0x1 PHY, 0x2 Radio, 0x3 ILT
*/
#define BCM43xx_INTERFSTACK_SIZE 26
u32 interfstack[BCM43xx_INTERFSTACK_SIZE];

/* Saved values from the NRSSI Slope calculation */
s16 nrssi[2];
s32 nrssislope;
Expand Down
Loading

0 comments on commit e382c23

Please sign in to comment.