Ver Fonte

qcacld-3.0: Reset the 320 MHz support based on connection BW

Reset the 320 MHz BW support in EHT capabilities for
connection with less than 320 MHz bandwidth.

Change-Id: Ifd9240597170556b835aea3132e106127cf1432a
CRs-Fixed: 3271501
Kiran Kumar Lokere há 2 anos atrás
pai
commit
e4d472ff82
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      core/mac/src/sys/legacy/src/utils/src/parser_api.c

+ 2 - 0
core/mac/src/sys/legacy/src/utils/src/parser_api.c

@@ -8790,6 +8790,8 @@ QDF_STATUS populate_dot11f_eht_caps(struct mac_context *mac_ctx,
 
 	/** TODO: String items needs attention. **/
 	qdf_mem_copy(eht_cap, &session->eht_config, sizeof(*eht_cap));
+	if (session->ch_width != CH_WIDTH_320MHZ)
+		eht_cap->support_320mhz_6ghz = 0;
 
 	return QDF_STATUS_SUCCESS;
 }