[Patch] Set timers mode for AR5416 on TDMA support
Adrian Chadd
adrian at freebsd.org
Wed Aug 24 13:27:51 UTC 2011
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