Home
last modified time | relevance | path

Searched refs:chanreq (Results 1 – 25 of 40) sorted by relevance

12

/linux-6.12.1/net/mac80211/
Dchan.c179 comp_def = ieee80211_chanreq_compatible(&link_conf->chanreq, in ieee80211_chanctx_non_reserved_chandef()
212 const struct ieee80211_chan_req *chanreq, in ieee80211_find_reservation_chanctx() argument
229 if (!ieee80211_chanctx_can_reserve(local, ctx, chanreq)) in ieee80211_find_reservation_chanctx()
336 width = max(link->conf->chanreq.oper.width, in ieee80211_get_chanctx_max_required_bw()
345 width = link->conf->chanreq.oper.width; in ieee80211_get_chanctx_max_required_bw()
455 new_chandef = &link_conf->chanreq.oper; in ieee80211_chan_bw_change()
505 const struct ieee80211_chan_req *chanreq, in _ieee80211_change_chanctx() argument
508 const struct cfg80211_chan_def *chandef = &chanreq->oper; in _ieee80211_change_chanctx()
535 if (ieee80211_chanreq_identical(&ctx_req, chanreq)) { in _ieee80211_change_chanctx()
541 !cfg80211_chandef_compatible(&ctx->conf.def, &chanreq->oper)); in _ieee80211_change_chanctx()
[all …]
Dspectmgmt.c319 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()
327 cfg80211_chandef_create(&csa_ie->chanreq.oper, new_chan, in ieee80211_parse_ch_switch_ie()
331 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()
[all …]
Dmesh.c100 cfg80211_chandef_create(&sta_chan_def, sdata->vif.bss_conf.chanreq.oper.chan, in mesh_matches_local()
114 if (!cfg80211_chandef_compatible(&sdata->vif.bss_conf.chanreq.oper, in mesh_matches_local()
439 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_ht_cap_ie()
440 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_5 || in mesh_add_ht_cap_ie()
441 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_10) in mesh_add_ht_cap_ie()
480 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_ht_oper_ie()
481 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_5 || in mesh_add_ht_oper_ie()
482 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_10) in mesh_add_ht_oper_ie()
489 ieee80211_ie_build_ht_oper(pos, ht_cap, &sdata->vif.bss_conf.chanreq.oper, in mesh_add_ht_oper_ie()
511 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_vht_cap_ie()
[all …]
Dibss.c226 struct ieee80211_chan_req chanreq = {}; in __ieee80211_sta_join_ibss() local
260 chanreq.oper = *req_chandef; in __ieee80211_sta_join_ibss()
261 chan = chanreq.oper.chan; in __ieee80211_sta_join_ibss()
262 if (!cfg80211_reg_can_beacon(local->hw.wiphy, &chanreq.oper, in __ieee80211_sta_join_ibss()
264 if (chanreq.oper.width == NL80211_CHAN_WIDTH_5 || in __ieee80211_sta_join_ibss()
265 chanreq.oper.width == NL80211_CHAN_WIDTH_10 || in __ieee80211_sta_join_ibss()
266 chanreq.oper.width == NL80211_CHAN_WIDTH_20_NOHT || in __ieee80211_sta_join_ibss()
267 chanreq.oper.width == NL80211_CHAN_WIDTH_20) { in __ieee80211_sta_join_ibss()
272 chanreq.oper.width = NL80211_CHAN_WIDTH_20; in __ieee80211_sta_join_ibss()
273 chanreq.oper.center_freq1 = chan->center_freq; in __ieee80211_sta_join_ibss()
[all …]
Dmlme.c801 struct ieee80211_chan_req *chanreq, in ieee80211_set_chanreq_ap() argument
805 chanreq->ap.chan = NULL; in ieee80211_set_chanreq_ap()
812 chanreq->ap = *ap_chandef; in ieee80211_set_chanreq_ap()
819 struct ieee80211_chan_req *chanreq, in ieee80211_determine_chan_mode() argument
910 chanreq->oper = *ap_chandef; in ieee80211_determine_chan_mode()
912 ieee80211_set_chanreq_ap(sdata, chanreq, conn, ap_chandef); in ieee80211_determine_chan_mode()
914 while (!ieee80211_chandef_usable(sdata, &chanreq->oper, in ieee80211_determine_chan_mode()
916 if (WARN_ON(chanreq->oper.width == NL80211_CHAN_WIDTH_20_NOHT)) { in ieee80211_determine_chan_mode()
921 ieee80211_chanreq_downgrade(chanreq, conn); in ieee80211_determine_chan_mode()
925 !cfg80211_chandef_usable(sdata->wdev.wiphy, &chanreq->oper, in ieee80211_determine_chan_mode()
[all …]
Dcfg.c886 struct ieee80211_chan_req chanreq = { .oper = *chandef }; in ieee80211_set_monitor_channel() local
892 &chanreq.oper)) in ieee80211_set_monitor_channel()
900 if (cfg80211_chandef_identical(&sdata->vif.bss_conf.chanreq.oper, in ieee80211_set_monitor_channel()
901 &chanreq.oper)) in ieee80211_set_monitor_channel()
905 ret = ieee80211_link_use_channel(&sdata->deflink, &chanreq, in ieee80211_set_monitor_channel()
910 local->monitor_chanreq = chanreq; in ieee80211_set_monitor_channel()
1283 struct ieee80211_chan_req chanreq = { .oper = params->chandef }; in ieee80211_start_ap() local
1399 err = ieee80211_link_use_channel(link, &chanreq, in ieee80211_start_ap()
1666 chandef = link_conf->chanreq.oper; in ieee80211_stop_ap()
1883 ieee80211_parse_bitrates(link->conf->chanreq.oper.width, in sta_link_apply_parameters()
[all …]
Docb.c171 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()
Drate.c282 if (WARN_ON(!link->conf->chanreq.oper.chan)) in ieee80211_check_rate_mask()
285 band = link->conf->chanreq.oper.chan->band; in ieee80211_check_rate_mask()
765 flags = ieee80211_chandef_rate_flags(&sdata->vif.bss_conf.chanreq.oper); in rate_control_cap_mask()
821 chan_width = sta->sdata->vif.bss_conf.chanreq.oper.width; in rate_control_apply_mask_ratetbl()
858 chan_width = sdata->vif.bss_conf.chanreq.oper.width; in rate_control_apply_mask()
Dlink.c86 &link->conf->chanreq.oper, in ieee80211_link_stop()
447 &link->conf->chanreq, in _ieee80211_set_active_links()
Dvht.c375 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()
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()
284 ieee80211_chandef_rate_flags(&sdata->vif.bss_conf.chanreq.oper); in mesh_plink_frame_tx()
Dieee80211_i.h1053 struct ieee80211_chan_req chanreq; member
1675 struct ieee80211_chan_req chanreq; member
2598 ieee80211_chanreq_downgrade(struct ieee80211_chan_req *chanreq, in ieee80211_chanreq_downgrade() argument
2601 ieee80211_chandef_downgrade(&chanreq->oper, conn); in ieee80211_chanreq_downgrade()
2605 chanreq->ap.chan = NULL; in ieee80211_chanreq_downgrade()
Dtdls.c162 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()
Dht.c260 width = link_conf->chanreq.oper.width; in ieee80211_ht_cap_ie_to_sta_ht_cap()
Diface.c557 chandef = sdata->vif.bss_conf.chanreq.oper; in ieee80211_do_stop()
1259 sdata->vif.bss_conf.chanreq = master->vif.bss_conf.chanreq; in ieee80211_do_open()
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/mvm/tests/
Dlinks.c196 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.12.1/drivers/net/wireless/intel/iwlwifi/mvm/
Dlink.c489 link_conf->chanreq.oper.width; in iwl_mvm_get_puncturing_factor()
504 n_punctured = hweight16(link_conf->chanreq.oper.punctured); in iwl_mvm_get_puncturing_factor()
518 enum nl80211_band band = link_conf->chanreq.oper.chan->band; in iwl_mvm_get_chan_load()
599 band = link_conf->chanreq.oper.chan->band; in iwl_mvm_get_link_grade()
657 data[n_data].chandef = &link_conf->chanreq.oper; in iwl_mvm_set_link_selection_data()
Drs-fw.c536 if (WARN_ON_ONCE(!link_conf->chanreq.oper.chan)) in rs_fw_get_max_amsdu_len()
539 if (link_conf->chanreq.oper.chan->band == NL80211_BAND_6GHZ) { in rs_fw_get_max_amsdu_len()
549 } else if (link_conf->chanreq.oper.chan->band == NL80211_BAND_2GHZ && in rs_fw_get_max_amsdu_len()
Dmac-ctxt.c469 if (link_conf->chanreq.oper.width > NL80211_CHAN_WIDTH_20) in iwl_mvm_set_fw_protection_flags()
508 if (link_conf->chanreq.oper.width != NL80211_CHAN_WIDTH_20_NOHT) in iwl_mvm_set_fw_qos_params()
924 if (link_conf->chanreq.oper.chan) in iwl_mvm_mac_ctxt_get_lowest_rate()
925 band = link_conf->chanreq.oper.chan->band; in iwl_mvm_mac_ctxt_get_lowest_rate()
Dmld-mac80211.c598 if (bss_conf->chanreq.oper.chan->band != NL80211_BAND_6GHZ) in iwl_mvm_send_ap_tx_power_constraint_cmd()
764 if (link_conf->chanreq.oper.width == in iwl_mvm_esr_bw_criteria()
765 other_link->chanreq.oper.width) in iwl_mvm_esr_bw_criteria()
Dops.c215 if (!vif->bss_conf.chanreq.oper.chan || in iwl_mvm_rx_monitor_notif()
216 vif->bss_conf.chanreq.oper.chan->band != NL80211_BAND_2GHZ || in iwl_mvm_rx_monitor_notif()
217 vif->bss_conf.chanreq.oper.width < NL80211_CHAN_WIDTH_40) in iwl_mvm_rx_monitor_notif()
273 link_conf->chanreq.oper.width == NL80211_CHAN_WIDTH_160 && in iwl_mvm_update_link_smps()
/linux-6.12.1/drivers/net/wireless/silabs/wfx/
Dsta.c147 chan0 = vif_ch0->bss_conf.chanreq.oper.chan; in wfx_get_ps_timeout()
153 chan1 = vif_ch1->bss_conf.chanreq.oper.chan; in wfx_get_ps_timeout()
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7925/
Dmcu.c1169 links[i].chan = link_conf->chanreq.oper.chan; in mt7925_mcu_set_mlo_roc()
1600 &link_conf->chanreq.oper; in mt7925_mcu_sta_phy_tlv()
1678 &link_conf->chanreq.oper; in mt7925_mcu_sta_rate_ctrl_tlv()
2172 &link_conf->chanreq.oper; in mt7925_mcu_bss_rlm_tlv()
2312 &link_conf->chanreq.oper; in mt7925_mcu_bss_basic_tlv()
2439 &link_conf->chanreq.oper; in mt7925_mcu_bss_bmc_tlv()
Dmain.c998 data[n_data].band = link_conf->chanreq.oper.chan->band; in mt7925_mac_select_links()
1029 struct cfg80211_chan_def *chandef = &link_conf->chanreq.oper; in mt7925_mac_set_links()
1039 secondary_band = link_conf->chanreq.oper.chan->band; in mt7925_mac_set_links()
/linux-6.12.1/drivers/net/wireless/rsi/
Drsi_91x_mac80211.c744 channel = bss->chanreq.oper.chan; in rsi_get_connected_channel()
763 channel = vif->bss_conf.chanreq.oper.chan; in rsi_switch_channel()

12