/linux-master/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2x00config.c | 70 struct ieee80211_bss_conf *bss_conf, 73 struct ieee80211_vif *vif = container_of(bss_conf, struct ieee80211_vif, 74 bss_conf); 79 erp.short_preamble = bss_conf->use_short_preamble; 80 erp.cts_protection = bss_conf->use_cts_prot; 82 erp.slot_time = bss_conf->use_short_slot ? SHORT_SLOT_TIME : SLOT_TIME; 84 erp.pifs = bss_conf->use_short_slot ? SHORT_PIFS : PIFS; 85 erp.difs = bss_conf->use_short_slot ? SHORT_DIFS : DIFS; 86 erp.eifs = bss_conf->use_short_slot ? SHORT_EIFS : EIFS; 88 erp.basic_rates = bss_conf 68 rt2x00lib_config_erp(struct rt2x00_dev *rt2x00dev, struct rt2x00_intf *intf, struct ieee80211_bss_conf *bss_conf, u32 changed) argument [all...] |
/linux-master/net/mac80211/ |
H A D | mesh.c | 97 if (sdata->vif.bss_conf.basic_rates != basic_rates) 100 cfg80211_chandef_create(&sta_chan_def, sdata->vif.bss_conf.chanreq.oper.chan, 114 if (!cfg80211_chandef_compatible(&sdata->vif.bss_conf.chanreq.oper, 408 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); 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) 464 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); 480 sdata->vif.bss_conf.chanreq.oper.width == NL80211_CHAN_WIDTH_20_NOHT || 481 sdata->vif.bss_conf [all...] |
H A D | he.c | 213 memset(&vif->bss_conf.he_oper, 0, sizeof(vif->bss_conf.he_oper)); 217 vif->bss_conf.he_oper.params = __le32_to_cpu(he_op_ie->he_oper_params); 218 vif->bss_conf.he_oper.nss_set = __le16_to_cpu(he_op_ie->he_mcs_nss_set); 226 &vif->bss_conf.he_obss_pd;
|
H A D | ibss.c | 246 sdata->vif.bss_conf.enable_beacon = false; 318 sdata->vif.bss_conf.enable_beacon = true; 319 sdata->vif.bss_conf.beacon_int = beacon_int; 320 sdata->vif.bss_conf.basic_rates = basic_rates; 343 sdata->vif.bss_conf.use_short_slot = chan->band == NL80211_BAND_5GHZ; 359 sdata->vif.bss_conf.enable_beacon = false; 500 sdata->vif.bss_conf.beacon_int, 501 sdata->vif.bss_conf.basic_rates, 614 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); 703 sdata->vif.bss_conf [all...] |
H A D | mlme.c | 1020 if (other->vif.bss_conf.mu_mimo_owner) { 2893 struct ieee80211_bss_conf *bss_conf = link->conf; local 2917 if (use_protection != bss_conf->use_cts_prot) { 2918 bss_conf->use_cts_prot = use_protection; 2922 if (use_short_preamble != bss_conf->use_short_preamble) { 2923 bss_conf->use_short_preamble = use_short_preamble; 2927 if (use_short_slot != bss_conf->use_short_slot) { 2928 bss_conf->use_short_slot = use_short_slot; 2939 struct ieee80211_bss_conf *bss_conf = link->conf; local 2946 bss_conf 4172 ieee80211_twt_bcast_support(struct ieee80211_sub_if_data *sdata, struct ieee80211_bss_conf *bss_conf, struct ieee80211_supported_band *sband, struct link_sta_info *link_sta) argument 4198 struct ieee80211_bss_conf *bss_conf = link->conf; local 5030 struct ieee80211_bss_conf *bss_conf; local 5609 ieee80211_handle_beacon_sig(struct ieee80211_link_data *link, struct ieee80211_if_managed *ifmgd, struct ieee80211_bss_conf *bss_conf, struct ieee80211_local *local, struct ieee80211_rx_status *rx_status) argument 6134 struct ieee80211_bss_conf *bss_conf = &sdata->vif.bss_conf; local [all...] |
H A D | iface.c | 53 chanctx_conf = rcu_dereference(sdata->vif.bss_conf.chanctx_conf); 68 if (power != sdata->vif.bss_conf.txpower) { 69 sdata->vif.bss_conf.txpower = power; 283 ether_addr_copy(sdata->vif.bss_conf.addr, sdata->vif.addr); 366 if (nsdata->vif.bss_conf.csa_active) 544 sdata->vif.bss_conf.csa_active = false; 560 chandef = sdata->vif.bss_conf.chanreq.oper; 591 RCU_INIT_POINTER(sdata->vif.bss_conf.chanctx_conf, NULL); 664 sdata->vif.bss_conf.beacon_int = 0; 1111 * vif.bss_conf instea [all...] |
H A D | mesh_plink.c | 137 if (sdata->vif.bss_conf.use_short_slot != short_slot) { 138 sdata->vif.bss_conf.use_short_slot = short_slot; 166 switch (sdata->vif.bss_conf.chanreq.oper.width) { 199 sdata->vif.bss_conf.chanreq.oper.width > NL80211_CHAN_WIDTH_20) 204 if (sdata->vif.bss_conf.ht_operation_mode == ht_opmode) 207 sdata->vif.bss_conf.ht_operation_mode = ht_opmode; 284 ieee80211_chandef_rate_flags(&sdata->vif.bss_conf.chanreq.oper); 285 basic_rates = sdata->vif.bss_conf.basic_rates;
|
H A D | rate.c | 47 chanctx_conf = rcu_dereference(sta->sdata->vif.bss_conf.chanctx_conf); 109 chanctx_conf = rcu_dereference(sta->sdata->vif.bss_conf.chanctx_conf); 409 mcast_rate = txrc->bss_conf->mcast_rate[sband->band]; 423 txrc->bss_conf->basic_rates, 635 u32 basic_rates = vif->bss_conf.basic_rates; 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;
|
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | mac-ctxt.c | 96 min_bi = min(data->vif->bss_conf.beacon_int, 97 vif->bss_conf.beacon_int); 102 if ((data->vif->bss_conf.beacon_int - 103 vif->bss_conf.beacon_int) % min_bi == 0) { 125 min_bi = min(data->vif->bss_conf.beacon_int, 126 vif->bss_conf.beacon_int); 131 if ((data->vif->bss_conf.beacon_int - 132 vif->bss_conf.beacon_int) % min_bi == 0) { 334 unsigned long basic = vif->bss_conf.basic_rates; 548 const u8 *bssid = bssid_override ?: vif->bss_conf 1604 struct ieee80211_bss_conf *bss_conf = local 1822 struct ieee80211_bss_conf *bss_conf = local [all...] |
H A D | tdls.c | 151 u32 duration = 2 * vif->bss_conf.dtim_period * vif->bss_conf.beacon_int; 237 delay = TU_TO_MS(vif->bss_conf.dtim_period * vif->bss_conf.beacon_int); 384 rcu_dereference(vif->bss_conf.chanctx_conf); 400 cpu_to_le32(TU_TO_US(vif->bss_conf.dtim_period * 401 vif->bss_conf.beacon_int) / 2); 494 delay = TU_TO_MS(vif->bss_conf.dtim_period * vif->bss_conf.beacon_int); 555 delay = 2 * TU_TO_MS(vif->bss_conf [all...] |
H A D | ftm-responder.c | 409 struct ieee80211_bss_conf *bss_conf) 418 params = bss_conf->ftmr_params; 422 if (WARN_ON_ONCE(!bss_conf->ftm_responder)) 432 pctx = rcu_dereference(bss_conf->chanctx_conf); 447 ret = iwl_mvm_ftm_responder_cmd(mvm, vif, &ctx.def, bss_conf); 470 struct ieee80211_bss_conf *bss_conf) 472 if (!bss_conf->ftm_responder) 476 iwl_mvm_ftm_start_responder(mvm, vif, bss_conf); 408 iwl_mvm_ftm_start_responder(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf) argument 468 iwl_mvm_ftm_restart_responder(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf) argument
|
H A D | power.c | 75 if (vif->bss_conf.cqm_rssi_thold) { 77 cpu_to_le32(vif->bss_conf.cqm_rssi_hyst); 80 cpu_to_le32(-vif->bss_conf.cqm_rssi_thold); 248 (vif->bss_conf.p2p_noa_attr.oppps_ctwindow & 307 int dtimper = vif->bss_conf.dtim_period ?: 1; 325 int dtimper_tu = dtimper * vif->bss_conf.beacon_int; 348 dtimper = vif->bss_conf.dtim_period; 349 bi = vif->bss_conf.beacon_int; 378 if (vif->bss_conf.beacon_rate && 379 (vif->bss_conf [all...] |
H A D | mac80211.c | 1508 iwl_mvm_post_channel_switch(hw, vif, &vif->bss_conf); 1584 ret = iwl_mvm_set_link_mapping(mvm, vif, &vif->bss_conf); 1667 iwl_mvm_chandef_get_primary_80(&vif->bss_conf.chanreq.oper); 1746 if (vif->bss_conf.ftm_responder) 1792 iwl_mvm_unset_link_mapping(mvm, vif, &vif->bss_conf); 1837 memcpy(cmd->bssid, vif->bss_conf.bssid, ETH_ALEN); 1971 memcpy(cmd.membership_status, vif->bss_conf.mu_group.membership, 1973 memcpy(cmd.user_position, vif->bss_conf.mu_group.position, 1985 if (vif->bss_conf.mu_mimo_owner) { 2367 .bss_color = vif->bss_conf 2622 iwl_mvm_bss_info_changed_station(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, u64 changes) argument 3051 iwl_mvm_bss_info_changed_ap_ibss(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, u64 changes) argument 3082 iwl_mvm_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, u64 changes) argument [all...] |
H A D | mld-mac80211.c | 61 ret = iwl_mvm_add_link(mvm, vif, &vif->bss_conf); 138 if (vif->bss_conf.ftm_responder) 169 iwl_mvm_remove_link(mvm, vif, &vif->bss_conf); 171 iwl_mvm_disable_link(mvm, vif, &vif->bss_conf); 548 return iwl_mvm_mld_start_ap_ibss(hw, vif, &vif->bss_conf); 584 iwl_mvm_mld_stop_ap_ibss(hw, vif, &vif->bss_conf); 1071 ret = iwl_mvm_link_changed(mvm, vif, &vif->bss_conf, 1087 ret = iwl_mvm_link_changed(mvm, vif, &vif->bss_conf, 0, false); 1091 ret = iwl_mvm_link_changed(mvm, vif, &vif->bss_conf, 1102 return iwl_mvm_mld_add_bcast_sta(mvm, vif, &vif->bss_conf); [all...] |
/linux-master/drivers/net/wireless/ath/ath9k/ |
H A D | htc_drv_beacon.c | 93 struct ath_beacon_config *bss_conf) 101 if (ath9k_cmn_beacon_config_sta(priv->ah, bss_conf, &bs) == -EPERM) 400 struct ieee80211_bss_conf *bss_conf = &vif->bss_conf; local 411 (cur_conf->beacon_interval != bss_conf->beacon_int)) { 455 struct ieee80211_bss_conf *bss_conf = &vif->bss_conf; local 461 cur_conf->beacon_interval = bss_conf->beacon_int; 465 cur_conf->dtim_period = bss_conf->dtim_period; 514 if (!vif || !vif->bss_conf 92 ath9k_htc_beacon_config_sta(struct ath9k_htc_priv *priv, struct ath_beacon_config *bss_conf) argument [all...] |
H A D | beacon.c | 85 if (vif->bss_conf.use_short_preamble) 365 if (!vif || !vif->bss_conf.csa_active) 455 if (!vif || !vif->bss_conf.enable_beacon) 590 struct ieee80211_bss_conf *bss_conf = &vif->bss_conf; local 595 "Caching beacon data for BSS: %pM\n", bss_conf->bssid); 597 cur_conf->beacon_interval = bss_conf->beacon_int; 598 cur_conf->dtim_period = bss_conf->dtim_period;
|
H A D | htc_drv_main.c | 94 struct ieee80211_bss_conf *bss_conf = &vif->bss_conf; local 98 bss_conf->enable_beacon) { 677 struct ieee80211_bss_conf *bss_conf) 687 sta = ieee80211_find_sta(vif, bss_conf->bssid); 699 bss_conf->bssid, be32_to_cpu(trate.capflags)); 1489 struct ieee80211_bss_conf *bss_conf = &vif->bss_conf; local 1494 memcpy(common->curbssid, bss_conf->bssid, ETH_ALEN); 1511 struct ieee80211_bss_conf *bss_conf, 675 ath9k_htc_update_rate(struct ath9k_htc_priv *priv, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf) argument 1509 ath9k_htc_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, u64 changed) argument [all...] |
/linux-master/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | rxon.c | 290 beacon_int = vif ? vif->bss_conf.beacon_int : 0; 302 priv->contexts[IWL_RXON_CTX_BSS].vif->bss_conf.beacon_int) { 309 priv->contexts[IWL_RXON_CTX_PAN].vif->bss_conf.beacon_int && 311 !ctx->vif->bss_conf.beacon_int)) { 328 ctx->timing.dtim_period = vif ? (vif->bss_conf.dtim_period ?: 1) : 1; 545 int dtim = ctx_pan->vif->bss_conf.dtim_period ?: 1; 576 slot1 = max_t(int, 1, ctx_pan->vif->bss_conf.dtim_period) * 728 if (vif && vif->bss_conf.use_short_slot) 924 unsigned long basic = ctx->vif->bss_conf.basic_rates; 1054 if ((ctx->vif && ctx->vif->bss_conf 1254 iwlagn_check_needed_chains(struct iwl_priv *priv, struct iwl_rxon_context *ctx, struct ieee80211_bss_conf *bss_conf) argument 1383 iwlagn_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, u64 changes) argument [all...] |
/linux-master/drivers/net/wireless/ath/carl9170/ |
H A D | mac.c | 97 vif->bss_conf.use_short_slot) 119 basic = (vif->bss_conf.basic_rates & 0xf); 120 basic |= (vif->bss_conf.basic_rates & 0xff0) << 4; 413 ar->global_beacon_int = vif->bss_conf.beacon_int / 417 vif->bss_conf.dtim_period); 432 ar->global_beacon_int = vif->bss_conf.beacon_int;
|
/linux-master/drivers/net/wireless/realtek/rtw88/ |
H A D | bf.h | 74 struct ieee80211_bss_conf *bss_conf); 76 struct ieee80211_bss_conf *bss_conf);
|
/linux-master/drivers/net/wireless/ath/wcn36xx/ |
H A D | main.c | 801 struct ieee80211_bss_conf *bss_conf, 818 bss_conf->dtim_period); 820 vif_priv->dtim_period = bss_conf->dtim_period; 825 bss_conf->bssid); 827 if (!is_zero_ether_addr(bss_conf->bssid)) { 830 wcn36xx_smd_set_link_st(wcn, bss_conf->bssid, vif->addr, 832 wcn36xx_smd_join(wcn, bss_conf->bssid, 835 bss_conf->bssid, false); 839 wcn36xx_smd_set_link_st(wcn, bss_conf->bssid, vif->addr, 865 bss_conf 799 wcn36xx_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, u64 changed) argument [all...] |
/linux-master/drivers/staging/vt6655/ |
H A D | key.c | 91 struct ieee80211_bss_conf *conf = &vif->bss_conf;
|
/linux-master/drivers/net/wireless/realtek/rtlwifi/ |
H A D | core.c | 1036 struct ieee80211_bss_conf *bss_conf, 1050 bss_conf->enable_beacon)) { 1068 !bss_conf->enable_beacon)) { 1082 mac->beacon_interval = bss_conf->beacon_int; 1109 memcpy(mac->bssid, bss_conf->bssid, ETH_ALEN); 1115 sta = ieee80211_find_sta(vif, (u8 *)bss_conf->bssid); 1214 mac->use_cts_protect = bss_conf->use_cts_prot; 1220 bss_conf->use_short_preamble); 1222 mac->short_preamble = bss_conf->use_short_preamble; 1231 if (bss_conf 1034 rtl_op_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, u64 changed) argument [all...] |
/linux-master/drivers/net/wireless/silabs/wfx/ |
H A D | scan.c | 81 if (req->channels[start_idx]->max_power != vif->bss_conf.txpower) 82 wfx_hif_set_output_power(wvif, vif->bss_conf.txpower);
|
H A D | sta.c | 147 chan0 = vif_ch0->bss_conf.chanreq.oper.chan; 153 chan1 = vif_ch1->bss_conf.chanreq.oper.chan; 242 if (rcpi_rssi <= vif->bss_conf.cqm_rssi_thold) 254 struct ieee80211_bss_conf *bss_conf = &vif->bss_conf; local 257 schedule_delayed_work(to_delayed_work(work), msecs_to_jiffies(bss_conf->beacon_int)); 390 ret = wfx_hif_start(wvif, &vif->bss_conf, wvif->channel); 412 struct ieee80211_bss_conf *conf = &vif->bss_conf;
|