Sfoglia il codice sorgente

qcacld-3.0: Associate to 5ghz AP in HE mode

5ghz AP broadcasts beacon frame with no HT caps but
VHT and HE caps are present.STA should connect to AP
in HE mode, but STA connects in 11a mode.Fix is to
check if AP supports HE connect in 11ax mode.

Change-Id: Id9e4f620e395d4ca2617af190b677003d1f9e4cf
CRs-Fixed: 2724747
Amruta Kulkarni 4 anni fa
parent
commit
9b00b5d67e
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      core/sme/src/csr/csr_util.c

+ 2 - 1
core/sme/src/csr/csr_util.c

@@ -1603,7 +1603,8 @@ QDF_STATUS csr_get_phy_mode_from_bss(struct mac_context *mac,
 				phyMode = eCSR_DOT11_MODE_11ax;
 			else
 				sme_debug("Warning - 6Ghz AP no he cap");
-		}
+		} else if (pIes->he_cap.present)
+			phyMode = eCSR_DOT11_MODE_11ax;
 
 		*pPhyMode = phyMode;
 	}