Browse Source

qcacld-3.0: Not set P2P-CLI BW to 80 MHz when channel bonding is 0

Restricting P2P-CLI to not set channel width to 80 MHz
for 5 GHz when INI gChannelBondingMode5GHz is not set.

Change-Id: I756343a4e9c2800da6c86d2a706815b6102d7161
CRs-Fixed: 3621727
Shailendra Singh 1 year ago
parent
commit
63b4f57ab3
1 changed files with 2 additions and 1 deletions
  1. 2 1
      core/mac/src/pe/lim/lim_prop_exts_utils.c

+ 2 - 1
core/mac/src/pe/lim/lim_prop_exts_utils.c

@@ -669,7 +669,8 @@ void lim_extract_ap_capability(struct mac_context *mac_ctx, uint8_t *p_ie,
 			session->vht_config.su_beam_formee = 0;
 
 		if (session->opmode == QDF_P2P_CLIENT_MODE &&
-		    !wlan_reg_is_24ghz_ch_freq(beacon_struct->chan_freq))
+		    !wlan_reg_is_24ghz_ch_freq(beacon_struct->chan_freq) &&
+			mac_ctx->roam.configParam.channelBondingMode5GHz)
 			lim_update_ch_width_for_p2p_client(
 					mac_ctx, session,
 					beacon_struct->chan_freq);