diff --git a/dp/wifi3.0/dp_htt.c b/dp/wifi3.0/dp_htt.c index b2d9b68ce5..57c20d4075 100644 --- a/dp/wifi3.0/dp_htt.c +++ b/dp/wifi3.0/dp_htt.c @@ -37,7 +37,7 @@ #include "dp_ratetable.h" #endif #include -#ifdef CONFIG_SAWF_DEF_QUEUEUS +#ifdef CONFIG_SAWF_DEF_QUEUES #include #endif @@ -2422,7 +2422,7 @@ static void dp_vdev_txrx_hw_stats_handler(struct htt_soc *soc, {} #endif -#ifdef CONFIG_SAWF_DEF_QEUEUES +#ifdef CONFIG_SAWF_DEF_QUEUES static void dp_sawf_def_queues_update_map_report_conf(struct htt_soc *soc, uint32_t *msg_word, qdf_nbuf_t htt_t2h_msg) diff --git a/dp/wifi3.0/li/dp_li_tx.c b/dp/wifi3.0/li/dp_li_tx.c index 5f97c014ef..59cd79fda2 100644 --- a/dp/wifi3.0/li/dp_li_tx.c +++ b/dp/wifi3.0/li/dp_li_tx.c @@ -346,7 +346,7 @@ void dp_sawf_config_li(struct dp_soc *soc, uint32_t *hal_tx_desc_cached, uint8_t q_id = 0; uint32_t search_index; - if (wlan_cfg_get_sawf_config(soc->wlan_cfg_ctx)) + if (!wlan_cfg_get_sawf_config(soc->wlan_cfg_ctx)) return; dp_sawf_tcl_cmd(fw_metadata, nbuf); @@ -358,7 +358,8 @@ void dp_sawf_config_li(struct dp_soc *soc, uint32_t *hal_tx_desc_cached, search_index = dp_sawf_get_search_index(soc, nbuf, vdev_id, q_id); hal_tx_desc_set_hlos_tid(hal_tx_desc_cached, (q_id & 0x7)); - hal_tx_desc_set_search_type_li(soc->hal_soc, hal_tx_desc_cached, 2); + hal_tx_desc_set_search_type_li(soc->hal_soc, hal_tx_desc_cached, + HAL_TX_ADDR_INDEX_SEARCH); hal_tx_desc_set_search_index_li(soc->hal_soc, hal_tx_desc_cached, search_index); }