Home
last modified time | relevance | path

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

/net/wireless/
Dchan.c39 chandef->center_freq1 = chan->center_freq; in cfg80211_chandef_create()
43 chandef->center_freq1 = chan->center_freq; in cfg80211_chandef_create()
47 chandef->center_freq1 = chan->center_freq + 10; in cfg80211_chandef_create()
51 chandef->center_freq1 = chan->center_freq - 10; in cfg80211_chandef_create()
69 if (!cfg80211_valid_60g_freq(chandef->chan->center_freq)) in cfg80211_edmg_chandef_valid()
210 control_freq = chandef->chan->center_freq; in cfg80211_chandef_valid()
339 tmp = (30 + c->chan->center_freq - c->center_freq1)/20; in chandef_primary_freqs()
348 tmp = (70 + c->chan->center_freq - c->center_freq1)/20; in chandef_primary_freqs()
359 tmp = (150 + c->chan->center_freq - c->center_freq1) / 20; in chandef_primary_freqs()
448 static void cfg80211_set_chans_dfs_state(struct wiphy *wiphy, u32 center_freq, in cfg80211_set_chans_dfs_state() argument
[all …]
Dof.c33 MHZ_TO_KHZ(chan->center_freq), in wiphy_freq_limits_valid_chan()
67 chan->center_freq); in wiphy_freq_limits_apply()
Ddebugfs.c50 chan->center_freq); in ht_print_chan()
55 chan->center_freq, in ht_print_chan()
Dreg.c1604 freq_reg_info_regd(u32 center_freq, in freq_reg_info_regd() argument
1627 band_rule_found = freq_in_rule_band(fr, center_freq); in freq_reg_info_regd()
1629 bw_fits = cfg80211_does_bw_fit_range(fr, center_freq, bw); in freq_reg_info_regd()
1642 __freq_reg_info(struct wiphy *wiphy, u32 center_freq, u32 min_bw) in __freq_reg_info() argument
1651 reg_rule = freq_reg_info_regd(center_freq, regd, bw); in __freq_reg_info()
1660 u32 center_freq) in freq_reg_info() argument
1662 u32 min_bw = center_freq < MHZ_TO_KHZ(1000) ? 1 : 20; in freq_reg_info()
1664 return __freq_reg_info(wiphy, center_freq, MHZ_TO_KHZ(min_bw)); in freq_reg_info()
2036 chan->center_freq, chan->freq_offset); in handle_channel()
2041 chan->center_freq, chan->freq_offset); in handle_channel()
[all …]
Dscan.c107 u32 center_freq; member
751 entry->center_freq = in cfg80211_parse_colocated_ap_iter()
911 entry->center_freq = res->channel->center_freq; in cfg80211_scan_6ghz()
995 ieee80211_get_channel(&rdev->wiphy, ap->center_freq); in cfg80211_scan_6ghz()
1455 return (b->channel->center_freq * 1000 + b->channel->freq_offset) - in cmp_bss()
1456 (a->channel->center_freq * 1000 + a->channel->freq_offset); in cmp_bss()
2761 ap_info.channel = ieee80211_frequency_to_channel(source_bss->channel->center_freq); in cfg80211_gen_reporter_rnr()
3438 int wiphy_freq = wiphy->bands[band]->channels[j].center_freq; in cfg80211_wext_siwscan()
3579 iwe.u.freq.m = ieee80211_frequency_to_channel(bss->pub.channel->center_freq); in ieee80211_bss()
3588 iwe.u.freq.m = bss->pub.channel->center_freq; in ieee80211_bss()
Dutil.c2016 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
2059 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
2075 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
2091 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
2107 if (freq > chandef->chan->center_freq) in ieee80211_chandef_to_operating_class()
Dmesh.c167 setup->chandef.center_freq1 = setup->chandef.chan->center_freq; in __cfg80211_join_mesh()
Dwext-sme.c138 freq->m = chan->center_freq; in cfg80211_mgd_wext_giwfreq()
Dwext-compat.c204 chan->center_freq); in cfg80211_wext_giwrange()
205 range->freq[c].m = chan->center_freq; in cfg80211_wext_giwrange()
911 freq->m = chandef.chan->center_freq; in cfg80211_wext_giwfreq()
Dibss.c383 freq->m = chan->center_freq; in cfg80211_ibss_wext_giwfreq()
Dtrace.h115 __field(u32, center_freq) \
121 __entry->center_freq = chan->center_freq; \
125 __entry->center_freq = 0; \
130 #define CHAN_PR_ARG __entry->band, __entry->center_freq, __entry->freq_offset
144 (chandef)->chan->center_freq; \
Dnl80211.c1119 chan->center_freq)) in nl80211_msg_put_channel()
1225 freq_reg_info(wiphy, MHZ_TO_KHZ(chan->center_freq)); in nl80211_msg_put_channel()
3842 chandef->chan->center_freq)) in nl80211_send_chandef()
10421 nla_put_u32(msg, NL80211_BSS_FREQUENCY, res->channel->center_freq) || in nl80211_send_bss()
10593 survey->channel->center_freq)) in nl80211_send_survey()
13369 if (nla_put_u32(msg, i, req->channels[i]->center_freq)) in nl80211_send_wowlan_nd()
17763 if (nla_put_u32(msg, i, req->channels[i]->center_freq)) in nl80211_add_scan_req()
18717 nla_put_u32(msg, NL80211_ATTR_WIPHY_FREQ, chan->center_freq) || in nl80211_send_remain_on_chan_event()
/net/mac80211/
Dibss.c133 chandef->chan->center_freq); in ieee80211_ibss_build_presp()
147 csa_settings->chandef.chan->center_freq); in ieee80211_ibss_build_presp()
277 chandef.center_freq1 = chan->center_freq; in __ieee80211_sta_join_ibss()
838 params.chandef.chan->center_freq, in ieee80211_ibss_process_chanswitch()
856 params.chandef.chan->center_freq, in ieee80211_ibss_process_chanswitch()
885 params.chandef.chan->center_freq); in ieee80211_ibss_process_chanswitch()
1346 u32 center_freq, u32 width) in ibss_setup_channels() argument
1353 start_freq = center_freq; in ibss_setup_channels()
1354 end_freq = center_freq; in ibss_setup_channels()
1356 start_freq = center_freq - width / 2 + 10; in ibss_setup_channels()
[all …]
Dutil.c1665 u16 center_freq = 0; in ieee80211_regulatory_limit_wmm_params() local
1674 center_freq = chanctx_conf->def.chan->center_freq; in ieee80211_regulatory_limit_wmm_params()
1676 if (!center_freq) { in ieee80211_regulatory_limit_wmm_params()
1681 rrule = freq_reg_info(sdata->wdev.wiphy, MHZ_TO_KHZ(center_freq)); in ieee80211_regulatory_limit_wmm_params()
2021 chandef->chan->center_freq); in ieee80211_build_preq_ies_band()
3347 chandef->chan->center_freq); in ieee80211_ie_build_ht_oper()
3353 if (chandef->center_freq1 > chandef->chan->center_freq) in ieee80211_ie_build_ht_oper()
3442 if (chandef->chan->center_freq < chandef->center_freq1) in ieee80211_ie_build_vht_oper()
3511 ieee80211_frequency_to_channel(chandef->chan->center_freq); in ieee80211_ie_build_he_oper()
3535 if (chandef->chan->center_freq < chandef->center_freq1) in ieee80211_ie_build_he_oper()
[all …]
Dmesh.c414 *pos++ = ieee80211_frequency_to_channel(chan->center_freq); in mesh_add_ds_params_ie()
1060 csa->settings.chandef.chan->center_freq); in ieee80211_mesh_build_beacon()
1350 params.chandef.chan->center_freq, in ieee80211_mesh_process_chnswitch()
1366 params.chandef.chan->center_freq, in ieee80211_mesh_process_chnswitch()
1384 params.chandef.chan->center_freq); in ieee80211_mesh_process_chnswitch()
1556 sdata->vif.bss_conf.chandef.chan->center_freq); in ieee80211_mesh_finish_csa()
Dtrace.h47 __entry->control_freq = (c) ? ((c)->chan ? (c)->chan->center_freq : 0) : 0; \
66 __entry->min_control_freq = (c)->chan ? (c)->chan->center_freq : 0; \
1284 __field(int, center_freq)
1293 __entry->center_freq = chan->center_freq;
1302 __entry->center_freq, __entry->freq_offset,
1686 old_ctx->def.chan->center_freq);
1698 new_ctx->def.chan->center_freq);
Dethtool.c173 data[i++] = survey.channel->center_freq; in ieee80211_get_stats()
Dtdls.c335 if (abs(uc.chan->center_freq - centers_80mhz[i]) <= 30) { in ieee80211_tdls_chandef_vht_upgrade()
730 ieee80211_frequency_to_channel(chandef->chan->center_freq); in ieee80211_tdls_add_chan_switch_req_ies()
1656 sta->sta.addr, chandef->chan->center_freq, chandef->width); in ieee80211_tdls_ch_sw_tmpl_get()
2031 tf->sa, params.chandef->chan->center_freq, in ieee80211_process_tdls_channel_switch_req()
Dmain.c110 chandef.center_freq1 = chandef.chan->center_freq; in ieee80211_hw_conf_chan()
117 chandef.chan->center_freq, chandef.chan->freq_offset, in ieee80211_hw_conf_chan()
Dmlme.c241 chandef->center_freq1 = channel->center_freq; in ieee80211_determine_chantype()
289 if (!tracking && channel->center_freq != ht_cfreq) { in ieee80211_determine_chantype()
299 channel->center_freq, ht_cfreq, in ieee80211_determine_chantype()
567 link->u.mgd.bssid, chandef.chan->center_freq, in ieee80211_config_bw()
1117 int cf = sband->channels[i].center_freq; in ieee80211_assoc_link_elems()
1897 csa_ie.chandef.chan->center_freq, in ieee80211_sta_process_chanswitch()
1910 csa_ie.chandef.chan->center_freq, in ieee80211_sta_process_chanswitch()
2029 int chan = ieee80211_frequency_to_channel(channel->center_freq); in ieee80211_find_80211h_pwr_constr()
Dscan.c929 local->scan_chandef.center_freq1 = chan->center_freq; in ieee80211_scan_state_set_channel()
Dchan.c733 chandef->center_freq1 = chandef->chan->center_freq; in ieee80211_del_chanctx()