qcacmn: 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: I37518731faa4de67a49853e5ac544efa3b3ce1d6 CRs-Fixed: 2813013
此提交包含在:
@@ -40,11 +40,16 @@
|
||||
* for production.
|
||||
* @dot11mode_filter: dot11mode filter used to restrict connection to
|
||||
* 11n/11ac/11ax.
|
||||
* @sae_pwe: SAE mechanism for PWE derivation
|
||||
* 0 = hunting-and-pecking loop only
|
||||
* 1 = hash-to-element only
|
||||
* 2 = both hunting-and-pecking loop and hash-to-element enabled
|
||||
*/
|
||||
struct osif_connect_params {
|
||||
struct element_info scan_ie;
|
||||
bool force_rsne_override;
|
||||
enum dot11_mode_filter dot11mode_filter;
|
||||
uint8_t sae_pwe;
|
||||
};
|
||||
|
||||
/**
|
||||
|
@@ -348,6 +348,7 @@ osif_cm_fill_connect_params(struct wlan_cm_connect_req *req,
|
||||
}
|
||||
req->dot11mode_filter = params->dot11mode_filter;
|
||||
req->force_rsne_override = params->force_rsne_override;
|
||||
req->sae_pwe = params->sae_pwe;
|
||||
}
|
||||
|
||||
static void osif_cm_free_connect_req(struct wlan_cm_connect_req *connect_req)
|
||||
|
新增問題並參考
封鎖使用者