qcacld-3.0: Add support for WDS repeater mode

Enable 4address frame format for the packets to the AP.
Enable MEC check for the sta dp vdev.

A new ini is added to enable WDS feature specifying the
desired WDS mode.

CRs-Fixed: 2889438
Change-Id: I99ccb91adf283a1ed863902ec4b31f1c3e821d32
This commit is contained in:
Subrat Dash
2021-02-26 15:55:05 +05:30
committed by snandini
parent 7280aff038
commit d7794ba3b5
6 changed files with 146 additions and 1 deletions

View File

@@ -4676,6 +4676,20 @@ wlan_mlme_get_monitor_mode_concurrency(struct wlan_objmgr_psoc *psoc)
return mlme_obj->cfg.gen.monitor_mode_concurrency;
}
#ifdef FEATURE_WDS
enum wlan_wds_mode
wlan_mlme_get_wds_mode(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_WDS_MODE);
return mlme_obj->cfg.gen.wds_mode;
}
#endif
bool wlan_mlme_is_sta_mon_conc_supported(struct wlan_objmgr_psoc *psoc)
{
if (wlan_mlme_get_monitor_mode_concurrency(psoc) ==