Add ast_idx and ast_hash values in dp_peer Change-Id: Ib68a25f6ea6b07cd46f4ec995436625cb3f28a58 CRs-Fixed: 3344867
@@ -3117,6 +3117,9 @@ dp_rx_peer_map_handler(struct dp_soc *soc, uint16_t peer_id,
CDP_LINK_PEER_TYPE);
if (peer) {
+ /* Updating ast_hash and ast_idx in peer level */
+ peer->ast_hash = ast_hash;
+ peer->ast_idx = hw_peer_id;
vdev = peer->vdev;
/* Only check for STA Vdev and peer is not for TDLS */
if (wlan_op_mode_sta == vdev->opmode &&
@@ -4296,6 +4296,11 @@ struct dp_peer {
#ifdef CONFIG_SAWF_DEF_QUEUES
struct dp_peer_sawf *sawf;
#endif
+ /* AST hash index for peer in HW */
+ uint16_t ast_idx;
+
+ /* AST hash value for peer in HW */
+ uint16_t ast_hash;
};
/*