qcacld-3.0: Add mandatory security checks for 6GHz connection

Check the required security types allowed for 6GHz connection and
do not allow the connection if the secutiry check fails.

Change-Id: Ic680c4600b3f17151e42f8708ff8810e5d16e52e
CRs-Fixed: 2715086
This commit is contained in:
Kiran Kumar Lokere 2020-06-20 00:28:43 -07:00 • committed by snandini
commit be109fb59c
4 changed files with 84 additions and 1 deletions

View file

@ -1110,6 +1110,7 @@ static void mlme_init_he_cap_in_cfg(struct wlan_objmgr_psoc *psoc,
qdf_mem_zero(he_caps->he_ppet_5g, MLME_HE_PPET_LEN);
mlme_cfg->he_caps.he_mcs_12_13_supp_2g = 0;
mlme_cfg->he_caps.he_mcs_12_13_supp_5g = 0;
mlme_cfg->he_caps.enable_6g_sec_check = false;
}
#else
static void mlme_init_he_cap_in_cfg(struct wlan_objmgr_psoc *psoc,

View file

@ -891,6 +891,7 @@ struct wlan_mlme_he_caps {
uint32_t he_sta_obsspd;
uint16_t he_mcs_12_13_supp_2g;
uint16_t he_mcs_12_13_supp_5g;
bool enable_6g_sec_check;
};
#endif