Browse Source

qcacld-3.0: Fix OCV cap disablement for 11BE connection

Operating Channel Validation (OCV) should be disabled
by default for connections with Wi-Fi 7 APs in 11BE mode
as per WFA recommendation to avoid IOT issues. This RSN
cap is disabled but is not getting updated to the crypto
module. Add a fix to invoke the API that updates the OCV
cap to the crypto module.

Change-Id: I7ce8161a970a52692c4d6a693f8a02cb3ecb32eb
CRs-Fixed: 3575744
Gururaj Pandurangi 1 year ago
parent
commit
c5e89f2322
1 changed files with 5 additions and 0 deletions
  1. 5 0
      core/mac/src/pe/lim/lim_process_sme_req_messages.c

+ 5 - 0
core/mac/src/pe/lim/lim_process_sme_req_messages.c

@@ -3128,6 +3128,11 @@ static void lim_reset_self_ocv_caps(struct pe_session *session)
 
 	pe_debug("self RSN cap: %d", self_rsn_cap);
 	self_rsn_cap &= ~WLAN_CRYPTO_RSN_CAP_OCV_SUPPORTED;
+
+	/* Update the new rsn caps */
+	wlan_crypto_set_vdev_param(session->vdev, WLAN_CRYPTO_PARAM_RSN_CAP,
+				   self_rsn_cap);
+
 }
 
 QDF_STATUS