qcacld-3.0: Don't set OCV bit in RSN cap if AP is not PMF enabled
OCV capability i.e. 0x4000 bit in RSN capability is set to 1 to indicate that the STA supports operating channel validation by including Operating Channel Information (OCI) in RSNA exchanges and validates the information when received from another STA that indicated this capability. OCV support implicitly depends on PMF capability, AP's with no PMF support disassociate STA if STA sets OCV bit in RSN capability of assoc request. Hence if AP doesn't support PMF, do not set OCV support bit i.e. 0x4000 in RSN capability of assoc request. Change-Id: I4a331cab9dfaebe3a6b8ff8656888a333355f4a6 CRs-Fixed: 2763169
This commit is contained in:

committed by
snandini

parent
11e9245db3
commit
2e27e581c5
@@ -2878,6 +2878,7 @@ uint8_t csr_construct_rsn_ie(struct mac_context *mac, uint32_t sessionId,
|
||||
} else {
|
||||
self_rsn_cap &= ~WLAN_CRYPTO_RSN_CAP_MFP_ENABLED;
|
||||
self_rsn_cap &= ~WLAN_CRYPTO_RSN_CAP_MFP_REQUIRED;
|
||||
self_rsn_cap &= ~WLAN_CRYPTO_RSN_CAP_OCV_SUPPORTED;
|
||||
}
|
||||
wlan_crypto_set_vdev_param(vdev, WLAN_CRYPTO_PARAM_RSN_CAP,
|
||||
self_rsn_cap);
|
||||
|
Reference in New Issue
Block a user