Home
last modified time | relevance | path

Searched refs:width (Results 1 – 25 of 30) sorted by relevance

12

/net/wireless/
A Dchan.c500 width /= 2; in cfg80211_chandef_primary()
548 if (c1->width == c2->width) in _cfg80211_chandef_compatible()
571 if (c1->width > c2->width) in _cfg80211_chandef_compatible()
630 int width; in cfg80211_set_dfs_state() local
746 int width; in cfg80211_chandef_dfs_required() local
831 int width; in cfg80211_is_sub_chan() local
997 int width; in cfg80211_chandef_dfs_available() local
1037 int width; in cfg80211_chandef_dfs_cac_time() local
1169 width = 1; in _cfg80211_chandef_usable()
1172 width = 2; in _cfg80211_chandef_usable()
[all …]
A Dutil.c2167 chandef->width = NL80211_CHAN_WIDTH_20; in ieee80211_operating_class_to_chandef()
2175 chandef->width = NL80211_CHAN_WIDTH_40; in ieee80211_operating_class_to_chandef()
2183 chandef->width = NL80211_CHAN_WIDTH_40; in ieee80211_operating_class_to_chandef()
2187 chandef->width = NL80211_CHAN_WIDTH_40; in ieee80211_operating_class_to_chandef()
2192 chandef->width = NL80211_CHAN_WIDTH_80; in ieee80211_operating_class_to_chandef()
2197 chandef->width = NL80211_CHAN_WIDTH_160; in ieee80211_operating_class_to_chandef()
2242 switch (chandef->width) { in ieee80211_chandef_to_operating_class()
2974 u32 freq, u32 width) in ieee80211_radio_freq_range_valid() argument
2981 if (freq - width / 2 >= r->start_freq && in ieee80211_radio_freq_range_valid()
2982 freq + width / 2 <= r->end_freq) in ieee80211_radio_freq_range_valid()
[all …]
A Dmesh.c169 setup->chandef.width = NL80211_CHAN_WIDTH_20_NOHT; in __cfg80211_join_mesh()
239 if (chandef->width != NL80211_CHAN_WIDTH_20_NOHT) in cfg80211_set_mesh_channel()
A Dpmsr.c20 if (!(rdev->wiphy.pmsr_capa->ftm.bandwidths & BIT(out->chandef.width))) { in pmsr_parse_ftm()
A Dtrace.h140 __field(u32, width) \
153 __entry->width = (chandef)->width; \
162 __entry->width = 0; \
172 __entry->freq_offset, __entry->width, \
/net/wireless/tests/
A Dchan.c46 .width = NL80211_CHAN_WIDTH_20,
55 .width = NL80211_CHAN_WIDTH_40,
64 .width = NL80211_CHAN_WIDTH_80,
73 .width = NL80211_CHAN_WIDTH_160,
82 .width = NL80211_CHAN_WIDTH_320,
91 .width = NL80211_CHAN_WIDTH_20,
96 .width = NL80211_CHAN_WIDTH_320,
105 .width = NL80211_CHAN_WIDTH_20,
110 .width = NL80211_CHAN_WIDTH_20,
118 .width = NL80211_CHAN_WIDTH_320,
[all …]
/net/mac80211/tests/
A Dtpe.c35 .c.width = NL80211_CHAN_WIDTH_20,
43 .c.width = NL80211_CHAN_WIDTH_40,
52 .c.width = NL80211_CHAN_WIDTH_80P80,
61 .c.width = NL80211_CHAN_WIDTH_320,
69 .c.width = NL80211_CHAN_WIDTH_320,
77 .c.width = NL80211_CHAN_WIDTH_320,
85 .c.width = NL80211_CHAN_WIDTH_320,
94 .c.width = NL80211_CHAN_WIDTH_80P80,
104 .c.width = NL80211_CHAN_WIDTH_80P80,
145 .ap.width = NL80211_CHAN_WIDTH_320,
[all …]
/net/mac80211/
A Dibss.c412 chandef.width = sdata->u.ibss.chandef.width; in ieee80211_sta_join_ibss()
813 if (params.chandef.width != ifibss->chandef.width) { in ieee80211_ibss_process_chanswitch()
836 params.chandef.width, in ieee80211_ibss_process_chanswitch()
1330 if (width <= 20) { in ibss_setup_channels()
1359 u32 width, cf1, cf2 = 0; in ieee80211_ibss_setup_scan_channels() local
1361 switch (chandef->width) { in ieee80211_ibss_setup_scan_channels()
1363 width = 40; in ieee80211_ibss_setup_scan_channels()
1369 width = 80; in ieee80211_ibss_setup_scan_channels()
1372 width = 160; in ieee80211_ibss_setup_scan_channels()
1375 width = 20; in ieee80211_ibss_setup_scan_channels()
[all …]
A Dspectmgmt.c34 chandef->width = NL80211_CHAN_WIDTH_160; in wbcs_elem_to_chandef()
39 chandef->width = NL80211_CHAN_WIDTH_80P80; in wbcs_elem_to_chandef()
44 chandef->width = NL80211_CHAN_WIDTH_80; in wbcs_elem_to_chandef()
51 chandef->width = NL80211_CHAN_WIDTH_160; in wbcs_elem_to_chandef()
54 chandef->width = NL80211_CHAN_WIDTH_80P80; in wbcs_elem_to_chandef()
64 chandef->width = NL80211_CHAN_WIDTH_40; in wbcs_elem_to_chandef()
92 chan_width = chandef->width; in validate_chandef_by_ht_vht_oper()
168 chan_width = chandef->width; in validate_chandef_by_6ghz_he_eht_oper()
333 switch (sdata->vif.bss_conf.chanreq.oper.width) { in ieee80211_parse_ch_switch_ie()
336 csa_ie->chanreq.oper.width = in ieee80211_parse_ch_switch_ie()
[all …]
A Dchan.c241 enum ieee80211_sta_rx_bandwidth width; in ieee80211_get_sta_bw() local
259 switch (width) { in ieee80211_get_sta_bw()
320 return ctx->conf.def.width; in ieee80211_get_chanctx_max_required_bw()
341 width = link->conf->chanreq.oper.width; in ieee80211_get_chanctx_max_required_bw()
364 width = link->conf->chanreq.oper.width; in ieee80211_get_chanctx_max_required_bw()
374 max_bw = max(max_bw, width); in ieee80211_get_chanctx_max_required_bw()
420 while (min_def.width > max_bw) in _ieee80211_recalc_chanctx_min_def()
534 switch (chandef->width) { in _ieee80211_change_chanctx()
564 if (ctx->conf.def.width != chanreq->oper.width) in _ieee80211_change_chanctx()
1383 if (link_conf->chanreq.oper.width != link->reserved.oper.width) in ieee80211_link_use_reserved_reassign()
[all …]
A Dmesh.c442 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_10) in mesh_add_ht_cap_ie()
483 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_10) in mesh_add_ht_oper_ie()
514 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_10) in mesh_add_vht_cap_ie()
555 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_10) in mesh_add_vht_oper_ie()
579 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_10) in mesh_add_he_cap_ie()
601 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_10) in mesh_add_he_oper_ie()
648 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_10) in mesh_add_eht_cap_ie()
1057 switch (csa->settings.chandef.width) { in ieee80211_mesh_build_beacon()
1289 switch (sdata->vif.bss_conf.chanreq.oper.width) { in ieee80211_mesh_process_chnswitch()
1337 params.chandef.width, in ieee80211_mesh_process_chnswitch()
[all …]
A Dutil.c1489 chandef.width = sdata->vif.bss_conf.chanreq.oper.width; in ieee80211_build_probe_req()
2642 switch (chandef->width) { in ieee80211_ie_build_ht_oper()
2685 switch (chandef->width) { in ieee80211_ie_build_wide_bw_cs()
2728 switch (chandef->width) { in ieee80211_ie_build_vht_oper()
2805 he_chandef.width = chandef->width; in ieee80211_ie_build_he_oper()
2820 switch (he_chandef.width) { in ieee80211_ie_build_he_oper()
2899 switch (chandef->width) { in ieee80211_ie_build_eht_oper()
3608 switch (c->width) { in ieee80211_chandef_downgrade()
3620 c->width = NL80211_CHAN_WIDTH_20; in ieee80211_chandef_downgrade()
3668 c->width = new_primary_width; in ieee80211_chandef_downgrade()
[all …]
A Dtdls.c326 if (uc.width >= max_width) in ieee80211_tdls_chandef_vht_upgrade()
338 uc.width = NL80211_CHAN_WIDTH_80; in ieee80211_tdls_chandef_vht_upgrade()
346 while (uc.width > max_width || in ieee80211_tdls_chandef_vht_upgrade()
347 (uc.width > sta->tdls_chandef.width && in ieee80211_tdls_chandef_vht_upgrade()
354 sta->tdls_chandef.width, uc.width); in ieee80211_tdls_chandef_vht_upgrade()
1323 enum nl80211_chan_width width; in iee80211_tdls_recalc_chanctx() local
1331 width = conf->def.width; in iee80211_tdls_recalc_chanctx()
1337 if (width != conf->def.width && sta && in iee80211_tdls_recalc_chanctx()
1341 bw = ieee80211_chan_width_to_rx_bw(conf->def.width); in iee80211_tdls_recalc_chanctx()
1566 if (chandef->width == NL80211_CHAN_WIDTH_40) { in ieee80211_tdls_ch_sw_tmpl_get()
[all …]
A Dht.c150 enum nl80211_chan_width width; in ieee80211_ht_cap_ie_to_sta_ht_cap() local
258 width = NL80211_CHAN_WIDTH_20_NOHT; in ieee80211_ht_cap_ie_to_sta_ht_cap()
260 width = link_conf->chanreq.oper.width; in ieee80211_ht_cap_ie_to_sta_ht_cap()
262 switch (width) { in ieee80211_ht_cap_ie_to_sta_ht_cap()
A Dwbrf.c57 if (chandef->width == NL80211_CHAN_WIDTH_80P80) { in get_ranges_from_chandef()
A Dvht.c514 bss_width = chandef->width; in _ieee80211_sta_cur_vht_bw()
524 bss_width = link_conf->chanreq.oper.width; in _ieee80211_sta_cur_vht_bw()
547 bw = min(bw, ieee80211_chan_width_to_rx_bw(sta->tdls_chandef.width)); in _ieee80211_sta_cur_vht_bw()
A Dmlme.c176 .width = NL80211_CHAN_WIDTH_20_NOHT, in ieee80211_determine_ap_chan()
227 chandef->width = NL80211_CHAN_WIDTH_20; in ieee80211_determine_ap_chan()
784 if (c->width == NL80211_CHAN_WIDTH_80P80) in ieee80211_chandef_num_subchans()
792 switch (c->width) { in ieee80211_chandef_num_widths()
1146 if (chanreq->oper.width != ap_chandef->width || ap_mode != conn->mode) in ieee80211_determine_chan_mode()
1517 enum nl80211_chan_width width, in ieee80211_assoc_add_rates() argument
1531 ieee80211_parse_bitrates(width, sband, in ieee80211_assoc_add_rates()
1747 width = chanctx_conf->def.width; in ieee80211_add_link_elems()
1769 .width = width, in ieee80211_add_link_elems()
2875 csa_ie.chanreq.oper.width, in ieee80211_sta_process_chanswitch()
[all …]
A Dscan.c366 chandef->width = NL80211_CHAN_WIDTH_20_NOHT; in ieee80211_prepare_scan_chandef()
1003 local->scan_chandef.width = ieee80211_s1g_channel_width(chan); in ieee80211_scan_state_set_channel()
1013 local->scan_chandef.width = NL80211_CHAN_WIDTH_20_NOHT; in ieee80211_scan_state_set_channel()
A Dtrace.h49 __entry->chan_width = (c) ? (c)->width : 0; \
68 __entry->min_chan_width = (c)->width; \
89 __entry->ap_chan_width = (c)->chan ? (c)->width : 0; \
541 __entry->channel_width = link_conf->chanreq.oper.width;
1807 old_ctx->def.width);
1819 new_ctx->def.width);
A Doffchannel.c359 local->hw.conf.chandef.width != NL80211_CHAN_WIDTH_5 && in _ieee80211_start_next_roc()
360 local->hw.conf.chandef.width != NL80211_CHAN_WIDTH_10; in _ieee80211_start_next_roc()
A Drate.c834 chan_width = sta->sdata->vif.bss_conf.chanreq.oper.width; in rate_control_apply_mask_ratetbl()
871 chan_width = sdata->vif.bss_conf.chanreq.oper.width; in rate_control_apply_mask()
A Dcfg.c2014 !ieee80211_parse_bitrates(link->conf->chanreq.oper.width, in sta_link_apply_parameters()
2052 enum nl80211_chan_width width = link->conf->chanreq.oper.width; in sta_link_apply_parameters() local
2054 switch (width) { in sta_link_apply_parameters()
2870 if (!ieee80211_parse_bitrates(link->conf->chanreq.oper.width, in ieee80211_change_bss()
3443 link->conf->chanreq.oper.width == NL80211_CHAN_WIDTH_20_NOHT) in __ieee80211_request_smps_mgd()
4123 if (params->chandef.width != sdata->u.ibss.chandef.width) in ieee80211_set_csa_beacon()
4126 switch (params->chandef.width) { in ieee80211_set_csa_beacon()
A Dmesh_plink.c166 switch (sdata->vif.bss_conf.chanreq.oper.width) { in mesh_set_ht_prot_mode()
199 sdata->vif.bss_conf.chanreq.oper.width > NL80211_CHAN_WIDTH_20) in mesh_set_ht_prot_mode()
A Dmain.c126 chandef.width = NL80211_CHAN_WIDTH_20_NOHT; in ieee80211_calc_hw_conf_chan()
139 chandef.width, chandef.center_freq1, chandef.freq1_offset, in ieee80211_calc_hw_conf_chan()
/net/netfilter/
A Dnft_set_pipapo.h163 int width; member

Completed in 79 milliseconds

12