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
此提交包含在:
@@ -2438,12 +2438,33 @@ dp_rx_nbuf_set_link_id_from_tlv(struct dp_soc *soc, uint8_t *tlv_hdr,
|
||||
if (soc->arch_ops.dp_rx_peer_set_link_id)
|
||||
soc->arch_ops.dp_rx_peer_set_link_id(nbuf, peer_metadata);
|
||||
}
|
||||
|
||||
/**
|
||||
* dp_rx_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_rx_set_nbuf_band(qdf_nbuf_t nbuf, struct dp_txrx_peer *txrx_peer,
|
||||
uint8_t link_id)
|
||||
{
|
||||
qdf_nbuf_rx_set_band(nbuf, txrx_peer->band[link_id]);
|
||||
}
|
||||
#else
|
||||
static inline void
|
||||
dp_rx_nbuf_set_link_id_from_tlv(struct dp_soc *soc, uint8_t *tlv_hdr,
|
||||
qdf_nbuf_t nbuf)
|
||||
{
|
||||
}
|
||||
|
||||
static inline void
|
||||
dp_rx_set_nbuf_band(qdf_nbuf_t nbuf, struct dp_txrx_peer *txrx_peer,
|
||||
uint8_t link_id)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
新增問題並參考
封鎖使用者