Kick tx after processing rx'd frames; this fixes latency issues

for processing frames from the power save queue when operating
in ap mode.  This is especially noticeable for realtime data going
to devices like voip phones.

Submitted by:	"J.R. Oldroyd" <jr@opal.com>
MFC after:	2 weeks
This commit is contained in:
Sam Leffler 2007-03-05 21:53:49 +00:00
parent 8da3fc95a7
commit cd196bb2d5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=167251

View File

@ -3170,6 +3170,11 @@ ath_rx_proc(void *arg, int npending)
if (ngood)
sc->sc_lastrx = tsf;
/* NB: may want to check mgtq too */
if ((ifp->if_drv_flags & IFF_DRV_OACTIVE) == 0 &&
!IFQ_IS_EMPTY(&ifp->if_snd))
ath_start(ifp);
NET_UNLOCK_GIANT(); /* XXX */
#undef PA2DESC
}