Lines Matching refs:frequency
54 if (ssid->frequency == 0) {
58 } else if (ssid->frequency >= 2412 && ssid->frequency <= 2472) {
60 conf->channel = (ssid->frequency - 2407) / 5;
61 } else if ((ssid->frequency >= 5180 && ssid->frequency <= 5240) ||
62 (ssid->frequency >= 5745 && ssid->frequency <= 5825)) {
64 conf->channel = (ssid->frequency - 5000) / 5;
65 } else if (ssid->frequency >= 56160 + 2160 * 1 &&
66 ssid->frequency <= 56160 + 2160 * 4) {
68 conf->channel = (ssid->frequency - 56160) / 2160;
70 wpa_printf(MSG_ERROR, "Unsupported AP mode frequency: %d MHz",
71 ssid->frequency);
459 params.freq = ssid->frequency;
580 wpa_s->assoc_freq = ssid->frequency;