qcacmn: Add target_if changes for dynamic hw-mode config

This feature enables a user to change HW mode dynamically
from DBS to DBS_SBS mode and vice-versa. Currently, HW
mode configuration is only possible through INI setting
requiring a subsequent reboot.

Primary target_if changes are:

1. Add structure definition wlan_psoc_host_hal_reg_cap_ext
to parse and store the new extended regulatory capability
info in WMI_MAC_PHY_CAPABILITIES tlv sent in EXT service
ready WMI event
2. Add API target_psoc_get_num_radios_for_mode to retrieve
the number of radios corresponding to a hw-mode
3. Add API target_psoc_get_mac_phy_cap_for_mode to retrieve
the pointer to the mac_phy_cap info of the first radio
corresponding to the input hw-mode.

Change-Id: Ia10f0fd5e50c0ce0cbe99f9281147266aedce4e9
CRs-fixed: 2490212
This commit is contained in:
Gyanranjan Hazarika
2019-06-05 00:43:38 -07:00
committed by nshrivas
orang tua 9e02e1e104
melakukan 8e0ae99446
8 mengubah file dengan 130 tambahan dan 21 penghapusan

Melihat File

@@ -134,6 +134,8 @@
#define WLAN_SOC_CEXT_MBSS_IE 0x00020000
/* RXOLE Flow Search Support */
#define WLAN_SOC_CEXT_RX_FSE_SUPPORT 0x00040000
/* Dynamic HW Mode Switch Support */
#define WLAN_SOC_CEXT_DYNAMIC_HW_MODE 0x00080000
/* feature_flags */
/* CONF: ATH FF enabled */
@@ -190,6 +192,8 @@
#define WLAN_SOC_F_SPECTRAL_DISABLE 0x00800000
/* FTM testmode enable */
#define WLAN_SOC_F_TESTMODE_ENABLE 0x01000000
/* Dynamic HW mode swithch enable */
#define WLAN_SOC_F_DYNAMIC_HW_MODE 0x02000000
/* PSOC op flags */