mirror of https://gitee.com/openkylin/linux.git
ath10k: add new service defines for 10.4
No functional changes, adds new wmi service bits for 10.4 firmware to be sync with 10.4 firmware. Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qti.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
This commit is contained in:
parent
6dd46348b9
commit
e3c6225d3a
|
@ -175,6 +175,8 @@ enum wmi_service {
|
||||||
WMI_SERVICE_AUX_SPECTRAL_INTF,
|
WMI_SERVICE_AUX_SPECTRAL_INTF,
|
||||||
WMI_SERVICE_AUX_CHAN_LOAD_INTF,
|
WMI_SERVICE_AUX_CHAN_LOAD_INTF,
|
||||||
WMI_SERVICE_BSS_CHANNEL_INFO_64,
|
WMI_SERVICE_BSS_CHANNEL_INFO_64,
|
||||||
|
WMI_SERVICE_EXT_RES_CFG_SUPPORT,
|
||||||
|
WMI_SERVICE_MESH,
|
||||||
|
|
||||||
/* keep last */
|
/* keep last */
|
||||||
WMI_SERVICE_MAX,
|
WMI_SERVICE_MAX,
|
||||||
|
@ -286,6 +288,8 @@ enum wmi_10_4_service {
|
||||||
WMI_10_4_SERVICE_AUX_SPECTRAL_INTF,
|
WMI_10_4_SERVICE_AUX_SPECTRAL_INTF,
|
||||||
WMI_10_4_SERVICE_AUX_CHAN_LOAD_INTF,
|
WMI_10_4_SERVICE_AUX_CHAN_LOAD_INTF,
|
||||||
WMI_10_4_SERVICE_BSS_CHANNEL_INFO_64,
|
WMI_10_4_SERVICE_BSS_CHANNEL_INFO_64,
|
||||||
|
WMI_10_4_SERVICE_EXT_RES_CFG_SUPPORT,
|
||||||
|
WMI_10_4_SERVICE_MESH,
|
||||||
};
|
};
|
||||||
|
|
||||||
static inline char *wmi_service_name(int service_id)
|
static inline char *wmi_service_name(int service_id)
|
||||||
|
@ -375,6 +379,8 @@ static inline char *wmi_service_name(int service_id)
|
||||||
SVCSTR(WMI_SERVICE_AUX_SPECTRAL_INTF);
|
SVCSTR(WMI_SERVICE_AUX_SPECTRAL_INTF);
|
||||||
SVCSTR(WMI_SERVICE_AUX_CHAN_LOAD_INTF);
|
SVCSTR(WMI_SERVICE_AUX_CHAN_LOAD_INTF);
|
||||||
SVCSTR(WMI_SERVICE_BSS_CHANNEL_INFO_64);
|
SVCSTR(WMI_SERVICE_BSS_CHANNEL_INFO_64);
|
||||||
|
SVCSTR(WMI_SERVICE_EXT_RES_CFG_SUPPORT);
|
||||||
|
SVCSTR(WMI_SERVICE_MESH);
|
||||||
default:
|
default:
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
@ -600,6 +606,10 @@ static inline void wmi_10_4_svc_map(const __le32 *in, unsigned long *out,
|
||||||
WMI_SERVICE_AUX_CHAN_LOAD_INTF, len);
|
WMI_SERVICE_AUX_CHAN_LOAD_INTF, len);
|
||||||
SVCMAP(WMI_10_4_SERVICE_BSS_CHANNEL_INFO_64,
|
SVCMAP(WMI_10_4_SERVICE_BSS_CHANNEL_INFO_64,
|
||||||
WMI_SERVICE_BSS_CHANNEL_INFO_64, len);
|
WMI_SERVICE_BSS_CHANNEL_INFO_64, len);
|
||||||
|
SVCMAP(WMI_10_4_SERVICE_EXT_RES_CFG_SUPPORT,
|
||||||
|
WMI_SERVICE_EXT_RES_CFG_SUPPORT, len);
|
||||||
|
SVCMAP(WMI_10_4_SERVICE_MESH,
|
||||||
|
WMI_SERVICE_MESH, len);
|
||||||
}
|
}
|
||||||
|
|
||||||
#undef SVCMAP
|
#undef SVCMAP
|
||||||
|
|
Loading…
Reference in New Issue