From: Johannes Berg Date: Sun, 14 Jul 2013 20:38:33 +0000 (+0300) Subject: mac80211_hwsim: claim uAPSD support X-Git-Tag: v3.12-rc1~132^2~84^2^2~6^2~29 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2f5286e819b16f5dbf793f97f841333eedab5d68;p=platform%2Fkernel%2Flinux-stable.git mac80211_hwsim: claim uAPSD support Since mac80211 does everything, we can just claim it. Signed-off-by: Johannes Berg --- diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index 11adae8..0a439f8 100644 --- a/drivers/net/wireless/mac80211_hwsim.c +++ b/drivers/net/wireless/mac80211_hwsim.c @@ -2309,7 +2309,8 @@ static int __init init_mac80211_hwsim(void) hw->flags |= IEEE80211_HW_SUPPORTS_RC_TABLE; hw->wiphy->flags |= WIPHY_FLAG_SUPPORTS_TDLS | - WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL; + WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL | + WIPHY_FLAG_AP_UAPSD; /* ask mac80211 to reserve space for magic */ hw->vif_data_size = sizeof(struct hwsim_vif_priv);