mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
mwifiex: display right transmit packet delay
drv_pkt_delay_max should be assigned non-zero value, so that packet delay can be accumulate in the right way. Signed-off-by: Xinming Hu <huxm@marvell.com> Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
5b451715e9
commit
6970cd446c
@ -298,6 +298,7 @@ struct mwifiex_tid_tbl {
|
||||
#define WMM_HIGHEST_PRIORITY 7
|
||||
#define HIGH_PRIO_TID 7
|
||||
#define LOW_PRIO_TID 0
|
||||
#define MWIFIEX_WMM_DRV_DELAY_MAX 510
|
||||
|
||||
struct mwifiex_wmm_desc {
|
||||
struct mwifiex_tid_tbl tid_tbl_ptr[MAX_NUM_TID];
|
||||
|
@ -438,6 +438,7 @@ mwifiex_wmm_init(struct mwifiex_adapter *adapter)
|
||||
mwifiex_set_ba_params(priv);
|
||||
mwifiex_reset_11n_rx_seq_num(priv);
|
||||
|
||||
priv->wmm.drv_pkt_delay_max = MWIFIEX_WMM_DRV_DELAY_MAX;
|
||||
atomic_set(&priv->wmm.tx_pkts_queued, 0);
|
||||
atomic_set(&priv->wmm.highest_queued_prio, HIGH_PRIO_TID);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user