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
committed by Madan Koyyalamudi
父節點 03827107ac
當前提交 c182e1e3e9
共有 14 個文件被更改,包括 86 次插入67 次删除

查看文件

@@ -403,6 +403,7 @@ struct mon_rx_status {
* @mpdu_fcs_ok_bitmap: mpdu with fcs ok bitmap
* @mpdu_ok_byte_count: mpdu byte count with fcs ok
* @mpdu_err_byte_count: mpdu byte count with fcs err
* @sw_peer_id: software peer id
*/
struct mon_rx_user_status {
uint32_t mcs:4,
@@ -433,6 +434,7 @@ struct mon_rx_user_status {
uint32_t mpdu_fcs_ok_bitmap[QDF_MON_STATUS_MPDU_FCS_BMAP_NWORDS];
uint32_t mpdu_ok_byte_count;
uint32_t mpdu_err_byte_count;
uint16_t sw_peer_id;
};
/**