if_ath_rx.h revision 235676
1235676Sadrian/*- 2235676Sadrian * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 3235676Sadrian * All rights reserved. 4235676Sadrian * 5235676Sadrian * Redistribution and use in source and binary forms, with or without 6235676Sadrian * modification, are permitted provided that the following conditions 7235676Sadrian * are met: 8235676Sadrian * 1. Redistributions of source code must retain the above copyright 9235676Sadrian * notice, this list of conditions and the following disclaimer, 10235676Sadrian * without modification. 11235676Sadrian * 2. Redistributions in binary form must reproduce at minimum a disclaimer 12235676Sadrian * similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any 13235676Sadrian * redistribution must be conditioned upon including a substantially 14235676Sadrian * similar Disclaimer requirement for further binary redistribution. 15235676Sadrian * 16235676Sadrian * NO WARRANTY 17235676Sadrian * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18235676Sadrian * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19235676Sadrian * LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTIBILITY 20235676Sadrian * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL 21235676Sadrian * THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, 22235676Sadrian * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23235676Sadrian * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24235676Sadrian * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 25235676Sadrian * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26235676Sadrian * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 27235676Sadrian * THE POSSIBILITY OF SUCH DAMAGES. 28235676Sadrian * 29235676Sadrian * $FreeBSD: head/sys/dev/ath/if_ath_rx.h 235676 2012-05-20 02:05:10Z adrian $ 30235676Sadrian */ 31235676Sadrian#ifndef __IF_ATH_RX_H__ 32235676Sadrian#define __IF_ATH_RX_H__ 33235676Sadrian 34235676Sadrianextern u_int32_t ath_calcrxfilter(struct ath_softc *sc); 35235676Sadrianextern int ath_rxbuf_init(struct ath_softc *sc, struct ath_buf *bf); 36235676Sadrianextern void ath_recv_mgmt(struct ieee80211_node *ni, struct mbuf *m, 37235676Sadrian int subtype, int rssi, int nf); 38235676Sadrianextern void ath_rx_tasklet(void *arg, int npending); 39235676Sadrianextern void ath_rx_proc(struct ath_softc *sc, int resched); 40235676Sadrianextern void ath_stoprecv(struct ath_softc *sc, int dodelay); 41235676Sadrianextern int ath_startrecv(struct ath_softc *sc); 42235676Sadrian 43235676Sadrian#endif 44