ソースを参照

qcacld-3.0: Test CONNECT_REQ_MLO_SUPPORT flag in connect req

The existing code do not check CONNECT_REQ_MLO_SUPPORT flag and
driver connects in MLO with ML capable APs. This leads to auth
timeout incase of SAE as the MAC address in auth frames are
different.

Userspace connect request params will enable CONNECT_REQ_MLO_SUPPORT
flag to indicate driver can connect to ML candidate for that connect
request, incase this flag is not set in the connect request the driver
shall downgrade to non-ML connection.

Change-Id: I1452c0b61d86d23103ccd84c142e99f79d2077f7
CRs-Fixed: 3477110
Vinod Kumar Pirla 1 年間 前
コミット
190f895657
1 ファイル変更2 行追加1 行削除
  1. 2 1
      core/hdd/src/wlan_hdd_cm_connect.c

+ 2 - 1
core/hdd/src/wlan_hdd_cm_connect.c

@@ -377,7 +377,8 @@ hdd_update_action_oui_for_connect(struct hdd_context *hdd_ctx,
 		return;
 
 	usr_disable_eht = ucfg_mlme_get_usr_disable_sta_eht(hdd_ctx->psoc);
-	if (req->flags & ASSOC_REQ_DISABLE_EHT) {
+	if (req->flags & ASSOC_REQ_DISABLE_EHT ||
+	    !(req->flags & CONNECT_REQ_MLO_SUPPORT)) {
 		if (usr_disable_eht) {
 			hdd_debug("user eht is disabled already");
 			return;