Преглед изворни кода

qcacld-3.0: Fix WAPI IoT issue

DUT can't connect some WAPI AP by ASCII due to
lim_process_assoc_rsp_frame: received Re/AssocRsp frame failure code:
40.
Current Some WAPI AP cannot accept Vendor Element ID:  221  length > 11,
and  reply reject ASSOC resp by reason code 40.
Because we extend Vendor Specific element to include MCS12/13 from HSP.
So only HSP meet this IOT issue.
Qualcomm Inc. - Specific
    Element ID:         221  Vendor Specific [71]
    Length:             15 [72]
    OUI:                8C-FD-F0 [73-75]
    Value:              (12 bytes) [76-87]  01 01 02 01 00 02 01
	    01 09 02 03 00

Change-Id: If766ef280b685100ff4a409309d56ead717f251b
CRs-Fixed: 2836011
Jianmin Zhu пре 4 година
родитељ
комит
565620495b
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      core/mac/src/sys/legacy/src/utils/src/parser_api.c

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

@@ -1275,6 +1275,9 @@ static void populate_dot11f_qcn_ie_he_params(struct mac_context *mac,
 {
 	uint16_t mcs_12_13_supp;
 
+	/* To fix WAPI IoT issue.*/
+	if (pe_session->encryptType == eSIR_ED_WPI)
+		return;
 	if (wlan_reg_is_24ghz_ch_freq(pe_session->curr_op_freq))
 		mcs_12_13_supp = mac->mlme_cfg->he_caps.he_mcs_12_13_supp_2g;
 	else