|
@@ -1457,13 +1457,15 @@ QDF_STATUS wlansap_set_channel_change_with_csa(struct sap_context *sap_ctx,
|
|
|
sap_err("%u is unsafe channel freq", target_chan_freq);
|
|
|
return QDF_STATUS_E_FAULT;
|
|
|
}
|
|
|
- sap_nofl_debug("SAP CSA: %d ---> %d BW %d conn on 5GHz:%d, csa_reason:%s(%d) strict %d vdev %d",
|
|
|
- sap_ctx->chan_freq, target_chan_freq, target_bw,
|
|
|
+ sap_nofl_debug("SAP CSA: %d BW %d ---> %d BW %d conn on 5GHz:%d, csa_reason:%s(%d) strict %d vdev %d",
|
|
|
+ sap_ctx->chan_freq, sap_ctx->ch_params.ch_width,
|
|
|
+ target_chan_freq, target_bw,
|
|
|
policy_mgr_is_any_mode_active_on_band_along_with_session(
|
|
|
mac->psoc, sap_ctx->sessionId, POLICY_MGR_BAND_5),
|
|
|
sap_get_csa_reason_str(sap_ctx->csa_reason),
|
|
|
sap_ctx->csa_reason, strict, sap_ctx->sessionId);
|
|
|
- if (sap_ctx->chan_freq == target_chan_freq)
|
|
|
+ if (sap_ctx->chan_freq == target_chan_freq &&
|
|
|
+ sap_ctx->ch_params.ch_width == target_bw)
|
|
|
return QDF_STATUS_E_FAULT;
|
|
|
|
|
|
state = wlan_reg_get_channel_state_for_freq(mac->pdev,
|