Home
last modified time | relevance | path

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

/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()
327 ret = ieee80211_chanreq_compatible(ret, iter.chanreq, tmp); in _ieee80211_chanctx_compatible()
359 req = ieee80211_chanreq_compatible(iter.chanreq, req, tmp); in ieee80211_chanctx_reserved_chanreq()
382 comp_def = ieee80211_chanreq_compatible(iter.chanreq, in ieee80211_chanctx_non_reserved_chandef()
415 const struct ieee80211_chan_req *chanreq, in ieee80211_find_reservation_chanctx() argument
[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()
443 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_5 || in mesh_add_ht_cap_ie()
444 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_10) in mesh_add_ht_cap_ie()
483 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_ht_oper_ie()
484 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_5 || in mesh_add_ht_oper_ie()
485 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_10) in mesh_add_ht_oper_ie()
492 ieee80211_ie_build_ht_oper(pos, ht_cap, &sdata->vif.bss_conf.chanreq.oper, in mesh_add_ht_oper_ie()
514 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_vht_cap_ie()
[all …]
H A Dmlme.c1049 struct ieee80211_chan_req *chanreq, in ieee80211_set_chanreq_ap() argument
1053 chanreq->ap.chan = NULL; in ieee80211_set_chanreq_ap()
1060 chanreq->ap = *ap_chandef; in ieee80211_set_chanreq_ap()
1067 struct ieee80211_chan_req *chanreq, in ieee80211_determine_chan_mode() argument
1128 chanreq->oper = *ap_chandef; in ieee80211_determine_chan_mode()
1129 if (!cfg80211_chandef_usable(sdata->wdev.wiphy, &chanreq->oper, in ieee80211_determine_chan_mode()
1178 chanreq->oper = *ap_chandef; in ieee80211_determine_chan_mode()
1205 ieee80211_set_chanreq_ap(sdata, chanreq, conn, ap_chandef); in ieee80211_determine_chan_mode()
1207 while (!ieee80211_chandef_usable(sdata, &chanreq->oper, in ieee80211_determine_chan_mode()
1209 if (chanreq->oper.width == NL80211_CHAN_WIDTH_20_NOHT) { in ieee80211_determine_chan_mode()
[all …]
H A Docb.c174 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 Dcfg.c1065 struct ieee80211_chan_req chanreq = { .oper = *chandef }; in ieee80211_set_monitor_channel() local
1073 &chanreq.oper)) in ieee80211_set_monitor_channel()
1082 cfg80211_chandef_identical(&sdata->vif.bss_conf.chanreq.oper, in ieee80211_set_monitor_channel()
1083 &chanreq.oper)) in ieee80211_set_monitor_channel()
1087 ret = ieee80211_link_use_channel(&sdata->deflink, &chanreq, in ieee80211_set_monitor_channel()
1092 local->monitor_chanreq = chanreq; in ieee80211_set_monitor_channel()
1499 struct ieee80211_chan_req chanreq = { .oper = params->chandef }; in ieee80211_start_ap() local
1623 err = ieee80211_link_use_channel(link, &chanreq, in ieee80211_start_ap()
1921 chandef = link_conf->chanreq.oper; in ieee80211_stop_ap()
2227 enum nl80211_chan_width width = link->conf->chanreq.oper.width; in sta_link_apply_parameters()
[all …]
H A Drate.c304 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 Dlink.c178 &link->conf->chanreq.oper, in ieee80211_link_stop()
515 &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()
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/net/mac80211/tests/
H A Dchan-mode.c214 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/
H A Diface.c659 if (!link->chanreq.oper.chan || in iwl_mld_handle_datapath_monitor_notif()
660 link->chanreq.oper.chan->band != NL80211_BAND_2GHZ || in iwl_mld_handle_datapath_monitor_notif()
661 link->chanreq.oper.width < NL80211_CHAN_WIDTH_40) in iwl_mld_handle_datapath_monitor_notif()
H A Dmlo.c746 data[n_data].chandef = &link_conf->chanreq.oper; in iwl_mld_set_link_sel_data()
1051 if (WARN_ON(!link->chanreq.oper.chan)) in iwl_mld_emlsr_check_bt_iter()
1054 if (link->chanreq.oper.chan->band == NL80211_BAND_2GHZ) { in iwl_mld_emlsr_check_bt_iter()
H A Dmac80211.c1167 iwl_mld_chandef_get_primary_80(&vif->bss_conf.chanreq.oper); in iwl_mld_assign_vif_chanctx()
1698 if (WARN_ON_ONCE(!link_conf->chanreq.oper.chan)) in iwl_mld_check_he_obss_narrow_bw_ru()
1701 if (!(link_conf->chanreq.oper.chan->flags & IEEE80211_CHAN_RADAR)) { in iwl_mld_check_he_obss_narrow_bw_ru()
1706 cfg80211_bss_iter(mld->wiphy, &link_conf->chanreq.oper, in iwl_mld_check_he_obss_narrow_bw_ru()
H A Dscan.c1976 channels[n_channels++] = link_conf->chanreq.oper.chan; in iwl_mld_int_mlo_scan()
/linux/drivers/net/wireless/intel/iwlwifi/mld/tests/
H A Dlink-selection.c89 link->chanreq.oper = *test_param->input.link.chandef; in setup_link()
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
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 Dsta.c74 if (link_conf->chanreq.oper.chan->band == NL80211_BAND_6GHZ) { in iwl_mvm_get_sta_ampdu_dens()
211 mvm_sta->vif->bss_conf.chanreq.oper.chan->band == NL80211_BAND_6GHZ) in iwl_mvm_sta_send_to_fw()
/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/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.h802 struct ieee80211_chan_req chanreq; member
890 struct ieee80211_chan_req chanreq; member
/linux/drivers/net/wireless/ti/wlcore/
H A Dmain.c2988 wlvif->channel_type = cfg80211_get_chandef_type(&bss_conf->chanreq.oper); in wlcore_set_assoc()
4318 (bss_conf->chanreq.oper.width != NL80211_CHAN_WIDTH_20_NOHT)) { in wl1271_bss_info_changed_ap()
4591 bss_conf->chanreq.oper.width != NL80211_CHAN_WIDTH_20_NOHT; in wl1271_bss_info_changed_sta()
/linux/drivers/net/wireless/ath/ath12k/
H A Dmac.c7579 chan = info->chanreq.oper.chan; in ath12k_mac_select_links()