[Patch] Set timers mode for AR5416 on TDMA support

Kang Yin Su cantona at cantona.net
Wed Aug 24 14:04:56 UTC 2011


That works too I tried, I just think explicit the mode is better.

thanks,
Yin

On Wed, Aug 24, 2011 at 9:27 PM, Adrian Chadd <adrian at freebsd.org> wrote:

> Hi,
>
> Please try this patch. I bet bt_flags isn't 0 sometimes and the "right
> bits" aren't set. :)
>
>
> Adrian
>
> Index: if_ath.c
> ===================================================================
> --- if_ath.c    (revision 224813)
> +++ if_ath.c    (working copy)
> @@ -5485,6 +5485,8 @@
>        bt.bt_nextdba = (nexttbtt<<3) - sc->sc_tdmadbaprep;
>        bt.bt_nextswba = (nexttbtt<<3) - sc->sc_tdmaswbaprep;
>        bt.bt_nextatim = nexttbtt+1;
> +       /* Enables TBTT, DBA, SWBA timers by default */
> +       bt.bt_flags = 0;
>        ath_hal_beaconsettimers(ah, &bt);
>  }
>


More information about the freebsd-wireless mailing list