IEEE80211_N
ASSERT(mode < IEEE80211_N(chanflags));
cipher, cipher < IEEE80211_N(cipher_modnames) ?
ASSERT(cipher < IEEE80211_N(ciphermap));