Home
last modified time | relevance | path

Searched refs:center_freq (Results 1 – 20 of 20) sorted by relevance

/net/wireless/
Dchan.c28 chandef->center_freq1 = chan->center_freq; in cfg80211_chandef_create()
32 chandef->center_freq1 = chan->center_freq; in cfg80211_chandef_create()
36 chandef->center_freq1 = chan->center_freq + 10; in cfg80211_chandef_create()
40 chandef->center_freq1 = chan->center_freq - 10; in cfg80211_chandef_create()
55 control_freq = chandef->chan->center_freq; in cfg80211_chandef_valid()
131 tmp = (30 + c->chan->center_freq - c->center_freq1)/20; in chandef_primary_freqs()
139 tmp = (70 + c->chan->center_freq - c->center_freq1)/20; in chandef_primary_freqs()
240 static void cfg80211_set_chans_dfs_state(struct wiphy *wiphy, u32 center_freq, in cfg80211_set_chans_dfs_state() argument
247 for (freq = center_freq - bandwidth/2 + 10; in cfg80211_set_chans_dfs_state()
248 freq <= center_freq + bandwidth/2 - 10; in cfg80211_set_chans_dfs_state()
[all …]
Dreg.c953 freq_reg_info_regd(struct wiphy *wiphy, u32 center_freq, in freq_reg_info_regd() argument
976 band_rule_found = freq_in_rule_band(fr, center_freq); in freq_reg_info_regd()
978 bw_fits = reg_does_bw_fit(fr, center_freq, MHZ_TO_KHZ(20)); in freq_reg_info_regd()
991 u32 center_freq) in freq_reg_info() argument
997 return freq_reg_info_regd(wiphy, center_freq, regd); in freq_reg_info()
1046 chan->center_freq); in chan_reg_rule_print_dbg()
1084 reg_rule = freq_reg_info(wiphy, MHZ_TO_KHZ(chan->center_freq)); in handle_channel()
1104 chan->center_freq); in handle_channel()
1109 chan->center_freq); in handle_channel()
1331 if (likely(chan->center_freq != reg_beacon->chan.center_freq)) in handle_reg_beacon()
[all …]
Ddebugfs.c53 chan->center_freq); in ht_print_chan()
58 chan->center_freq, in ht_print_chan()
Dscan.c441 return b->channel->center_freq - a->channel->center_freq; in cmp_bss()
944 signal_valid = abs(rx_channel->center_freq - channel->center_freq) <= in cfg80211_inform_bss_width()
1019 signal_valid = abs(rx_channel->center_freq - channel->center_freq) <= in cfg80211_inform_bss_width_frame()
1176 int wiphy_freq = wiphy->bands[band]->channels[j].center_freq; in cfg80211_wext_siwscan()
1302 iwe.u.freq.m = ieee80211_frequency_to_channel(bss->pub.channel->center_freq); in ieee80211_bss()
1309 iwe.u.freq.m = bss->pub.channel->center_freq; in ieee80211_bss()
Dmesh.c161 setup->chandef.center_freq1 = setup->chandef.chan->center_freq; in __cfg80211_join_mesh()
Dtrace.h113 __field(u16, center_freq)
118 __entry->center_freq = chan->center_freq; \
121 __entry->center_freq = 0; \
125 #define CHAN_PR_ARG __entry->band, __entry->center_freq
137 (chandef)->chan->center_freq; \
Dwext-sme.c158 freq->m = chan->center_freq; in cfg80211_mgd_wext_giwfreq()
Dwext-compat.c232 chan->center_freq); in cfg80211_wext_giwrange()
233 range->freq[c].m = chan->center_freq; in cfg80211_wext_giwrange()
839 freq->m = chandef.chan->center_freq; in cfg80211_wext_giwfreq()
Dibss.c385 freq->m = chan->center_freq; in cfg80211_ibss_wext_giwfreq()
Dutil.c130 if (sband->channels[i].center_freq == freq) in __ieee80211_get_channel()
Dnl80211.c587 chan->center_freq)) in nl80211_msg_put_channel()
2314 chandef->chan->center_freq)) in nl80211_send_chandef()
6161 nla_put_u32(msg, NL80211_BSS_FREQUENCY, res->channel->center_freq) || in nl80211_send_bss()
6267 survey->channel->center_freq)) in nl80211_send_survey()
6345 survey.channel->center_freq); in nl80211_dump_survey()
10365 if (nla_put_u32(msg, i, req->channels[i]->center_freq)) in nl80211_add_scan_req()
11042 nla_put_u32(msg, NL80211_ATTR_WIPHY_FREQ, chan->center_freq) || in nl80211_send_remain_on_chan_event()
/net/mac80211/
Dtrace.h36 __entry->control_freq = (c)->chan ? (c)->chan->center_freq : 0; \
51 __entry->min_control_freq = (c)->chan ? (c)->chan->center_freq : 0; \
1078 __field(int, center_freq)
1086 __entry->center_freq = chan->center_freq;
1094 __entry->center_freq, __entry->duration, __entry->type
1459 old_ctx->def.chan->center_freq);
1467 new_ctx->def.chan->center_freq);
Dmesh.c404 *pos++ = ieee80211_frequency_to_channel(chan->center_freq); in mesh_add_ds_params_ie()
681 csa->settings.chandef.chan->center_freq); in ieee80211_mesh_build_beacon()
892 params.chandef.chan->center_freq, in ieee80211_mesh_process_chnswitch()
919 params.chandef.chan->center_freq); in ieee80211_mesh_process_chnswitch()
1076 sdata->vif.bss_conf.chandef.chan->center_freq); in ieee80211_mesh_finish_csa()
Dibss.c132 chandef->chan->center_freq); in ieee80211_ibss_build_presp()
146 csa_settings->chandef.chan->center_freq); in ieee80211_ibss_build_presp()
268 chandef.center_freq1 = chan->center_freq; in __ieee80211_sta_join_ibss()
845 params.chandef.chan->center_freq, in ieee80211_ibss_process_chanswitch()
863 params.chandef.chan->center_freq, in ieee80211_ibss_process_chanswitch()
892 params.chandef.chan->center_freq); in ieee80211_ibss_process_chanswitch()
Dethtool.c171 data[i++] = survey.channel->center_freq; in ieee80211_get_stats()
Dutil.c1331 chandef->chan->center_freq); in ieee80211_build_preq_ies_band()
2207 chandef->chan->center_freq); in ieee80211_ie_build_ht_oper()
2213 if (chandef->center_freq1 > chandef->chan->center_freq) in ieee80211_ie_build_ht_oper()
2561 c->center_freq1 = c->chan->center_freq; in ieee80211_chandef_downgrade()
2566 tmp = (30 + c->chan->center_freq - c->center_freq1)/20; in ieee80211_chandef_downgrade()
2582 tmp = (70 + c->chan->center_freq - c->center_freq1)/20; in ieee80211_chandef_downgrade()
2676 freq = csa_settings->chandef.chan->center_freq; in ieee80211_send_action_csa()
Dmlme.c164 chandef->center_freq1 = channel->center_freq; in ieee80211_determine_chantype()
184 if (!tracking && channel->center_freq != ht_cfreq) { in ieee80211_determine_chantype()
194 channel->center_freq, ht_cfreq, in ieee80211_determine_chantype()
406 ifmgd->bssid, chandef.chan->center_freq, chandef.width, in ieee80211_config_bw()
762 sband->channels[i].center_freq); in ieee80211_send_assoc()
1090 csa_ie.chandef.chan->center_freq, in ieee80211_sta_process_chanswitch()
1184 int chan = ieee80211_frequency_to_channel(channel->center_freq); in ieee80211_find_80211h_pwr_constr()
3023 if (rx_status->freq != chanctx_conf->def.chan->center_freq) { in ieee80211_rx_mgmt_beacon()
Dmain.c111 chandef.center_freq1 = chandef.chan->center_freq; in ieee80211_hw_conf_chan()
117 chandef.chan->center_freq, chandef.width, in ieee80211_hw_conf_chan()
Dscan.c695 local->scan_chandef.center_freq1 = chan->center_freq; in ieee80211_scan_state_set_channel()
Dchan.c497 chandef->center_freq1 = chandef->chan->center_freq; in ieee80211_del_chanctx()