aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/b43.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/b43/b43.h')
-rw-r--r--drivers/net/wireless/b43/b43.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/drivers/net/wireless/b43/b43.h b/drivers/net/wireless/b43/b43.h
index 086a9c6c2b0..5a1a790a105 100644
--- a/drivers/net/wireless/b43/b43.h
+++ b/drivers/net/wireless/b43/b43.h
@@ -476,7 +476,6 @@ struct b43_phy {
476 u16 radio_ver; /* Radio version */ 476 u16 radio_ver; /* Radio version */
477 u8 radio_rev; /* Radio revision */ 477 u8 radio_rev; /* Radio revision */
478 478
479 bool locked; /* Only used in b43_phy_{un}lock() */
480 bool dyn_tssi_tbl; /* tssi2dbm is kmalloc()ed. */ 479 bool dyn_tssi_tbl; /* tssi2dbm is kmalloc()ed. */
481 480
482 /* ACI (adjacent channel interference) flags. */ 481 /* ACI (adjacent channel interference) flags. */
@@ -513,11 +512,6 @@ struct b43_phy {
513 s16 lna_gain; /* LNA */ 512 s16 lna_gain; /* LNA */
514 s16 pga_gain; /* PGA */ 513 s16 pga_gain; /* PGA */
515 514
516 /* PHY lock for core.rev < 3
517 * This lock is only used by b43_phy_{un}lock()
518 */
519 spinlock_t lock;
520
521 /* Desired TX power level (in dBm). 515 /* Desired TX power level (in dBm).
522 * This is set by the user and adjusted in b43_phy_xmitpower(). */ 516 * This is set by the user and adjusted in b43_phy_xmitpower(). */
523 u8 power_level; 517 u8 power_level;
@@ -528,9 +522,7 @@ struct b43_phy {
528 struct b43_bbatt bbatt; 522 struct b43_bbatt bbatt;
529 struct b43_rfatt rfatt; 523 struct b43_rfatt rfatt;
530 u8 tx_control; /* B43_TXCTL_XXX */ 524 u8 tx_control; /* B43_TXCTL_XXX */
531#ifdef CONFIG_B43_DEBUG 525
532 bool manual_txpower_control; /* Manual TX-power control enabled? */
533#endif
534 /* Hardware Power Control enabled? */ 526 /* Hardware Power Control enabled? */
535 bool hardware_power_control; 527 bool hardware_power_control;
536 528
@@ -571,6 +563,13 @@ struct b43_phy {
571 B43_OFDMTAB_DIRECTION_READ, 563 B43_OFDMTAB_DIRECTION_READ,
572 B43_OFDMTAB_DIRECTION_WRITE, 564 B43_OFDMTAB_DIRECTION_WRITE,
573 } ofdmtab_addr_direction; 565 } ofdmtab_addr_direction;
566
567#if B43_DEBUG
568 /* Manual TX-power control enabled? */
569 bool manual_txpower_control;
570 /* PHY registers locked by b43_phy_lock()? */
571 bool phy_locked;
572#endif /* B43_DEBUG */
574}; 573};
575 574
576/* Data structures for DMA transmission, per 80211 core. */ 575/* Data structures for DMA transmission, per 80211 core. */