| /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() 593 new_chandef = &link_conf->chanreq.oper; in ieee80211_chan_bw_change() [all …]
|
| H A D | mesh.c | 101 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.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 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 | 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()
|
| H A D | ht.c | 260 width = link_conf->chanreq.oper.width; in ieee80211_ht_cap_ie_to_sta_ht_cap()
|
| H A D | iface.c | 572 chandef = sdata->vif.bss_conf.chanreq.oper; in ieee80211_do_stop() 1353 sdata->vif.bss_conf.chanreq = master->vif.bss_conf.chanreq; in ieee80211_do_open()
|
| H A D | trace.h | 541 __entry->channel_width = link_conf->chanreq.oper.width; 542 __entry->channel_cfreq1 = link_conf->chanreq.oper.center_freq1; 543 __entry->channel_cfreq1_offset = link_conf->chanreq.oper.freq1_offset;
|
| /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 | iface.c | 610 if (!link->chanreq.oper.chan || in iwl_mld_handle_datapath_monitor_notif() 611 link->chanreq.oper.chan->band != NL80211_BAND_2GHZ || in iwl_mld_handle_datapath_monitor_notif() 612 link->chanreq.oper.width < NL80211_CHAN_WIDTH_40) in iwl_mld_handle_datapath_monitor_notif()
|
| H A D | mac80211.c | 1141 iwl_mld_chandef_get_primary_80(&vif->bss_conf.chanreq.oper); in iwl_mld_assign_vif_chanctx() 1670 if (WARN_ON_ONCE(!link_conf->chanreq.oper.chan)) in iwl_mld_check_he_obss_narrow_bw_ru() 1673 if (!(link_conf->chanreq.oper.chan->flags & IEEE80211_CHAN_RADAR)) { in iwl_mld_check_he_obss_narrow_bw_ru() 1678 cfg80211_bss_iter(mld->wiphy, &link_conf->chanreq.oper, in iwl_mld_check_he_obss_narrow_bw_ru()
|
| /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/mld/tests/ |
| H A D | link-selection.c | 89 link->chanreq.oper = *test_param->input.link.chandef; in setup_link()
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| 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()
|
| H A D | mac80211.c | 1778 iwl_mvm_chandef_get_primary_80(&vif->bss_conf.chanreq.oper); in iwl_mvm_mac_add_interface() 3511 if (WARN_ON_ONCE(!link_conf->chanreq.oper.chan || in iwl_mvm_check_he_obss_narrow_bw_ru() 3515 if (!(link_conf->chanreq.oper.chan->flags & IEEE80211_CHAN_RADAR)) { in iwl_mvm_check_he_obss_narrow_bw_ru() 3520 cfg80211_bss_iter(hw->wiphy, &link_conf->chanreq.oper, in iwl_mvm_check_he_obss_narrow_bw_ru() 3580 if (!vif->bss_conf.chanreq.oper.chan) in iwl_mvm_mei_host_associated() 3583 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 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/rsi/ |
| H A D | rsi_91x_mac80211.c | 746 channel = bss->chanreq.oper.chan; in rsi_get_connected_channel() 765 channel = vif->bss_conf.chanreq.oper.chan; in rsi_switch_channel()
|