Lines Matching refs:pri_freq
347 int pri_freq, sec_freq;
355 pri_freq = hostapd_hw_get_freq(iface->bss[0], iface->conf->channel);
357 sec_freq = pri_freq + 20;
359 sec_freq = pri_freq - 20;
365 affected_start = (pri_freq + sec_freq) / 2 - 40;
366 affected_end = (pri_freq + sec_freq) / 2 + 40;
392 int pri_freq;
400 pri_freq = hostapd_hw_get_freq(iface->bss[0], iface->conf->channel);
402 affected_start = pri_freq - 10;
403 affected_end = pri_freq + 30;
405 affected_start = pri_freq - 30;
406 affected_end = pri_freq + 10;