ath10k: include new wmi op version for 10.4 fw
qca99X0 chip uses firmware version 10.4. Define a new macro ATH10K_FW_WMI_OP_VERSION_10_4 for 10.4 firmware and include in switch cases where ATH10K_FW_WMI_OP_VERSION_* is used to avoid compilation error. Signed-off-by: Raja Mani <rmani@qti.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
This commit is contained in:
@@ -5415,6 +5415,8 @@ static const struct wmi_ops wmi_10_2_4_ops = {
|
||||
int ath10k_wmi_attach(struct ath10k *ar)
|
||||
{
|
||||
switch (ar->wmi.op_version) {
|
||||
case ATH10K_FW_WMI_OP_VERSION_10_4:
|
||||
break;
|
||||
case ATH10K_FW_WMI_OP_VERSION_10_2_4:
|
||||
ar->wmi.cmd = &wmi_10_2_4_cmd_map;
|
||||
ar->wmi.ops = &wmi_10_2_4_ops;
|
||||
|
Reference in New Issue
Block a user