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
此提交包含在:
Surya Prakash Sivaraj
2023-01-20 18:32:19 +05:30
提交者 Madan Koyyalamudi
父節點 e51f225258
當前提交 d6df82c2b6
共有 10 個檔案被更改,包括 110 行新增8 行删除

查看文件

@@ -1592,6 +1592,8 @@ static void mlme_init_sap_cfg(struct wlan_objmgr_psoc *psoc,
cfg_get(psoc, CFG_IS_SAP_BCAST_DEAUTH_ENABLED);
sap_cfg->is_6g_sap_fd_enabled =
cfg_get(psoc, CFG_6G_SAP_FILS_DISCOVERY_ENABLED);
sap_cfg->disable_bcn_prot =
cfg_get(psoc, CFG_DISABLE_SAP_BCN_PROT);
}
static void mlme_init_obss_ht40_cfg(struct wlan_objmgr_psoc *psoc,