qcacld-3.0: Disable OCV for 11BE mode connection with EHT AP
Disable Operating Channel Validation (OCV) by default for connections with Wi-Fi 7 APs in 11BE mode as per WFA recommendation to avoid IOT issues with Wi-Fi 7 APs in the future. Change-Id: Iecdabdda1f645300fd9d8c2821a985771e60ce2e CRs-Fixed: 3534392
This commit is contained in:

committed by
Rahul Choudhary

parent
745eadeca0
commit
1cb1169f5e
@@ -2949,6 +2949,19 @@ static void lim_update_qos(struct mac_context *mac_ctx,
|
||||
session->limWmeEnabled);
|
||||
}
|
||||
|
||||
static void lim_reset_self_ocv_caps(struct pe_session *session)
|
||||
{
|
||||
uint16_t self_rsn_cap;
|
||||
|
||||
self_rsn_cap = wlan_crypto_get_param(session->vdev,
|
||||
WLAN_CRYPTO_PARAM_RSN_CAP);
|
||||
if (self_rsn_cap == -1)
|
||||
return;
|
||||
|
||||
pe_debug("self RSN cap: %d", self_rsn_cap);
|
||||
self_rsn_cap &= ~WLAN_CRYPTO_RSN_CAP_OCV_SUPPORTED;
|
||||
}
|
||||
|
||||
QDF_STATUS
|
||||
lim_fill_pe_session(struct mac_context *mac_ctx, struct pe_session *session,
|
||||
struct bss_description *bss_desc)
|
||||
@@ -3186,6 +3199,7 @@ lim_fill_pe_session(struct mac_context *mac_ctx, struct pe_session *session,
|
||||
|
||||
if (IS_DOT11_MODE_EHT(session->dot11mode)) {
|
||||
lim_update_session_eht_capable(mac_ctx, session);
|
||||
lim_reset_self_ocv_caps(session);
|
||||
lim_copy_join_req_eht_cap(session);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user