ath11k: avoid WMM param truncation
PATCH 1/1 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 <[email protected]>
--- drivers/net/wireless/ath/ath11k/wmi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/wireless/ath/ath11k/wmi.h +2 -2
@@ -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; };
Signature · 7 lines
1.9.1 _______________________________________________ ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k
Quoted 6 lines · Karthikeyan Periyasamy
In
conf_tx()mac operation callback, we are truncating the tx paramscw_minandcw_maxdue to lower data type cast. so modified the data type of cwmin and cwmax to avoid the trucation issue.Signed-off-by Karthikeyan Periyasamy <[email protected]>Signed-off-by Kalle Valo <[email protected]>
Patch applied to ath11k-post-bringup branch of ath.git, thanks.
0755d82eb177 ath11k: avoid WMM param truncation
Signature · 9 lines
https://patchwork.kernel.org/patch/11203723/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches _______________________________________________ ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k