qcacmn: Support to print AST entries of MLO peer
Add support to print AST entries of MLO peer. MLO AST table is global across SOC and hence any print AST request will print the MLO AST table Change-Id: I07554606617f43a8806e1c7243ca69a0c8ce335e CRs-Fixed: 3246520
This commit is contained in:

committed by
Madan Koyyalamudi

parent
4447eb57d1
commit
e852941cea
@@ -1044,7 +1044,15 @@ static inline void dp_peer_delete_ast_entries(struct dp_soc *soc,
|
||||
DP_PEER_ITERATE_ASE_LIST(peer, ast_entry, temp_ast_entry)
|
||||
dp_peer_del_ast(soc, ast_entry);
|
||||
}
|
||||
|
||||
void dp_print_peer_ast_entries(struct dp_soc *soc, struct dp_peer *peer,
|
||||
void *arg);
|
||||
#else
|
||||
static inline void dp_print_peer_ast_entries(struct dp_soc *soc,
|
||||
struct dp_peer *peer, void *arg)
|
||||
{
|
||||
}
|
||||
|
||||
static inline void dp_peer_delete_ast_entries(struct dp_soc *soc,
|
||||
struct dp_peer *peer)
|
||||
{
|
||||
@@ -1800,6 +1808,15 @@ dp_tgt_txrx_peer_get_ref_by_id(struct dp_soc *soc,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/**
|
||||
* dp_print_mlo_ast_stats_be() - Print AST stats for MLO peers
|
||||
*
|
||||
* @soc : core DP soc context
|
||||
*
|
||||
* Return: void
|
||||
*/
|
||||
void dp_print_mlo_ast_stats_be(struct dp_soc *soc);
|
||||
|
||||
#else
|
||||
|
||||
#define IS_MLO_DP_MLD_TXRX_PEER(_peer) false
|
||||
@@ -1948,6 +1965,10 @@ uint16_t dp_get_link_peer_id_by_lmac_id(struct dp_soc *soc, uint16_t peer_id,
|
||||
{
|
||||
return peer_id;
|
||||
}
|
||||
|
||||
static inline void dp_print_mlo_ast_stats_be(struct dp_soc *soc)
|
||||
{
|
||||
}
|
||||
#endif /* WLAN_FEATURE_11BE_MLO */
|
||||
|
||||
#if defined(WLAN_FEATURE_11BE_MLO) && defined(WLAN_MLO_MULTI_CHIP)
|
||||
|
Reference in New Issue
Block a user