qcacmn: Support for IPQ8074 2G PHYB mode 1/3

This mode is supported through hw_mode_id 7. A special mode for
IPQ8074 platform alone to bring up single pdev alone on 2G mode.
FW would advertise the mode 7 support through the WMI service
ready message and this mode will be the default mode for AP-HK10 alone.

Added a function to update the svc_id mappings for this mode as FW
requires WMI commands to be received through CE 7 for this mode.
Also adjusted the preferred mode precedence to give high precedence
to mode 7.

Change-Id: Id637c59e9528779e38737b7d74b000abf2e9db9d
Этот коммит содержится в:
Nandha Kishore Easwaran
2020-03-30 16:27:42 +05:30
коммит произвёл nshrivas
родитель db9a00bc6a
Коммит c6ca857257
2 изменённых файлов: 8 добавлений и 4 удалений

Просмотреть файл

@@ -6744,6 +6744,8 @@ enum wmi_userspace_log_level {
* as in WMI_HW_MODE_SBS, and 3rd on the other band
* @WMI_HOST_HW_MODE_DBS_OR_SBS: Two PHY with one PHY capabale of both 2G and
* 5G. It can support SBS (5G + 5G) OR DBS (5G + 2G).
* @WMI_HOST_HW_MODE_FW_INTERNAL: FW specific internal mode
* @WMI_HOST_HW_MODE_2G_PHYB: Only one phy is active. 2G mode on PhyB.
* @WMI_HOST_HW_MODE_MAX: Max hw_mode_id. Used to indicate invalid mode.
* @WMI_HOST_HW_MODE_DETECT: Mode id used by host to choose mode from target
* supported modes.
@@ -6755,6 +6757,8 @@ enum wmi_host_hw_mode_config_type {
WMI_HOST_HW_MODE_SBS = 3,
WMI_HOST_HW_MODE_DBS_SBS = 4,
WMI_HOST_HW_MODE_DBS_OR_SBS = 5,
WMI_HOST_HW_MODE_FW_INTERNAL = 6,
WMI_HOST_HW_MODE_2G_PHYB = 7,
WMI_HOST_HW_MODE_MAX,
WMI_HOST_HW_MODE_DETECT,
};