Searched refs:chanreq (Results 1 - 25 of 34) sorted by relevance

12

/linux-master/net/mac80211/
H A Dchan.c174 comp_def = ieee80211_chanreq_compatible(&link_conf->chanreq,
207 const struct ieee80211_chan_req *chanreq,
224 if (!ieee80211_chanctx_can_reserve(local, ctx, chanreq))
322 width = max(link->conf->chanreq.oper.width,
331 width = link->conf->chanreq.oper.width;
480 const struct ieee80211_chan_req *chanreq,
483 const struct cfg80211_chan_def *chandef = &chanreq->oper;
510 if (ieee80211_chanreq_identical(&ctx_req, chanreq)) {
516 !cfg80211_chandef_compatible(&ctx->conf.def, &chanreq->oper));
520 if (!cfg80211_chandef_identical(&ctx->conf.def, &chanreq
206 ieee80211_find_reservation_chanctx(struct ieee80211_local *local, const struct ieee80211_chan_req *chanreq, enum ieee80211_chanctx_mode mode) argument
477 _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) argument
542 ieee80211_change_chanctx(struct ieee80211_local *local, struct ieee80211_chanctx *ctx, struct ieee80211_chanctx *old_ctx, const struct ieee80211_chan_req *chanreq) argument
551 ieee80211_find_chanctx(struct ieee80211_local *local, const struct ieee80211_chan_req *chanreq, enum ieee80211_chanctx_mode mode) argument
624 ieee80211_alloc_chanctx(struct ieee80211_local *local, const struct ieee80211_chan_req *chanreq, enum ieee80211_chanctx_mode mode) argument
674 ieee80211_new_chanctx(struct ieee80211_local *local, const struct ieee80211_chan_req *chanreq, enum ieee80211_chanctx_mode mode) argument
1029 ieee80211_link_reserve_chanctx(struct ieee80211_link_data *link, const struct ieee80211_chan_req *chanreq, enum ieee80211_chanctx_mode mode, bool radar_required) argument
1158 ieee80211_link_update_chanreq(struct ieee80211_link_data *link, const struct ieee80211_chan_req *chanreq) argument
1190 const struct ieee80211_chan_req *chanreq; local
1272 const struct ieee80211_chan_req *chanreq; local
1709 ieee80211_link_use_channel(struct ieee80211_link_data *link, const struct ieee80211_chan_req *chanreq, enum ieee80211_chanctx_mode mode) argument
1877 ieee80211_link_change_chanreq(struct ieee80211_link_data *link, const struct ieee80211_chan_req *chanreq, u64 *changed) argument
[all...]
H A Dspectmgmt.c316 cfg80211_chandef_create(&csa_ie->chanreq.oper, new_chan,
320 cfg80211_chandef_create(&csa_ie->chanreq.oper, new_chan,
324 cfg80211_chandef_create(&csa_ie->chanreq.oper, new_chan,
328 cfg80211_chandef_create(&csa_ie->chanreq.oper, new_chan,
331 switch (sdata->vif.bss_conf.chanreq.oper.width) {
334 csa_ie->chanreq.oper.width =
335 sdata->vif.bss_conf.chanreq.oper.width;
348 new_chandef = csa_ie->chanreq.oper;
355 new_chandef = csa_ie->chanreq.oper;
377 &csa_ie->chanreq
[all...]
H A Dmesh.c100 cfg80211_chandef_create(&sta_chan_def, sdata->vif.bss_conf.chanreq.oper.chan,
114 if (!cfg80211_chandef_compatible(&sdata->vif.bss_conf.chanreq.oper,
439 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_20_NOHT ||
440 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_5 ||
441 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_10)
480 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_20_NOHT ||
481 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_5 ||
482 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_10)
489 ieee80211_ie_build_ht_oper(pos, ht_cap, &sdata->vif.bss_conf.chanreq.oper,
511 sdata->vif.bss_conf.chanreq
[all...]
H A Dibss.c226 struct ieee80211_chan_req chanreq = {}; local
260 chanreq.oper = *req_chandef;
261 chan = chanreq.oper.chan;
262 if (!cfg80211_reg_can_beacon(local->hw.wiphy, &chanreq.oper,
264 if (chanreq.oper.width == NL80211_CHAN_WIDTH_5 ||
265 chanreq.oper.width == NL80211_CHAN_WIDTH_10 ||
266 chanreq.oper.width == NL80211_CHAN_WIDTH_20_NOHT ||
267 chanreq.oper.width == NL80211_CHAN_WIDTH_20) {
272 chanreq.oper.width = NL80211_CHAN_WIDTH_20;
273 chanreq
[all...]
H A Docb.c171 struct ieee80211_chan_req chanreq = { .oper = setup->chandef }; local
186 err = ieee80211_link_use_channel(&sdata->deflink, &chanreq,
H A Dmlme.c609 struct ieee80211_chan_req *chanreq)
700 chanreq->oper = ap_chandef;
705 chanreq->ap = ap_chandef;
707 chanreq->ap.chan = NULL;
709 while (!ieee80211_chandef_usable(sdata, &chanreq->oper,
711 if (WARN_ON(chanreq->oper.width == NL80211_CHAN_WIDTH_20_NOHT)) {
716 ieee80211_chanreq_downgrade(chanreq, conn);
720 !cfg80211_chandef_usable(sdata->wdev.wiphy, &chanreq->oper,
729 !cfg80211_chandef_usable(sdata->wdev.wiphy, &chanreq->oper,
737 if (chanreq
606 ieee80211_determine_chan_mode(struct ieee80211_sub_if_data *sdata, struct ieee80211_conn_settings *conn, struct cfg80211_bss *cbss, int link_id, struct ieee80211_chan_req *chanreq) argument
788 struct ieee80211_chan_req chanreq = {}; local
5006 struct ieee80211_chan_req chanreq = {}; local
[all...]
H A Dcfg.c889 struct ieee80211_chan_req chanreq = { .oper = *chandef }; local
895 &chanreq.oper))
903 if (cfg80211_chandef_identical(&sdata->vif.bss_conf.chanreq.oper,
904 &chanreq.oper))
908 ret = ieee80211_link_use_channel(&sdata->deflink, &chanreq,
913 local->monitor_chanreq = chanreq;
1286 struct ieee80211_chan_req chanreq = { .oper = params->chandef }; local
1397 err = ieee80211_link_use_channel(link, &chanreq,
1664 chandef = link_conf->chanreq.oper;
1864 ieee80211_parse_bitrates(link->conf->chanreq
2639 struct ieee80211_chan_req chanreq = { .oper = setup->chandef }; local
3445 struct ieee80211_chan_req chanreq = { .oper = *chandef }; local
3931 struct ieee80211_chan_req chanreq = { .oper = params->chandef }; local
4337 struct ieee80211_chan_req chanreq = { .oper = *chandef }; local
[all...]
H A Drate.c282 if (WARN_ON(!link->conf->chanreq.oper.chan))
285 band = link->conf->chanreq.oper.chan->band;
765 flags = ieee80211_chandef_rate_flags(&sdata->vif.bss_conf.chanreq.oper);
821 chan_width = sta->sdata->vif.bss_conf.chanreq.oper.width;
858 chan_width = sdata->vif.bss_conf.chanreq.oper.width;
H A Dvht.c372 link_conf->chanreq.oper.chan->band == NL80211_BAND_6GHZ) {
383 if (link_conf->chanreq.oper.chan->band == NL80211_BAND_2GHZ) {
518 bss_width = link_conf->chanreq.oper.width;
H A Dmesh_plink.c166 switch (sdata->vif.bss_conf.chanreq.oper.width) {
199 sdata->vif.bss_conf.chanreq.oper.width > NL80211_CHAN_WIDTH_20)
284 ieee80211_chandef_rate_flags(&sdata->vif.bss_conf.chanreq.oper);
H A Dtdls.c162 if (!ieee80211_chandef_to_operating_class(&link->conf->chanreq.oper,
441 sta->tdls_chandef = link->conf->chanreq.oper;
614 sta->tdls_chandef = link->conf->chanreq.oper;
660 &link->conf->chanreq.oper, prot,
H A Dlink.c408 &link->conf->chanreq,
H A Dht.c260 width = link_conf->chanreq.oper.width;
H A Dieee80211_i.h1659 struct ieee80211_chan_req chanreq; member in struct:ieee80211_csa_ie
2538 ieee80211_chanreq_downgrade(struct ieee80211_chan_req *chanreq, argument
2541 ieee80211_chandef_downgrade(&chanreq->oper, conn);
2545 chanreq->ap.chan = NULL;
H A Diface.c560 chandef = sdata->vif.bss_conf.chanreq.oper;
1255 sdata->vif.bss_conf.chanreq = master->vif.bss_conf.chanreq;
H A Dutil.c1489 chandef.width = sdata->vif.bss_conf.chanreq.oper.width;
1530 ieee80211_chandef_rate_flags(&sdata->vif.bss_conf.chanreq.oper);
3452 chandef = sdata->vif.bss_conf.chanreq.oper;
3915 BIT(link->conf->chanreq.oper.width);
H A Dagg-tx.c619 sta->sdata->vif.bss_conf.chanreq.oper.chan->band != NL80211_BAND_6GHZ)
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dmld-mac80211.c659 data[n_data].band = link_conf->chanreq.oper.chan->band;
660 data[n_data].width = link_conf->chanreq.oper.width;
1244 data[n_data].band = link_conf->chanreq.oper.chan->band;
1245 data[n_data].width = link_conf->chanreq.oper.width;
1302 if (link_conf->chanreq.oper.chan->band != NL80211_BAND_2GHZ)
H A Drs-fw.c534 if (WARN_ON_ONCE(!link_conf->chanreq.oper.chan))
537 if (link_conf->chanreq.oper.chan->band == NL80211_BAND_6GHZ) {
547 } else if (link_conf->chanreq.oper.chan->band == NL80211_BAND_2GHZ &&
H A Dops.c164 if (!vif->bss_conf.chanreq.oper.chan ||
165 vif->bss_conf.chanreq.oper.chan->band != NL80211_BAND_2GHZ ||
166 vif->bss_conf.chanreq.oper.width < NL80211_CHAN_WIDTH_40)
222 link_conf->chanreq.oper.width == NL80211_CHAN_WIDTH_160 &&
H A Dmac-ctxt.c469 if (link_conf->chanreq.oper.width > NL80211_CHAN_WIDTH_20)
508 if (link_conf->chanreq.oper.width != NL80211_CHAN_WIDTH_20_NOHT)
924 if (link_conf->chanreq.oper.chan)
925 band = link_conf->chanreq.oper.chan->band;
H A Dmac80211.c1667 iwl_mvm_chandef_get_primary_80(&vif->bss_conf.chanreq.oper);
3443 if (WARN_ON_ONCE(!link_conf->chanreq.oper.chan ||
3447 if (!(link_conf->chanreq.oper.chan->flags & IEEE80211_CHAN_RADAR)) {
3452 cfg80211_bss_iter(hw->wiphy, &link_conf->chanreq.oper,
3512 if (!vif->bss_conf.chanreq.oper.chan)
3515 conn_info.channel = vif->bss_conf.chanreq.oper.chan->hw_value;
/linux-master/drivers/net/wireless/silabs/wfx/
H A Dsta.c147 chan0 = vif_ch0->bss_conf.chanreq.oper.chan;
153 chan1 = vif_ch1->bss_conf.chanreq.oper.chan;
/linux-master/drivers/net/wireless/rsi/
H A Drsi_91x_mac80211.c743 channel = bss->chanreq.oper.chan;
762 channel = vif->bss_conf.chanreq.oper.chan;
/linux-master/drivers/staging/vt6656/
H A Dmain_usb.c797 vnt_rf_setpower(priv, conf->chanreq.oper.chan);

Completed in 373 milliseconds

12