Message ID | 1571715179-7242-1-git-send-email-periyasa@codeaurora.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 0755d82eb177ea7e3f1c33d7a4e28d9055b1ae2b |
Delegated to: | Kalle Valo |
Headers | show |
Series | ath11k: avoid WMM param truncation | expand |
Karthikeyan Periyasamy <periyasa@codeaurora.org> wrote: > 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> Patch applied to ath11k-post-bringup branch of ath.git, thanks. 0755d82eb177 ath11k: avoid WMM param truncation
diff --git a/drivers/net/wireless/ath/ath11k/wmi.h b/drivers/net/wireless/ath/ath11k/wmi.h index 6a04680..4a518d4 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; };
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> --- drivers/net/wireless/ath/ath11k/wmi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)