Lines Matching refs:ic_modecaps
126 ic->ic_modecaps |= 1<<IEEE80211_MODE_AUTO; in ieee80211_channel_init()
146 ic->ic_modecaps |= 1<<IEEE80211_MODE_11A; in ieee80211_channel_init()
148 ic->ic_modecaps |= 1<<IEEE80211_MODE_11B; in ieee80211_channel_init()
150 ic->ic_modecaps |= 1<<IEEE80211_MODE_11G; in ieee80211_channel_init()
152 ic->ic_modecaps |= 1<<IEEE80211_MODE_11N; in ieee80211_channel_init()
154 ic->ic_modecaps |= 1<<IEEE80211_MODE_11AC; in ieee80211_channel_init()
158 if ((ic->ic_modecaps & (1<<ic->ic_curmode)) == 0) in ieee80211_channel_init()
358 if ((ic->ic_modecaps & (1<<mode)) == 0) in ieee80211_media_init()
427 if (ic->ic_modecaps & (1 << IEEE80211_MODE_11N)) { in ieee80211_media_init()
467 if (ic->ic_modecaps & (1 << IEEE80211_MODE_11AC)) { in ieee80211_media_init()
587 if ((ic->ic_modecaps & (1<<newphymode)) == 0)
600 if ((ic->ic_modecaps & (1 << IEEE80211_MODE_11AC)) == 0)
615 if ((ic->ic_modecaps & (1 << IEEE80211_MODE_11N)) == 0)
639 if ((ic->ic_modecaps & (1<<j)) == 0)
682 if (ic->ic_modecaps & (1 << IEEE80211_MODE_11AC))
684 else if (ic->ic_modecaps & (1 << IEEE80211_MODE_11N))
686 else if (ic->ic_modecaps & (1 << IEEE80211_MODE_11A))
688 else if (ic->ic_modecaps & (1 << IEEE80211_MODE_11G))
710 if ((ic->ic_modecaps & (1 << IEEE80211_MODE_11AC)) &&
716 } else if ((ic->ic_modecaps & (1 << IEEE80211_MODE_11N)) &&
1106 if ((ic->ic_modecaps & (1<<mode)) == 0) {
1108 mode, ic->ic_modecaps));
1223 if (ic->ic_modecaps & (1 << mode))
1261 if (ic->ic_modecaps & (1 << IEEE80211_MODE_11A))
1263 if (ic->ic_modecaps & (1 << IEEE80211_MODE_11G))