qcacld-3.0: add wds mode sysfs functionality

Add support to configure wds_mode.

Change-Id: I19b7c797083a75d2aebf53d574484def5a4ec9e1
CRs-Fixed: 3563193
This commit is contained in:
Bing Sun
2023-07-18 17:06:55 +08:00
committed by Rahul Choudhary
parent 0de932801e
commit 25f5c0058e
11 changed files with 265 additions and 1 deletions

View File

@@ -6112,6 +6112,18 @@ wlan_mlme_get_wds_mode(struct wlan_objmgr_psoc *psoc)
return mlme_obj->cfg.gen.wds_mode;
}
void wlan_mlme_set_wds_mode(struct wlan_objmgr_psoc *psoc,
enum wlan_wds_mode mode)
{
struct wlan_mlme_psoc_ext_obj *mlme_obj;
mlme_obj = mlme_get_psoc_ext_obj(psoc);
if (!mlme_obj)
return;
if (mode <= WLAN_WDS_MODE_MAX)
mlme_obj->cfg.gen.wds_mode = mode;
}
#endif
bool wlan_mlme_is_sta_mon_conc_supported(struct wlan_objmgr_psoc *psoc)