diff --git a/dp/wifi3.0/dp_peer.c b/dp/wifi3.0/dp_peer.c index 521e274d2bb1..3d0a12623f53 100644 --- a/dp/wifi3.0/dp_peer.c +++ b/dp/wifi3.0/dp_peer.c @@ -1538,8 +1538,10 @@ dp_rx_peer_map_handler(struct dp_soc *soc, uint16_t peer_id, peer->vdev->vap_bss_peer = peer; } - if (peer->vdev->opmode == wlan_op_mode_sta) + if (peer->vdev->opmode == wlan_op_mode_sta) { peer->vdev->bss_ast_hash = ast_hash; + peer->vdev->bss_ast_idx = hw_peer_id; + } /* Add ast entry incase self ast entry is * deleted due to DP CP sync issue diff --git a/dp/wifi3.0/dp_tx.c b/dp/wifi3.0/dp_tx.c index 3395768b3e9b..b0fa5242ac7f 100644 --- a/dp/wifi3.0/dp_tx.c +++ b/dp/wifi3.0/dp_tx.c @@ -1103,7 +1103,7 @@ static QDF_STATUS dp_tx_hw_enqueue(struct dp_soc *soc, struct dp_vdev *vdev, hal_tx_desc_set_search_type(soc->hal_soc, hal_tx_desc_cached, vdev->search_type); hal_tx_desc_set_search_index(soc->hal_soc, hal_tx_desc_cached, - vdev->bss_ast_hash); + vdev->bss_ast_idx); hal_tx_desc_set_dscp_tid_table_id(soc->hal_soc, hal_tx_desc_cached, vdev->dscp_tid_map_id); hal_tx_desc_set_encrypt_type(hal_tx_desc_cached, diff --git a/dp/wifi3.0/dp_types.h b/dp/wifi3.0/dp_types.h index d40dea4915cc..7b5bf5b9f811 100644 --- a/dp/wifi3.0/dp_types.h +++ b/dp/wifi3.0/dp_types.h @@ -1836,6 +1836,9 @@ struct dp_vdev { /* AST hash value for BSS peer in HW valid for STA VAP*/ uint16_t bss_ast_hash; + /* AST hash index for BSS peer in HW valid for STA VAP*/ + uint16_t bss_ast_idx; + /* Capture timestamp of previous tx packet enqueued */ uint64_t prev_tx_enq_tstamp;