#include <linux/dma-mapping.h>
#include "ath9k.h"
#include "ar9003_mac.h"
#define SKB_CB_ATHBUF(__skb) …
static inline bool ath9k_check_auto_sleep(struct ath_softc *sc)
{ … }
static void ath_rx_buf_link(struct ath_softc *sc, struct ath_rxbuf *bf,
bool flush)
{ … }
static void ath_rx_buf_relink(struct ath_softc *sc, struct ath_rxbuf *bf,
bool flush)
{ … }
static void ath_setdefantenna(struct ath_softc *sc, u32 antenna)
{ … }
static void ath_opmode_init(struct ath_softc *sc)
{ … }
static bool ath_rx_edma_buf_link(struct ath_softc *sc,
enum ath9k_rx_qtype qtype)
{ … }
static void ath_rx_addbuffer_edma(struct ath_softc *sc,
enum ath9k_rx_qtype qtype)
{ … }
static void ath_rx_remove_buffer(struct ath_softc *sc,
enum ath9k_rx_qtype qtype)
{ … }
static void ath_rx_edma_cleanup(struct ath_softc *sc)
{ … }
static void ath_rx_edma_init_queue(struct ath_rx_edma *rx_edma, int size)
{ … }
static int ath_rx_edma_init(struct ath_softc *sc, int nbufs)
{ … }
static void ath_edma_start_recv(struct ath_softc *sc)
{ … }
static void ath_edma_stop_recv(struct ath_softc *sc)
{ … }
int ath_rx_init(struct ath_softc *sc, int nbufs)
{ … }
void ath_rx_cleanup(struct ath_softc *sc)
{ … }
u32 ath_calcrxfilter(struct ath_softc *sc)
{ … }
void ath_startrecv(struct ath_softc *sc)
{ … }
static void ath_flushrecv(struct ath_softc *sc)
{ … }
bool ath_stoprecv(struct ath_softc *sc)
{ … }
static bool ath_beacon_dtim_pending_cab(struct sk_buff *skb)
{ … }
static void ath_rx_ps_beacon(struct ath_softc *sc, struct sk_buff *skb)
{ … }
static void ath_rx_ps(struct ath_softc *sc, struct sk_buff *skb, bool mybeacon)
{ … }
static bool ath_edma_get_buffers(struct ath_softc *sc,
enum ath9k_rx_qtype qtype,
struct ath_rx_status *rs,
struct ath_rxbuf **dest)
{ … }
static struct ath_rxbuf *ath_edma_get_next_rx_buf(struct ath_softc *sc,
struct ath_rx_status *rs,
enum ath9k_rx_qtype qtype)
{ … }
static struct ath_rxbuf *ath_get_next_rx_buf(struct ath_softc *sc,
struct ath_rx_status *rs)
{ … }
static void ath9k_process_tsf(struct ath_rx_status *rs,
struct ieee80211_rx_status *rxs,
u64 tsf)
{ … }
static int ath9k_rx_skb_preprocess(struct ath_softc *sc,
struct sk_buff *skb,
struct ath_rx_status *rx_stats,
struct ieee80211_rx_status *rx_status,
bool *decrypt_error, u64 tsf)
{ … }
static void ath9k_antenna_check(struct ath_softc *sc,
struct ath_rx_status *rs)
{ … }
static void ath9k_apply_ampdu_details(struct ath_softc *sc,
struct ath_rx_status *rs, struct ieee80211_rx_status *rxs)
{ … }
static void ath_rx_count_airtime(struct ath_softc *sc,
struct ath_rx_status *rs,
struct sk_buff *skb)
{ … }
int ath_rx_tasklet(struct ath_softc *sc, int flush, bool hp)
{ … }