|
@@ -937,7 +937,6 @@ void dp_sawf_config_be(struct dp_soc *soc, uint32_t *hal_tx_desc_cached,
|
|
if (!wlan_cfg_get_sawf_config(soc->wlan_cfg_ctx))
|
|
if (!wlan_cfg_get_sawf_config(soc->wlan_cfg_ctx))
|
|
return;
|
|
return;
|
|
|
|
|
|
- dp_sawf_tcl_cmd(fw_metadata, nbuf);
|
|
|
|
q_id = dp_sawf_queue_id_get(nbuf);
|
|
q_id = dp_sawf_queue_id_get(nbuf);
|
|
|
|
|
|
if (q_id == DP_SAWF_DEFAULT_Q_INVALID)
|
|
if (q_id == DP_SAWF_DEFAULT_Q_INVALID)
|
|
@@ -945,6 +944,12 @@ void dp_sawf_config_be(struct dp_soc *soc, uint32_t *hal_tx_desc_cached,
|
|
msdu_info->tid = (q_id & (CDP_DATA_TID_MAX - 1));
|
|
msdu_info->tid = (q_id & (CDP_DATA_TID_MAX - 1));
|
|
hal_tx_desc_set_hlos_tid(hal_tx_desc_cached,
|
|
hal_tx_desc_set_hlos_tid(hal_tx_desc_cached,
|
|
(q_id & (CDP_DATA_TID_MAX - 1)));
|
|
(q_id & (CDP_DATA_TID_MAX - 1)));
|
|
|
|
+
|
|
|
|
+ if ((q_id >= DP_SAWF_DEFAULT_QUEUE_MIN) &&
|
|
|
|
+ (q_id < DP_SAWF_DEFAULT_QUEUE_MAX))
|
|
|
|
+ return;
|
|
|
|
+
|
|
|
|
+ dp_sawf_tcl_cmd(fw_metadata, nbuf);
|
|
hal_tx_desc_set_flow_override_enable(hal_tx_desc_cached,
|
|
hal_tx_desc_set_flow_override_enable(hal_tx_desc_cached,
|
|
DP_TX_FLOW_OVERRIDE_ENABLE);
|
|
DP_TX_FLOW_OVERRIDE_ENABLE);
|
|
hal_tx_desc_set_flow_override(hal_tx_desc_cached,
|
|
hal_tx_desc_set_flow_override(hal_tx_desc_cached,
|