-/* $OpenBSD: acx.c,v 1.85 2008/07/21 18:43:19 damien Exp $ */
+/* $OpenBSD: acx.c,v 1.86 2008/08/14 16:02:24 damien Exp $ */
/*
* Copyright (c) 2006 Jonathan Gray <jsg@openbsd.org>
* time we can start from it.
*/
bd->rx_scan_start = idx;
-
- /*
- * In HostAP mode, ieee80211_input() will enqueue packets in if_snd
- * without calling if_start().
- */
- if (!IFQ_IS_EMPTY(&ifp->if_snd) && !(ifp->if_flags & IFF_OACTIVE))
- (*ifp->if_start)(ifp);
}
int
-/* $OpenBSD: ath.c,v 1.72 2008/07/30 07:43:01 reyk Exp $ */
+/* $OpenBSD: ath.c,v 1.73 2008/08/14 16:02:24 damien Exp $ */
/* $NetBSD: ath.c,v 1.37 2004/08/18 21:59:39 dyoung Exp $ */
/*-
ath_hal_set_rx_signal(ah); /* rx signal state monitoring */
ath_hal_start_rx(ah); /* in case of RXEOL */
-
- if ((ifp->if_flags & IFF_OACTIVE) == 0 && !IFQ_IS_EMPTY(&ifp->if_snd))
- ath_start(ifp);
#undef PA2DESC
}
-/* $OpenBSD: malo.c,v 1.84 2008/07/27 11:28:17 mbalmer Exp $ */
+/* $OpenBSD: malo.c,v 1.85 2008/08/14 16:02:24 damien Exp $ */
/*
* Copyright (c) 2006 Claudio Jeker <claudio@openbsd.org>
}
malo_mem_write4(sc, sc->sc_RxPdRdPtr, rxRdPtr);
-
- /*
- * In HostAP mode, ieee80211_input() will enqueue packets in if_snd
- * without calling if_start().
- */
- if (!IFQ_IS_EMPTY(&ifp->if_snd) && !(ifp->if_flags & IFF_OACTIVE))
- (*ifp->if_start)(ifp);
}
int
-/* $OpenBSD: rt2560.c,v 1.37 2008/07/21 18:43:19 damien Exp $ */
+/* $OpenBSD: rt2560.c,v 1.38 2008/08/14 16:02:24 damien Exp $ */
/*-
* Copyright (c) 2005, 2006
sc->rxq.cur_decrypt =
(sc->rxq.cur_decrypt + 1) % RT2560_RX_RING_COUNT;
}
-
- /*
- * In HostAP mode, ieee80211_input() will enqueue packets in if_snd
- * without calling if_start().
- */
- if (!IFQ_IS_EMPTY(&ifp->if_snd) && !(ifp->if_flags & IFF_OACTIVE))
- rt2560_start(ifp);
}
/*
-/* $OpenBSD: rt2661.c,v 1.42 2008/07/21 18:43:19 damien Exp $ */
+/* $OpenBSD: rt2661.c,v 1.43 2008/08/14 16:02:24 damien Exp $ */
/*-
* Copyright (c) 2006
sc->rxq.cur = (sc->rxq.cur + 1) % RT2661_RX_RING_COUNT;
}
-
- /*
- * In HostAP mode, ieee80211_input() will enqueue packets in if_snd
- * without calling if_start().
- */
- if (!IFQ_IS_EMPTY(&ifp->if_snd) && !(ifp->if_flags & IFF_OACTIVE))
- rt2661_start(ifp);
}
/*
-/* $OpenBSD: rt2860.c,v 1.17 2008/07/21 19:41:44 damien Exp $ */
+/* $OpenBSD: rt2860.c,v 1.18 2008/08/14 16:02:24 damien Exp $ */
/*-
* Copyright (c) 2007,2008
/* tell HW what we have processed */
RAL_WRITE(sc, RT2860_RX_CALC_IDX,
(sc->rxq.cur - 1) % RT2860_RX_RING_COUNT);
-
- /*
- * In HostAP mode, ieee80211_input() will enqueue packets in if_snd
- * without calling if_start().
- */
- if (!IFQ_IS_EMPTY(&ifp->if_snd) && !(ifp->if_flags & IFF_OACTIVE))
- rt2860_start(ifp);
}
int
-/* $OpenBSD: rtw.c,v 1.67 2008/07/21 18:43:19 damien Exp $ */
+/* $OpenBSD: rtw.c,v 1.68 2008/08/14 16:02:24 damien Exp $ */
/* $NetBSD: rtw.c,v 1.29 2004/12/27 19:49:16 dyoung Exp $ */
/*-
KASSERT(rdb->rdb_next < rdb->rdb_ndesc);
- /*
- * In HostAP mode, ieee80211_input() will enqueue packets in if_snd
- * without calling if_start().
- */
- if (!IFQ_IS_EMPTY(&sc->sc_if.if_snd) &&
- !(sc->sc_if.if_flags & IFF_OACTIVE))
- (*sc->sc_if.if_start)(&sc->sc_if);
-
return;
#undef IS_BEACON
}
-/* $OpenBSD: if_ral.c,v 1.105 2008/07/30 06:25:23 damien Exp $ */
+/* $OpenBSD: if_ral.c,v 1.106 2008/08/14 16:02:24 damien Exp $ */
/*-
* Copyright (c) 2005, 2006
/* node is no longer needed */
ieee80211_release_node(ic, ni);
- /*
- * In HostAP mode, ieee80211_input() will enqueue packets in if_snd
- * without calling if_start().
- */
- if (!IFQ_IS_EMPTY(&ifp->if_snd) && !(ifp->if_flags & IFF_OACTIVE))
- ural_start(ifp);
-
splx(s);
DPRINTFN(15, ("rx done\n"));
-/* $OpenBSD: if_rum.c,v 1.75 2008/07/30 06:25:23 damien Exp $ */
+/* $OpenBSD: if_rum.c,v 1.76 2008/08/14 16:02:24 damien Exp $ */
/*-
* Copyright (c) 2005-2007 Damien Bergamini <damien.bergamini@free.fr>
/* node is no longer needed */
ieee80211_release_node(ic, ni);
- /*
- * In HostAP mode, ieee80211_input() will enqueue packets in if_snd
- * without calling if_start().
- */
- if (!IFQ_IS_EMPTY(&ifp->if_snd) && !(ifp->if_flags & IFF_OACTIVE))
- rum_start(ifp);
-
splx(s);
DPRINTFN(15, ("rx done\n"));
-/* $OpenBSD: ieee80211_input.c,v 1.98 2008/08/13 17:44:45 damien Exp $ */
+/* $OpenBSD: ieee80211_input.c,v 1.99 2008/08/14 16:02:23 damien Exp $ */
/*-
* Copyright (c) 2001 Atsushi Onoe
if (m != NULL)
ifp->if_omcasts++;
ifp->if_obytes += len;
+ if_start(ifp);
}
}
}