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

@@ -3050,6 +3050,23 @@ QDF_STATUS mlme_set_ext_opr_rate(struct wlan_objmgr_vdev *vdev, uint8_t *src,
*/
bool wlan_mlme_is_sta_mon_conc_supported(struct wlan_objmgr_psoc *psoc);
#ifdef FEATURE_WDS
/**
* wlan_mlme_get_wds_mode() - Check wds mode supported
* @psoc: pointer to psoc object
*
* Return: supprted wds mode
*/
enum wlan_wds_mode
wlan_mlme_get_wds_mode(struct wlan_objmgr_psoc *psoc);
#else
static inline enum wlan_wds_mode
wlan_mlme_get_wds_mode(struct wlan_objmgr_psoc *psoc)
{
return WLAN_WDS_MODE_DISABLED;
}
#endif
#ifdef WLAN_SUPPORT_TWT
/**
* mlme_is_twt_enabled() - Get if TWT is enabled via ini.