qcacmn: Add pdev level feature flag for MBSS IE

A service bit is used to indicate support for MBSS IE.
This is set as capability in host at psoc level.
In host, we also maintain a flag for user to configure
MBSS support at pdev level. It could be used in future.

Change-Id: I31a27a755fb027de93bfe6c9639fdbda9693bace
CRs-Fixed: 2403030
This commit is contained in:
Manoj Ekbote 2019-03-04 10:19:22 -08:00 • committed by nshrivas
commit 6db1ddac13
3 changed files with 9 additions and 4 deletions

View file

@ -113,6 +113,9 @@ static int init_deinit_service_ready_event_handler(ol_scn_t scn_handle,
if (wmi_service_enabled(wmi_handle, wmi_service_ul_ru26_allowed))
wlan_psoc_nif_fw_ext_cap_set(psoc, WLAN_SOC_CEXT_OBSS_NBW_RU);
if (wmi_service_enabled(wmi_handle, wmi_service_infra_mbssid))
wlan_psoc_nif_fw_ext_cap_set(psoc, WLAN_SOC_CEXT_MBSS_IE);
target_if_debug(" TT support %d, Wide BW Scan %d, SW cal %d",
wlan_psoc_nif_fw_ext_cap_get(psoc, WLAN_SOC_CEXT_TT_SUPPORT),
wlan_psoc_nif_fw_ext_cap_get(psoc, WLAN_SOC_CEXT_WIDEBAND_SCAN),

View file

@ -84,6 +84,8 @@
#define WLAN_PDEV_F_CHAN_CONCURRENCY 0x08000000
/* Multivdev restart enabled */
#define WLAN_PDEV_F_MULTIVDEV_RESTART 0x10000000
/* MBSS IE enable */
#define WLAN_PDEV_F_MBSS_IE_ENABLE 0x20000000
/* PDEV op flags */
/* Enable htrate for wep and tkip */

View file

@ -129,6 +129,8 @@
#define WLAN_SOC_CEXT_HW_DB2DBM 0x00008000
/* OBSS Narrow Bandwidth RU Tolerance */
#define WLAN_SOC_CEXT_OBSS_NBW_RU 0x00010000
/* MBSS IE support */
#define WLAN_SOC_CEXT_MBSS_IE 0x00020000
/* feature_flags */
/* CONF: ATH FF enabled */
@ -181,12 +183,10 @@
#define WLAN_SOC_F_BTCOEX_SUPPORT 0x00200000
/* HOST 80211 enable*/
#define WLAN_SOC_F_HOST_80211_ENABLE 0x00400000
/* MBSS IE enable */
#define WLAN_SOC_F_MBSS_IE_ENABLE 0x00800000
/* Spectral disable */
#define WLAN_SOC_F_SPECTRAL_DISABLE 0x01000000
#define WLAN_SOC_F_SPECTRAL_DISABLE 0x00800000
/* FTM testmode enable */
#define WLAN_SOC_F_TESTMODE_ENABLE 0x02000000
#define WLAN_SOC_F_TESTMODE_ENABLE 0x01000000
/* PSOC op flags */