diff options
Diffstat (limited to 'drivers/net/wireless/b43/b43.h')
-rw-r--r-- | drivers/net/wireless/b43/b43.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/net/wireless/b43/b43.h b/drivers/net/wireless/b43/b43.h index c8295b35999a..c7eea30aa949 100644 --- a/drivers/net/wireless/b43/b43.h +++ b/drivers/net/wireless/b43/b43.h | |||
@@ -170,14 +170,17 @@ enum { | |||
170 | #define B43_SHM_SH_SLOTT 0x0010 /* Slot time */ | 170 | #define B43_SHM_SH_SLOTT 0x0010 /* Slot time */ |
171 | #define B43_SHM_SH_DTIMPER 0x0012 /* DTIM period */ | 171 | #define B43_SHM_SH_DTIMPER 0x0012 /* DTIM period */ |
172 | #define B43_SHM_SH_NOSLPZNATDTIM 0x004C /* NOSLPZNAT DTIM */ | 172 | #define B43_SHM_SH_NOSLPZNATDTIM 0x004C /* NOSLPZNAT DTIM */ |
173 | /* SHM_SHARED beacon variables */ | 173 | /* SHM_SHARED beacon/AP variables */ |
174 | #define B43_SHM_SH_BTL0 0x0018 /* Beacon template length 0 */ | 174 | #define B43_SHM_SH_BTL0 0x0018 /* Beacon template length 0 */ |
175 | #define B43_SHM_SH_BTL1 0x001A /* Beacon template length 1 */ | 175 | #define B43_SHM_SH_BTL1 0x001A /* Beacon template length 1 */ |
176 | #define B43_SHM_SH_BTSFOFF 0x001C /* Beacon TSF offset */ | 176 | #define B43_SHM_SH_BTSFOFF 0x001C /* Beacon TSF offset */ |
177 | #define B43_SHM_SH_TIMBPOS 0x001E /* TIM B position in beacon */ | 177 | #define B43_SHM_SH_TIMBPOS 0x001E /* TIM B position in beacon */ |
178 | #define B43_SHM_SH_DTIMP 0x0012 /* DTIP period */ | ||
179 | #define B43_SHM_SH_MCASTCOOKIE 0x00A8 /* Last bcast/mcast frame ID */ | ||
178 | #define B43_SHM_SH_SFFBLIM 0x0044 /* Short frame fallback retry limit */ | 180 | #define B43_SHM_SH_SFFBLIM 0x0044 /* Short frame fallback retry limit */ |
179 | #define B43_SHM_SH_LFFBLIM 0x0046 /* Long frame fallback retry limit */ | 181 | #define B43_SHM_SH_LFFBLIM 0x0046 /* Long frame fallback retry limit */ |
180 | #define B43_SHM_SH_BEACPHYCTL 0x0054 /* Beacon PHY TX control word (see PHY TX control) */ | 182 | #define B43_SHM_SH_BEACPHYCTL 0x0054 /* Beacon PHY TX control word (see PHY TX control) */ |
183 | #define B43_SHM_SH_EXTNPHYCTL 0x00B0 /* Extended bytes for beacon PHY control (N) */ | ||
181 | /* SHM_SHARED ACK/CTS control */ | 184 | /* SHM_SHARED ACK/CTS control */ |
182 | #define B43_SHM_SH_ACKCTSPHYCTL 0x0022 /* ACK/CTS PHY control word (see PHY TX control) */ | 185 | #define B43_SHM_SH_ACKCTSPHYCTL 0x0022 /* ACK/CTS PHY control word (see PHY TX control) */ |
183 | /* SHM_SHARED probe response variables */ | 186 | /* SHM_SHARED probe response variables */ |
@@ -617,9 +620,12 @@ struct b43_wl { | |||
617 | /* Pointer to the ieee80211 hardware data structure */ | 620 | /* Pointer to the ieee80211 hardware data structure */ |
618 | struct ieee80211_hw *hw; | 621 | struct ieee80211_hw *hw; |
619 | 622 | ||
620 | spinlock_t irq_lock; | ||
621 | struct mutex mutex; | 623 | struct mutex mutex; |
624 | spinlock_t irq_lock; | ||
625 | /* Lock for LEDs access. */ | ||
622 | spinlock_t leds_lock; | 626 | spinlock_t leds_lock; |
627 | /* Lock for SHM access. */ | ||
628 | spinlock_t shm_lock; | ||
623 | 629 | ||
624 | /* We can only have one operating interface (802.11 core) | 630 | /* We can only have one operating interface (802.11 core) |
625 | * at a time. General information about this interface follows. | 631 | * at a time. General information about this interface follows. |