qcacld-3.0: Add 802.11be allowed AP OUI INI support

Add INI g11be_oui_allow_list to config 802.11be AP oui which
is allowed to get connected in 802.11be mode.
If the INI is empty, all the ap are allowed to get connected
in 802.11be mode. If INI is set to "ffffff 00 01", then STA
is not allowed to connect to any AP in 802.11be mode.

Change-Id: I98e545ba909c1746237a20c365f8297f16fe666f
CRs-Fixed: 3304021
This commit is contained in:
Liangwei Dong
2022-09-13 11:16:35 +08:00
committed by Madan Koyyalamudi
parent c9265bb6f4
commit 74aa28da73
13 changed files with 224 additions and 5 deletions

View File

@@ -2224,6 +2224,31 @@ mlme_update_vht_cap(struct wlan_objmgr_psoc *psoc, struct wma_tgt_vht_cap *cfg);
*/
QDF_STATUS mlme_update_nss_vht_cap(struct wlan_objmgr_psoc *psoc);
#ifdef WLAN_FEATURE_11BE
/**
* mlme_get_bss_11be_allowed() - Check BSS allowed in 11be mode
* @psoc: psoc context
* @bssid: bssid
* @ie_date: ie data
* @ie_length: ie data length
*
* Return: true if AP in 11be oui allow list
*/
bool mlme_get_bss_11be_allowed(struct wlan_objmgr_psoc *psoc,
struct qdf_mac_addr *bssid,
uint8_t *ie_data,
uint32_t ie_length);
#else
static inline
bool mlme_get_bss_11be_allowed(struct wlan_objmgr_psoc *psoc,
struct qdf_mac_addr *bssid,
uint8_t *ie_data,
uint32_t ie_length)
{
return false;
}
#endif
/**
* wlan_mlme_is_sap_uapsd_enabled() - Get if SAP UAPSD is enabled/disabled
* @psoc: psoc context