mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 05:29:04 -04:00
qcacmn: Add TWT requester/responder bits in soc caps
TWT requester/responder capability is reported by FW in service bitmap. Based on this support set soc's extcap feature bit. This is used while adding extended capabilities IE to set TWT REQ/RSP bits in IE. Change-Id: I304e9fa4dc32bd3c2f47901bc34438cb188d138a CRs-Fixed: 2290026
This commit is contained in:
parent
ad6f6e23b0
commit
ef65ce37d7
2 changed files with 10 additions and 0 deletions
|
|
@ -101,6 +101,12 @@ static int init_deinit_service_ready_event_handler(ol_scn_t scn_handle,
|
|||
if (wmi_service_enabled(wmi_handle, wmi_service_check_cal_version))
|
||||
wlan_psoc_nif_fw_ext_cap_set(psoc, WLAN_SOC_CEXT_SW_CAL);
|
||||
|
||||
if (wmi_service_enabled(wmi_handle, wmi_service_twt_requestor))
|
||||
wlan_psoc_nif_fw_ext_cap_set(psoc, WLAN_SOC_CEXT_TWT_REQUESTER);
|
||||
|
||||
if (wmi_service_enabled(wmi_handle, wmi_service_twt_responder))
|
||||
wlan_psoc_nif_fw_ext_cap_set(psoc, WLAN_SOC_CEXT_TWT_RESPONDER);
|
||||
|
||||
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),
|
||||
|
|
|
|||
|
|
@ -121,6 +121,10 @@
|
|||
#define WLAN_SOC_CEXT_WMI_MGMT_REF 0x00000800
|
||||
/* Wideband scan */
|
||||
#define WLAN_SOC_CEXT_WIDEBAND_SCAN 0x00001000
|
||||
/* TWT Requester capable */
|
||||
#define WLAN_SOC_CEXT_TWT_REQUESTER 0x00002000
|
||||
/* TWT Responder capable */
|
||||
#define WLAN_SOC_CEXT_TWT_RESPONDER 0x00004000
|
||||
|
||||
/* feature_flags */
|
||||
/* CONF: ATH FF enabled */
|
||||
|
|
|
|||
Loading…
Reference in a new issue