Home
last modified time | relevance | path

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

12

/linux/net/mac80211/
H A 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()
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()
473 new_chandef = &link_conf->chanreq.oper; in ieee80211_chan_bw_change()
523 const struct ieee80211_chan_req *chanreq, in _ieee80211_change_chanctx() argument
526 const struct cfg80211_chan_def *chandef = &chanreq->oper; in _ieee80211_change_chanctx()
553 if (ieee80211_chanreq_identical(&ctx_req, chanreq)) { in _ieee80211_change_chanctx()
559 !cfg80211_chandef_compatible(&ctx->conf.def, &chanreq in _ieee80211_change_chanctx()
588 ieee80211_change_chanctx(struct ieee80211_local * local,struct ieee80211_chanctx * ctx,struct ieee80211_chanctx * old_ctx,const struct ieee80211_chan_req * chanreq) ieee80211_change_chanctx() argument
597 ieee80211_find_chanctx(struct ieee80211_local * local,struct ieee80211_link_data * link,const struct ieee80211_chan_req * chanreq,enum ieee80211_chanctx_mode mode) ieee80211_find_chanctx() argument
707 ieee80211_alloc_chanctx(struct ieee80211_local * local,const struct ieee80211_chan_req * chanreq,enum ieee80211_chanctx_mode mode,int radio_idx) ieee80211_alloc_chanctx() argument
760 ieee80211_new_chanctx(struct ieee80211_local * local,const struct ieee80211_chan_req * chanreq,enum ieee80211_chanctx_mode mode,bool assign_on_failure,int radio_idx) ieee80211_new_chanctx() argument
1148 ieee80211_replace_chanctx(struct ieee80211_local * local,const struct ieee80211_chan_req * chanreq,enum ieee80211_chanctx_mode mode,struct ieee80211_chanctx * curr_ctx) ieee80211_replace_chanctx() argument
1221 ieee80211_find_available_radio(struct ieee80211_local * local,const struct ieee80211_chan_req * chanreq,u32 radio_mask,int * radio_idx) ieee80211_find_available_radio() argument
1251 ieee80211_link_reserve_chanctx(struct ieee80211_link_data * link,const struct ieee80211_chan_req * chanreq,enum ieee80211_chanctx_mode mode,bool radar_required) ieee80211_link_reserve_chanctx() argument
1323 ieee80211_link_update_chanreq(struct ieee80211_link_data * link,const struct ieee80211_chan_req * chanreq) ieee80211_link_update_chanreq() argument
1354 const struct ieee80211_chan_req *chanreq; ieee80211_link_use_reserved_reassign() local
1437 const struct ieee80211_chan_req *chanreq; ieee80211_link_use_reserved_assign() local
1902 _ieee80211_link_use_channel(struct ieee80211_link_data * link,const struct ieee80211_chan_req * chanreq,enum ieee80211_chanctx_mode mode,bool assign_on_failure) _ieee80211_link_use_channel() argument
2090 ieee80211_link_change_chanreq(struct ieee80211_link_data * link,const struct ieee80211_chan_req * chanreq,u64 * changed) ieee80211_link_change_chanreq() argument
[all...]
H A Dmesh.c101 cfg80211_chandef_create(&sta_chan_def, sdata->vif.bss_conf.chanreq.oper.chan, in mesh_matches_local()
115 if (!cfg80211_chandef_compatible(&sdata->vif.bss_conf.chanreq.oper, in mesh_matches_local()
440 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_ht_cap_ie()
441 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_5 || in mesh_add_ht_cap_ie()
442 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_10) in mesh_add_ht_cap_ie()
481 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_ht_oper_ie()
482 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_5 || in mesh_add_ht_oper_ie()
483 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_10) in mesh_add_ht_oper_ie()
490 ieee80211_ie_build_ht_oper(pos, ht_cap, &sdata->vif.bss_conf.chanreq.oper, in mesh_add_ht_oper_ie()
512 sdata->vif.bss_conf.chanreq in mesh_add_vht_cap_ie()
[all...]
H A Dibss.c223 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 in __ieee80211_sta_join_ibss()
[all...]
H A Dmlme.c974 struct ieee80211_chan_req *chanreq, in ieee80211_set_chanreq_ap() argument
978 chanreq->ap.chan = NULL; in ieee80211_set_chanreq_ap()
985 chanreq->ap = *ap_chandef; in ieee80211_set_chanreq_ap()
992 struct ieee80211_chan_req *chanreq, in ieee80211_determine_chan_mode() argument
1091 chanreq->oper = *ap_chandef; in ieee80211_determine_chan_mode()
1116 ieee80211_set_chanreq_ap(sdata, chanreq, conn, ap_chandef); in ieee80211_determine_chan_mode()
1118 while (!ieee80211_chandef_usable(sdata, &chanreq->oper, in ieee80211_determine_chan_mode()
1120 if (WARN_ON(chanreq->oper.width == NL80211_CHAN_WIDTH_20_NOHT)) { in ieee80211_determine_chan_mode()
1125 ieee80211_chanreq_downgrade(chanreq, conn); in ieee80211_determine_chan_mode()
1129 !cfg80211_chandef_usable(sdata->wdev.wiphy, &chanreq in ieee80211_determine_chan_mode()
1221 struct ieee80211_chan_req chanreq = {}; ieee80211_config_bw() local
6034 struct ieee80211_chan_req chanreq = {}; ieee80211_prep_channel() local
[all...]
H A 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()
H A Dlink.c166 &link->conf->chanreq.oper, in ieee80211_link_stop()
501 &link->conf->chanreq, in _ieee80211_set_active_links()
H A Dieee80211_i.h1080 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,
H A 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()
H A Dhe.c261 band = link->conf->chanreq.oper.chan->band; in ieee80211_link_sta_rc_update_omi()
H A 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()
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dlink.c175 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()
678 link_conf->chanreq.oper.width; in iwl_mld_get_n_subchannels()
691 n_subchannels -= hweight16(link_conf->chanreq.oper.punctured); in iwl_mld_get_n_subchannels()
780 enum nl80211_band band = link_conf->chanreq.oper.chan->band; in iwl_mld_get_default_chan_load()
830 band = link_conf->chanreq.oper.chan->band; in iwl_mld_get_link_grade()
854 link_conf->chanreq.oper.width, in iwl_mld_get_link_grade()
855 link_conf->chanreq.oper.punctured, link_rssi); in iwl_mld_get_link_grade()
H A Dtlc.c529 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 Diface.c613 if (!link->chanreq.oper.chan || in iwl_mld_handle_datapath_monitor_notif()
614 link->chanreq.oper.chan->band != NL80211_BAND_2GHZ || in iwl_mld_handle_datapath_monitor_notif()
615 link->chanreq.oper.width < NL80211_CHAN_WIDTH_40) in iwl_mld_handle_datapath_monitor_notif()
H A Dmlo.c757 data[n_data].chandef = &link_conf->chanreq.oper; in iwl_mld_set_link_sel_data()
1063 if (WARN_ON(!link->chanreq.oper.chan)) in iwl_mld_emlsr_check_bt_iter()
1066 if (link->chanreq.oper.chan->band == NL80211_BAND_2GHZ) { in iwl_mld_emlsr_check_bt_iter()
H A Dpower.c345 if (link->chanreq.oper.chan->band != NL80211_BAND_6GHZ) in iwl_mld_send_ap_tx_power_constraint_cmd()
H A Dstats.c390 iwl_mld_get_emlsr_rssi_thresh(mld, &bss_conf->chanreq.oper, in iwl_mld_update_link_sig()
H A Dmac80211.c1062 iwl_mld_chandef_get_primary_80(&vif->bss_conf.chanreq.oper); in iwl_mld_assign_vif_chanctx()
1588 if (WARN_ON_ONCE(!link_conf->chanreq.oper.chan)) in iwl_mld_check_he_obss_narrow_bw_ru()
1591 if (!(link_conf->chanreq.oper.chan->flags & IEEE80211_CHAN_RADAR)) { in iwl_mld_check_he_obss_narrow_bw_ru()
1596 cfg80211_bss_iter(mld->wiphy, &link_conf->chanreq.oper, in iwl_mld_check_he_obss_narrow_bw_ru()
/linux/drivers/net/wireless/intel/iwlwifi/mvm/tests/
H A 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/net/mac80211/tests/
H A Dchan-mode.c198 struct ieee80211_chan_req chanreq = {}; in KUNIT_ARRAY_PARAM_DESC() local
226 0, &chanreq, &ap_chandef, in KUNIT_ARRAY_PARAM_DESC()
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dlink.c440 link_conf->chanreq.oper.width; in iwl_mvm_get_puncturing_factor()
455 n_punctured = hweight16(link_conf->chanreq.oper.punctured); in iwl_mvm_get_puncturing_factor()
469 enum nl80211_band band = link_conf->chanreq.oper.chan->band; in iwl_mvm_get_chan_load()
550 band = link_conf->chanreq.oper.chan->band; in iwl_mvm_get_link_grade()
608 data[n_data].chandef = &link_conf->chanreq.oper; in iwl_mvm_set_link_selection_data()
H A Drs-fw.c519 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 Dmld-mac80211.c532 if (bss_conf->chanreq.oper.chan->band != NL80211_BAND_6GHZ) in iwl_mvm_send_ap_tx_power_constraint_cmd()
698 if (link_conf->chanreq.oper.width == in iwl_mvm_esr_bw_criteria()
699 other_link->chanreq.oper.width) in iwl_mvm_esr_bw_criteria()
H A Dmac-ctxt.c465 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()
903 if (link_conf->chanreq.oper.chan) in iwl_mvm_mac_ctxt_get_lowest_rate()
904 band = link_conf->chanreq.oper.chan->band; in iwl_mvm_mac_ctxt_get_lowest_rate()
H A Dops.c181 if (!vif->bss_conf.chanreq.oper.chan || in iwl_mvm_rx_monitor_notif()
182 vif->bss_conf.chanreq.oper.chan->band != NL80211_BAND_2GHZ || in iwl_mvm_rx_monitor_notif()
183 vif->bss_conf.chanreq.oper.width < NL80211_CHAN_WIDTH_40) in iwl_mvm_rx_monitor_notif()
239 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 Dlink-selection.c89 link->chanreq.oper = *test_param->input.link.chandef; in setup_link()

12