diff options
author | David S. Miller <davem@davemloft.net> | 2010-12-14 13:52:54 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-14 13:52:54 -0500 |
commit | 6389aa73ab8c15084fce18307a8e198eaff818da (patch) | |
tree | cbad535e69b662cbb904afeacf4b50461e415b86 /drivers/net/wireless/b43/phy_common.h | |
parent | 0dbaee3b37e118a96bb7b8eb0d9bbaeeb46264be (diff) | |
parent | 1d212aa96e1b63459486f729af9a3fa38768b801 (diff) |
Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6
Diffstat (limited to 'drivers/net/wireless/b43/phy_common.h')
-rw-r--r-- | drivers/net/wireless/b43/phy_common.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/phy_common.h b/drivers/net/wireless/b43/phy_common.h index 0e6194228845..2401bee8b081 100644 --- a/drivers/net/wireless/b43/phy_common.h +++ b/drivers/net/wireless/b43/phy_common.h | |||
@@ -39,6 +39,9 @@ struct b43_c32 { s32 i, q; }; | |||
39 | #define B43_PHYVER_TYPE_SHIFT 8 | 39 | #define B43_PHYVER_TYPE_SHIFT 8 |
40 | #define B43_PHYVER_VERSION 0x00FF | 40 | #define B43_PHYVER_VERSION 0x00FF |
41 | 41 | ||
42 | /* PHY writes need to be flushed if we reach limit */ | ||
43 | #define B43_MAX_WRITES_IN_ROW 24 | ||
44 | |||
42 | /** | 45 | /** |
43 | * enum b43_interference_mitigation - Interference Mitigation mode | 46 | * enum b43_interference_mitigation - Interference Mitigation mode |
44 | * | 47 | * |
@@ -232,6 +235,9 @@ struct b43_phy { | |||
232 | /* PHY revision number. */ | 235 | /* PHY revision number. */ |
233 | u8 rev; | 236 | u8 rev; |
234 | 237 | ||
238 | /* Count writes since last read */ | ||
239 | u8 writes_counter; | ||
240 | |||
235 | /* Radio versioning */ | 241 | /* Radio versioning */ |
236 | u16 radio_manuf; /* Radio manufacturer */ | 242 | u16 radio_manuf; /* Radio manufacturer */ |
237 | u16 radio_ver; /* Radio version */ | 243 | u16 radio_ver; /* Radio version */ |
@@ -430,6 +436,8 @@ int b43_phy_shm_tssi_read(struct b43_wldev *dev, u16 shm_offset); | |||
430 | */ | 436 | */ |
431 | void b43_phyop_switch_analog_generic(struct b43_wldev *dev, bool on); | 437 | void b43_phyop_switch_analog_generic(struct b43_wldev *dev, bool on); |
432 | 438 | ||
439 | bool b43_channel_type_is_40mhz(enum nl80211_channel_type channel_type); | ||
440 | |||
433 | struct b43_c32 b43_cordic(int theta); | 441 | struct b43_c32 b43_cordic(int theta); |
434 | 442 | ||
435 | #endif /* LINUX_B43_PHY_COMMON_H_ */ | 443 | #endif /* LINUX_B43_PHY_COMMON_H_ */ |