qcacld-3.0: Config support for STA bss color collision detection

Add INI configuration support to enable/disable BSS color collision
detection offload in STA mode.

Change-Id: I9d8f096813d74242566ccae5f92e872bcaca6295
CRs-Fixed: 2965133
This commit is contained in:
Kiran Kumar Lokere
2021-06-10 09:58:38 -07:00
committed by Madan Koyyalamudi
parent 9cd5928878
commit 73061c8eff
7 changed files with 65 additions and 1 deletions

View File

@@ -1518,6 +1518,21 @@ ucfg_mlme_set_obss_detection_offload_enabled(struct wlan_objmgr_psoc *psoc,
return QDF_STATUS_SUCCESS;
}
QDF_STATUS
ucfg_mlme_set_bss_color_collision_det_sta(struct wlan_objmgr_psoc *psoc,
uint8_t value)
{
struct wlan_mlme_psoc_ext_obj *mlme_obj;
mlme_obj = mlme_get_psoc_ext_obj(psoc);
if (!mlme_obj)
return QDF_STATUS_E_INVAL;
mlme_obj->cfg.obss_ht40.bss_color_collision_det_sta = value;
return QDF_STATUS_SUCCESS;
}
QDF_STATUS
ucfg_mlme_set_obss_color_collision_offload_enabled(
struct wlan_objmgr_psoc *psoc, uint8_t value)