aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/main.h
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2007-12-22 15:54:20 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:09:14 -0500
commit9db1f6d725921c413cc344beda5e7e7d011b02e7 (patch)
treed3da80ab61fce4074c18f88d31c75e900afb7c22 /drivers/net/wireless/b43/main.h
parente861b98d5e1be769ca6483b6df97149b956ea834 (diff)
b43: Only select allowed TX and RX antennas
This fixes antenna selection in b43. It adds a sanity check for the antenna numbers we get from mac80211. This patch depends on ssb: Fix extraction of values from SPROM Signed-off-by: Michael Buesch <mb@bu3sch.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/main.h')
-rw-r--r--drivers/net/wireless/b43/main.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/main.h b/drivers/net/wireless/b43/main.h
index a8503ef4ebc8..2d52d9de9305 100644
--- a/drivers/net/wireless/b43/main.h
+++ b/drivers/net/wireless/b43/main.h
@@ -84,6 +84,9 @@ static inline int b43_is_ofdm_rate(int rate)
84 return !b43_is_cck_rate(rate); 84 return !b43_is_cck_rate(rate);
85} 85}
86 86
87u8 b43_ieee80211_antenna_sanitize(struct b43_wldev *dev,
88 u8 antenna_nr);
89
87void b43_tsf_read(struct b43_wldev *dev, u64 * tsf); 90void b43_tsf_read(struct b43_wldev *dev, u64 * tsf);
88void b43_tsf_write(struct b43_wldev *dev, u64 tsf); 91void b43_tsf_write(struct b43_wldev *dev, u64 tsf);
89 92