|
@@ -3710,7 +3710,7 @@ static struct sk_buff *ath10k_wmi_10_2_op_gen_init(struct ath10k *ar)
|
|
|
struct wmi_init_cmd_10_2 *cmd;
|
|
|
struct sk_buff *buf;
|
|
|
struct wmi_resource_config_10x config = {};
|
|
|
- u32 len, val;
|
|
|
+ u32 len, val, features;
|
|
|
|
|
|
config.num_vdevs = __cpu_to_le32(TARGET_10X_NUM_VDEVS);
|
|
|
config.num_peers = __cpu_to_le32(TARGET_10X_NUM_PEERS);
|
|
@@ -3764,6 +3764,9 @@ static struct sk_buff *ath10k_wmi_10_2_op_gen_init(struct ath10k *ar)
|
|
|
|
|
|
cmd = (struct wmi_init_cmd_10_2 *)buf->data;
|
|
|
|
|
|
+ features = WMI_10_2_RX_BATCH_MODE;
|
|
|
+ cmd->resource_config.feature_mask = __cpu_to_le32(features);
|
|
|
+
|
|
|
memcpy(&cmd->resource_config.common, &config, sizeof(config));
|
|
|
ath10k_wmi_put_host_mem_chunks(ar, &cmd->mem_chunks);
|
|
|
|