Skip to contentSkip to conversation

ath9k: Advertise support for TDLS

PATCH New Jouni Malinen 1 participant 1 message Oct 27, 2011 Qualcomm Atheros ATH9K wireless driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ath9k: Advertise support for TDLS

Based on a quick test, TDLS seemed to be working fine with ath9k, so let's start advertising support for this in the driver.

---
 drivers/net/wireless/ath/ath9k/init.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Since some rate control algorithms don't really like the idea of a STA entry with no supported rates, it would be a good idea to make sure that this gets applied only after a fix for that from Arik goes in:
mac80211: init rate-control for TDLS sta when supp-rates are known

drivers/net/wireless/ath/ath9k/init.c +1 -0
index af1b325..c91d464 100644
@@ -694,6 +694,7 @@ void ath9k_set_hw_capab(struct ath_softc *sc, struct ieee80211_hw *hw)
 		hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT;
 
 	hw->wiphy->flags |= WIPHY_FLAG_IBSS_RSN;
+	hw->wiphy->flags |= WIPHY_FLAG_SUPPORTS_TDLS;
 
 	hw->queues = 4;
 	hw->max_rates = 4;
Signature · 5 lines
1.7.4.1


-- 
Jouni Malinen                                            PGP id EFC895FA