Home
last modified time | relevance | path

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

/net/mac80211/
Dcfg.c36 memcpy(sdata->vif.bss_conf.mu_group.membership, in ieee80211_set_mu_mimo_follow()
38 memcpy(sdata->vif.bss_conf.mu_group.position, in ieee80211_set_mu_mimo_follow()
910 prev_beacon_int = sdata->vif.bss_conf.beacon_int; in ieee80211_start_ap()
911 sdata->vif.bss_conf.beacon_int = params->beacon_interval; in ieee80211_start_ap()
920 sdata->vif.bss_conf.beacon_int = prev_beacon_int; in ieee80211_start_ap()
945 sdata->vif.bss_conf.dtim_period = params->dtim_period; in ieee80211_start_ap()
946 sdata->vif.bss_conf.enable_beacon = true; in ieee80211_start_ap()
947 sdata->vif.bss_conf.allow_p2p_go_ps = sdata->vif.p2p; in ieee80211_start_ap()
949 sdata->vif.bss_conf.ssid_len = params->ssid_len; in ieee80211_start_ap()
951 memcpy(sdata->vif.bss_conf.ssid, params->ssid, in ieee80211_start_ap()
[all …]
Dmlme.c270 cfg80211_chandef_identical(chandef, &sdata->vif.bss_conf.chandef)) in ieee80211_determine_chantype()
338 if (sdata->vif.bss_conf.ht_operation_mode != ht_opmode) { in ieee80211_config_bw()
340 sdata->vif.bss_conf.ht_operation_mode = ht_opmode; in ieee80211_config_bw()
343 chan = sdata->vif.bss_conf.chandef.chan; in ieee80211_config_bw()
368 if (cfg80211_chandef_identical(&chandef, &sdata->vif.bss_conf.chandef)) in ieee80211_config_bw()
1003 if (sdata->vif.bss_conf.chandef.width != in ieee80211_chswitch_work()
1038 if (sdata->vif.bss_conf.chandef.width > in ieee80211_chswitch_work()
1055 if (sdata->vif.bss_conf.chandef.width < in ieee80211_chswitch_work()
1065 if (!cfg80211_chandef_identical(&sdata->vif.bss_conf.chandef, in ieee80211_chswitch_work()
1193 &sdata->vif.bss_conf.chandef)) { in ieee80211_sta_process_chanswitch()
[all …]
Dmesh.c94 if (sdata->vif.bss_conf.basic_rates != basic_rates) in mesh_matches_local()
97 cfg80211_chandef_create(&sta_chan_def, sdata->vif.bss_conf.chandef.chan, in mesh_matches_local()
102 if (!cfg80211_chandef_compatible(&sdata->vif.bss_conf.chandef, in mesh_matches_local()
415 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_ht_cap_ie()
416 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_5 || in mesh_add_ht_cap_ie()
417 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_10) in mesh_add_ht_cap_ie()
452 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_ht_oper_ie()
453 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_5 || in mesh_add_ht_oper_ie()
454 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_10) in mesh_add_ht_oper_ie()
461 ieee80211_ie_build_ht_oper(pos, ht_cap, &sdata->vif.bss_conf.chandef, in mesh_add_ht_oper_ie()
[all …]
Dvht.c385 enum nl80211_chan_width bss_width = sdata->vif.bss_conf.chandef.width; in ieee80211_sta_cur_vht_bw()
483 struct ieee80211_bss_conf *bss_conf = &sdata->vif.bss_conf; in ieee80211_process_mu_groups() local
489 bss_conf->mu_group.position, WLAN_USER_POSITION_LEN) && in ieee80211_process_mu_groups()
491 bss_conf->mu_group.membership, WLAN_MEMBERSHIP_LEN)) in ieee80211_process_mu_groups()
494 memcpy(bss_conf->mu_group.membership, in ieee80211_process_mu_groups()
497 memcpy(bss_conf->mu_group.position, in ieee80211_process_mu_groups()
507 struct ieee80211_bss_conf *bss_conf = &vif->bss_conf; in ieee80211_update_mu_groups() local
512 memcpy(bss_conf->mu_group.membership, membership, WLAN_MEMBERSHIP_LEN); in ieee80211_update_mu_groups()
513 memcpy(bss_conf->mu_group.position, position, WLAN_USER_POSITION_LEN); in ieee80211_update_mu_groups()
Dibss.c249 if (sdata->vif.bss_conf.ibss_joined) { in __ieee80211_sta_join_ibss()
250 sdata->vif.bss_conf.ibss_joined = false; in __ieee80211_sta_join_ibss()
251 sdata->vif.bss_conf.ibss_creator = false; in __ieee80211_sta_join_ibss()
252 sdata->vif.bss_conf.enable_beacon = false; in __ieee80211_sta_join_ibss()
328 sdata->vif.bss_conf.enable_beacon = true; in __ieee80211_sta_join_ibss()
329 sdata->vif.bss_conf.beacon_int = beacon_int; in __ieee80211_sta_join_ibss()
330 sdata->vif.bss_conf.basic_rates = basic_rates; in __ieee80211_sta_join_ibss()
331 sdata->vif.bss_conf.ssid_len = ifibss->ssid_len; in __ieee80211_sta_join_ibss()
332 memcpy(sdata->vif.bss_conf.ssid, ifibss->ssid, ifibss->ssid_len); in __ieee80211_sta_join_ibss()
353 sdata->vif.bss_conf.use_short_slot = chan->band == NL80211_BAND_5GHZ; in __ieee80211_sta_join_ibss()
[all …]
Drate.c273 u32 user_mask, basic_rates = sdata->vif.bss_conf.basic_rates; in ieee80211_check_rate_mask()
276 if (WARN_ON(!sdata->vif.bss_conf.chandef.chan)) in ieee80211_check_rate_mask()
282 band = sdata->vif.bss_conf.chandef.chan->band; in ieee80211_check_rate_mask()
387 mcast_rate = txrc->bss_conf->mcast_rate[sband->band]; in rate_control_send_low()
401 txrc->bss_conf->basic_rates, in rate_control_send_low()
614 u32 basic_rates = vif->bss_conf.basic_rates; in rate_fixup_ratelist()
744 flags = ieee80211_chandef_rate_flags(&sdata->vif.bss_conf.chandef); in rate_control_cap_mask()
800 chan_width = sta->sdata->vif.bss_conf.chandef.width; in rate_control_apply_mask_ratetbl()
837 chan_width = sdata->vif.bss_conf.chandef.width; in rate_control_apply_mask()
Dchan.c118 compat = &sdata->vif.bss_conf.chandef; in ieee80211_chanctx_non_reserved_chandef()
121 &sdata->vif.bss_conf.chandef, compat); in ieee80211_chanctx_non_reserved_chandef()
270 width = max(vif->bss_conf.chandef.width, in ieee80211_get_chanctx_max_required_bw()
280 width = vif->bss_conf.chandef.width; in ieee80211_get_chanctx_max_required_bw()
586 compat = &sdata->vif.bss_conf.chandef; in ieee80211_recalc_chanctx_chantype()
589 &sdata->vif.bss_conf.chandef, compat); in ieee80211_recalc_chanctx_chantype()
674 sdata->vif.bss_conf.idle = !conf; in ieee80211_assign_vif_chanctx()
998 sdata->vif.bss_conf.chandef = *chandef; in ieee80211_vif_update_chandef()
1004 vlan->vif.bss_conf.chandef = *chandef; in ieee80211_vif_update_chandef()
1070 if (sdata->vif.bss_conf.chandef.width != sdata->reserved_chandef.width) in ieee80211_vif_use_reserved_reassign()
[all …]
Dmain.c149 power = min(power, sdata->vif.bss_conf.txpower); in ieee80211_hw_conf_chan()
203 drv_bss_info_changed(local, sdata, &sdata->vif.bss_conf, changed); in ieee80211_bss_info_change_notify()
208 sdata->vif.bss_conf.use_cts_prot = false; in ieee80211_reset_erp_info()
209 sdata->vif.bss_conf.use_short_preamble = false; in ieee80211_reset_erp_info()
210 sdata->vif.bss_conf.use_short_slot = false; in ieee80211_reset_erp_info()
326 struct ieee80211_bss_conf *bss_conf; in ieee80211_ifa_changed() local
338 bss_conf = &sdata->vif.bss_conf; in ieee80211_ifa_changed()
355 bss_conf->arp_addr_list[c] = ifa->ifa_address; in ieee80211_ifa_changed()
360 bss_conf->arp_addr_cnt = c; in ieee80211_ifa_changed()
Diface.c70 if (power != sdata->vif.bss_conf.txpower) { in __ieee80211_recalc_txpower()
71 sdata->vif.bss_conf.txpower = power; in __ieee80211_recalc_txpower()
525 sdata->vif.bss_conf.chandef = master->vif.bss_conf.chandef; in ieee80211_do_open()
903 chandef = sdata->vif.bss_conf.chandef; in ieee80211_do_stop()
1035 sdata->vif.bss_conf.beacon_int = 0; in ieee80211_do_stop()
1426 sdata->vif.bss_conf.idle = true; in ieee80211_setup_sdata()
1454 sdata->vif.bss_conf.bssid = sdata->vif.addr; in ieee80211_setup_sdata()
1463 sdata->vif.bss_conf.bssid = sdata->u.mgd.bssid; in ieee80211_setup_sdata()
1467 sdata->vif.bss_conf.bssid = bssid_wildcard; in ieee80211_setup_sdata()
1471 sdata->vif.bss_conf.bssid = sdata->u.ibss.bssid; in ieee80211_setup_sdata()
[all …]
Dutil.c144 short_preamble = sdata->vif.bss_conf.use_short_preamble; in ieee80211_generic_frame_duration()
178 short_preamble = sdata->vif.bss_conf.use_short_preamble; in ieee80211_rts_duration()
221 short_preamble = sdata->vif.bss_conf.use_short_preamble; in ieee80211_ctstoself_duration()
1225 sdata->vif.bss_conf.qos = enable_qos; in ieee80211_set_wmm_default()
1544 chandef.width = sdata->vif.bss_conf.chandef.width; in ieee80211_build_probe_req()
1607 rate_flags = ieee80211_chandef_rate_flags(&sdata->vif.bss_conf.chandef); in ieee80211_sta_get_rates()
1995 if (sdata->vif.bss_conf.max_idle_period || in ieee80211_reconfig()
1996 sdata->vif.bss_conf.protected_keep_alive) in ieee80211_reconfig()
2022 if (sdata->vif.bss_conf.enable_beacon) { in ieee80211_reconfig()
2621 u32 basic_rates = sdata->vif.bss_conf.basic_rates; in ieee80211_add_srates_ie()
[all …]
Dspectmgmt.c125 switch (sdata->vif.bss_conf.chandef.width) { in ieee80211_parse_ch_switch_ie()
129 sdata->vif.bss_conf.chandef.width; in ieee80211_parse_ch_switch_ie()
Dmesh_plink.c138 if (sdata->vif.bss_conf.use_short_slot != short_slot) { in mesh_set_short_slot_time()
139 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()
Dtdls.c158 if (!ieee80211_chandef_to_operating_class(&sdata->vif.bss_conf.chandef, in ieee80211_tdls_add_oper_classes()
435 sta->tdls_chandef = sdata->vif.bss_conf.chandef; in ieee80211_tdls_add_setup_start_ies()
564 sta->tdls_chandef = sdata->vif.bss_conf.chandef; in ieee80211_tdls_add_setup_cfm_ies()
610 &sdata->vif.bss_conf.chandef, prot, in ieee80211_tdls_add_setup_cfm_ies()
1324 opmode = sdata->vif.bss_conf.ht_operation_mode; in iee80211_tdls_recalc_ht_protection()
1331 if (opmode == sdata->vif.bss_conf.ht_operation_mode) in iee80211_tdls_recalc_ht_protection()
1334 sdata->vif.bss_conf.ht_operation_mode = opmode; in iee80211_tdls_recalc_ht_protection()
1444 if (vif->type != NL80211_IFTYPE_STATION || !vif->bss_conf.assoc) { in ieee80211_tdls_oper_request()
Doffchannel.c139 if (sdata->vif.bss_conf.enable_beacon) { in ieee80211_offchannel_stop_vifs()
142 sdata->vif.bss_conf.enable_beacon = false; in ieee80211_offchannel_stop_vifs()
179 sdata->vif.bss_conf.enable_beacon = true; in ieee80211_offchannel_return()
802 if (!sdata->vif.bss_conf.ibss_joined) in ieee80211_mgmt_tx()
Dsta_info.c779 sta->sdata->vif.bss_conf.beacon_int * in sta_info_buffer_expired()
1277 sdata->vif.bss_conf.bssid); in ieee80211_sta_ps_deliver_wakeup()
1817 if (allow_p2p_go_ps != sdata->vif.bss_conf.allow_p2p_go_ps) { in ieee80211_recalc_p2p_go_ps_allowed()
1818 sdata->vif.bss_conf.allow_p2p_go_ps = allow_p2p_go_ps; in ieee80211_recalc_p2p_go_ps_allowed()
2263 if (sdata->vif.bss_conf.use_cts_prot) in sta_set_sinfo()
2265 if (sdata->vif.bss_conf.use_short_preamble) in sta_set_sinfo()
2267 if (sdata->vif.bss_conf.use_short_slot) in sta_set_sinfo()
2269 sinfo->bss_param.dtim_period = sdata->vif.bss_conf.dtim_period; in sta_set_sinfo()
2270 sinfo->bss_param.beacon_interval = sdata->vif.bss_conf.beacon_int; in sta_set_sinfo()
Dmesh_sync.c54 u64 beacon_int_fraction = sdata->vif.bss_conf.beacon_int * 1024 / 2500; in mesh_sync_adjust_tsf()
Dtx.c154 if (tx->sdata->vif.bss_conf.basic_rates & BIT(i)) in ieee80211_duration()
194 tx->sdata->vif.bss_conf.use_short_preamble, in ieee80211_duration()
204 tx->sdata->vif.bss_conf.use_short_preamble, in ieee80211_duration()
682 txrc.bss_conf = &tx->sdata->vif.bss_conf; in ieee80211_tx_h_rate_ctrl()
702 info->control.use_cts_prot = tx->sdata->vif.bss_conf.use_cts_prot; in ieee80211_tx_h_rate_ctrl()
710 if (tx->sdata->vif.bss_conf.use_short_preamble && in ieee80211_tx_h_rate_ctrl()
3928 ps->dtim_count = sdata->vif.bss_conf.dtim_period - 1; in __ieee80211_beacon_add_tim()
3937 *pos++ = sdata->vif.bss_conf.dtim_period; in __ieee80211_beacon_add_tim()
4303 txrc.bss_conf = &sdata->vif.bss_conf; in __ieee80211_beacon_get()
Ddebugfs_netdev.c215 IEEE80211_IF_FILE(txpower, vif.bss_conf.txpower, DEC);
382 if (!ieee80211_sdata_running(sdata) || !sdata->vif.bss_conf.assoc) in ieee80211_if_parse_beacon_loss()
Dscan.c92 scan_sdata->vif.bss_conf.assoc && in ieee80211_bss_info_update()
98 scan_sdata->vif.bss_conf.bssid); in ieee80211_bss_info_update()
Ddriver-ops.h946 trace_drv_start_ap(local, sdata, &sdata->vif.bss_conf); in drv_start_ap()
1062 trace_drv_join_ibss(local, sdata, &sdata->vif.bss_conf); in drv_join_ibss()
Dht.c244 switch (sdata->vif.bss_conf.chandef.width) { in ieee80211_ht_cap_ie_to_sta_ht_cap()
Drc80211_minstrel.c356 !txrc->bss_conf->use_cts_prot; in minstrel_get_rate()