qcacmn: add support for transmit latency stats

Add support for per-link transmit latency statistics

Change-Id: Iadb87deb6e19cd4d9f86565fe687c7d9a1f05679
CRs-Fixed: 3597028
此提交包含在:
Yu Wang
2023-09-04 19:13:08 -07:00
提交者 Rahul Choudhary
父節點 48f4d53901
當前提交 3f6e59aef9
共有 11 個檔案被更改,包括 1207 行新增18 行删除

查看文件

@@ -2192,6 +2192,13 @@ dp_tgt_txrx_peer_get_ref_by_id(struct dp_soc *soc,
*/
void dp_print_mlo_ast_stats_be(struct dp_soc *soc);
/**
* dp_get_peer_link_id() - Get Link peer Link ID
* @peer: Datapath peer
*
* Return: Link peer Link ID
*/
uint8_t dp_get_peer_link_id(struct dp_peer *peer);
#else
#define IS_MLO_DP_MLD_TXRX_PEER(_peer) false
@@ -2344,6 +2351,11 @@ uint16_t dp_get_link_peer_id_by_lmac_id(struct dp_soc *soc, uint16_t peer_id,
static inline void dp_print_mlo_ast_stats_be(struct dp_soc *soc)
{
}
static inline uint8_t dp_get_peer_link_id(struct dp_peer *peer)
{
return 0;
}
#endif /* WLAN_FEATURE_11BE_MLO */
static inline