ath11k: avoid WMM param truncation

In conf_tx() mac operation callback, we are truncating the tx
params cw_min and cw_max due to lower data type cast. so modified
the data type of cwmin and cwmax to avoid the trucation issue.

Signed-off-by: Karthikeyan Periyasamy <periyasa@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
Karthikeyan Periyasamy
2019-11-27 18:29:58 +02:00
committed by Kalle Valo
parent 293cb58397
commit f1d34a01ed

View File

@@ -4501,8 +4501,8 @@ struct wmi_wmm_params {
struct wmi_wmm_params_arg {
u8 acm;
u8 aifs;
u8 cwmin;
u8 cwmax;
u16 cwmin;
u16 cwmax;
u16 txop;
u8 no_ack;
};