Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching refs:channel

43 static int get_center_80mhz(struct hostapd_hw_modes *mode, u8 channel)
54 * so the center channel is 6 channels away from the start/end.
56 if (channel >= center_channels[i] - 6 &&
57 channel <= center_channels[i] + 6)
65 static enum chan_allowed verify_80mhz(struct hostapd_hw_modes *mode, u8 channel)
71 center_chan = get_center_80mhz(mode, channel);
100 static int get_center_160mhz(struct hostapd_hw_modes *mode, u8 channel)
111 * so the center channel is 14 channels away from the start/end.
113 if (channel >= center_channels[i] - 14 &&
114 channel <= center_channels[i] + 14)
123 u8 channel)
129 center_chan = get_center_160mhz(mode, channel);
162 enum chan_allowed verify_channel(struct hostapd_hw_modes *mode, u8 channel,
168 res2 = res = allow_channel(mode, channel, &flag);
172 res2 = allow_channel(mode, channel - 4, NULL);
176 res2 = allow_channel(mode, channel + 4, NULL);
179 * channel is a center channel and as such, not necessarily a
183 res2 = res = verify_80mhz(mode, channel);
186 * channel is a center channel and as such, not necessarily a
190 res2 = res = verify_160mhz(mode, channel);
193 * channel is a center channel and as such, not necessarily a
197 res2 = res = verify_80mhz(mode, channel);
285 * Assume 20 MHz channel for now.
286 * TODO: Use the secondary channel and VHT channel width that will be