qcacld-3.0: Add maximum number of CSA counters in wiphy
Add maximum number of CSA counters in wiphy structure in order to support channel switch command issued from supplicant CLI. By default this value is set to 1, however supplicant assumes that the counter is 2. Change-Id: Idb9491585763f5e97efff1a5dd29d094d4553fd4 CRs-fixed: 2003465
此提交包含在:
@@ -9172,6 +9172,7 @@ int wlan_hdd_cfg80211_update_band(struct wiphy *wiphy, eCsrBand eBand)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define WLAN_HDD_MAX_NUM_CSA_COUNTERS 2
|
||||||
/*
|
/*
|
||||||
* FUNCTION: wlan_hdd_cfg80211_init
|
* FUNCTION: wlan_hdd_cfg80211_init
|
||||||
* This function is called by hdd_wlan_startup()
|
* This function is called by hdd_wlan_startup()
|
||||||
@@ -9398,6 +9399,7 @@ int wlan_hdd_cfg80211_init(struct device *dev,
|
|||||||
#endif
|
#endif
|
||||||
wiphy->features |= NL80211_FEATURE_INACTIVITY_TIMER;
|
wiphy->features |= NL80211_FEATURE_INACTIVITY_TIMER;
|
||||||
hdd_add_channel_switch_support(&wiphy->flags);
|
hdd_add_channel_switch_support(&wiphy->flags);
|
||||||
|
wiphy->max_num_csa_counters = WLAN_HDD_MAX_NUM_CSA_COUNTERS;
|
||||||
|
|
||||||
EXIT();
|
EXIT();
|
||||||
return 0;
|
return 0;
|
||||||
|
新增問題並參考
封鎖使用者