ソースを参照

qcacmn: Add ast_idx and ast_hash in dp_peer

Add ast_idx and ast_hash values in dp_peer

Change-Id: Ib68a25f6ea6b07cd46f4ec995436625cb3f28a58
CRs-Fixed: 3344867
KARTHIK KUMAR T 2 年 前
コミット
72332cbe67
2 ファイル変更8 行追加0 行削除
  1. 3 0
      dp/wifi3.0/dp_peer.c
  2. 5 0
      dp/wifi3.0/dp_types.h

+ 3 - 0
dp/wifi3.0/dp_peer.c

@@ -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 &&

+ 5 - 0
dp/wifi3.0/dp_types.h

@@ -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;
 };
 
 /*