Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mac80211_hwsim: Advertise support for AP mode channel width changes

mac80211 takes care of all the needed steps for hwsim, so indicate
support for this capability.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>

authored by

Jouni Malinen and committed by
Johannes Berg
f55ee083 3b1700bd

+1
+1
drivers/net/wireless/mac80211_hwsim.c
··· 2058 2058 WIPHY_FLAG_AP_UAPSD | 2059 2059 WIPHY_FLAG_HAS_CHANNEL_SWITCH; 2060 2060 hw->wiphy->features |= NL80211_FEATURE_ACTIVE_MONITOR; 2061 + hw->wiphy->features |= NL80211_FEATURE_AP_MODE_CHAN_WIDTH_CHANGE; 2061 2062 2062 2063 /* ask mac80211 to reserve space for magic */ 2063 2064 hw->vif_data_size = sizeof(struct hwsim_vif_priv);