]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ath9k: Enable U-APSD AP mode support
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 18 Feb 2014 18:41:08 +0000 (20:41 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 24 Feb 2014 20:21:54 +0000 (15:21 -0500)
mac80211 handles the actual operations, so ath9k can just indicate
support for this. Based on initial tests, this combination seems to
work fine.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/init.c

index 07a0315dd2f64baff254e18da191c273c32e4173..4856a1739ade54cf8036294c8c4ada9ebc3bc9d8 100644 (file)
@@ -949,6 +949,7 @@ static void ath9k_set_hw_capab(struct ath_softc *sc, struct ieee80211_hw *hw)
        hw->wiphy->flags |= WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL;
        hw->wiphy->flags |= WIPHY_FLAG_SUPPORTS_5_10_MHZ;
        hw->wiphy->flags |= WIPHY_FLAG_HAS_CHANNEL_SWITCH;
+       hw->wiphy->flags |= WIPHY_FLAG_AP_UAPSD;
 
        hw->queues = 4;
        hw->max_rates = 4;