|
@@ -129,7 +129,7 @@ v13:
|
|
.patch_load_addr = QCA988X_HW_2_0_PATCH_LOAD_ADDR,
|
|
.patch_load_addr = QCA988X_HW_2_0_PATCH_LOAD_ADDR,
|
|
.uart_pin = 7,
|
|
.uart_pin = 7,
|
|
.cc_wraparound_type = ATH10K_HW_CC_WRAP_SHIFTED_ALL,
|
|
.cc_wraparound_type = ATH10K_HW_CC_WRAP_SHIFTED_ALL,
|
|
-@@ -141,6 +143,7 @@ static const struct ath10k_hw_params ath
|
|
|
|
|
|
+@@ -143,6 +145,7 @@ static const struct ath10k_hw_params ath
|
|
.dev_id = QCA9887_1_0_DEVICE_ID,
|
|
.dev_id = QCA9887_1_0_DEVICE_ID,
|
|
.bus = ATH10K_BUS_PCI,
|
|
.bus = ATH10K_BUS_PCI,
|
|
.name = "qca9887 hw1.0",
|
|
.name = "qca9887 hw1.0",
|
|
@@ -137,7 +137,7 @@ v13:
|
|
.patch_load_addr = QCA9887_HW_1_0_PATCH_LOAD_ADDR,
|
|
.patch_load_addr = QCA9887_HW_1_0_PATCH_LOAD_ADDR,
|
|
.uart_pin = 7,
|
|
.uart_pin = 7,
|
|
.cc_wraparound_type = ATH10K_HW_CC_WRAP_SHIFTED_ALL,
|
|
.cc_wraparound_type = ATH10K_HW_CC_WRAP_SHIFTED_ALL,
|
|
-@@ -352,6 +355,7 @@ static const struct ath10k_hw_params ath
|
|
|
|
|
|
+@@ -360,6 +363,7 @@ static const struct ath10k_hw_params ath
|
|
.dev_id = QCA99X0_2_0_DEVICE_ID,
|
|
.dev_id = QCA99X0_2_0_DEVICE_ID,
|
|
.bus = ATH10K_BUS_PCI,
|
|
.bus = ATH10K_BUS_PCI,
|
|
.name = "qca99x0 hw2.0",
|
|
.name = "qca99x0 hw2.0",
|
|
@@ -145,7 +145,7 @@ v13:
|
|
.patch_load_addr = QCA99X0_HW_2_0_PATCH_LOAD_ADDR,
|
|
.patch_load_addr = QCA99X0_HW_2_0_PATCH_LOAD_ADDR,
|
|
.uart_pin = 7,
|
|
.uart_pin = 7,
|
|
.otp_exe_param = 0x00000700,
|
|
.otp_exe_param = 0x00000700,
|
|
-@@ -393,6 +397,7 @@ static const struct ath10k_hw_params ath
|
|
|
|
|
|
+@@ -402,6 +406,7 @@ static const struct ath10k_hw_params ath
|
|
.dev_id = QCA9984_1_0_DEVICE_ID,
|
|
.dev_id = QCA9984_1_0_DEVICE_ID,
|
|
.bus = ATH10K_BUS_PCI,
|
|
.bus = ATH10K_BUS_PCI,
|
|
.name = "qca9984/qca9994 hw1.0",
|
|
.name = "qca9984/qca9994 hw1.0",
|
|
@@ -153,7 +153,7 @@ v13:
|
|
.patch_load_addr = QCA9984_HW_1_0_PATCH_LOAD_ADDR,
|
|
.patch_load_addr = QCA9984_HW_1_0_PATCH_LOAD_ADDR,
|
|
.uart_pin = 7,
|
|
.uart_pin = 7,
|
|
.cc_wraparound_type = ATH10K_HW_CC_WRAP_SHIFTED_EACH,
|
|
.cc_wraparound_type = ATH10K_HW_CC_WRAP_SHIFTED_EACH,
|
|
-@@ -441,6 +446,7 @@ static const struct ath10k_hw_params ath
|
|
|
|
|
|
+@@ -451,6 +456,7 @@ static const struct ath10k_hw_params ath
|
|
.dev_id = QCA9888_2_0_DEVICE_ID,
|
|
.dev_id = QCA9888_2_0_DEVICE_ID,
|
|
.bus = ATH10K_BUS_PCI,
|
|
.bus = ATH10K_BUS_PCI,
|
|
.name = "qca9888 hw2.0",
|
|
.name = "qca9888 hw2.0",
|
|
@@ -161,7 +161,7 @@ v13:
|
|
.patch_load_addr = QCA9888_HW_2_0_PATCH_LOAD_ADDR,
|
|
.patch_load_addr = QCA9888_HW_2_0_PATCH_LOAD_ADDR,
|
|
.uart_pin = 7,
|
|
.uart_pin = 7,
|
|
.cc_wraparound_type = ATH10K_HW_CC_WRAP_SHIFTED_EACH,
|
|
.cc_wraparound_type = ATH10K_HW_CC_WRAP_SHIFTED_EACH,
|
|
-@@ -3942,6 +3948,10 @@ int ath10k_core_start(struct ath10k *ar,
|
|
|
|
|
|
+@@ -3977,6 +3983,10 @@ int ath10k_core_start(struct ath10k *ar,
|
|
ath10k_wmi_check_apply_board_power_ctl_table(ar);
|
|
ath10k_wmi_check_apply_board_power_ctl_table(ar);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -172,7 +172,7 @@ v13:
|
|
return 0;
|
|
return 0;
|
|
|
|
|
|
err_hif_stop:
|
|
err_hif_stop:
|
|
-@@ -4203,9 +4213,18 @@ static void ath10k_core_register_work(st
|
|
|
|
|
|
+@@ -4238,9 +4248,18 @@ static void ath10k_core_register_work(st
|
|
goto err_spectral_destroy;
|
|
goto err_spectral_destroy;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -191,7 +191,7 @@ v13:
|
|
err_spectral_destroy:
|
|
err_spectral_destroy:
|
|
ath10k_spectral_destroy(ar);
|
|
ath10k_spectral_destroy(ar);
|
|
err_debug_destroy:
|
|
err_debug_destroy:
|
|
-@@ -4265,6 +4284,8 @@ void ath10k_core_unregister(struct ath10
|
|
|
|
|
|
+@@ -4300,6 +4319,8 @@ void ath10k_core_unregister(struct ath10
|
|
if (!test_bit(ATH10K_FLAG_CORE_REGISTERED, &ar->dev_flags))
|
|
if (!test_bit(ATH10K_FLAG_CORE_REGISTERED, &ar->dev_flags))
|
|
return;
|
|
return;
|
|
|
|
|
|
@@ -456,7 +456,7 @@ v13:
|
|
static const struct wmi_peer_flags_map wmi_tlv_peer_flags_map = {
|
|
static const struct wmi_peer_flags_map wmi_tlv_peer_flags_map = {
|
|
--- a/ath10k-5.15/wmi.c
|
|
--- a/ath10k-5.15/wmi.c
|
|
+++ b/ath10k-5.15/wmi.c
|
|
+++ b/ath10k-5.15/wmi.c
|
|
-@@ -8409,6 +8409,49 @@ ath10k_wmi_op_gen_peer_set_param(struct
|
|
|
|
|
|
+@@ -8413,6 +8413,49 @@ ath10k_wmi_op_gen_peer_set_param(struct
|
|
return skb;
|
|
return skb;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -506,7 +506,7 @@ v13:
|
|
static struct sk_buff *
|
|
static struct sk_buff *
|
|
ath10k_wmi_op_gen_set_psmode(struct ath10k *ar, u32 vdev_id,
|
|
ath10k_wmi_op_gen_set_psmode(struct ath10k *ar, u32 vdev_id,
|
|
enum wmi_sta_ps_mode psmode)
|
|
enum wmi_sta_ps_mode psmode)
|
|
-@@ -10240,6 +10283,9 @@ static const struct wmi_ops wmi_ops = {
|
|
|
|
|
|
+@@ -10244,6 +10287,9 @@ static const struct wmi_ops wmi_ops = {
|
|
.fw_stats_fill = ath10k_wmi_main_op_fw_stats_fill,
|
|
.fw_stats_fill = ath10k_wmi_main_op_fw_stats_fill,
|
|
.get_vdev_subtype = ath10k_wmi_op_get_vdev_subtype,
|
|
.get_vdev_subtype = ath10k_wmi_op_get_vdev_subtype,
|
|
.gen_echo = ath10k_wmi_op_gen_echo,
|
|
.gen_echo = ath10k_wmi_op_gen_echo,
|
|
@@ -516,7 +516,7 @@ v13:
|
|
/* .gen_bcn_tmpl not implemented */
|
|
/* .gen_bcn_tmpl not implemented */
|
|
/* .gen_prb_tmpl not implemented */
|
|
/* .gen_prb_tmpl not implemented */
|
|
/* .gen_p2p_go_bcn_ie not implemented */
|
|
/* .gen_p2p_go_bcn_ie not implemented */
|
|
-@@ -10310,6 +10356,8 @@ static const struct wmi_ops wmi_10_1_ops
|
|
|
|
|
|
+@@ -10314,6 +10360,8 @@ static const struct wmi_ops wmi_10_1_ops
|
|
.fw_stats_fill = ath10k_wmi_10x_op_fw_stats_fill,
|
|
.fw_stats_fill = ath10k_wmi_10x_op_fw_stats_fill,
|
|
.get_vdev_subtype = ath10k_wmi_op_get_vdev_subtype,
|
|
.get_vdev_subtype = ath10k_wmi_op_get_vdev_subtype,
|
|
.gen_echo = ath10k_wmi_op_gen_echo,
|
|
.gen_echo = ath10k_wmi_op_gen_echo,
|
|
@@ -525,7 +525,7 @@ v13:
|
|
/* .gen_bcn_tmpl not implemented */
|
|
/* .gen_bcn_tmpl not implemented */
|
|
/* .gen_prb_tmpl not implemented */
|
|
/* .gen_prb_tmpl not implemented */
|
|
/* .gen_p2p_go_bcn_ie not implemented */
|
|
/* .gen_p2p_go_bcn_ie not implemented */
|
|
-@@ -10389,6 +10437,8 @@ static const struct wmi_ops wmi_10_2_ops
|
|
|
|
|
|
+@@ -10393,6 +10441,8 @@ static const struct wmi_ops wmi_10_2_ops
|
|
.gen_delba_send = ath10k_wmi_op_gen_delba_send,
|
|
.gen_delba_send = ath10k_wmi_op_gen_delba_send,
|
|
.fw_stats_fill = ath10k_wmi_10x_op_fw_stats_fill,
|
|
.fw_stats_fill = ath10k_wmi_10x_op_fw_stats_fill,
|
|
.get_vdev_subtype = ath10k_wmi_op_get_vdev_subtype,
|
|
.get_vdev_subtype = ath10k_wmi_op_get_vdev_subtype,
|
|
@@ -534,7 +534,7 @@ v13:
|
|
/* .gen_pdev_enable_adaptive_cca not implemented */
|
|
/* .gen_pdev_enable_adaptive_cca not implemented */
|
|
};
|
|
};
|
|
|
|
|
|
-@@ -10460,6 +10510,8 @@ static const struct wmi_ops wmi_10_2_4_o
|
|
|
|
|
|
+@@ -10464,6 +10514,8 @@ static const struct wmi_ops wmi_10_2_4_o
|
|
ath10k_wmi_op_gen_pdev_enable_adaptive_cca,
|
|
ath10k_wmi_op_gen_pdev_enable_adaptive_cca,
|
|
.get_vdev_subtype = ath10k_wmi_10_2_4_op_get_vdev_subtype,
|
|
.get_vdev_subtype = ath10k_wmi_10_2_4_op_get_vdev_subtype,
|
|
.gen_bb_timing = ath10k_wmi_10_2_4_op_gen_bb_timing,
|
|
.gen_bb_timing = ath10k_wmi_10_2_4_op_gen_bb_timing,
|
|
@@ -543,7 +543,7 @@ v13:
|
|
/* .gen_bcn_tmpl not implemented */
|
|
/* .gen_bcn_tmpl not implemented */
|
|
/* .gen_prb_tmpl not implemented */
|
|
/* .gen_prb_tmpl not implemented */
|
|
/* .gen_p2p_go_bcn_ie not implemented */
|
|
/* .gen_p2p_go_bcn_ie not implemented */
|
|
-@@ -10542,6 +10594,8 @@ static const struct wmi_ops wmi_10_4_ops
|
|
|
|
|
|
+@@ -10546,6 +10598,8 @@ static const struct wmi_ops wmi_10_4_ops
|
|
.gen_pdev_bss_chan_info_req = ath10k_wmi_10_2_op_gen_pdev_bss_chan_info,
|
|
.gen_pdev_bss_chan_info_req = ath10k_wmi_10_2_op_gen_pdev_bss_chan_info,
|
|
.gen_echo = ath10k_wmi_op_gen_echo,
|
|
.gen_echo = ath10k_wmi_op_gen_echo,
|
|
.gen_pdev_get_tpc_config = ath10k_wmi_10_2_4_op_gen_pdev_get_tpc_config,
|
|
.gen_pdev_get_tpc_config = ath10k_wmi_10_2_4_op_gen_pdev_get_tpc_config,
|