From 120b2490ece99ce5fe1f3235195b53d0b61d989d Mon Sep 17 00:00:00 2001 From: Pragaspathi Thilagaraj Date: Sun, 17 Nov 2019 22:17:09 +0530 Subject: [PATCH] qcacmn: Add support for RSNX IE SAE key derivation requires use of a secret element, PWE. This element is deterministically discovered by repeatedly hashing the password with some additional information until the resulting hash is the abscissa of a point on the elliptic curve (for ECC) or by exponentiating the hash digest to a constant to produce an element (for FFC). This "hunting-and-pecking" loop method is prone to side channel attacks. To avoid this, a direct hashing to element technique in SAE is introduced in IEEE P802.11-REVmd/D3.0. Support new RSNX IEEE as part of the hash to element PWE derivation. The user space sends the RSNX IE in the connect request. Add support for new RSNX IE with element ID 244. Change-Id: I61a40ff14e15612735c3f3750e2c47d764feeb62 CRs-Fixed: 2569600 --- umac/cmn_services/cmn_defs/inc/wlan_cmn_ieee80211.h | 1 + 1 file changed, 1 insertion(+) diff --git a/umac/cmn_services/cmn_defs/inc/wlan_cmn_ieee80211.h b/umac/cmn_services/cmn_defs/inc/wlan_cmn_ieee80211.h index 708c13dc4d7b..2eb0a354f78d 100644 --- a/umac/cmn_services/cmn_defs/inc/wlan_cmn_ieee80211.h +++ b/umac/cmn_services/cmn_defs/inc/wlan_cmn_ieee80211.h @@ -396,6 +396,7 @@ enum element_ie { WLAN_ELEMID_REDUCED_NEIGHBOR_REPORT = 201, WLAN_ELEMID_VENDOR = 221, WLAN_ELEMID_FILS_INDICATION = 240, + WLAN_ELEMID_RSNXE = 244, WLAN_ELEMID_EXTN_ELEM = 255, };