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:
parent
8da3fc95a7
commit
cd196bb2d5
@ -3170,6 +3170,11 @@ rx_next:
|
|||||||
if (ngood)
|
if (ngood)
|
||||||
sc->sc_lastrx = tsf;
|
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 */
|
NET_UNLOCK_GIANT(); /* XXX */
|
||||||
#undef PA2DESC
|
#undef PA2DESC
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user