| /net/mac80211/ |
| A D | chan.c | 572 ctx->conf.ap = chanreq->ap; in _ieee80211_change_chanctx() 721 ctx->conf.def = chanreq->oper; in ieee80211_alloc_chanctx() 722 ctx->conf.ap = chanreq->ap; in ieee80211_alloc_chanctx() 1283 link->reserved = *chanreq; in ieee80211_link_reserve_chanctx() 1329 link->conf->chanreq = *chanreq; in ieee80211_link_update_chanreq() 1342 vlan_conf->chanreq = *chanreq; in ieee80211_link_update_chanreq() 1380 if (WARN_ON(!chanreq)) in ieee80211_link_use_reserved_reassign() 1460 if (WARN_ON(!chanreq)) in ieee80211_link_use_reserved_assign() 1922 &chanreq->oper, in _ieee80211_link_use_channel() 2104 &chanreq->oper, in ieee80211_link_change_chanreq() [all …]
|
| A D | spectmgmt.c | 318 cfg80211_chandef_create(&csa_ie->chanreq.oper, new_chan, in ieee80211_parse_ch_switch_ie() 322 cfg80211_chandef_create(&csa_ie->chanreq.oper, new_chan, in ieee80211_parse_ch_switch_ie() 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() 337 sdata->vif.bss_conf.chanreq.oper.width; in ieee80211_parse_ch_switch_ie() 346 csa_ie->chanreq.ap = csa_ie->chanreq.oper; in ieee80211_parse_ch_switch_ie() 353 new_chandef = csa_ie->chanreq.oper; in ieee80211_parse_ch_switch_ie() 364 new_chandef = csa_ie->chanreq.oper; in ieee80211_parse_ch_switch_ie() 377 csa_ie->chanreq.ap = new_chandef; in ieee80211_parse_ch_switch_ie() 384 &csa_ie->chanreq.oper)) { in ieee80211_parse_ch_switch_ie() [all …]
|
| A D | mesh.c | 115 if (!cfg80211_chandef_compatible(&sdata->vif.bss_conf.chanreq.oper, in mesh_matches_local() 442 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() 563 &sdata->vif.bss_conf.chanreq.oper); in mesh_add_vht_oper_ie() 612 ieee80211_ie_build_he_oper(pos, &sdata->vif.bss_conf.chanreq.oper); in mesh_add_he_oper_ie() 1263 &sdata->vif.bss_conf.chanreq.oper, in ieee80211_mesh_csa_mark_radar() 1267 &sdata->vif.bss_conf.chanreq.oper, in ieee80211_mesh_csa_mark_radar() 1289 switch (sdata->vif.bss_conf.chanreq.oper.width) { in ieee80211_mesh_process_chnswitch() 1326 params.chandef = csa_ie.chanreq.oper; in ieee80211_mesh_process_chnswitch() 1362 &sdata->vif.bss_conf.chanreq.oper)) { in ieee80211_mesh_process_chnswitch() [all …]
|
| A D | ibss.c | 223 struct ieee80211_chan_req chanreq = {}; in __ieee80211_sta_join_ibss() local 258 chanreq.oper = *req_chandef; in __ieee80211_sta_join_ibss() 259 chan = chanreq.oper.chan; in __ieee80211_sta_join_ibss() 262 if (chanreq.oper.width == NL80211_CHAN_WIDTH_5 || in __ieee80211_sta_join_ibss() 263 chanreq.oper.width == NL80211_CHAN_WIDTH_10 || in __ieee80211_sta_join_ibss() 270 chanreq.oper.width = NL80211_CHAN_WIDTH_20; in __ieee80211_sta_join_ibss() 271 chanreq.oper.center_freq1 = chan->center_freq; in __ieee80211_sta_join_ibss() 282 &chanreq.oper, NL80211_IFTYPE_ADHOC); in __ieee80211_sta_join_ibss() 308 capability, tsf, &chanreq.oper, in __ieee80211_sta_join_ibss() 796 params.chandef = csa_ie.chanreq.oper; in ieee80211_ibss_process_chanswitch() [all …]
|
| A D | mlme.c | 978 chanreq->ap.chan = NULL; in ieee80211_set_chanreq_ap() 985 chanreq->ap = *ap_chandef; in ieee80211_set_chanreq_ap() 1300 &chanreq.oper); in ieee80211_config_bw() 1307 if (ieee80211_chanreq_identical(&chanreq, &link->conf->chanreq)) in ieee80211_config_bw() 1313 chanreq.oper.chan->freq_offset, chanreq.oper.width, in ieee80211_config_bw() 1314 chanreq.oper.center_freq1, chanreq.oper.freq1_offset, in ieee80211_config_bw() 1325 link->conf->chanreq = chanreq; in ieee80211_config_bw() 2436 link->conf->chanreq = link->csa.chanreq; in ieee80211_csa_switch_work() 2941 link->csa.chanreq.oper = csa_ie.chanreq.oper; in ieee80211_sta_process_chanswitch() 2943 &csa_ie.chanreq.ap); in ieee80211_sta_process_chanswitch() [all …]
|
| A D | cfg.c | 948 &chanreq.oper)) in ieee80211_set_monitor_channel() 958 &chanreq.oper)) in ieee80211_set_monitor_channel() 967 local->monitor_chanreq = chanreq; in ieee80211_set_monitor_channel() 1501 err = ieee80211_link_use_channel(link, &chanreq, in ieee80211_start_ap() 1796 chandef = link_conf->chanreq.oper; in ieee80211_stop_ap() 3619 sdata->vif.bss_conf.chanreq.oper.chan) { in ieee80211_set_bitrate_mask() 4008 &link_data->csa.chanreq.oper)) in __ieee80211_csa_finalize() 4269 ch_switch.chandef = chanreq.oper; in __ieee80211_channel_switch() 4299 link_data->csa.chanreq = chanreq; in __ieee80211_channel_switch() 4306 &link_data->csa.chanreq.oper, link_id, in __ieee80211_channel_switch() [all …]
|
| A D | ocb.c | 171 struct ieee80211_chan_req chanreq = { .oper = setup->chandef }; in ieee80211_ocb_join() local 186 err = ieee80211_link_use_channel(&sdata->deflink, &chanreq, in ieee80211_ocb_join()
|
| A D | rate.c | 301 if (WARN_ON(!link->conf->chanreq.oper.chan)) in ieee80211_check_rate_mask() 304 band = link->conf->chanreq.oper.chan->band; in ieee80211_check_rate_mask() 834 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 D | link.c | 166 &link->conf->chanreq.oper, in ieee80211_link_stop() 501 &link->conf->chanreq, in _ieee80211_set_active_links()
|
| A D | ieee80211_i.h | 1080 struct ieee80211_chan_req chanreq; member 1737 struct ieee80211_chan_req chanreq; member 2710 ieee80211_chanreq_downgrade(struct ieee80211_chan_req *chanreq, in ieee80211_chanreq_downgrade() argument 2713 ieee80211_chandef_downgrade(&chanreq->oper, conn); in ieee80211_chanreq_downgrade() 2717 chanreq->ap.chan = NULL; in ieee80211_chanreq_downgrade() 2879 struct ieee80211_chan_req *chanreq,
|
| A D | vht.c | 375 band = link_conf->chanreq.oper.chan->band; in __ieee80211_sta_cap_rx_bw() 524 bss_width = link_conf->chanreq.oper.width; in _ieee80211_sta_cur_vht_bw()
|
| A D | tdls.c | 162 if (!ieee80211_chandef_to_operating_class(&link->conf->chanreq.oper, in ieee80211_tdls_add_oper_classes() 441 sta->tdls_chandef = link->conf->chanreq.oper; in ieee80211_tdls_add_setup_start_ies() 614 sta->tdls_chandef = link->conf->chanreq.oper; in ieee80211_tdls_add_setup_cfm_ies() 660 &link->conf->chanreq.oper, prot, in ieee80211_tdls_add_setup_cfm_ies()
|
| A D | he.c | 261 band = link->conf->chanreq.oper.chan->band; in ieee80211_link_sta_rc_update_omi()
|
| A D | mesh_plink.c | 166 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 D | ht.c | 260 width = link_conf->chanreq.oper.width; in ieee80211_ht_cap_ie_to_sta_ht_cap()
|
| A D | iface.c | 551 chandef = sdata->vif.bss_conf.chanreq.oper; in ieee80211_do_stop() 1304 sdata->vif.bss_conf.chanreq = master->vif.bss_conf.chanreq; in ieee80211_do_open()
|
| A D | trace.h | 541 __entry->channel_width = link_conf->chanreq.oper.width; 542 __entry->channel_cfreq1 = link_conf->chanreq.oper.center_freq1; 543 __entry->channel_cfreq1_offset = link_conf->chanreq.oper.freq1_offset;
|
| A D | util.c | 1489 chandef.width = sdata->vif.bss_conf.chanreq.oper.width; in ieee80211_build_probe_req() 3527 chandef = link->conf->chanreq.oper; in ieee80211_dfs_cac_cancel() 4009 BIT(link->conf->chanreq.oper.width); in ieee80211_chanctx_radar_detect()
|
| A D | rx.c | 853 chandef = &sdata->vif.bss_conf.chanreq.oper; in ieee80211_rx_monitor()
|
| /net/mac80211/tests/ |
| A D | chan-mode.c | 198 struct ieee80211_chan_req chanreq = {}; in KUNIT_ARRAY_PARAM_DESC() local 226 0, &chanreq, &ap_chandef, in KUNIT_ARRAY_PARAM_DESC()
|