| /linux-6.15/net/mac80211/ |
| H A D | chan.c | 572 ctx->conf.ap = chanreq->ap; in _ieee80211_change_chanctx() 697 ctx->conf.def = chanreq->oper; in ieee80211_alloc_chanctx() 698 ctx->conf.ap = chanreq->ap; in ieee80211_alloc_chanctx() 1260 link->reserved = *chanreq; in ieee80211_link_reserve_chanctx() 1306 link->conf->chanreq = *chanreq; in ieee80211_link_update_chanreq() 1319 vlan_conf->chanreq = *chanreq; in ieee80211_link_update_chanreq() 1357 if (WARN_ON(!chanreq)) in ieee80211_link_use_reserved_reassign() 1436 if (WARN_ON(!chanreq)) in ieee80211_link_use_reserved_assign() 1898 &chanreq->oper, in _ieee80211_link_use_channel() 2079 &chanreq->oper, in ieee80211_link_change_chanreq() [all …]
|
| H A D | spectmgmt.c | 319 cfg80211_chandef_create(&csa_ie->chanreq.oper, new_chan, in ieee80211_parse_ch_switch_ie() 323 cfg80211_chandef_create(&csa_ie->chanreq.oper, new_chan, in ieee80211_parse_ch_switch_ie() 334 switch (sdata->vif.bss_conf.chanreq.oper.width) { in ieee80211_parse_ch_switch_ie() 337 csa_ie->chanreq.oper.width = in ieee80211_parse_ch_switch_ie() 338 sdata->vif.bss_conf.chanreq.oper.width; in ieee80211_parse_ch_switch_ie() 347 csa_ie->chanreq.ap = csa_ie->chanreq.oper; in ieee80211_parse_ch_switch_ie() 354 new_chandef = csa_ie->chanreq.oper; in ieee80211_parse_ch_switch_ie() 365 new_chandef = csa_ie->chanreq.oper; in ieee80211_parse_ch_switch_ie() 378 csa_ie->chanreq.ap = new_chandef; in ieee80211_parse_ch_switch_ie() 385 &csa_ie->chanreq.oper)) { in ieee80211_parse_ch_switch_ie() [all …]
|
| H A D | mesh.c | 114 if (!cfg80211_chandef_compatible(&sdata->vif.bss_conf.chanreq.oper, in mesh_matches_local() 441 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_10) in mesh_add_ht_cap_ie() 562 &sdata->vif.bss_conf.chanreq.oper); in mesh_add_vht_oper_ie() 611 ieee80211_ie_build_he_oper(pos, &sdata->vif.bss_conf.chanreq.oper); in mesh_add_he_oper_ie() 965 ieee80211_chandef_rate_flags(&sdata->vif.bss_conf.chanreq.oper); in ieee80211_mesh_build_beacon() 1265 &sdata->vif.bss_conf.chanreq.oper, in ieee80211_mesh_csa_mark_radar() 1269 &sdata->vif.bss_conf.chanreq.oper, in ieee80211_mesh_csa_mark_radar() 1291 switch (sdata->vif.bss_conf.chanreq.oper.width) { in ieee80211_mesh_process_chnswitch() 1328 params.chandef = csa_ie.chanreq.oper; in ieee80211_mesh_process_chnswitch() 1364 &sdata->vif.bss_conf.chanreq.oper)) { in ieee80211_mesh_process_chnswitch() [all …]
|
| H A D | ibss.c | 226 struct ieee80211_chan_req chanreq = {}; in __ieee80211_sta_join_ibss() local 261 chanreq.oper = *req_chandef; in __ieee80211_sta_join_ibss() 262 chan = chanreq.oper.chan; in __ieee80211_sta_join_ibss() 265 if (chanreq.oper.width == NL80211_CHAN_WIDTH_5 || in __ieee80211_sta_join_ibss() 266 chanreq.oper.width == NL80211_CHAN_WIDTH_10 || in __ieee80211_sta_join_ibss() 273 chanreq.oper.width = NL80211_CHAN_WIDTH_20; in __ieee80211_sta_join_ibss() 274 chanreq.oper.center_freq1 = chan->center_freq; in __ieee80211_sta_join_ibss() 285 &chanreq.oper, NL80211_IFTYPE_ADHOC); in __ieee80211_sta_join_ibss() 311 capability, tsf, &chanreq.oper, in __ieee80211_sta_join_ibss() 804 params.chandef = csa_ie.chanreq.oper; in ieee80211_ibss_process_chanswitch() [all …]
|
| H A D | mlme.c | 982 chanreq->ap.chan = NULL; in ieee80211_set_chanreq_ap() 989 chanreq->ap = *ap_chandef; in ieee80211_set_chanreq_ap() 1284 &chanreq.oper); in ieee80211_config_bw() 1291 if (ieee80211_chanreq_identical(&chanreq, &link->conf->chanreq)) in ieee80211_config_bw() 1297 chanreq.oper.chan->freq_offset, chanreq.oper.width, in ieee80211_config_bw() 1298 chanreq.oper.center_freq1, chanreq.oper.freq1_offset, in ieee80211_config_bw() 1309 link->conf->chanreq = chanreq; in ieee80211_config_bw() 2384 link->conf->chanreq = link->csa.chanreq; in ieee80211_csa_switch_work() 2859 link->csa.chanreq.oper = csa_ie.chanreq.oper; in ieee80211_sta_process_chanswitch() 2861 &csa_ie.chanreq.ap); in ieee80211_sta_process_chanswitch() [all …]
|
| H A D | cfg.c | 922 &chanreq.oper)) in ieee80211_set_monitor_channel() 932 &chanreq.oper)) in ieee80211_set_monitor_channel() 941 local->monitor_chanreq = chanreq; in ieee80211_set_monitor_channel() 1427 err = ieee80211_link_use_channel(link, &chanreq, in ieee80211_start_ap() 1694 chandef = link_conf->chanreq.oper; in ieee80211_stop_ap() 3482 sdata->vif.bss_conf.chanreq.oper.chan) { in ieee80211_set_bitrate_mask() 3821 &link_data->csa.chanreq.oper)) in __ieee80211_csa_finalize() 4076 ch_switch.chandef = chanreq.oper; in __ieee80211_channel_switch() 4106 link_data->csa.chanreq = chanreq; in __ieee80211_channel_switch() 4113 &link_data->csa.chanreq.oper, link_id, in __ieee80211_channel_switch() [all …]
|
| H 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()
|
| H 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() 784 flags = ieee80211_chandef_rate_flags(&sdata->vif.bss_conf.chanreq.oper); in rate_control_cap_mask() 840 chan_width = sta->sdata->vif.bss_conf.chanreq.oper.width; in rate_control_apply_mask_ratetbl() 877 chan_width = sdata->vif.bss_conf.chanreq.oper.width; in rate_control_apply_mask()
|
| H A D | link.c | 89 &link->conf->chanreq.oper, in ieee80211_link_stop() 412 &link->conf->chanreq, in _ieee80211_set_active_links()
|
| H A D | ieee80211_i.h | 1070 struct ieee80211_chan_req chanreq; member 1690 struct ieee80211_chan_req chanreq; member 2648 ieee80211_chanreq_downgrade(struct ieee80211_chan_req *chanreq, in ieee80211_chanreq_downgrade() argument 2651 ieee80211_chandef_downgrade(&chanreq->oper, conn); in ieee80211_chanreq_downgrade() 2655 chanreq->ap.chan = NULL; in ieee80211_chanreq_downgrade() 2812 struct ieee80211_chan_req *chanreq,
|
| H 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()
|
| H 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() 284 ieee80211_chandef_rate_flags(&sdata->vif.bss_conf.chanreq.oper); in mesh_plink_frame_tx()
|
| /linux-6.15/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | link.c | 175 if (link->chanreq.oper.width > NL80211_CHAN_WIDTH_20) in iwl_mld_fill_protection_flags() 217 if (link->chanreq.oper.width != NL80211_CHAN_WIDTH_20_NOHT) in iwl_mld_fill_qos_params() 495 apply_bw = ieee80211_chan_width_to_rx_bw(link_conf->chanreq.oper.width); in iwl_mld_omi_bw_update() 731 chandef = link_conf->chanreq.oper; in iwl_mld_check_omi_bw_reduction() 1015 link_conf->chanreq.oper.width; in iwl_mld_get_n_subchannels() 1028 n_subchannels -= hweight16(link_conf->chanreq.oper.punctured); in iwl_mld_get_n_subchannels() 1117 enum nl80211_band band = link_conf->chanreq.oper.chan->band; in iwl_mld_get_default_chan_load() 1167 band = link_conf->chanreq.oper.chan->band; in iwl_mld_get_link_grade() 1191 link_conf->chanreq.oper.width, in iwl_mld_get_link_grade() 1192 link_conf->chanreq.oper.punctured, link_rssi); in iwl_mld_get_link_grade()
|
| H A D | tlc.c | 529 if (WARN_ON_ONCE(!link_conf->chanreq.oper.chan)) in iwl_mld_config_tlc_link() 541 band = link_conf->chanreq.oper.chan->band; in iwl_mld_config_tlc_link() 610 if (WARN_ON(!link || !link->chanreq.oper.chan)) in iwl_mld_get_amsdu_size_of_tid() 613 band = link->chanreq.oper.chan->band; in iwl_mld_get_amsdu_size_of_tid()
|
| H A D | iface.c | 577 if (!link->chanreq.oper.chan || in iwl_mld_handle_datapath_monitor_notif() 578 link->chanreq.oper.chan->band != NL80211_BAND_2GHZ || in iwl_mld_handle_datapath_monitor_notif() 579 link->chanreq.oper.width < NL80211_CHAN_WIDTH_40) in iwl_mld_handle_datapath_monitor_notif()
|
| H A D | mlo.c | 703 data[n_data].chandef = &link_conf->chanreq.oper; in iwl_mld_set_link_sel_data() 980 if (WARN_ON(!link->chanreq.oper.chan)) in iwl_mld_emlsr_check_bt_iter() 983 if (link->chanreq.oper.chan->band == NL80211_BAND_2GHZ) { in iwl_mld_emlsr_check_bt_iter()
|
| H A D | mac80211.c | 1036 iwl_mld_chandef_get_primary_80(&vif->bss_conf.chanreq.oper); in iwl_mld_assign_vif_chanctx() 1189 bw = ieee80211_chan_width_to_rx_bw(link_conf->chanreq.oper.width); in iwl_mld_mac80211_link_info_changed_sta() 1582 if (WARN_ON_ONCE(!link_conf->chanreq.oper.chan)) in iwl_mld_check_he_obss_narrow_bw_ru() 1585 if (!(link_conf->chanreq.oper.chan->flags & IEEE80211_CHAN_RADAR)) { in iwl_mld_check_he_obss_narrow_bw_ru() 1590 cfg80211_bss_iter(mld->wiphy, &link_conf->chanreq.oper, in iwl_mld_check_he_obss_narrow_bw_ru()
|
| H A D | power.c | 342 if (link->chanreq.oper.chan->band != NL80211_BAND_6GHZ) in iwl_mld_send_ap_tx_power_constraint_cmd()
|
| /linux-6.15/drivers/net/wireless/intel/iwlwifi/mvm/tests/ |
| H A D | links.c | 196 link_conf.chanreq.oper = params->chandef; in KUNIT_ARRAY_PARAM_DESC() 404 conf->chanreq.oper = chandef_a; in KUNIT_ARRAY_PARAM_DESC() 410 conf->chanreq.oper = chandef_b; in KUNIT_ARRAY_PARAM_DESC()
|
| /linux-6.15/net/mac80211/tests/ |
| H 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()
|
| /linux-6.15/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | link.c | 490 link_conf->chanreq.oper.width; in iwl_mvm_get_puncturing_factor() 505 n_punctured = hweight16(link_conf->chanreq.oper.punctured); in iwl_mvm_get_puncturing_factor() 519 enum nl80211_band band = link_conf->chanreq.oper.chan->band; in iwl_mvm_get_chan_load() 600 band = link_conf->chanreq.oper.chan->band; in iwl_mvm_get_link_grade() 658 data[n_data].chandef = &link_conf->chanreq.oper; in iwl_mvm_set_link_selection_data()
|
| H A D | rs-fw.c | 530 if (WARN_ON_ONCE(!link_conf->chanreq.oper.chan)) in rs_fw_get_max_amsdu_len() 533 if (link_conf->chanreq.oper.chan->band == NL80211_BAND_6GHZ) { in rs_fw_get_max_amsdu_len() 543 } else if (link_conf->chanreq.oper.chan->band == NL80211_BAND_2GHZ && in rs_fw_get_max_amsdu_len()
|
| H A D | mld-mac80211.c | 545 if (bss_conf->chanreq.oper.chan->band != NL80211_BAND_6GHZ) in iwl_mvm_send_ap_tx_power_constraint_cmd() 711 if (link_conf->chanreq.oper.width == in iwl_mvm_esr_bw_criteria() 712 other_link->chanreq.oper.width) in iwl_mvm_esr_bw_criteria()
|
| /linux-6.15/drivers/net/wireless/intel/iwlwifi/mld/tests/ |
| H A D | link-selection.c | 89 link->chanreq.oper = *test_param->input.link.chandef; in setup_link()
|
| /linux-6.15/drivers/net/wireless/silabs/wfx/ |
| H A D | sta.c | 148 chan0 = vif_ch0->bss_conf.chanreq.oper.chan; in wfx_get_ps_timeout() 154 chan1 = vif_ch1->bss_conf.chanreq.oper.chan; in wfx_get_ps_timeout()
|