qcacmn: Set bandwidth, MPDU retry threshold at peer register

Currently, bandwidth and corresponding MPDU retry threshold was
taken from tx packet status in per packet to update peer stats.
With this change, set bandwidth and MPDU retry threshold
during peer registration.

Change-Id: Iffd06968246d0b86b26716ae6672e2cd23360c67
CRs-Fixed: 3225479
This commit is contained in:
Ananya Gupta
2022-06-20 16:23:59 +05:30
zatwierdzone przez Madan Koyyalamudi
rodzic 721afd10ab
commit e52231c86e
5 zmienionych plików z 77 dodań i 23 usunięć

Wyświetl plik

@@ -7102,12 +7102,6 @@ static QDF_STATUS dp_txrx_peer_attach(struct dp_soc *soc, struct dp_peer *peer)
txrx_peer->vdev = peer->vdev;
pdev = peer->vdev->pdev;
/* Initialize MPDU success count with retry update thresholds */
txrx_peer->mpdu_retry_threshold_1 =
soc->wlan_cfg_ctx->mpdu_retry_threshold_1;
txrx_peer->mpdu_retry_threshold_2 =
soc->wlan_cfg_ctx->mpdu_retry_threshold_2;
DP_STATS_INIT(txrx_peer);
dp_wds_ext_peer_init(txrx_peer);