#include <net/mac80211.h>
#include "../ath.h"
#include "hw.h"
#include "hw-ops.h"
#include "common-init.h"
#include "common-beacon.h"
#include "common-debug.h"
#include "common-spectral.h"
#define WME_BA_BMP_SIZE …
#define WME_MAX_BA …
#define ATH_TID_MAX_BUFS …
#define ATH_RSSI_DUMMY_MARKER …
#define ATH_RSSI_LPF_LEN …
#define RSSI_LPF_THRESHOLD …
#define ATH_RSSI_EP_MULTIPLIER …
#define ATH_EP_MUL(x, mul) …
#define ATH_RSSI_IN(x) …
#define ATH_LPF_RSSI(x, y, len) …
#define ATH_RSSI_LPF(x, y) …
#define ATH_EP_RND(x, mul) …
#define IEEE80211_MS_TO_TU(x) …
struct ath_beacon_config { … };
bool ath9k_cmn_rx_accept(struct ath_common *common,
struct ieee80211_hdr *hdr,
struct ieee80211_rx_status *rxs,
struct ath_rx_status *rx_stats,
bool *decrypt_error,
unsigned int rxfilter);
void ath9k_cmn_rx_skb_postprocess(struct ath_common *common,
struct sk_buff *skb,
struct ath_rx_status *rx_stats,
struct ieee80211_rx_status *rxs,
bool decrypt_error);
int ath9k_cmn_process_rate(struct ath_common *common,
struct ieee80211_hw *hw,
struct ath_rx_status *rx_stats,
struct ieee80211_rx_status *rxs);
void ath9k_cmn_process_rssi(struct ath_common *common,
struct ieee80211_hw *hw,
struct ath_rx_status *rx_stats,
struct ieee80211_rx_status *rxs);
int ath9k_cmn_get_hw_crypto_keytype(struct sk_buff *skb);
struct ath9k_channel *ath9k_cmn_get_channel(struct ieee80211_hw *hw,
struct ath_hw *ah,
struct cfg80211_chan_def *chandef);
int ath9k_cmn_count_streams(unsigned int chainmask, int max);
void ath9k_cmn_update_txpow(struct ath_hw *ah, u16 cur_txpow,
u16 new_txpow, u16 *txpower);
void ath9k_cmn_init_crypto(struct ath_hw *ah);