IEEE80211_MODE_MAX
static const char *modename[IEEE80211_MODE_MAX] = {
for (mode = IEEE80211_MODE_11A; mode < IEEE80211_MODE_MAX; mode++) {
for (mode = IEEE80211_MODE_11A; mode < IEEE80211_MODE_MAX; mode++) {
static const struct txschedule *mrr_schedules[IEEE80211_MODE_MAX+2] = {
KASSERT(sc->sc_curmode < IEEE80211_MODE_MAX+2,
const HAL_RATE_TABLE *sc_rates[IEEE80211_MODE_MAX];
#define IEEE80211_MODE_BYTES howmany(IEEE80211_MODE_MAX, NBBY)
uint32_t flags[IEEE80211_MODE_MAX];
uint32_t flags[IEEE80211_MODE_MAX];
uint32_t flags[2 * IEEE80211_MODE_MAX];
static const u_int mopts[IEEE80211_MODE_MAX] = {
const char *ieee80211_phymode_name[IEEE80211_MODE_MAX] = {
for (i = IEEE80211_MODE_11A; i < IEEE80211_MODE_MAX; i++)
for (i = IEEE80211_MODE_11A; i < IEEE80211_MODE_MAX; i++)
struct ieee80211_rateset ic_sup_rates[IEEE80211_MODE_MAX];
static const u_int chanflags[IEEE80211_MODE_MAX] = {
nmodes = IEEE80211_MODE_MAX;
struct ieee80211_roamparam params[IEEE80211_MODE_MAX];
struct ieee80211_txparam params[IEEE80211_MODE_MAX];
static const struct ieee80211_rateset basic[IEEE80211_MODE_MAX] = {
static const struct phyParamType phyParamForAC_BE[IEEE80211_MODE_MAX] = {
static const struct phyParamType phyParamForAC_BK[IEEE80211_MODE_MAX] = {
static const struct phyParamType phyParamForAC_VI[IEEE80211_MODE_MAX] = {
static const struct phyParamType phyParamForAC_VO[IEEE80211_MODE_MAX] = {
static const struct phyParamType bssPhyParamForAC_BE[IEEE80211_MODE_MAX] = {
static const struct phyParamType bssPhyParamForAC_VI[IEEE80211_MODE_MAX] = {
static const struct phyParamType bssPhyParamForAC_VO[IEEE80211_MODE_MAX] = {
static const paramType aggrParam[IEEE80211_MODE_MAX] = {
static const uint8_t logCwMin[IEEE80211_MODE_MAX] = {
for (i = IEEE80211_MODE_11A; i < IEEE80211_MODE_MAX; i++) {
extern const char *ieee80211_phymode_name[IEEE80211_MODE_MAX];
static const int skipflags[IEEE80211_MODE_MAX] = {
for (m = IEEE80211_MODE_AUTO + 1; m < IEEE80211_MODE_MAX; m++) {
static const struct ieee80211_roamparam defroam[IEEE80211_MODE_MAX] = {
static const u_int chanflags[IEEE80211_MODE_MAX] = {
struct ieee80211_rateset ic_sup_rates[IEEE80211_MODE_MAX];
struct ieee80211_roamparam iv_roamparms[IEEE80211_MODE_MAX];
struct ieee80211_txparam iv_txparms[IEEE80211_MODE_MAX];
if (phy == 0 || phy > IEEE80211_MODE_MAX)
if (++(*phy) <= IEEE80211_MODE_MAX)
if (*phy == 0 || *phy > IEEE80211_MODE_MAX)
if (++(*phy) <= IEEE80211_MODE_MAX)