Home
last modified time | relevance | path

Searched refs:bss_conf (Results 1 – 25 of 28) sorted by relevance

12

/net/mac80211/
Dmesh.c95 if (sdata->vif.bss_conf.basic_rates != basic_rates) in mesh_matches_local()
98 cfg80211_chandef_create(&sta_chan_def, sdata->vif.bss_conf.chandef.chan, in mesh_matches_local()
111 if (!cfg80211_chandef_compatible(&sdata->vif.bss_conf.chandef, in mesh_matches_local()
403 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in mesh_add_ds_params_ie()
434 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_ht_cap_ie()
435 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_5 || in mesh_add_ht_cap_ie()
436 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_10) in mesh_add_ht_cap_ie()
459 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in mesh_add_ht_oper_ie()
475 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_ht_oper_ie()
476 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_5 || in mesh_add_ht_oper_ie()
[all …]
Dcfg.c61 memcpy(sdata->vif.bss_conf.mu_group.membership, in ieee80211_set_mu_mimo_follow()
63 memcpy(sdata->vif.bss_conf.mu_group.position, in ieee80211_set_mu_mimo_follow()
81 sdata->vif.bss_conf.mu_mimo_owner = mu_mimo_groups || mu_mimo_follow; in ieee80211_set_mu_mimo_follow()
2493 memcpy(sdata->vif.bss_conf.mcast_rate, setup->mcast_rate, in copy_mesh_setup()
2495 sdata->vif.bss_conf.basic_rates = setup->basic_rates; in copy_mesh_setup()
2497 sdata->vif.bss_conf.beacon_int = setup->beacon_interval; in copy_mesh_setup()
2498 sdata->vif.bss_conf.dtim_period = setup->dtim_period; in copy_mesh_setup()
2600 sdata->vif.bss_conf.ht_operation_mode = nconf->ht_opmode; in ieee80211_update_mesh_config()
2953 memcpy(sdata->vif.bss_conf.mcast_rate, rate, in ieee80211_set_mcast_rate()
3054 if (txp_type != sdata->vif.bss_conf.txpower_type) { in ieee80211_set_tx_power()
[all …]
Dmlme.c736 if (other->vif.bss_conf.mu_mimo_owner) { in ieee80211_add_vht_ie()
2700 struct ieee80211_bss_conf *bss_conf = link->conf; in ieee80211_handle_bss_capability() local
2724 if (use_protection != bss_conf->use_cts_prot) { in ieee80211_handle_bss_capability()
2725 bss_conf->use_cts_prot = use_protection; in ieee80211_handle_bss_capability()
2729 if (use_short_preamble != bss_conf->use_short_preamble) { in ieee80211_handle_bss_capability()
2730 bss_conf->use_short_preamble = use_short_preamble; in ieee80211_handle_bss_capability()
2734 if (use_short_slot != bss_conf->use_short_slot) { in ieee80211_handle_bss_capability()
2735 bss_conf->use_short_slot = use_short_slot; in ieee80211_handle_bss_capability()
2746 struct ieee80211_bss_conf *bss_conf = link->conf; in ieee80211_link_set_associated() local
2753 bss_conf->beacon_int)); in ieee80211_link_set_associated()
[all …]
Dhe.c213 memset(&vif->bss_conf.he_oper, 0, sizeof(vif->bss_conf.he_oper)); in ieee80211_he_op_ie_to_bss_conf()
217 vif->bss_conf.he_oper.params = __le32_to_cpu(he_op_ie->he_oper_params); in ieee80211_he_op_ie_to_bss_conf()
218 vif->bss_conf.he_oper.nss_set = __le16_to_cpu(he_op_ie->he_mcs_nss_set); in ieee80211_he_op_ie_to_bss_conf()
226 &vif->bss_conf.he_obss_pd; in ieee80211_he_spr_ie_to_bss_conf()
Diface.c54 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in __ieee80211_recalc_txpower()
69 if (power != sdata->vif.bss_conf.txpower) { in __ieee80211_recalc_txpower()
70 sdata->vif.bss_conf.txpower = power; in __ieee80211_recalc_txpower()
285 ether_addr_copy(sdata->vif.bss_conf.addr, sdata->vif.addr); in _ieee80211_change_mac()
368 if (nsdata->vif.bss_conf.csa_active) in ieee80211_check_concurrent_iface()
550 sdata->vif.bss_conf.csa_active = false; in ieee80211_do_stop()
567 chandef = sdata->vif.bss_conf.chandef; in ieee80211_do_stop()
602 RCU_INIT_POINTER(sdata->vif.bss_conf.chanctx_conf, NULL); in ieee80211_do_stop()
675 sdata->vif.bss_conf.beacon_int = 0; in ieee80211_do_stop()
1131 ieee80211_link_init(sdata, -1, &sdata->deflink, &sdata->vif.bss_conf); in ieee80211_sdata_init()
[all …]
Dibss.c250 sdata->vif.bss_conf.enable_beacon = false; in __ieee80211_sta_join_ibss()
325 sdata->vif.bss_conf.enable_beacon = true; in __ieee80211_sta_join_ibss()
326 sdata->vif.bss_conf.beacon_int = beacon_int; in __ieee80211_sta_join_ibss()
327 sdata->vif.bss_conf.basic_rates = basic_rates; in __ieee80211_sta_join_ibss()
350 sdata->vif.bss_conf.use_short_slot = chan->band == NL80211_BAND_5GHZ; in __ieee80211_sta_join_ibss()
366 sdata->vif.bss_conf.enable_beacon = false; in __ieee80211_sta_join_ibss()
512 sdata->vif.bss_conf.beacon_int, in ieee80211_ibss_csa_beacon()
513 sdata->vif.bss_conf.basic_rates, in ieee80211_ibss_csa_beacon()
626 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_ibss_add_sta()
713 sdata->vif.bss_conf.enable_beacon = false; in ieee80211_ibss_disconnect()
[all …]
Dmain.c151 if (!rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf)) in ieee80211_hw_conf_chan()
155 if (sdata->vif.bss_conf.txpower == INT_MIN) in ieee80211_hw_conf_chan()
157 power = min(power, sdata->vif.bss_conf.txpower); in ieee80211_hw_conf_chan()
232 !sdata->vif.bss_conf.mu_mimo_owner && in ieee80211_bss_info_change_notify()
251 trace_drv_link_info_changed(local, sdata, &sdata->vif.bss_conf, in ieee80211_bss_info_change_notify()
255 &sdata->vif.bss_conf, ch); in ieee80211_bss_info_change_notify()
260 &sdata->vif.bss_conf, changed); in ieee80211_bss_info_change_notify()
296 sdata->vif.bss_conf.use_cts_prot = false; in ieee80211_reset_erp_info()
297 sdata->vif.bss_conf.use_short_preamble = false; in ieee80211_reset_erp_info()
298 sdata->vif.bss_conf.use_short_slot = false; in ieee80211_reset_erp_info()
[all …]
Drate.c47 chanctx_conf = rcu_dereference(sta->sdata->vif.bss_conf.chanctx_conf); in rate_control_rate_init()
109 chanctx_conf = rcu_dereference(sta->sdata->vif.bss_conf.chanctx_conf); in rate_control_rate_update()
409 mcast_rate = txrc->bss_conf->mcast_rate[sband->band]; in rate_control_send_low()
423 txrc->bss_conf->basic_rates, in rate_control_send_low()
635 u32 basic_rates = vif->bss_conf.basic_rates; in rate_fixup_ratelist()
765 flags = ieee80211_chandef_rate_flags(&sdata->vif.bss_conf.chandef); in rate_control_cap_mask()
821 chan_width = sta->sdata->vif.bss_conf.chandef.width; in rate_control_apply_mask_ratetbl()
858 chan_width = sdata->vif.bss_conf.chandef.width; in rate_control_apply_mask()
Dutil.c193 short_preamble = sdata->vif.bss_conf.use_short_preamble; in ieee80211_generic_frame_duration()
227 short_preamble = sdata->vif.bss_conf.use_short_preamble; in ieee80211_rts_duration()
270 short_preamble = sdata->vif.bss_conf.use_short_preamble; in ieee80211_ctstoself_duration()
1672 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_regulatory_limit_wmm_params()
2232 chandef.width = sdata->vif.bss_conf.chandef.width; in ieee80211_build_probe_req()
2274 rate_flags = ieee80211_chandef_rate_flags(&sdata->vif.bss_conf.chandef); in ieee80211_sta_get_rates()
2673 [0] = &sdata->vif.bss_conf, in ieee80211_reconfig()
2720 if (sdata->vif.bss_conf.mu_mimo_owner) in ieee80211_reconfig()
2737 if (sdata->vif.bss_conf.max_idle_period || in ieee80211_reconfig()
2738 sdata->vif.bss_conf.protected_keep_alive) in ieee80211_reconfig()
[all …]
Dspectmgmt.c123 switch (sdata->vif.bss_conf.chandef.width) { in ieee80211_parse_ch_switch_ie()
127 sdata->vif.bss_conf.chandef.width; in ieee80211_parse_ch_switch_ie()
Dmesh_plink.c137 if (sdata->vif.bss_conf.use_short_slot != short_slot) { in mesh_set_short_slot_time()
138 sdata->vif.bss_conf.use_short_slot = short_slot; in mesh_set_short_slot_time()
164 switch (sdata->vif.bss_conf.chandef.width) { in mesh_set_ht_prot_mode()
197 sdata->vif.bss_conf.chandef.width > NL80211_CHAN_WIDTH_20) in mesh_set_ht_prot_mode()
202 if (sdata->vif.bss_conf.ht_operation_mode == ht_opmode) in mesh_set_ht_prot_mode()
205 sdata->vif.bss_conf.ht_operation_mode = ht_opmode; in mesh_set_ht_prot_mode()
Doffchannel.c117 if (sdata->vif.bss_conf.enable_beacon) { in ieee80211_offchannel_stop_vifs()
120 sdata->vif.bss_conf.enable_beacon = false; in ieee80211_offchannel_stop_vifs()
158 sdata->vif.bss_conf.enable_beacon = true; in ieee80211_offchannel_return()
917 if (sdata->vif.bss_conf.csa_active && in ieee80211_mgmt_tx()
Dairtime.c643 conf = rcu_dereference(vif->bss_conf.chanctx_conf); in ieee80211_calc_expected_tx_airtime()
703 basic_rates = vif->bss_conf.basic_rates; in ieee80211_calc_expected_tx_airtime()
704 short_pream = vif->bss_conf.use_short_preamble; in ieee80211_calc_expected_tx_airtime()
Dsta_info.c807 if (allow_p2p_go_ps != sdata->vif.bss_conf.allow_p2p_go_ps) { in ieee80211_recalc_p2p_go_ps_allowed()
808 sdata->vif.bss_conf.allow_p2p_go_ps = allow_p2p_go_ps; in ieee80211_recalc_p2p_go_ps_allowed()
1109 sta->sdata->vif.bss_conf.beacon_int * in sta_info_buffer_expired()
1852 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_send_null_response()
2785 if (sdata->vif.bss_conf.use_cts_prot) in sta_set_sinfo()
2787 if (sdata->vif.bss_conf.use_short_preamble) in sta_set_sinfo()
2789 if (sdata->vif.bss_conf.use_short_slot) in sta_set_sinfo()
2791 sinfo->bss_param.dtim_period = sdata->vif.bss_conf.dtim_period; in sta_set_sinfo()
2792 sinfo->bss_param.beacon_interval = sdata->vif.bss_conf.beacon_int; in sta_set_sinfo()
Dlink.c250 &sdata->vif.bss_conf); in ieee80211_vif_update_links()
289 &sdata->vif.bss_conf); in ieee80211_vif_update_links()
Dmesh_sync.c52 u64 beacon_int_fraction = sdata->vif.bss_conf.beacon_int * 1024 / 2500; in mesh_sync_adjust_tsf()
Dtx.c60 chanctx_conf = rcu_dereference(tx->sdata->vif.bss_conf.chanctx_conf); in ieee80211_duration()
145 if (tx->sdata->vif.bss_conf.basic_rates & BIT(i)) in ieee80211_duration()
188 tx->sdata->vif.bss_conf.use_short_preamble, in ieee80211_duration()
198 tx->sdata->vif.bss_conf.use_short_preamble, in ieee80211_duration()
705 txrc.bss_conf = &tx->sdata->vif.bss_conf; in ieee80211_tx_h_rate_ctrl()
730 info->control.use_cts_prot = tx->sdata->vif.bss_conf.use_cts_prot; in ieee80211_tx_h_rate_ctrl()
738 if (tx->sdata->vif.bss_conf.use_short_preamble && in ieee80211_tx_h_rate_ctrl()
2381 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_monitor_start_xmit()
2386 rcu_dereference(tmp_sdata->vif.bss_conf.chanctx_conf); in ieee80211_monitor_start_xmit()
2622 rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_build_hdr()
[all …]
Docb.c62 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_ocb_rx_no_sta()
Dtdls.c1358 conf = rcu_dereference_protected(sdata->vif.bss_conf.chanctx_conf, in iee80211_tdls_recalc_chanctx()
1427 opmode = sdata->vif.bss_conf.ht_operation_mode; in iee80211_tdls_recalc_ht_protection()
1434 if (opmode == sdata->vif.bss_conf.ht_operation_mode) in iee80211_tdls_recalc_ht_protection()
1437 sdata->vif.bss_conf.ht_operation_mode = opmode; in iee80211_tdls_recalc_ht_protection()
1476 if (sdata->vif.bss_conf.csa_active) { in ieee80211_tdls_oper()
Dethtool.c153 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_get_stats()
Ddriver-ops.c428 !sdata->vif.bss_conf.mu_mimo_owner && in drv_link_info_changed()
Ddriver-ops.h166 &sdata->vif.bss_conf, changed); in drv_vif_cfg_changed()
1133 trace_drv_join_ibss(local, sdata, &sdata->vif.bss_conf); in drv_join_ibss()
Dchan.c343 rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf) == &ctx->conf) in ieee80211_get_chanctx_max_required_bw()
988 rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf) == &chanctx->conf) in ieee80211_recalc_smps_chanctx()
Drx.c3335 if (rx->sdata->vif.bss_conf.csa_active) in ieee80211_rx_check_bss_color_collision()
3347 struct ieee80211_bss_conf *bss_conf = &rx->sdata->vif.bss_conf; in ieee80211_rx_check_bss_color_collision() local
3358 if (color == bss_conf->he_bss_color.color) in ieee80211_rx_check_bss_color_collision()
3428 if (!sdata->vif.bss_conf.twt_responder) in ieee80211_process_rx_twt_action()
Dieee80211_i.h1181 chanctx_conf = rcu_dereference(vif->bss_conf.chanctx_conf); in ieee80211_vif_get_shift()
1627 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); in ieee80211_get_sband()

12