Sujith Manoharan <suj...@msujith.org> writes:

> From: Sujith Manoharan <c_man...@qca.qualcomm.com>
>
> The channel time duration programmed in the HW is in absolute microseconds,
> while mac80211 gives the txop in units of 32 microseconds. Handle this
> properly.
>
> Signed-off-by: Sujith Manoharan <c_man...@qca.qualcomm.com>
> ---
>  drivers/net/wireless/ath/ath10k/mac.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/wireless/ath/ath10k/mac.c 
> b/drivers/net/wireless/ath/ath10k/mac.c
> index d31fa1c..bd91b15 100644
> --- a/drivers/net/wireless/ath/ath10k/mac.c
> +++ b/drivers/net/wireless/ath/ath10k/mac.c
> @@ -2188,7 +2188,7 @@ static int ath10k_conf_tx(struct ieee80211_hw *hw,
>       p->cwmin = params->cw_min;
>       p->cwmax = params->cw_max;
>       p->aifs = params->aifs;
> -     p->txop = params->txop;
> +     p->txop = params->txop * 32;

Please add a comment.

-- 
Kalle Valo
_______________________________________________
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Reply via email to