diff options
author | Bruno Randolf <br1@einfach.org> | 2010-12-15 21:30:33 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-12-20 14:49:47 -0500 |
commit | 3de135dba9341a3d10a7a5b9533ce11cb77d4f4d (patch) | |
tree | f3bb77bf5dee3707fb86e8e7479e93b713d958c9 /drivers/net/wireless/ath/ath5k/base.c | |
parent | 39fd5de4472b7b222c6cec78d72b069133f694e4 (diff) |
ath5k: Set available antenna information for cfg80211
Signed-off-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/base.c')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/base.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c index b3c7241a62a5..e4ec40c63396 100644 --- a/drivers/net/wireless/ath/ath5k/base.c +++ b/drivers/net/wireless/ath/ath5k/base.c | |||
@@ -2351,6 +2351,10 @@ ath5k_init_softc(struct ath5k_softc *sc, const struct ath_bus_ops *bus_ops) | |||
2351 | BIT(NL80211_IFTYPE_ADHOC) | | 2351 | BIT(NL80211_IFTYPE_ADHOC) | |
2352 | BIT(NL80211_IFTYPE_MESH_POINT); | 2352 | BIT(NL80211_IFTYPE_MESH_POINT); |
2353 | 2353 | ||
2354 | /* both antennas can be configured as RX or TX */ | ||
2355 | hw->wiphy->available_antennas_tx = 0x3; | ||
2356 | hw->wiphy->available_antennas_rx = 0x3; | ||
2357 | |||
2354 | hw->extra_tx_headroom = 2; | 2358 | hw->extra_tx_headroom = 2; |
2355 | hw->channel_change_time = 5000; | 2359 | hw->channel_change_time = 5000; |
2356 | 2360 | ||