qcacld-3.0: Move LFR2 FT logic to vdev mlme

Move LFR2 FT logic to vdev mlme.

Change-Id: I77435ec78a6eeacf47b26aec214d08ad056ebabe
CRs-Fixed: 2935076
This commit is contained in:
Utkarsh Bhatnagar
2021-04-29 12:14:48 +05:30
committed by Madan Koyyalamudi
parent 0bb529dd44
commit 8ce3d59fb0
12 changed files with 518 additions and 442 deletions

View File

@@ -257,11 +257,53 @@ struct mscs_req_info {
};
#endif
#ifdef WLAN_FEATURE_HOST_ROAM
/**
* enum ft_ie_state - ft state
* @FT_START_READY: Start before and after 11r assoc
* @FT_AUTH_REQ_READY: When we have recvd the 1st or nth auth req
* @FT_REASSOC_REQ_WAIT: waiting for reassoc
* @FT_SET_KEY_WAIT: waiting for key
*/
enum ft_ie_state {
FT_START_READY,
FT_AUTH_REQ_READY,
FT_REASSOC_REQ_WAIT,
FT_SET_KEY_WAIT,
};
#endif
/**
* struct ft_context - ft related information
* @r0kh_id_len: rokh id len
* @r0kh_id: rokh id
* @auth_ft_ie: auth ft ies received during preauth phase
* @auth_ie_len: auth ie lengt
* @reassoc_ft_ie: reassoc ft ies received during reassoc phas
* @reassoc_ie_len: reassoc ie length
* ric_ies: ric ie
* ric_ies_length: ric ie len
* @set_ft_preauth_state: preauth state
* @ft_state: ft state
* @add_mdie: add mdie in assoc req
*/
struct ft_context {
#ifdef WLAN_FEATURE_ROAM_OFFLOAD
uint32_t r0kh_id_len;
uint8_t r0kh_id[ROAM_R0KH_ID_MAX_LEN];
#endif
#ifdef WLAN_FEATURE_HOST_ROAM
uint8_t auth_ft_ie[MAX_FTIE_SIZE];
uint16_t auth_ie_len;
uint8_t reassoc_ft_ie[MAX_FTIE_SIZE];
uint16_t reassoc_ie_len;
uint8_t ric_ies[MAX_FTIE_SIZE];
uint16_t ric_ies_length;
bool set_ft_preauth_state;
enum ft_ie_state ft_state;
bool add_mdie;
#endif
};
/**