qcacld-3.0: Correct judgement about roaming dfs channel flag
It will ignore dfs channel since checking the flag of roaming dfs channel wrongly. Change-Id: I7c4ee9c12d42b7c8351ff81c389adba83eac0f26 CRs-Fixed: 2385147
Цей коміт міститься в:
@@ -60,7 +60,7 @@
|
||||
#define CSR_MAX_NUM_COUNTRY_CODE 100
|
||||
#define CSR_IS_DFS_CH_ROAM_ALLOWED(mac_ctx) \
|
||||
( \
|
||||
((((mac_ctx)->mlme_cfg->lfr.roaming_dfs_channel) == \
|
||||
((((mac_ctx)->mlme_cfg->lfr.roaming_dfs_channel) != \
|
||||
ROAMING_DFS_CHANNEL_DISABLED) ? true : false) \
|
||||
)
|
||||
#define CSR_IS_SELECT_5GHZ_MARGIN(mac) \
|
||||
|
@@ -2044,7 +2044,7 @@ csr_fetch_ch_lst_from_received_list(struct mac_context *mac_ctx,
|
||||
|
||||
ch_lst = curr_ch_lst_info->ChannelList;
|
||||
for (i = 0; i < curr_ch_lst_info->numOfChannels; i++) {
|
||||
if (((mac_ctx->mlme_cfg->lfr.roaming_dfs_channel !=
|
||||
if (((mac_ctx->mlme_cfg->lfr.roaming_dfs_channel ==
|
||||
ROAMING_DFS_CHANNEL_DISABLED) ||
|
||||
(mac_ctx->roam.configParam.sta_roam_policy.dfs_mode ==
|
||||
CSR_STA_ROAM_POLICY_DFS_DISABLED)) &&
|
||||
@@ -17248,7 +17248,7 @@ csr_fetch_ch_lst_from_ini(struct mac_context *mac_ctx,
|
||||
if (!csr_check_band_channel_match(band, *ch_lst))
|
||||
continue;
|
||||
/* Allow DFS channels only if the DFS roaming is enabled */
|
||||
if (((mac_ctx->mlme_cfg->lfr.roaming_dfs_channel !=
|
||||
if (((mac_ctx->mlme_cfg->lfr.roaming_dfs_channel ==
|
||||
ROAMING_DFS_CHANNEL_DISABLED) ||
|
||||
(mac_ctx->roam.configParam.sta_roam_policy.dfs_mode ==
|
||||
CSR_STA_ROAM_POLICY_DFS_DISABLED)) &&
|
||||
@@ -17330,7 +17330,7 @@ csr_fetch_ch_lst_from_occupied_lst(struct mac_context *mac_ctx,
|
||||
sizeof(unsafe_chan));
|
||||
for (i = 0; i < mac_ctx->scan.occupiedChannels[session_id].numChannels;
|
||||
i++) {
|
||||
if (((mac_ctx->mlme_cfg->lfr.roaming_dfs_channel !=
|
||||
if (((mac_ctx->mlme_cfg->lfr.roaming_dfs_channel ==
|
||||
ROAMING_DFS_CHANNEL_DISABLED) ||
|
||||
(mac_ctx->roam.configParam.sta_roam_policy.dfs_mode ==
|
||||
CSR_STA_ROAM_POLICY_DFS_DISABLED)) &&
|
||||
@@ -17440,7 +17440,7 @@ csr_fetch_valid_ch_lst(struct mac_context *mac_ctx,
|
||||
continue;
|
||||
}
|
||||
|
||||
if (((mac_ctx->mlme_cfg->lfr.roaming_dfs_channel !=
|
||||
if (((mac_ctx->mlme_cfg->lfr.roaming_dfs_channel ==
|
||||
ROAMING_DFS_CHANNEL_DISABLED) ||
|
||||
(mac_ctx->roam.configParam.sta_roam_policy.dfs_mode ==
|
||||
CSR_STA_ROAM_POLICY_DFS_DISABLED)) &&
|
||||
|
Посилання в новій задачі
Заблокувати користувача