qcacmn: Add changes to update band info in nbuf cb

Add changes to update band info into nbuf cb for
connectivity logging.

Change-Id: Iec5e91fe6b39a9a0f8a7a37d4945914d7a9e748f
CRs-Fixed: 3571823
此提交包含在:
Amit Mehta
2023-08-16 09:44:30 +05:30
提交者 Rahul Choudhary
父節點 6f26807730
當前提交 fcf4ae51f3
共有 6 個檔案被更改,包括 55 行新增0 行删除

查看文件

@@ -2203,4 +2203,26 @@ static inline int dp_get_rtpm_tput_policy_requirement(struct dp_soc *soc)
return 0;
}
#endif
#if defined WLAN_FEATURE_11BE_MLO && defined DP_MLO_LINK_STATS_SUPPORT
/**
* dp_tx_set_nbuf_band() - Set band info in nbuf cb
* @nbuf: nbuf pointer
* @txrx_peer: txrx_peer pointer
* @link_id: Peer Link ID
*
* Returen: None
*/
static inline void
dp_tx_set_nbuf_band(qdf_nbuf_t nbuf, struct dp_txrx_peer *txrx_peer,
uint8_t link_id)
{
qdf_nbuf_tx_set_band(nbuf, txrx_peer->band[link_id]);
}
#else
static inline void
dp_tx_set_nbuf_band(qdf_nbuf_t nbuf, struct dp_txrx_peer *txrx_peer,
uint8_t link_id)
{
}
#endif
#endif