mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 22:23:14 -04:00
qcacld-3.0: Set “WIPHY_FLAG_DFS_OFFLOAD” always in wiphy flag
Ensure the "WIPHY_FLAG_DFS_OFFLOAD" flag is always set in wiphy flag, regardless of DFS master capability ini. This changes eliminates the need for supplicant to check DFS flags for the SAP channel, as the DFS logic is consistently offloaded to the driver. CRs-Fixed: 3716167 Change-Id: I571f1cf15d268b85ad4de4d2f2a93d39f59b1231
This commit is contained in:
parent
e7116cb9e9
commit
221de7eef1
1 changed files with 3 additions and 7 deletions
|
|
@ -1718,7 +1718,7 @@ static const struct nl80211_vendor_cmd_info wlan_hdd_cfg80211_vendor_events[] =
|
|||
};
|
||||
|
||||
/**
|
||||
* __is_driver_dfs_capable() - get driver DFS capability
|
||||
* __is_driver_dfs_capable() - get driver DFS offload capability
|
||||
* @wiphy: pointer to wireless wiphy structure.
|
||||
* @wdev: pointer to wireless_dev structure.
|
||||
* @data: Pointer to the data to be passed via vendor interface
|
||||
|
|
@ -17739,7 +17739,7 @@ void wlan_hdd_update_wiphy(struct hdd_context *hdd_ctx)
|
|||
{
|
||||
int value;
|
||||
bool fils_enabled, mac_spoofing_enabled;
|
||||
bool dfs_master_capable = true, is_oce_sta_enabled = false;
|
||||
bool is_oce_sta_enabled = false;
|
||||
QDF_STATUS status;
|
||||
struct wiphy *wiphy = hdd_ctx->wiphy;
|
||||
uint8_t allow_mcc_go_diff_bi = 0, enable_mcc = 0;
|
||||
|
|
@ -17764,11 +17764,7 @@ void wlan_hdd_update_wiphy(struct hdd_context *hdd_ctx)
|
|||
if (fils_enabled)
|
||||
wlan_hdd_cfg80211_set_wiphy_fils_feature(wiphy);
|
||||
|
||||
status = ucfg_mlme_get_dfs_master_capability(hdd_ctx->psoc,
|
||||
&dfs_master_capable);
|
||||
if (QDF_IS_STATUS_SUCCESS(status) && dfs_master_capable)
|
||||
wlan_hdd_cfg80211_set_dfs_offload_feature(wiphy);
|
||||
|
||||
wlan_hdd_cfg80211_set_dfs_offload_feature(wiphy);
|
||||
|
||||
status = ucfg_mlme_get_bigtk_support(hdd_ctx->psoc,
|
||||
&is_bigtk_supported);
|
||||
|
|
|
|||
Loading…
Reference in a new issue