qcacld-3.0: Increase PMK max length to 64bytes

For SAE-EXT-KEY AKM with group-21 pwe, the PMK
length is 64bytes. Therefore, increase the max
size of the PMK to 64bytes in host to facilitate
PMK storage and PMK offloads.

Change-Id: I777a31acd56073d6a0312c47d95fe7d155b06fc6
CRs-Fixed: 3353102
This commit is contained in:
Surya Prakash Sivaraj
2022-12-05 15:43:47 +05:30
committato da Madan Koyyalamudi
parent 48366b73c1
commit 2095242876
4 ha cambiato i file con 18 aggiunte e 14 eliminazioni

Vedi File

@@ -130,7 +130,6 @@
#define ROAM_REASON_MASK 0x0F
#ifdef WLAN_FEATURE_ROAM_OFFLOAD
#define ROAM_SCAN_PSK_SIZE 48
#define ROAM_R0KH_ID_MAX_LEN 48
/* connected but not authenticated */
#define ROAM_AUTH_STATUS_CONNECTED 0x1
@@ -541,7 +540,7 @@ struct rso_config {
#endif
#endif
#ifdef WLAN_FEATURE_ROAM_OFFLOAD
uint8_t psk_pmk[ROAM_SCAN_PSK_SIZE];
uint8_t psk_pmk[MAX_PMK_LEN];
uint8_t pmk_len;
#endif
struct owe_transition_mode_info owe_info;
@@ -1454,7 +1453,7 @@ struct wlan_rso_11i_params {
bool fw_okc;
bool fw_pmksa_cache;
bool is_sae_same_pmk;
uint8_t psk_pmk[WMI_ROAM_SCAN_PSK_SIZE];
uint8_t psk_pmk[MAX_PMK_LEN];
uint8_t pmk_len;
};
@@ -1472,7 +1471,7 @@ struct wlan_rso_11r_params {
bool is_11r_assoc;
bool is_adaptive_11r;
bool enable_ft_im_roaming;
uint8_t psk_pmk[WMI_ROAM_SCAN_PSK_SIZE];
uint8_t psk_pmk[MAX_PMK_LEN];
uint8_t pmk_len;
uint32_t r0kh_id_length;
uint8_t r0kh_id[WMI_ROAM_R0KH_ID_MAX_LEN];