qcacmn: Use sw_peer_id instead of ast_index to get peer

In order to support flow overide feature,
AST table has to be split between RxPCU and DDR.
With this split, RX monitor cannot make use of
ast_index to fetch peer as it is not from DDR.
So make use of sw_peer_id to fetch peer.
This sw_peer_id is derived from RX_MPDU_STAT_START_TLV

Change-Id: Ib2a003a2640fded3287c318d2ad59fd3127af9b6
CRs-fixed: 3004363
This commit is contained in:
Devender Kumar
2021-07-28 15:14:28 +05:30
کامیت شده توسط Madan Koyyalamudi
والد 03827107ac
کامیت c182e1e3e9
14فایلهای تغییر یافته به همراه86 افزوده شده و 67 حذف شده

مشاهده پرونده

@@ -2709,6 +2709,14 @@ static void dp_htt_t2h_msg_handler(void *context, HTC_PACKET *pkt)
"HTT_T2H_MSG_TYPE_PEER_MAP msg for peer id %d vdev id %d n",
peer_id, vdev_id);
QDF_TRACE(QDF_MODULE_ID_TXRX,
QDF_TRACE_LEVEL_INFO,
"ast_idx[0] %d ast_idx[1] %d ast_idx[2] %d ast_idx[3] %d n",
ast_flow_info.ast_idx[0],
ast_flow_info.ast_idx[1],
ast_flow_info.ast_idx[2],
ast_flow_info.ast_idx[3]);
dp_rx_peer_map_handler(soc->dp_soc, peer_id,
hw_peer_id, vdev_id,
peer_mac_addr, ast_hash,