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:

committed by
Madan Koyyalamudi

parent
e51f225258
commit
d6df82c2b6
@@ -6663,3 +6663,15 @@ wlan_mlme_stats_get_periodic_display_time(struct wlan_objmgr_psoc *psoc,
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
bool
|
||||
wlan_mlme_is_bcn_prot_disabled_for_sap(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
struct wlan_mlme_psoc_ext_obj *mlme_obj;
|
||||
|
||||
mlme_obj = mlme_get_psoc_ext_obj(psoc);
|
||||
if (!mlme_obj)
|
||||
return cfg_default(CFG_DISABLE_SAP_BCN_PROT);
|
||||
|
||||
return mlme_obj->cfg.sap_cfg.disable_bcn_prot;
|
||||
}
|
||||
|
Reference in New Issue
Block a user