summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorKarthikeyan Periyasamy <periyasa@codeaurora.org>2019-11-27 18:29:58 +0200
committerKalle Valo <kvalo@codeaurora.org>2019-11-29 09:35:37 +0200
commitf1d34a01ed547793c223eb3df4849bdb19ff1d22 (patch)
tree571b3516faf3a49a6a914829304f8bfc8a755c67 /drivers
parent293cb5839729b186f951a82289aa5e0257c6d1b8 (diff)
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/ath/ath11k/wmi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath11k/wmi.h b/drivers/net/wireless/ath/ath11k/wmi.h
index 6a0468094694..4a518d406bc5 100644
--- a/drivers/net/wireless/ath/ath11k/wmi.h
+++ b/drivers/net/wireless/ath/ath11k/wmi.h
@@ -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;
};