Go to the documentation of this file.
26 #define WME_NUM_TID 16
27 #define WME_BA_BMP_SIZE 64
28 #define WME_MAX_BA WME_BA_BMP_SIZE
29 #define ATH_TID_MAX_BUFS (2 * WME_MAX_BA)
38 #define ATH_RSSI_DUMMY_MARKER 0x127
39 #define ATH_RSSI_LPF_LEN 10
40 #define RSSI_LPF_THRESHOLD -20
41 #define ATH_RSSI_EP_MULTIPLIER (1<<7)
42 #define ATH_EP_MUL(x, mul) ((x) * (mul))
43 #define ATH_RSSI_IN(x) (ATH_EP_MUL((x), ATH_RSSI_EP_MULTIPLIER))
44 #define ATH_LPF_RSSI(x, y, len) \
45 ((x != ATH_RSSI_DUMMY_MARKER) ? (((x) * ((len) - 1) + (y)) / (len)) : (y))
46 #define ATH_RSSI_LPF(x, y) do { \
47 if ((y) >= RSSI_LPF_THRESHOLD) \
48 x = ATH_LPF_RSSI((x), ATH_RSSI_IN((y)), ATH_RSSI_LPF_LEN); \
50 #define ATH_EP_RND(x, mul) \
51 ((((x)%(mul)) >= ((mul)/2)) ? ((x) + ((mul) - 1)) / (mul) : (x)/(mul))
64 u16 new_txpow,
u16 *txpower);