Go to the source code of this file.
◆ ATH_NODE_SAMPLE
#define ATH_NODE_SAMPLE |
( |
|
an | ) |
((struct sample_node *)&(an)[1]) |
◆ ATH_SOFTC_SAMPLE
#define ATH_SOFTC_SAMPLE |
( |
|
sc | ) |
((struct sample_softc *)sc->sc_rc) |
◆ IS_RATE_DEFINED
#define IS_RATE_DEFINED |
( |
|
sn, |
|
|
|
rix |
|
) |
| (((uint64_t) (sn)->ratemask & (1ULL<<((uint64_t) rix))) != 0) |
◆ MAX
#define MAX |
( |
|
a, |
|
|
|
b |
|
) |
| ((a) > (b) ? (a) : (b)) |
◆ MIN
#define MIN |
( |
|
a, |
|
|
|
b |
|
) |
| ((a) < (b) ? (a) : (b)) |
◆ NUM_PACKET_SIZE_BINS
#define NUM_PACKET_SIZE_BINS 7 |
◆ SAMPLE_MAXRATES
#define SAMPLE_MAXRATES 64 /* NB: corresponds to hal info[32] */ |
◆ WIFI_CW_MAX
◆ WIFI_CW_MIN
◆ bin_to_size()
static int bin_to_size |
( |
int |
index | ) |
|
|
inlinestatic |
◆ calc_usecs_unicast_packet()
static unsigned calc_usecs_unicast_packet |
( |
struct ath_softc * |
sc, |
|
|
int |
length, |
|
|
int |
rix, |
|
|
int |
short_retries, |
|
|
int |
long_retries, |
|
|
int |
is_ht40 |
|
) |
| |
|
static |
Definition at line 132 of file sample.h.
References ath_hal_pkt_txtime(), HAL_RATE_TABLE::controlRate, HAL_RATE_TABLE::info, MIN, HAL_RATE_TABLE::phy, HAL_RATE_TABLE::rateCode, HAL_RATE_TABLE::rateCount, ath_softc::sc_ah, ath_softc::sc_curmode, ath_softc::sc_currates, ath_softc::sc_ic, ath_softc::sc_protrix, HAL_RATE_TABLE::shortPreamble, HAL_RATE_TABLE::spAckDuration, WIFI_CW_MAX, and WIFI_CW_MIN.
Referenced by ath_rate_ctl_reset(), and update_stats().
◆ packet_size_bins