Lines Matching +full:30 +full:mhz

146 	int mhz;  in nl80211_chan_width_to_mhz()  local
150 mhz = 1; in nl80211_chan_width_to_mhz()
153 mhz = 2; in nl80211_chan_width_to_mhz()
156 mhz = 4; in nl80211_chan_width_to_mhz()
159 mhz = 8; in nl80211_chan_width_to_mhz()
162 mhz = 16; in nl80211_chan_width_to_mhz()
165 mhz = 5; in nl80211_chan_width_to_mhz()
168 mhz = 10; in nl80211_chan_width_to_mhz()
172 mhz = 20; in nl80211_chan_width_to_mhz()
175 mhz = 40; in nl80211_chan_width_to_mhz()
179 mhz = 80; in nl80211_chan_width_to_mhz()
182 mhz = 160; in nl80211_chan_width_to_mhz()
188 return mhz; in nl80211_chan_width_to_mhz()
256 if (chandef->center_freq1 != control_freq + 30 && in cfg80211_chandef_valid()
259 chandef->center_freq1 != control_freq - 30) in cfg80211_chandef_valid()
263 /* adjacent is not allowed -- that's a 160 MHz channel */ in cfg80211_chandef_valid()
269 if (chandef->center_freq1 != control_freq + 30 && in cfg80211_chandef_valid()
272 chandef->center_freq1 != control_freq - 30) in cfg80211_chandef_valid()
280 chandef->center_freq1 != control_freq + 30 && in cfg80211_chandef_valid()
283 chandef->center_freq1 != control_freq - 30 && in cfg80211_chandef_valid()
321 tmp = (30 + c->chan->center_freq - c->center_freq1)/20; in chandef_primary_freqs()
365 * can't be compatible if one of them is 5 or 10 MHz, in cfg80211_chandef_compatible()
1053 * TODO: What if there are only certain 80/160/80+80 MHz channels in cfg80211_chandef_usable()
1055 * For 40 MHz the driver can set the NO_HT40 flags, but for in cfg80211_chandef_usable()
1056 * 80/160 MHz and in particular 80+80 MHz this isn't really in cfg80211_chandef_usable()
1058 * no way to cover 80+80 MHz or more complex restrictions. in cfg80211_chandef_usable()
1066 /* 5 and 10 MHz are only defined for the OFDM PHY */ in cfg80211_chandef_usable()