Lines Matching refs:channel

49 static int get_center_80mhz(struct hostapd_hw_modes *mode, u8 channel,  in get_center_80mhz()  argument
62 if (channel >= center_channels[i] - 6 && in get_center_80mhz()
63 channel <= center_channels[i] + 6) in get_center_80mhz()
72 u8 op_class, u8 channel) in verify_80mhz() argument
91 center_chan = get_center_80mhz(mode, channel, center_channels, in verify_80mhz()
119 static int get_center_160mhz(struct hostapd_hw_modes *mode, u8 channel, in get_center_160mhz() argument
132 if (channel >= center_channels[i] - 14 && in get_center_160mhz()
133 channel <= center_channels[i] + 14) in get_center_160mhz()
142 u8 op_class, u8 channel) in verify_160mhz() argument
160 center_chan = get_center_160mhz(mode, channel, center_channels, in verify_160mhz()
189 static int get_center_320mhz(struct hostapd_hw_modes *mode, u8 channel, in get_center_320mhz() argument
202 if (channel >= center_channels[i] - 30 && in get_center_320mhz()
203 channel <= center_channels[i] + 30) in get_center_320mhz()
212 u8 op_class, u8 channel) in verify_320mhz() argument
224 center_chan = get_center_320mhz(mode, channel, center_channels, in verify_320mhz()
253 u8 channel, u8 bw) in verify_channel() argument
258 res2 = res = allow_channel(mode, op_class, channel, &flag); in verify_channel()
259 if (bw == BW40MINUS || (bw == BW40 && (((channel - 1) / 4) % 2))) { in verify_channel()
262 res2 = allow_channel(mode, op_class, channel - 4, NULL); in verify_channel()
266 res2 = allow_channel(mode, op_class, channel + 4, NULL); in verify_channel()
268 if (get_6ghz_sec_channel(channel) < 0) in verify_channel()
269 res2 = allow_channel(mode, op_class, channel - 4, NULL); in verify_channel()
271 res2 = allow_channel(mode, op_class, channel + 4, NULL); in verify_channel()
278 res2 = res = verify_80mhz(mode, op_class, channel); in verify_channel()
285 res2 = res = verify_160mhz(mode, op_class, channel); in verify_channel()
292 res2 = res = verify_80mhz(mode, op_class, channel); in verify_channel()
299 res2= res = verify_320mhz(mode, op_class, channel); in verify_channel()
507 u8 *channel) in wpas_sta_secondary_channel_offset() argument
519 channel, &phy_type); in wpas_sta_secondary_channel_offset()