mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
qcacmn: Add restricted 80+80 MHz bit in soc caps
Restricted 80+80 MHz capability is reported by FW in service bitmap. Based on this support set soc's extcap feature bit. Please note, wmi_service_bw_165mhz_support will be renamed as wmi_service_restricted_80p80_support once the FW changes are available. Change-Id: I88f89eecd916c40ea8669c792dde3a335e4bac56 CRs-Fixed: 2579543
This commit is contained in:
parent
628c21c08e
commit
1e7bd262fd
2 changed files with 6 additions and 0 deletions
|
|
@ -126,6 +126,10 @@ static int init_deinit_service_ready_event_handler(ol_scn_t scn_handle,
|
|||
if (wmi_service_enabled(wmi_handle, wmi_service_dynamic_hw_mode))
|
||||
wlan_psoc_nif_fw_ext_cap_set(psoc, WLAN_SOC_CEXT_DYNAMIC_HW_MODE);
|
||||
|
||||
if (wmi_service_enabled(wmi_handle, wmi_service_bw_165mhz_support))
|
||||
wlan_psoc_nif_fw_ext_cap_set(psoc,
|
||||
WLAN_SOC_RESTRICTED_80P80_SUPPORT);
|
||||
|
||||
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),
|
||||
|
|
|
|||
|
|
@ -136,6 +136,8 @@
|
|||
#define WLAN_SOC_CEXT_RX_FSE_SUPPORT 0x00040000
|
||||
/* Dynamic HW Mode Switch Support */
|
||||
#define WLAN_SOC_CEXT_DYNAMIC_HW_MODE 0x00080000
|
||||
/* Restricted 80+80 MHz support */
|
||||
#define WLAN_SOC_RESTRICTED_80P80_SUPPORT 0x00100000
|
||||
|
||||
/* feature_flags */
|
||||
/* CONF: ATH FF enabled */
|
||||
|
|
|
|||
Loading…
Reference in a new issue