qcacld-3.0: Add logic to ignore 6Ghz AP if security is not valid

Add logic to
- Check if connect req freq is 6Ghz and security
  is not allowed for 6Ghz, reject connect.
- Ignore 6Ghz APs if connect req security is invalid
  for 6Ghz

Also added user config key_mgmt_mask_6ghz mask
to allow specific AKMs, by default all are allowed.

Add added user config check_6Ghz_security to enable
security checks as per spec.

Change-Id: Iada7bb685b272e26cff7e89cf64d181ed6eb48a4
CRs-Fixed: 2820358
This commit is contained in:
gaurank kathpalia
2020-09-18 15:48:00 +05:30
committed by snandini
parent 288dc65b65
commit 2afb8a6688
7 changed files with 64 additions and 83 deletions

View File

@@ -1024,7 +1024,6 @@ 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