qcacld-3.0: Add ini to disable beacon protection

Some legacy STA doesn't recognize the EXT CAP IE with
length greater than 8bytes. Therefore, these STA cannot
associate with hotspot broadcasting newer capabilities
in the extended IE.

To fix this, add an ini which would override the beacon
protection config in host driver.

Based on this ini, the beacon protection would be disabled
only for non-6 GHz and non-11be SAP profiles, as beacon
protection is mandatory in 6 GHz and 11be cases.

Change-Id: I672b707f6955fa31938aebba5e25461dd40cee4e
CRs-Fixed: 3378974
This commit is contained in:
Surya Prakash Sivaraj
2023-01-20 18:32:19 +05:30
committed by Madan Koyyalamudi
parent e51f225258
commit d6df82c2b6
10 changed files with 110 additions and 8 deletions

View File

@@ -4173,4 +4173,14 @@ QDF_STATUS
wlan_mlme_stats_get_periodic_display_time(struct wlan_objmgr_psoc *psoc,
uint32_t *periodic_display_time);
/**
* wlan_mlme_is_bcn_prot_disabled_for_sap() - Is beacon protection config
* disabled for SAP interface
*
* @psoc: pointer to psoc object
*
* Return: is beacon protection disabled
*/
bool
wlan_mlme_is_bcn_prot_disabled_for_sap(struct wlan_objmgr_psoc *psoc);
#endif /* _WLAN_MLME_API_H_ */