Преглед на файлове

qcacld-3.0: Construct SGI80 and 160 irrespective of peer

WFA VHT 5.2.1 requires to construct SGI80 in the association request
NOT based on AP capabilities in the beacon and probe response frames.
So, construct VHT compatibility SGI 80M and 160M irrespective of peer.

Change-Id: I3a5ed6af1ea6be20c332cd91f48eee015a0c898c
CRs-Fixed: 2888822
Yu Ouyang преди 4 години
родител
ревизия
9410af79f9
променени са 1 файла, в които са добавени 4 реда и са изтрити 13 реда
  1. 4 13
      core/mac/src/sys/legacy/src/utils/src/parser_api.c

+ 4 - 13
core/mac/src/sys/legacy/src/utils/src/parser_api.c

@@ -1261,20 +1261,11 @@ populate_dot11f_vht_caps(struct mac_context *mac,
 		if (pe_session->ht_config.adv_coding_cap)
 			pDot11f->ldpcCodingCap =
 				pe_session->vht_config.ldpc_coding;
-		if (pe_session->ch_width < CH_WIDTH_80MHZ) {
-			 pDot11f->shortGI80MHz = 0;
-		} else {
-			pDot11f->shortGI80MHz =
-				pe_session->vht_config.shortgi80;
-		}
 
-		if (pe_session->ch_width < CH_WIDTH_160MHZ) {
-			pDot11f->shortGI160and80plus80MHz = 0;
-			pDot11f->supportedChannelWidthSet = 0;
-		} else {
-			pDot11f->shortGI160and80plus80MHz =
-				pe_session->vht_config.shortgi160and80plus80;
-		}
+		pDot11f->shortGI80MHz =
+			pe_session->vht_config.shortgi80;
+		pDot11f->shortGI160and80plus80MHz =
+			pe_session->vht_config.shortgi160and80plus80;
 
 		if (pe_session->ht_config.tx_stbc)
 			pDot11f->txSTBC = pe_session->vht_config.tx_stbc;