|
@@ -4611,8 +4611,13 @@ qdf_freq_t sap_indicate_radar(struct sap_context *sap_ctx)
|
|
|
if (sap_ctx->fsm_state == SAP_STARTED)
|
|
|
mac->sap.SapDfsInfo.csaIERequired = true;
|
|
|
|
|
|
- if (mac->mlme_cfg->dfs_cfg.dfs_disable_channel_switch)
|
|
|
+ if (mac->mlme_cfg->dfs_cfg.dfs_disable_channel_switch) {
|
|
|
+ mac->sap.SapDfsInfo.new_chanWidth =
|
|
|
+ sap_ctx->ch_params.ch_width;
|
|
|
+ sap_debug("DFS channel switch disabled, CSA to same ch %d wd %d",
|
|
|
+ sap_ctx->chan_freq, sap_ctx->ch_params.ch_width);
|
|
|
return sap_ctx->chan_freq;
|
|
|
+ }
|
|
|
|
|
|
/* set the Radar Found flag in SapDfsInfo */
|
|
|
sap_ctx->sap_radar_found_status = true;
|