Home
last modified time | relevance | path

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

12

/linux/net/mac80211/
H A Dchan.c16 struct ieee80211_chan_req *chanreq; member
46 if (!nan_channel->chanreq.oper.chan) in ieee80211_chanctx_user_iter_next_nan_channel()
54 iter->chanreq = &nan_channel->chanreq; in ieee80211_chanctx_user_iter_next_nan_channel()
86 iter->chanreq = &link->conf->chanreq; in ieee80211_chanctx_user_iter_next_link()
99 iter->chanreq = &link->reserved; in ieee80211_chanctx_user_iter_next_link()
155 iter->chanreq = NULL; in ieee80211_chanctx_user_iter_next()
356 ret = ieee80211_chanreq_compatible(ret, iter.chanreq, tmp); in _ieee80211_chanctx_compatible()
388 req = ieee80211_chanreq_compatible(iter.chanreq, re in ieee80211_chanctx_reserved_chanreq()
437 ieee80211_find_reservation_chanctx(struct ieee80211_local * local,const struct ieee80211_chan_req * chanreq,enum ieee80211_chanctx_mode mode) ieee80211_find_reservation_chanctx() argument
814 _ieee80211_change_chanctx(struct ieee80211_local * local,struct ieee80211_chanctx * ctx,struct ieee80211_chanctx * old_ctx,const struct ieee80211_chan_req * chanreq,struct ieee80211_link_data * rsvd_for) _ieee80211_change_chanctx() argument
901 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
909 ieee80211_find_chanctx(struct ieee80211_local * local,const struct ieee80211_chan_req * chanreq,enum ieee80211_chanctx_mode mode) ieee80211_find_chanctx() argument
1000 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
1051 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
1439 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
1512 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
1542 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
1615 ieee80211_link_update_chanreq(struct ieee80211_link_data * link,const struct ieee80211_chan_req * chanreq) ieee80211_link_update_chanreq() argument
1650 const struct ieee80211_chan_req *chanreq; ieee80211_link_use_reserved_reassign() local
1731 const struct ieee80211_chan_req *chanreq; ieee80211_link_use_reserved_assign() local
2191 ieee80211_find_or_create_chanctx(struct ieee80211_sub_if_data * sdata,const struct ieee80211_chan_req * chanreq,enum ieee80211_chanctx_mode mode,bool assign_on_failure,bool * reused_ctx) ieee80211_find_or_create_chanctx() argument
2278 _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
2419 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 Dnan.c18 nan_channel->chanreq.oper = cfg_nan_channel->chandef; in ieee80211_nan_init_channel()
33 if (WARN_ON(!cfg80211_chandef_identical(&nan_channel->chanreq.oper, in ieee80211_nan_update_channel()
70 if (!nan_channel->chanreq.oper.chan) in ieee80211_nan_use_chanctx()
73 if (ieee80211_check_combinations(sdata, &nan_channel->chanreq.oper, in ieee80211_nan_use_chanctx()
77 ctx = ieee80211_find_or_create_chanctx(sdata, &nan_channel->chanreq, in ieee80211_nan_use_chanctx()
189 if (!nan_channel->chanreq.oper.chan) in ieee80211_nan_remove_channel()
244 if (!sched_cfg->channels[i].chanreq.oper.chan) in ieee80211_nan_find_free_channel()
302 if (!sched_cfg->channels[i].chanreq.oper.chan) in ieee80211_nan_set_local_sched()
306 if (cfg80211_chandef_identical(&sched_cfg->channels[i].chanreq.oper, in ieee80211_nan_set_local_sched()
381 &sched_cfg->channels[i].chanreq.oper; in ieee80211_nan_set_local_sched()
[all …]
H A Dspectmgmt.c318 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()
336 csa_ie->chanreq.ap = csa_ie->chanreq.oper; in ieee80211_parse_ch_switch_ie()
343 new_chandef = csa_ie->chanreq.oper; in ieee80211_parse_ch_switch_ie()
355 new_chandef = csa_ie->chanreq.oper; in ieee80211_parse_ch_switch_ie()
368 csa_ie->chanreq.ap = new_chandef; in ieee80211_parse_ch_switch_ie()
375 &csa_ie->chanreq in ieee80211_parse_ch_switch_ie()
[all...]
H A Dmesh.c103 cfg80211_chandef_create(&sta_chan_def, sdata->vif.bss_conf.chanreq.oper.chan, in mesh_matches_local()
117 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_20_NOHT) 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()
488 ieee80211_ie_build_ht_oper(pos, ht_cap, &sdata->vif.bss_conf.chanreq.oper, in mesh_add_ht_oper_ie()
510 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_20_NOHT) in mesh_add_vht_cap_ie()
549 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_20_NOHT) in mesh_add_vht_oper_ie()
557 &sdata->vif.bss_conf.chanreq.oper); in mesh_add_vht_oper_ie()
571 if (sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_20_NOHT) in mesh_add_he_cap_ie()
591 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_20_NOHT) in mesh_add_he_oper_ie()
[all …]
H A Dibss.c221 struct ieee80211_chan_req chanreq = {}; in __ieee80211_sta_join_ibss() local
256 chanreq.oper = *req_chandef; in __ieee80211_sta_join_ibss()
257 chan = chanreq.oper.chan; in __ieee80211_sta_join_ibss()
258 if (!cfg80211_reg_can_beacon(local->hw.wiphy, &chanreq.oper, in __ieee80211_sta_join_ibss()
260 if (chanreq.oper.width == NL80211_CHAN_WIDTH_20_NOHT || in __ieee80211_sta_join_ibss()
261 chanreq.oper.width == NL80211_CHAN_WIDTH_20) { in __ieee80211_sta_join_ibss()
266 chanreq.oper.width = NL80211_CHAN_WIDTH_20; in __ieee80211_sta_join_ibss()
267 chanreq.oper.center_freq1 = chan->center_freq; in __ieee80211_sta_join_ibss()
269 if (!cfg80211_reg_can_beacon(local->hw.wiphy, &chanreq.oper, in __ieee80211_sta_join_ibss()
278 &chanreq.oper, NL80211_IFTYPE_ADHOC); in __ieee80211_sta_join_ibss()
[all …]
H A Dmlme.c1159 struct ieee80211_chan_req *chanreq, in ieee80211_set_chanreq_ap() argument
1163 chanreq->ap.chan = NULL; in ieee80211_set_chanreq_ap()
1170 chanreq->ap = *ap_chandef; in ieee80211_set_chanreq_ap()
1178 struct ieee80211_chan_req *chanreq, in ieee80211_determine_chan_mode() argument
1257 chanreq->oper = *ap_chandef; in ieee80211_determine_chan_mode()
1258 if (!cfg80211_chandef_usable(sdata->wdev.wiphy, &chanreq->oper, in ieee80211_determine_chan_mode()
1307 chanreq->oper = *ap_chandef; in ieee80211_determine_chan_mode()
1334 ieee80211_set_chanreq_ap(sdata, chanreq, conn, ap_chandef); in ieee80211_determine_chan_mode()
1336 while (!ieee80211_chandef_usable(sdata, &chanreq->oper, in ieee80211_determine_chan_mode()
1338 if (chanreq in ieee80211_determine_chan_mode()
1611 struct ieee80211_chan_req chanreq = {}; ieee80211_config_bw() local
6771 struct ieee80211_chan_req chanreq = {}; ieee80211_prep_channel() local
[all...]
H A Dcfg.c1070 struct ieee80211_chan_req chanreq = { .oper = *chandef }; in ieee80211_set_monitor_channel() local
1078 &chanreq.oper)) in ieee80211_set_monitor_channel()
1087 cfg80211_chandef_identical(&sdata->vif.bss_conf.chanreq.oper, in ieee80211_set_monitor_channel()
1088 &chanreq.oper)) in ieee80211_set_monitor_channel()
1092 ret = ieee80211_link_use_channel(&sdata->deflink, &chanreq, in ieee80211_set_monitor_channel()
1097 local->monitor_chanreq = chanreq; in ieee80211_set_monitor_channel()
1449 if (link->conf->chanreq.oper.chan->band == NL80211_BAND_S1GHZ) in ieee80211_update_ap_bandwidth()
1653 struct ieee80211_chan_req chanreq = { in ieee80211_start_ap() local
1775 chanreq.oper.npca_chan = NULL; in ieee80211_start_ap()
1776 chanreq.oper.npca_punctured = 0; in ieee80211_start_ap()
[all …]
H A Drate.c302 if (WARN_ON(!link->conf->chanreq.oper.chan)) in ieee80211_check_rate_mask()
305 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 Dieee80211_i.h1116 struct ieee80211_chan_req chanreq; member
1783 struct ieee80211_chan_req chanreq; member
2795 ieee80211_chanreq_downgrade(struct ieee80211_chan_req *chanreq, in ieee80211_chanreq_downgrade() argument
2798 ieee80211_chandef_downgrade(&chanreq->oper, conn); in ieee80211_chanreq_downgrade()
2802 chanreq->ap.chan = NULL; in ieee80211_chanreq_downgrade()
2900 const struct ieee80211_chan_req *chanreq,
3001 struct ieee80211_chan_req *chanreq,
H A Dlink.c178 &link->conf->chanreq.oper, in ieee80211_link_stop()
553 &link->conf->chanreq, in _ieee80211_set_active_links()
H A Dtdls.c162 if (!ieee80211_chandef_to_operating_class(&link->conf->chanreq.oper, in ieee80211_tdls_add_oper_classes()
445 sta->tdls_chandef = link->conf->chanreq.oper; in ieee80211_tdls_add_setup_start_ies()
618 sta->tdls_chandef = link->conf->chanreq.oper; in ieee80211_tdls_add_setup_cfm_ies()
664 &link->conf->chanreq.oper, prot, in ieee80211_tdls_add_setup_cfm_ies()
H A Diface.c579 chandef = sdata->vif.bss_conf.chanreq.oper; in ieee80211_do_stop()
925 WARN_ON(nan_sched->channels[i].chanreq.oper.chan); in ieee80211_teardown_sdata()
1434 sdata->vif.bss_conf.chanreq = master->vif.bss_conf.chanreq; in ieee80211_do_open()
H A Dutil.c1563 chandef.width = sdata->vif.bss_conf.chanreq.oper.width; in ieee80211_build_probe_req()
3711 chandef = link->conf->chanreq.oper; in ieee80211_dfs_cac_cancel()
4203 BIT(link->conf->chanreq.oper.width); in ieee80211_chanctx_radar_detect()
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Drs-fw.c524 if (WARN_ON_ONCE(!link_conf->chanreq.oper.chan)) in rs_fw_get_max_amsdu_len()
527 if (link_conf->chanreq.oper.chan->band == NL80211_BAND_6GHZ) { in rs_fw_get_max_amsdu_len()
537 } else if (link_conf->chanreq.oper.chan->band == NL80211_BAND_2GHZ && in rs_fw_get_max_amsdu_len()
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()
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 Dops.c163 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()
H A Dmac80211.c1777 iwl_mvm_chandef_get_primary_80(&vif->bss_conf.chanreq.oper); in iwl_mvm_mac_add_interface()
3508 if (WARN_ON_ONCE(!link_conf->chanreq.oper.chan || in iwl_mvm_check_he_obss_narrow_bw_ru()
3512 if (!(link_conf->chanreq.oper.chan->flags & IEEE80211_CHAN_RADAR)) { in iwl_mvm_check_he_obss_narrow_bw_ru()
3517 cfg80211_bss_iter(hw->wiphy, &link_conf->chanreq.oper, in iwl_mvm_check_he_obss_narrow_bw_ru()
3577 if (!vif->bss_conf.chanreq.oper.chan) in iwl_mvm_mei_host_associated()
3580 conn_info.channel = vif->bss_conf.chanreq.oper.chan->hw_value; in iwl_mvm_mei_host_associated()
/linux/drivers/net/wireless/silabs/wfx/
H A Dsta.c148 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 Dmain.c406 if (link_conf->chanreq.oper.chan) in mt7925_mac_link_bss_add()
407 chan = link_conf->chanreq.oper.chan; in mt7925_mac_link_bss_add()
1175 struct cfg80211_chan_def *chandef = &link_conf->chanreq.oper; in mt7925_mac_set_links()
1185 secondary_band = link_conf->chanreq.oper.chan->band; in mt7925_mac_set_links()
2599 cfg80211_chandef_create(&link_conf->chanreq.oper, chan, in mt7925_start_nan()
H A Dmcu.c1477 links[i].chan = link_conf->chanreq.oper.chan; in mt7925_mcu_set_mlo_roc()
1911 &link_conf->chanreq.oper; in mt7925_mcu_sta_phy_tlv()
2000 &link_conf->chanreq.oper; in mt7925_mcu_sta_rate_ctrl_tlv()
2472 &link_conf->chanreq.oper; in mt7925_mcu_bss_rlm_tlv()
2572 &link_conf->chanreq.oper; in mt7925_mcu_bss_eht_tlv()
2706 &link_conf->chanreq.oper; in mt7925_mcu_bss_basic_tlv()
2836 &link_conf->chanreq.oper; in mt7925_mcu_bss_bmc_tlv()
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dmac80211.c1233 iwl_mld_chandef_get_primary_80(&vif->bss_conf.chanreq.oper); in iwl_mld_assign_vif_chanctx()
1727 if (WARN_ON_ONCE(!link_conf->chanreq.oper.chan)) in iwl_mld_check_he_obss_narrow_bw_ru()
1730 if (!(link_conf->chanreq.oper.chan->flags & IEEE80211_CHAN_RADAR)) { in iwl_mld_check_he_obss_narrow_bw_ru()
1735 cfg80211_bss_iter(mld->wiphy, &link_conf->chanreq.oper, in iwl_mld_check_he_obss_narrow_bw_ru()
H A Dtx.c334 if (link_conf->chanreq.oper.chan) in iwl_mld_get_basic_rates_and_band()
335 *band = link_conf->chanreq.oper.chan->band; in iwl_mld_get_basic_rates_and_band()
H A Dsta.c497 is_6ghz = link->chanreq.oper.chan->band == NL80211_BAND_6GHZ; in iwl_mld_add_modify_sta_cmd()
/linux/drivers/net/wireless/rsi/
H A Drsi_91x_mac80211.c761 channel = bss->chanreq.oper.chan; in rsi_get_connected_channel()
780 channel = vif->bss_conf.chanreq.oper.chan; in rsi_switch_channel()
/linux/include/net/
H A Dmac80211.h836 struct ieee80211_chan_req chanreq; member
928 struct ieee80211_chan_req chanreq; member

12