aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/bcm43xx/bcm43xx.h
diff options
context:
space:
mode:
authorMichael Buesch <mbuesch@freenet.de>2006-03-19 18:01:04 -0500
committerJohn W. Linville <linville@tuxdriver.com>2006-03-27 11:19:42 -0500
commit6ecb26904c9db15ca964d60b9483f19dc51bda5b (patch)
tree933fd9814eac05e1975735517942dfd5c5b2e412 /drivers/net/wireless/bcm43xx/bcm43xx.h
parent0ac59daee5f7fbaab25784a643edede669b5419e (diff)
[PATCH] bcm43xx: set default attenuation values.
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.h21
1 files changed, 15 insertions, 6 deletions
diff --git a/drivers/net/wireless/bcm43xx/bcm43xx.h b/drivers/net/wireless/bcm43xx/bcm43xx.h
index 8820012b4b3a..1fca1f9c48fe 100644
--- a/drivers/net/wireless/bcm43xx/bcm43xx.h
+++ b/drivers/net/wireless/bcm43xx/bcm43xx.h
@@ -507,14 +507,23 @@ struct bcm43xx_radioinfo {
507 u16 version; 507 u16 version;
508 u8 revision; 508 u8 revision;
509 509
510 /* 0: baseband attenuation,
511 * 1: radio attenuation,
512 * 2: tx_CTL1
513 * 3: tx_CTL2
514 */
515 u16 txpower[4];
516 /* Desired TX power in dBm Q5.2 */ 510 /* Desired TX power in dBm Q5.2 */
517 u16 txpower_desired; 511 u16 txpower_desired;
512 /* TX Power control values. */
513 union {
514 /* B/G PHY */
515 struct {
516 u16 baseband_atten;
517 u16 radio_atten;
518 u16 txctl1;
519 u16 txctl2;
520 };
521 /* A PHY */
522 struct {
523 u16 txpwr_offset;
524 };
525 };
526
518 /* Current Interference Mitigation mode */ 527 /* Current Interference Mitigation mode */
519 int interfmode; 528 int interfmode;
520 /* Stack of saved values from the Interference Mitigation code */ 529 /* Stack of saved values from the Interference Mitigation code */