qcacmn: Use restricted 80+80 MHz service bit instead of 165 MHz

For restricted 80+80 MHz FR, target team initially added
wmi_service_bw_165mhz_support to indicate the target is capable of
supporting restricted 80+80 MHz.
Later, they have added wmi_service_bw_restricted_80p80_support to indicate
the same. Therefore rename wmi_service_bw_165mhz_support as
wmi_service_bw_restricted_80p80_support.

Change-Id: I12229b5d35911d4c34e63902c09592187d902bed
CRs-Fixed: 2621249
This commit is contained in:
Shashikala Prabhu
2020-02-13 12:14:35 +05:30
committed by nshrivas
parent 0c6d94dd3e
commit 3aa150756b
3 changed files with 5 additions and 1 deletions

View File

@@ -126,7 +126,8 @@ 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))
if (wmi_service_enabled(wmi_handle,
wmi_service_bw_restricted_80p80_support))
wlan_psoc_nif_fw_ext_cap_set(psoc,
WLAN_SOC_RESTRICTED_80P80_SUPPORT);

View File

@@ -5101,6 +5101,7 @@ typedef enum {
wmi_service_ext2_msg,
wmi_service_6ghz_support,
wmi_service_bw_165mhz_support,
wmi_service_bw_restricted_80p80_support,
wmi_service_packet_capture_support,
wmi_service_nan_vdev,
wmi_service_multiple_vdev_restart_ext,

View File

@@ -14156,6 +14156,8 @@ static void populate_tlv_service(uint32_t *wmi_service)
WMI_SERVICE_6GHZ_SUPPORT;
wmi_service[wmi_service_bw_165mhz_support] =
WMI_SERVICE_BW_165MHZ_SUPPORT;
wmi_service[wmi_service_bw_restricted_80p80_support] =
WMI_SERVICE_BW_RESTRICTED_80P80_SUPPORT;
wmi_service[wmi_service_packet_capture_support] =
WMI_SERVICE_PACKET_CAPTURE_SUPPORT;
wmi_service[wmi_service_nan_vdev] = WMI_SERVICE_NAN_VDEV_SUPPORT;