Home
last modified time | relevance | path

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

/net/mac80211/
A Dchan.c572 ctx->conf.ap = chanreq->ap; in _ieee80211_change_chanctx()
721 ctx->conf.def = chanreq->oper; in ieee80211_alloc_chanctx()
722 ctx->conf.ap = chanreq->ap; in ieee80211_alloc_chanctx()
1283 link->reserved = *chanreq; in ieee80211_link_reserve_chanctx()
1329 link->conf->chanreq = *chanreq; in ieee80211_link_update_chanreq()
1342 vlan_conf->chanreq = *chanreq; in ieee80211_link_update_chanreq()
1380 if (WARN_ON(!chanreq)) in ieee80211_link_use_reserved_reassign()
1460 if (WARN_ON(!chanreq)) in ieee80211_link_use_reserved_assign()
1922 &chanreq->oper, in _ieee80211_link_use_channel()
2104 &chanreq->oper, in ieee80211_link_change_chanreq()
[all …]
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()
333 switch (sdata->vif.bss_conf.chanreq.oper.width) { in ieee80211_parse_ch_switch_ie()
336 csa_ie->chanreq.oper.width = in ieee80211_parse_ch_switch_ie()
337 sdata->vif.bss_conf.chanreq.oper.width; in ieee80211_parse_ch_switch_ie()
346 csa_ie->chanreq.ap = csa_ie->chanreq.oper; in ieee80211_parse_ch_switch_ie()
353 new_chandef = csa_ie->chanreq.oper; in ieee80211_parse_ch_switch_ie()
364 new_chandef = csa_ie->chanreq.oper; in ieee80211_parse_ch_switch_ie()
377 csa_ie->chanreq.ap = new_chandef; in ieee80211_parse_ch_switch_ie()
384 &csa_ie->chanreq.oper)) { in ieee80211_parse_ch_switch_ie()
[all …]
A Dmesh.c115 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_10) in mesh_add_ht_cap_ie()
483 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_10) in mesh_add_ht_oper_ie()
563 &sdata->vif.bss_conf.chanreq.oper); in mesh_add_vht_oper_ie()
612 ieee80211_ie_build_he_oper(pos, &sdata->vif.bss_conf.chanreq.oper); in mesh_add_he_oper_ie()
1263 &sdata->vif.bss_conf.chanreq.oper, in ieee80211_mesh_csa_mark_radar()
1267 &sdata->vif.bss_conf.chanreq.oper, in ieee80211_mesh_csa_mark_radar()
1289 switch (sdata->vif.bss_conf.chanreq.oper.width) { in ieee80211_mesh_process_chnswitch()
1326 params.chandef = csa_ie.chanreq.oper; in ieee80211_mesh_process_chnswitch()
1362 &sdata->vif.bss_conf.chanreq.oper)) { in ieee80211_mesh_process_chnswitch()
[all …]
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()
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()
270 chanreq.oper.width = NL80211_CHAN_WIDTH_20; in __ieee80211_sta_join_ibss()
271 chanreq.oper.center_freq1 = chan->center_freq; in __ieee80211_sta_join_ibss()
282 &chanreq.oper, NL80211_IFTYPE_ADHOC); in __ieee80211_sta_join_ibss()
308 capability, tsf, &chanreq.oper, in __ieee80211_sta_join_ibss()
796 params.chandef = csa_ie.chanreq.oper; in ieee80211_ibss_process_chanswitch()
[all …]
A Dmlme.c978 chanreq->ap.chan = NULL; in ieee80211_set_chanreq_ap()
985 chanreq->ap = *ap_chandef; in ieee80211_set_chanreq_ap()
1300 &chanreq.oper); in ieee80211_config_bw()
1307 if (ieee80211_chanreq_identical(&chanreq, &link->conf->chanreq)) in ieee80211_config_bw()
1313 chanreq.oper.chan->freq_offset, chanreq.oper.width, in ieee80211_config_bw()
1314 chanreq.oper.center_freq1, chanreq.oper.freq1_offset, in ieee80211_config_bw()
1325 link->conf->chanreq = chanreq; in ieee80211_config_bw()
2436 link->conf->chanreq = link->csa.chanreq; in ieee80211_csa_switch_work()
2941 link->csa.chanreq.oper = csa_ie.chanreq.oper; in ieee80211_sta_process_chanswitch()
2943 &csa_ie.chanreq.ap); in ieee80211_sta_process_chanswitch()
[all …]
A Dcfg.c948 &chanreq.oper)) in ieee80211_set_monitor_channel()
958 &chanreq.oper)) in ieee80211_set_monitor_channel()
967 local->monitor_chanreq = chanreq; in ieee80211_set_monitor_channel()
1501 err = ieee80211_link_use_channel(link, &chanreq, in ieee80211_start_ap()
1796 chandef = link_conf->chanreq.oper; in ieee80211_stop_ap()
3619 sdata->vif.bss_conf.chanreq.oper.chan) { in ieee80211_set_bitrate_mask()
4008 &link_data->csa.chanreq.oper)) in __ieee80211_csa_finalize()
4269 ch_switch.chandef = chanreq.oper; in __ieee80211_channel_switch()
4299 link_data->csa.chanreq = chanreq; in __ieee80211_channel_switch()
4306 &link_data->csa.chanreq.oper, link_id, in __ieee80211_channel_switch()
[all …]
A Docb.c171 struct ieee80211_chan_req chanreq = { .oper = setup->chandef }; in ieee80211_ocb_join() local
186 err = ieee80211_link_use_channel(&sdata->deflink, &chanreq, in ieee80211_ocb_join()
A Drate.c301 if (WARN_ON(!link->conf->chanreq.oper.chan)) in ieee80211_check_rate_mask()
304 band = link->conf->chanreq.oper.chan->band; in ieee80211_check_rate_mask()
834 chan_width = sta->sdata->vif.bss_conf.chanreq.oper.width; in rate_control_apply_mask_ratetbl()
871 chan_width = sdata->vif.bss_conf.chanreq.oper.width; in rate_control_apply_mask()
A Dlink.c166 &link->conf->chanreq.oper, in ieee80211_link_stop()
501 &link->conf->chanreq, in _ieee80211_set_active_links()
A Dieee80211_i.h1080 struct ieee80211_chan_req chanreq; member
1737 struct ieee80211_chan_req chanreq; member
2710 ieee80211_chanreq_downgrade(struct ieee80211_chan_req *chanreq, in ieee80211_chanreq_downgrade() argument
2713 ieee80211_chandef_downgrade(&chanreq->oper, conn); in ieee80211_chanreq_downgrade()
2717 chanreq->ap.chan = NULL; in ieee80211_chanreq_downgrade()
2879 struct ieee80211_chan_req *chanreq,
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()
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()
A Dhe.c261 band = link->conf->chanreq.oper.chan->band; in ieee80211_link_sta_rc_update_omi()
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()
A Dht.c260 width = link_conf->chanreq.oper.width; in ieee80211_ht_cap_ie_to_sta_ht_cap()
A Diface.c551 chandef = sdata->vif.bss_conf.chanreq.oper; in ieee80211_do_stop()
1304 sdata->vif.bss_conf.chanreq = master->vif.bss_conf.chanreq; in ieee80211_do_open()
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;
A Dutil.c1489 chandef.width = sdata->vif.bss_conf.chanreq.oper.width; in ieee80211_build_probe_req()
3527 chandef = link->conf->chanreq.oper; in ieee80211_dfs_cac_cancel()
4009 BIT(link->conf->chanreq.oper.width); in ieee80211_chanctx_radar_detect()
A Drx.c853 chandef = &sdata->vif.bss_conf.chanreq.oper; in ieee80211_rx_monitor()
/net/mac80211/tests/
A Dchan-mode.c198 struct ieee80211_chan_req chanreq = {}; in KUNIT_ARRAY_PARAM_DESC() local
226 0, &chanreq, &ap_chandef, in KUNIT_ARRAY_PARAM_DESC()

Completed in 89 milliseconds