| /linux/net/mac80211/ ! |
| H A D | chan.c | 16 struct ieee80211_chan_req *chanreq; member 66 iter->chanreq = &link->conf->chanreq; in ieee80211_chanctx_user_iter_next() 79 iter->chanreq = &link->reserved; in ieee80211_chanctx_user_iter_next() 276 req = ieee80211_chanreq_compatible(iter.chanreq, req, tmp); in ieee80211_chanctx_reserved_chanreq() 299 comp_def = ieee80211_chanreq_compatible(iter.chanreq, in ieee80211_chanctx_non_reserved_chandef() 332 const struct ieee80211_chan_req *chanreq, in ieee80211_find_reservation_chanctx() argument 349 if (!ieee80211_chanctx_can_reserve(local, ctx, chanreq)) in ieee80211_find_reservation_chanctx() 461 width = link->conf->chanreq.oper.width; in ieee80211_get_chanctx_max_required_bw() 484 width = link->conf->chanreq.oper.width; in ieee80211_get_chanctx_max_required_bw() 595 new_chandef = &link_conf->chanreq.oper; in ieee80211_chan_bw_change() [all …]
|
| H 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() 326 cfg80211_chandef_create(&csa_ie->chanreq.oper, new_chan, in ieee80211_parse_ch_switch_ie() 330 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() [all …]
|
| H A D | mesh.c | 104 cfg80211_chandef_create(&sta_chan_def, sdata->vif.bss_conf.chanreq.oper.chan, in mesh_matches_local() 118 if (!cfg80211_chandef_compatible(&sdata->vif.bss_conf.chanreq.oper, in mesh_matches_local() 443 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_ht_cap_ie() 444 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_5 || in mesh_add_ht_cap_ie() 445 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_10) in mesh_add_ht_cap_ie() 484 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_ht_oper_ie() 485 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_5 || in mesh_add_ht_oper_ie() 486 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_10) in mesh_add_ht_oper_ie() 493 ieee80211_ie_build_ht_oper(pos, ht_cap, &sdata->vif.bss_conf.chanreq.oper, in mesh_add_ht_oper_ie() 515 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_vht_cap_ie() [all …]
|
| H 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() 260 if (!cfg80211_reg_can_beacon(local->hw.wiphy, &chanreq.oper, 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() 264 chanreq.oper.width == NL80211_CHAN_WIDTH_20_NOHT || in __ieee80211_sta_join_ibss() 265 chanreq.oper.width == NL80211_CHAN_WIDTH_20) { 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() [all …]
|
| H A D | mlme.c | 1031 struct ieee80211_chan_req *chanreq, in ieee80211_set_chanreq_ap() argument 1035 chanreq->ap.chan = NULL; in ieee80211_set_chanreq_ap() 1042 chanreq->ap = *ap_chandef; in ieee80211_set_chanreq_ap() 1049 struct ieee80211_chan_req *chanreq, in ieee80211_determine_chan_mode() argument 1110 chanreq->oper = *ap_chandef; in ieee80211_determine_chan_mode() 1111 if (!cfg80211_chandef_usable(sdata->wdev.wiphy, &chanreq->oper, in ieee80211_determine_chan_mode() 1160 chanreq->oper = *ap_chandef; in ieee80211_determine_chan_mode() 1187 ieee80211_set_chanreq_ap(sdata, chanreq, conn, ap_chandef); in ieee80211_determine_chan_mode() 1189 while (!ieee80211_chandef_usable(sdata, &chanreq->oper, in ieee80211_determine_chan_mode() 1191 if (chanreq->oper.width == NL80211_CHAN_WIDTH_20_NOHT) { in ieee80211_determine_chan_mode() [all …]
|
| H A D | cfg.c | 1069 struct ieee80211_chan_req chanreq = { .oper = *chandef }; in ieee80211_set_monitor_channel() local 1077 &chanreq.oper)) in ieee80211_set_monitor_channel() 1086 cfg80211_chandef_identical(&sdata->vif.bss_conf.chanreq.oper, in ieee80211_set_monitor_channel() 1087 &chanreq.oper)) in ieee80211_set_monitor_channel() 1091 ret = ieee80211_link_use_channel(&sdata->deflink, &chanreq, in ieee80211_set_monitor_channel() 1096 local->monitor_chanreq = chanreq; in ieee80211_set_monitor_channel() 1503 struct ieee80211_chan_req chanreq = { .oper = params->chandef }; in ieee80211_start_ap() local 1627 err = ieee80211_link_use_channel(link, &chanreq, in ieee80211_start_ap() 1925 chandef = link_conf->chanreq.oper; in ieee80211_stop_ap() 2187 enum nl80211_chan_width width = link->conf->chanreq.oper.width; in sta_link_apply_parameters() [all …]
|
| H A D | ocb.c | 174 struct ieee80211_chan_req chanreq = { .oper = setup->chandef }; in ieee80211_ocb_join() local 189 err = ieee80211_link_use_channel(&sdata->deflink, &chanreq, in ieee80211_ocb_join()
|
| H A D | rate.c | 304 if (WARN_ON(!link->conf->chanreq.oper.chan)) in ieee80211_check_rate_mask() 307 band = link->conf->chanreq.oper.chan->band; in ieee80211_check_rate_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 | 161 &link->conf->chanreq.oper, in ieee80211_link_stop() 498 &link->conf->chanreq, in _ieee80211_set_active_links()
|
| H A D | ieee80211_i.h | 1083 struct ieee80211_chan_req chanreq; member 1744 struct ieee80211_chan_req chanreq; member 2724 ieee80211_chanreq_downgrade(struct ieee80211_chan_req *chanreq, in ieee80211_chanreq_downgrade() argument 2727 ieee80211_chandef_downgrade(&chanreq->oper, conn); in ieee80211_chanreq_downgrade() 2731 chanreq->ap.chan = NULL; in ieee80211_chanreq_downgrade() 2900 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 | 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()
|
| H A D | he.c | 261 band = link->conf->chanreq.oper.chan->band; in ieee80211_link_sta_rc_update_omi()
|
| 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()
|
| /linux/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() 697 link_conf->chanreq.oper.width; in iwl_mld_get_n_subchannels() 710 n_subchannels -= hweight16(link_conf->chanreq.oper.punctured); in iwl_mld_get_n_subchannels() 794 enum nl80211_band band = link_conf->chanreq.oper.chan->band; in iwl_mld_get_default_chan_load() 844 band = link_conf->chanreq.oper.chan->band; in iwl_mld_get_link_grade() 868 link_conf->chanreq.oper.width, in iwl_mld_get_link_grade() 869 link_conf->chanreq.oper.punctured, link_rssi); in iwl_mld_get_link_grade()
|
| H A D | tlc.c | 516 enum nl80211_band band = link->chanreq.oper.chan->band; in iwl_mld_send_tlc_cmd() 626 if (WARN_ON_ONCE(!link_conf->chanreq.oper.chan)) in iwl_mld_config_tlc_link() 706 if (WARN_ON(!link || !link->chanreq.oper.chan)) in iwl_mld_get_amsdu_size_of_tid() 709 band = link->chanreq.oper.chan->band; in iwl_mld_get_amsdu_size_of_tid()
|
| H A D | power.c | 372 if (link->chanreq.oper.chan->band != NL80211_BAND_6GHZ) in iwl_mld_send_ap_tx_power_constraint_cmd()
|
| H A D | stats.c | 393 iwl_mld_get_emlsr_rssi_thresh(mld, &bss_conf->chanreq.oper, in iwl_mld_update_link_sig()
|
| /linux/net/mac80211/tests/ ! |
| H A D | chan-mode.c | 214 struct ieee80211_chan_req chanreq = {}; in KUNIT_ARRAY_PARAM_DESC() local 245 0, &chanreq, &ap_chandef, in KUNIT_ARRAY_PARAM_DESC()
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ ! |
| H A D | rs-fw.c | 519 if (WARN_ON_ONCE(!link_conf->chanreq.oper.chan)) in rs_fw_get_max_amsdu_len() 522 if (link_conf->chanreq.oper.chan->band == NL80211_BAND_6GHZ) { in rs_fw_get_max_amsdu_len() 532 } else if (link_conf->chanreq.oper.chan->band == NL80211_BAND_2GHZ && in rs_fw_get_max_amsdu_len()
|
| H A D | mac-ctxt.c | 465 if (link_conf->chanreq.oper.width > NL80211_CHAN_WIDTH_20) in iwl_mvm_set_fw_protection_flags() 504 if (link_conf->chanreq.oper.width != NL80211_CHAN_WIDTH_20_NOHT) in iwl_mvm_set_fw_qos_params() 892 if (link_conf->chanreq.oper.chan) in iwl_mvm_mac_ctxt_get_lowest_rate() 893 band = link_conf->chanreq.oper.chan->band; in iwl_mvm_mac_ctxt_get_lowest_rate()
|
| H A D | ops.c | 163 if (!vif->bss_conf.chanreq.oper.chan || in iwl_mvm_rx_monitor_notif() 164 vif->bss_conf.chanreq.oper.chan->band != NL80211_BAND_2GHZ || in iwl_mvm_rx_monitor_notif() 165 vif->bss_conf.chanreq.oper.width < NL80211_CHAN_WIDTH_40) in iwl_mvm_rx_monitor_notif() 221 link_conf->chanreq.oper.width == NL80211_CHAN_WIDTH_160 && in iwl_mvm_update_link_smps()
|
| /linux/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/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()
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7925/ ! |
| H A D | mcu.c | 1344 links[i].chan = link_conf->chanreq.oper.chan; in mt7925_mcu_set_mlo_roc() 1777 &link_conf->chanreq.oper; in mt7925_mcu_sta_phy_tlv() 1855 &link_conf->chanreq.oper; in mt7925_mcu_sta_rate_ctrl_tlv() 2288 &link_conf->chanreq.oper; in mt7925_mcu_bss_rlm_tlv() 2377 &link_conf->chanreq.oper; in mt7925_mcu_bss_eht_tlv() 2479 &link_conf->chanreq.oper; in mt7925_mcu_bss_basic_tlv() 2606 &link_conf->chanreq.oper; in mt7925_mcu_bss_bmc_tlv()
|