Home
last modified time | relevance | path

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

/linux/net/mac80211/
H A Dchan.c16 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 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.c972 struct ieee80211_chan_req *chanreq, in ieee80211_set_chanreq_ap() argument
976 chanreq->ap.chan = NULL; in ieee80211_set_chanreq_ap()
983 chanreq->ap = *ap_chandef; in ieee80211_set_chanreq_ap()
990 struct ieee80211_chan_req *chanreq, in ieee80211_determine_chan_mode() argument
1051 chanreq->oper = *ap_chandef; in ieee80211_determine_chan_mode()
1052 if (!cfg80211_chandef_usable(sdata->wdev.wiphy, &chanreq->oper, in ieee80211_determine_chan_mode()
1100 chanreq->oper = *ap_chandef; in ieee80211_determine_chan_mode()
1125 ieee80211_set_chanreq_ap(sdata, chanreq, conn, ap_chandef); in ieee80211_determine_chan_mode()
1127 while (!ieee80211_chandef_usable(sdata, &chanreq->oper, in ieee80211_determine_chan_mode()
1129 if (chanreq->oper.width == NL80211_CHAN_WIDTH_20_NOHT) { in ieee80211_determine_chan_mode()
[all …]
H A Dcfg.c1061 struct ieee80211_chan_req chanreq = { .oper = *chandef }; in ieee80211_set_monitor_channel() local
1069 &chanreq.oper)) in ieee80211_set_monitor_channel()
1078 cfg80211_chandef_identical(&sdata->vif.bss_conf.chanreq.oper, in ieee80211_set_monitor_channel()
1079 &chanreq.oper)) in ieee80211_set_monitor_channel()
1083 ret = ieee80211_link_use_channel(&sdata->deflink, &chanreq, in ieee80211_set_monitor_channel()
1088 local->monitor_chanreq = chanreq; in ieee80211_set_monitor_channel()
1495 struct ieee80211_chan_req chanreq = { .oper = params->chandef }; in ieee80211_start_ap() local
1612 err = ieee80211_link_use_channel(link, &chanreq, in ieee80211_start_ap()
1910 chandef = link_conf->chanreq.oper; in ieee80211_stop_ap()
2128 !ieee80211_parse_bitrates(link->conf->chanreq.oper.width, in sta_link_apply_parameters()
[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 Dlink.c161 &link->conf->chanreq.oper, in ieee80211_link_stop()
496 &link->conf->chanreq, in _ieee80211_set_active_links()
H A Dieee80211_i.h1084 struct ieee80211_chan_req chanreq; member
1745 struct ieee80211_chan_req chanreq; member
2711 ieee80211_chanreq_downgrade(struct ieee80211_chan_req *chanreq, in ieee80211_chanreq_downgrade() argument
2714 ieee80211_chandef_downgrade(&chanreq->oper, conn); in ieee80211_chanreq_downgrade()
2718 chanreq->ap.chan = NULL; in ieee80211_chanreq_downgrade()
2878 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 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()
H A 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()
H A Dht.c260 width = link_conf->chanreq.oper.width; in ieee80211_ht_cap_ie_to_sta_ht_cap()
H A Diface.c568 chandef = sdata->vif.bss_conf.chanreq.oper; in ieee80211_do_stop()
1349 sdata->vif.bss_conf.chanreq = master->vif.bss_conf.chanreq; in ieee80211_do_open()
H A Dtrace.h541 __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;
H A Drx.c930 chandef = &sdata->vif.bss_conf.chanreq.oper; in ieee80211_rx_monitor()
/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()
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 Dpower.c345 if (link->chanreq.oper.chan->band != NL80211_BAND_6GHZ) in iwl_mld_send_ap_tx_power_constraint_cmd()
/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/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()
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()
/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.c746 channel = bss->chanreq.oper.chan; in rsi_get_connected_channel()
765 channel = vif->bss_conf.chanreq.oper.chan; in rsi_switch_channel()
/linux/drivers/net/wireless/ath/ath11k/
H A Dmac.c8147 ath11k_mac_get_num_pwr_levels(&bss_conf->chanreq.oper); in ath11k_mac_fill_reg_tpc_info()
/linux/drivers/net/wireless/ath/ath12k/
H A Dmac.c7230 chan = info->chanreq.oper.chan; in ath12k_mac_select_links()