Browse Source

qcacld-3.0: allow upgrade P2P cli BW for 11AX mode as well

Same IOT 11AX P2P GO advertising 20 MHz in beacon but assoc response
with 80 MHz. Allow our P2P CLI connecting as 80 MHz for 11AC
and 11AX mode GO to achieve bigger BW.

Change-Id: I821b562db5217d86f8df43ca706aa0caa40859ed
CRs-Fixed: 3621881
Liangwei Dong 1 year ago
parent
commit
9ae7aa8689
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/mac/src/pe/lim/lim_prop_exts_utils.c

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

@@ -561,7 +561,7 @@ void lim_update_ch_width_for_p2p_client(struct mac_context *mac,
 {
 	struct ch_params ch_params = {0};
 
-	if (session->dot11mode > MLME_DOT11_MODE_11AC_ONLY)
+	if (session->dot11mode < MLME_DOT11_MODE_11AC)
 		return;
 	/*
 	 * Some IOT AP's/P2P-GO's (e.g. make: Wireless-AC 9560160MHz as P2P GO),