qcacmn: Add support to set 11az ext feature flags
Add support to set 11az ext feature flags Read the firmware capability for 11az features and advertise the corresponding wiphy flags. Change-Id: I85f6cc2f65a5d9892830f66a726cffc823093bca CRs-Fixed: 3150584
此提交包含在:

提交者
Madan Koyyalamudi

父節點
8d44eccea7
當前提交
aa27094cab
@@ -84,6 +84,36 @@ init_deinit_update_rssi_dbm_conv_support(struct wmi_unified *wmi_handle,
|
||||
{}
|
||||
#endif
|
||||
|
||||
#ifdef WIFI_POS_CONVERGED
|
||||
static inline void
|
||||
init_deinit_update_wifi_pos_caps(struct wmi_unified *wmi_handle,
|
||||
struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
if (wmi_service_enabled(wmi_handle, wmi_service_rtt_11az_ntb_support))
|
||||
wlan_psoc_nif_fw_ext_cap_set(psoc,
|
||||
WLAN_RTT_11AZ_NTB_SUPPORT);
|
||||
|
||||
if (wmi_service_enabled(wmi_handle, wmi_service_rtt_11az_tb_support))
|
||||
wlan_psoc_nif_fw_ext2_cap_set(psoc,
|
||||
WLAN_RTT_11AZ_TB_SUPPORT);
|
||||
|
||||
if (wmi_service_enabled(wmi_handle,
|
||||
wmi_service_rtt_11az_mac_sec_support))
|
||||
wlan_psoc_nif_fw_ext2_cap_set(psoc,
|
||||
WLAN_RTT_11AZ_MAC_SEC_SUPPORT);
|
||||
|
||||
if (wmi_service_enabled(wmi_handle,
|
||||
wmi_service_rtt_11az_mac_phy_sec_support))
|
||||
wlan_psoc_nif_fw_ext2_cap_set(
|
||||
psoc, WLAN_RTT_11AZ_MAC_PHY_SEC_SUPPORT);
|
||||
}
|
||||
#else
|
||||
static inline void
|
||||
init_deinit_update_wifi_pos_caps(struct wmi_unified *wmi_handle,
|
||||
struct wlan_objmgr_psoc *psoc)
|
||||
{}
|
||||
#endif
|
||||
|
||||
static int init_deinit_service_ready_event_handler(ol_scn_t scn_handle,
|
||||
uint8_t *event,
|
||||
uint32_t data_len)
|
||||
@@ -234,6 +264,8 @@ static int init_deinit_service_ready_event_handler(ol_scn_t scn_handle,
|
||||
wlan_psoc_nif_fw_ext_cap_set(psoc,
|
||||
WLAN_SOC_CEXT_CSA_TX_OFFLOAD);
|
||||
|
||||
init_deinit_update_wifi_pos_caps(wmi_handle, psoc);
|
||||
|
||||
/* override derived value, if it exceeds max peer count */
|
||||
if ((wlan_psoc_get_max_peer_count(psoc) >
|
||||
tgt_hdl->info.wlan_res_cfg.num_active_peers) &&
|
||||
|
新增問題並參考
封鎖使用者