Lines Matching refs:center_freq1

39 		chandef->center_freq1 = chan->center_freq;
43 chandef->center_freq1 = chan->center_freq;
47 chandef->center_freq1 = chan->center_freq + 10;
51 chandef->center_freq1 = chan->center_freq - 10;
255 if (chandef->center_freq1 - chandef->center_freq2 == 80 ||
256 chandef->center_freq2 - chandef->center_freq1 == 80)
278 if (chandef->center_freq1 == control_freq + 150 ||
279 chandef->center_freq1 == control_freq + 130 ||
280 chandef->center_freq1 == control_freq + 110 ||
281 chandef->center_freq1 == control_freq + 90 ||
282 chandef->center_freq1 == control_freq - 90 ||
283 chandef->center_freq1 == control_freq - 110 ||
284 chandef->center_freq1 == control_freq - 130 ||
285 chandef->center_freq1 == control_freq - 150)
289 if (chandef->center_freq1 == control_freq + 70 ||
290 chandef->center_freq1 == control_freq + 50 ||
291 chandef->center_freq1 == control_freq - 50 ||
292 chandef->center_freq1 == control_freq - 70)
297 if (chandef->center_freq1 == control_freq + 30 ||
298 chandef->center_freq1 == control_freq - 30)
302 if (chandef->center_freq1 == control_freq + 10 ||
303 chandef->center_freq1 == control_freq - 10)
311 if (chandef->center_freq1 == 2484 &&
330 *pri40 = c->center_freq1;
337 *pri80 = c->center_freq1;
339 tmp = (30 + c->chan->center_freq - c->center_freq1)/20;
343 *pri40 = c->center_freq1 - 20 + 40 * tmp;
346 *pri160 = c->center_freq1;
348 tmp = (70 + c->chan->center_freq - c->center_freq1)/20;
352 *pri40 = c->center_freq1 - 60 + 40 * tmp;
355 *pri80 = c->center_freq1 - 40 + 80 * tmp;
359 tmp = (150 + c->chan->center_freq - c->center_freq1) / 20;
363 *pri40 = c->center_freq1 - 140 + 40 * tmp;
366 *pri80 = c->center_freq1 - 120 + 80 * tmp;
369 *pri160 = c->center_freq1 - 80 + 160 * tmp;
480 cfg80211_set_chans_dfs_state(wiphy, chandef->center_freq1,
647 MHZ_TO_KHZ(chandef->center_freq1),
694 for (freq = chandef->center_freq1 - width / 2 + 10;
695 freq <= chandef->center_freq1 + width / 2 - 10; freq += 20) {
890 MHZ_TO_KHZ(chandef->center_freq1),
956 MHZ_TO_KHZ(chandef->center_freq1),
1114 if (chandef->center_freq1 < control_freq &&
1117 if (chandef->center_freq1 > control_freq &&
1503 start_freq = chandef->center_freq1 - 40;
1507 start_freq = chandef->center_freq1 - 80;
1511 start_freq = chandef->center_freq1 - 160;