/net/mac80211/ |
D | mesh.c | 94 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() 109 if (!cfg80211_chandef_compatible(&sdata->vif.bss_conf.chandef, in mesh_matches_local() 432 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_ht_cap_ie() 433 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_5 || in mesh_add_ht_cap_ie() 434 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_10) in mesh_add_ht_cap_ie() 473 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT || in mesh_add_ht_oper_ie() 474 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_5 || in mesh_add_ht_oper_ie() 475 sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_10) in mesh_add_ht_oper_ie() 482 ieee80211_ie_build_ht_oper(pos, ht_cap, &sdata->vif.bss_conf.chandef, in mesh_add_ht_oper_ie() [all …]
|
D | mlme.c | 317 cfg80211_chandef_identical(chandef, &sdata->vif.bss_conf.chandef)) in ieee80211_determine_chantype() 369 struct ieee80211_channel *chan = sdata->vif.bss_conf.chandef.chan; in ieee80211_config_bw() 401 if (sdata->vif.bss_conf.ht_operation_mode != ht_opmode) { in ieee80211_config_bw() 403 sdata->vif.bss_conf.ht_operation_mode = ht_opmode; in ieee80211_config_bw() 431 if (cfg80211_chandef_identical(&chandef, &sdata->vif.bss_conf.chandef)) in ieee80211_config_bw() 1190 if (!cfg80211_chandef_identical(&sdata->vif.bss_conf.chandef, in ieee80211_chswitch_work() 1352 if (sdata->vif.bss_conf.chandef.chan->band != in ieee80211_sta_process_chanswitch() 1379 &sdata->vif.bss_conf.chandef) && in ieee80211_sta_process_chanswitch() 1760 if (sdata->vif.bss_conf.ps != ps_allowed) { in ieee80211_recalc_ps_vif() 1761 sdata->vif.bss_conf.ps = ps_allowed; in ieee80211_recalc_ps_vif() [all …]
|
D | cfg.c | 37 memcpy(sdata->vif.bss_conf.mu_group.membership, in ieee80211_set_mu_mimo_follow() 39 memcpy(sdata->vif.bss_conf.mu_group.position, in ieee80211_set_mu_mimo_follow() 878 fd = &sdata->vif.bss_conf.fils_discovery; in ieee80211_set_fils_discovery() 916 sdata->vif.bss_conf.unsol_bcast_probe_resp_interval = in ieee80211_set_unsol_bcast_probe_resp() 928 struct ieee80211_bss_conf *bss_conf; in ieee80211_set_ftm_responder_params() local 935 bss_conf = &sdata->vif.bss_conf; in ieee80211_set_ftm_responder_params() 936 old = bss_conf->ftmr_params; in ieee80211_set_ftm_responder_params() 958 bss_conf->ftmr_params = new; in ieee80211_set_ftm_responder_params() 1081 sdata->vif.bss_conf.ftm_responder = params->ftm_responder; in ieee80211_assign_beacon() 1132 prev_beacon_int = sdata->vif.bss_conf.beacon_int; in ieee80211_start_ap() [all …]
|
D | vht.c | 342 if (sta->sdata->vif.bss_conf.chandef.chan->band == in ieee80211_sta_cap_rx_bw() 459 enum nl80211_chan_width bss_width = sdata->vif.bss_conf.chandef.width; in ieee80211_sta_cur_vht_bw() 624 struct ieee80211_bss_conf *bss_conf = &sdata->vif.bss_conf; in ieee80211_process_mu_groups() local 630 bss_conf->mu_group.position, WLAN_USER_POSITION_LEN) && in ieee80211_process_mu_groups() 632 bss_conf->mu_group.membership, WLAN_MEMBERSHIP_LEN)) in ieee80211_process_mu_groups() 635 memcpy(bss_conf->mu_group.membership, in ieee80211_process_mu_groups() 638 memcpy(bss_conf->mu_group.position, in ieee80211_process_mu_groups() 648 struct ieee80211_bss_conf *bss_conf = &vif->bss_conf; in ieee80211_update_mu_groups() local 653 memcpy(bss_conf->mu_group.membership, membership, WLAN_MEMBERSHIP_LEN); in ieee80211_update_mu_groups() 654 memcpy(bss_conf->mu_group.position, position, WLAN_USER_POSITION_LEN); in ieee80211_update_mu_groups()
|
D | ibss.c | 247 if (sdata->vif.bss_conf.ibss_joined) { in __ieee80211_sta_join_ibss() 248 sdata->vif.bss_conf.ibss_joined = false; in __ieee80211_sta_join_ibss() 249 sdata->vif.bss_conf.ibss_creator = false; in __ieee80211_sta_join_ibss() 250 sdata->vif.bss_conf.enable_beacon = false; in __ieee80211_sta_join_ibss() 326 sdata->vif.bss_conf.enable_beacon = true; in __ieee80211_sta_join_ibss() 327 sdata->vif.bss_conf.beacon_int = beacon_int; in __ieee80211_sta_join_ibss() 328 sdata->vif.bss_conf.basic_rates = basic_rates; in __ieee80211_sta_join_ibss() 329 sdata->vif.bss_conf.ssid_len = ifibss->ssid_len; in __ieee80211_sta_join_ibss() 330 memcpy(sdata->vif.bss_conf.ssid, ifibss->ssid, ifibss->ssid_len); in __ieee80211_sta_join_ibss() 351 sdata->vif.bss_conf.use_short_slot = chan->band == NL80211_BAND_5GHZ; in __ieee80211_sta_join_ibss() [all …]
|
D | he.c | 206 memset(&vif->bss_conf.he_oper, 0, sizeof(vif->bss_conf.he_oper)); in ieee80211_he_op_ie_to_bss_conf() 210 vif->bss_conf.he_oper.params = __le32_to_cpu(he_op_ie->he_oper_params); in ieee80211_he_op_ie_to_bss_conf() 211 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() 219 &vif->bss_conf.he_obss_pd; in ieee80211_he_spr_ie_to_bss_conf()
|
D | rate.c | 270 u32 user_mask, basic_rates = sdata->vif.bss_conf.basic_rates; in ieee80211_check_rate_mask() 273 if (WARN_ON(!sdata->vif.bss_conf.chandef.chan)) in ieee80211_check_rate_mask() 276 band = sdata->vif.bss_conf.chandef.chan->band; in ieee80211_check_rate_mask() 400 mcast_rate = txrc->bss_conf->mcast_rate[sband->band]; in rate_control_send_low() 414 txrc->bss_conf->basic_rates, in rate_control_send_low() 626 u32 basic_rates = vif->bss_conf.basic_rates; in rate_fixup_ratelist() 756 flags = ieee80211_chandef_rate_flags(&sdata->vif.bss_conf.chandef); in rate_control_cap_mask() 812 chan_width = sta->sdata->vif.bss_conf.chandef.width; in rate_control_apply_mask_ratetbl() 849 chan_width = sdata->vif.bss_conf.chandef.width; in rate_control_apply_mask()
|
D | main.c | 154 if (sdata->vif.bss_conf.txpower == INT_MIN) in ieee80211_hw_conf_chan() 156 power = min(power, sdata->vif.bss_conf.txpower); in ieee80211_hw_conf_chan() 210 drv_bss_info_changed(local, sdata, &sdata->vif.bss_conf, changed); in ieee80211_bss_info_change_notify() 215 sdata->vif.bss_conf.use_cts_prot = false; in ieee80211_reset_erp_info() 216 sdata->vif.bss_conf.use_short_preamble = false; in ieee80211_reset_erp_info() 217 sdata->vif.bss_conf.use_short_slot = false; in ieee80211_reset_erp_info() 352 struct ieee80211_bss_conf *bss_conf; in ieee80211_ifa_changed() local 364 bss_conf = &sdata->vif.bss_conf; in ieee80211_ifa_changed() 381 bss_conf->arp_addr_list[c] = ifa->ifa_address; in ieee80211_ifa_changed() 386 bss_conf->arp_addr_cnt = c; in ieee80211_ifa_changed()
|
D | chan.c | 121 compat = &sdata->vif.bss_conf.chandef; in ieee80211_chanctx_non_reserved_chandef() 124 &sdata->vif.bss_conf.chandef, compat); in ieee80211_chanctx_non_reserved_chandef() 275 width = max(vif->bss_conf.chandef.width, in ieee80211_get_chanctx_max_required_bw() 284 width = vif->bss_conf.chandef.width; in ieee80211_get_chanctx_max_required_bw() 695 compat = &sdata->vif.bss_conf.chandef; in ieee80211_recalc_chanctx_chantype() 698 &sdata->vif.bss_conf.chandef, compat); in ieee80211_recalc_chanctx_chantype() 783 sdata->vif.bss_conf.idle = !conf; in ieee80211_assign_vif_chanctx() 1106 sdata->vif.bss_conf.chandef = *chandef; in ieee80211_vif_update_chandef() 1112 vlan->vif.bss_conf.chandef = *chandef; in ieee80211_vif_update_chandef() 1149 if (sdata->vif.bss_conf.chandef.width != sdata->reserved_chandef.width) in ieee80211_vif_use_reserved_reassign() [all …]
|
D | iface.c | 69 if (power != sdata->vif.bss_conf.txpower) { in __ieee80211_recalc_txpower() 70 sdata->vif.bss_conf.txpower = power; in __ieee80211_recalc_txpower() 470 chandef = sdata->vif.bss_conf.chandef; in ieee80211_do_stop() 578 sdata->vif.bss_conf.beacon_int = 0; in ieee80211_do_stop() 1066 sdata->vif.bss_conf.chandef = master->vif.bss_conf.chandef; in ieee80211_do_open() 1562 sdata->vif.bss_conf.idle = true; in ieee80211_setup_sdata() 1563 sdata->vif.bss_conf.txpower = INT_MIN; /* unset */ in ieee80211_setup_sdata() 1591 sdata->vif.bss_conf.bssid = sdata->vif.addr; in ieee80211_setup_sdata() 1599 sdata->vif.bss_conf.bssid = sdata->u.mgd.bssid; in ieee80211_setup_sdata() 1603 sdata->vif.bss_conf.bssid = bssid_wildcard; in ieee80211_setup_sdata() [all …]
|
D | util.c | 193 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() 1675 sdata->vif.bss_conf.qos = enable_qos; in ieee80211_set_wmm_default() 2065 chandef.width = sdata->vif.bss_conf.chandef.width; in ieee80211_build_probe_req() 2107 rate_flags = ieee80211_chandef_rate_flags(&sdata->vif.bss_conf.chandef); in ieee80211_sta_get_rates() 2460 if (sdata->vif.bss_conf.ibss_joined) in ieee80211_reconfig() 2500 if (sdata->vif.bss_conf.max_idle_period || in ieee80211_reconfig() 2501 sdata->vif.bss_conf.protected_keep_alive) in ieee80211_reconfig() 2518 if (sdata->vif.bss_conf.ftm_responder == 1 && in ieee80211_reconfig() [all …]
|
D | spectmgmt.c | 123 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()
|
D | mesh_plink.c | 136 if (sdata->vif.bss_conf.use_short_slot != short_slot) { in mesh_set_short_slot_time() 137 sdata->vif.bss_conf.use_short_slot = short_slot; in mesh_set_short_slot_time() 163 switch (sdata->vif.bss_conf.chandef.width) { in mesh_set_ht_prot_mode() 196 sdata->vif.bss_conf.chandef.width > NL80211_CHAN_WIDTH_20) in mesh_set_ht_prot_mode() 201 if (sdata->vif.bss_conf.ht_operation_mode == ht_opmode) in mesh_set_ht_prot_mode() 204 sdata->vif.bss_conf.ht_operation_mode = ht_opmode; in mesh_set_ht_prot_mode()
|
D | tdls.c | 161 if (!ieee80211_chandef_to_operating_class(&sdata->vif.bss_conf.chandef, in ieee80211_tdls_add_oper_classes() 233 put_unaligned_le16(sdata->vif.bss_conf.aid, pos); in ieee80211_tdls_add_aid() 438 sta->tdls_chandef = sdata->vif.bss_conf.chandef; in ieee80211_tdls_add_setup_start_ies() 567 sta->tdls_chandef = sdata->vif.bss_conf.chandef; in ieee80211_tdls_add_setup_cfm_ies() 613 &sdata->vif.bss_conf.chandef, prot, in ieee80211_tdls_add_setup_cfm_ies() 1327 opmode = sdata->vif.bss_conf.ht_operation_mode; in iee80211_tdls_recalc_ht_protection() 1334 if (opmode == sdata->vif.bss_conf.ht_operation_mode) in iee80211_tdls_recalc_ht_protection() 1337 sdata->vif.bss_conf.ht_operation_mode = opmode; in iee80211_tdls_recalc_ht_protection() 1447 if (vif->type != NL80211_IFTYPE_STATION || !vif->bss_conf.assoc) { in ieee80211_tdls_oper_request()
|
D | offchannel.c | 117 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() 157 sdata->vif.bss_conf.enable_beacon = true; in ieee80211_offchannel_return() 788 if (!sdata->vif.bss_conf.ibss_joined) in ieee80211_mgmt_tx()
|
D | sta_info.c | 632 if (allow_p2p_go_ps != sdata->vif.bss_conf.allow_p2p_go_ps) { in ieee80211_recalc_p2p_go_ps_allowed() 633 sdata->vif.bss_conf.allow_p2p_go_ps = allow_p2p_go_ps; in ieee80211_recalc_p2p_go_ps_allowed() 900 sta->sdata->vif.bss_conf.beacon_int * in sta_info_buffer_expired() 2505 if (sdata->vif.bss_conf.use_cts_prot) in sta_set_sinfo() 2507 if (sdata->vif.bss_conf.use_short_preamble) in sta_set_sinfo() 2509 if (sdata->vif.bss_conf.use_short_slot) in sta_set_sinfo() 2511 sinfo->bss_param.dtim_period = sdata->vif.bss_conf.dtim_period; in sta_set_sinfo() 2512 sinfo->bss_param.beacon_interval = sdata->vif.bss_conf.beacon_int; in sta_set_sinfo()
|
D | mesh_sync.c | 52 u64 beacon_int_fraction = sdata->vif.bss_conf.beacon_int * 1024 / 2500; in mesh_sync_adjust_tsf()
|
D | debugfs_netdev.c | 212 IEEE80211_IF_FILE(txpower, vif.bss_conf.txpower, DEC); 238 IEEE80211_IF_FILE(aid, vif.bss_conf.aid, DEC); 371 if (!ieee80211_sdata_running(sdata) || !sdata->vif.bss_conf.assoc) in ieee80211_if_parse_beacon_loss()
|
D | tx.c | 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() 685 txrc.bss_conf = &tx->sdata->vif.bss_conf; in ieee80211_tx_h_rate_ctrl() 705 info->control.use_cts_prot = tx->sdata->vif.bss_conf.use_cts_prot; in ieee80211_tx_h_rate_ctrl() 713 if (tx->sdata->vif.bss_conf.use_short_preamble && in ieee80211_tx_h_rate_ctrl() 4723 ps->dtim_count = sdata->vif.bss_conf.dtim_period - 1; in __ieee80211_beacon_add_tim() 4732 *pos++ = sdata->vif.bss_conf.dtim_period; in __ieee80211_beacon_add_tim() 5031 txrc.bss_conf = &sdata->vif.bss_conf; in ieee80211_beacon_get_finish() 5399 pspoll->aid = cpu_to_le16(sdata->vif.bss_conf.aid); in ieee80211_pspoll_get()
|
D | airtime.c | 706 basic_rates = vif->bss_conf.basic_rates; in ieee80211_calc_expected_tx_airtime() 707 short_pream = vif->bss_conf.use_short_preamble; in ieee80211_calc_expected_tx_airtime()
|
D | ht.c | 250 switch (sdata->vif.bss_conf.chandef.width) { in ieee80211_ht_cap_ie_to_sta_ht_cap()
|
D | scan.c | 180 scan_sdata->vif.bss_conf.assoc && in ieee80211_bss_info_update() 186 scan_sdata->vif.bss_conf.bssid); in ieee80211_bss_info_update()
|
D | agg-rx.c | 297 sta->sdata->vif.bss_conf.chandef.chan->band != NL80211_BAND_6GHZ) { in ___ieee80211_start_rx_ba_session()
|
D | driver-ops.h | 972 trace_drv_start_ap(local, sdata, &sdata->vif.bss_conf); in drv_start_ap() 1117 trace_drv_join_ibss(local, sdata, &sdata->vif.bss_conf); in drv_join_ibss()
|
D | agg-tx.c | 602 sta->sdata->vif.bss_conf.chandef.chan->band != NL80211_BAND_6GHZ) in ieee80211_start_tx_ba_session()
|