diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-07-14 16:38:33 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-07-16 02:58:16 -0400 |
commit | 2f5286e819b16f5dbf793f97f841333eedab5d68 (patch) | |
tree | fe4ae3fe48ae7e07a78081f528ab8d8051044837 /drivers/net/wireless/mac80211_hwsim.c | |
parent | fe0f3cd2a6a1f16fcaffec3e69e918bcf40ec76d (diff) |
mac80211_hwsim: claim uAPSD support
Since mac80211 does everything, we can just claim it.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/mac80211_hwsim.c')
-rw-r--r-- | drivers/net/wireless/mac80211_hwsim.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index 11adae804564..0a439f8c887c 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) | |||
2309 | hw->flags |= IEEE80211_HW_SUPPORTS_RC_TABLE; | 2309 | hw->flags |= IEEE80211_HW_SUPPORTS_RC_TABLE; |
2310 | 2310 | ||
2311 | hw->wiphy->flags |= WIPHY_FLAG_SUPPORTS_TDLS | | 2311 | hw->wiphy->flags |= WIPHY_FLAG_SUPPORTS_TDLS | |
2312 | WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL; | 2312 | WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL | |
2313 | WIPHY_FLAG_AP_UAPSD; | ||
2313 | 2314 | ||
2314 | /* ask mac80211 to reserve space for magic */ | 2315 | /* ask mac80211 to reserve space for magic */ |
2315 | hw->vif_data_size = sizeof(struct hwsim_vif_priv); | 2316 | hw->vif_data_size = sizeof(struct hwsim_vif_priv); |