Commit f1d34a01 authored by Karthikeyan Periyasamy's avatar Karthikeyan Periyasamy Committed by Kalle Valo
Browse files

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: default avatarKarthikeyan Periyasamy <periyasa@codeaurora.org>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 293cb583
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
};