mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
qcacld-3.0: populate wiphy feature bits for beacon rate customizing
qcacld-2.0 to qcacld-3.0 propagation Extended feature bits in wiphy structure should be populated during wlan host driver startup to support beaconing at different data rate. Currently legacy, HT and VHT rates are all supported. Change-Id: Ic03dd1feb63144dddb813e6a1133fbfa48db8315 CRs-Fixed: 1097770
This commit is contained in:
parent
7047656c0f
commit
a75734cd32
1 changed files with 8 additions and 0 deletions
|
|
@ -10371,6 +10371,14 @@ int wlan_hdd_cfg80211_init(struct device *dev,
|
|||
wiphy->features |= NL80211_FEATURE_AP_MODE_CHAN_WIDTH_CHANGE;
|
||||
#endif
|
||||
wiphy->features |= NL80211_FEATURE_INACTIVITY_TIMER;
|
||||
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 8, 0)) || \
|
||||
defined(CFG80211_BEACON_TX_RATE_CUSTOM_BACKPORT)
|
||||
wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_BEACON_RATE_LEGACY);
|
||||
wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_BEACON_RATE_HT);
|
||||
wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_BEACON_RATE_VHT);
|
||||
#endif
|
||||
|
||||
hdd_add_channel_switch_support(&wiphy->flags);
|
||||
wiphy->max_num_csa_counters = WLAN_HDD_MAX_NUM_CSA_COUNTERS;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue