qcacmn: Add changes to update band info in txrx_peer NULL case

Currently if txrx_peer is NULL in Tx completion or rx process
band update will not happen, which will result in invalid band
issue during connectivity logging.

To fix the issue maintain local link id and use link id to
find link peer and update band information in nbuf cb
based on peer frequency.

Change-Id: Ia5a6001fbc167a497660dc7be39a3e641dd28896
CRs-Fixed: 3654696
This commit is contained in:
Amit Mehta
2023-10-31 03:04:46 -07:00
کامیت شده توسط Ravindra Konda
والد c71f2aaf75
کامیت 40d1805fce
8فایلهای تغییر یافته به همراه186 افزوده شده و 8 حذف شده

مشاهده پرونده

@@ -2148,7 +2148,7 @@ static inline int dp_get_rtpm_tput_policy_requirement(struct dp_soc *soc)
* @txrx_peer: txrx_peer pointer
* @link_id: Peer Link ID
*
* Returen: None
* Return: None
*/
static inline void
dp_tx_set_nbuf_band(qdf_nbuf_t nbuf, struct dp_txrx_peer *txrx_peer,