Home
last modified time | relevance | path

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

123

/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dmac-ctxt.c96 min_bi = min(data->vif->bss_conf.beacon_int, in iwl_mvm_mac_tsf_id_iter()
97 vif->bss_conf.beacon_int); in iwl_mvm_mac_tsf_id_iter()
102 if ((data->vif->bss_conf.beacon_int - in iwl_mvm_mac_tsf_id_iter()
103 vif->bss_conf.beacon_int) % min_bi == 0) { in iwl_mvm_mac_tsf_id_iter()
125 min_bi = min(data->vif->bss_conf.beacon_int, in iwl_mvm_mac_tsf_id_iter()
126 vif->bss_conf.beacon_int); in iwl_mvm_mac_tsf_id_iter()
131 if ((data->vif->bss_conf.beacon_int - in iwl_mvm_mac_tsf_id_iter()
132 vif->bss_conf.beacon_int) % min_bi == 0) { in iwl_mvm_mac_tsf_id_iter()
335 unsigned long basic = vif->bss_conf.basic_rates; in iwl_mvm_ack_rates()
549 const u8 *bssid = bssid_override ?: vif->bss_conf in iwl_mvm_mac_ctxt_cmd_common()
1581 struct ieee80211_bss_conf *bss_conf = iwl_mvm_rx_missed_beacons_notif() local
1790 struct ieee80211_bss_conf *bss_conf = iwl_mvm_channel_switch_start_notif() local
[all...]
H A Dtdls.c154 u32 duration = 2 * vif->bss_conf.dtim_period * vif->bss_conf.beacon_int; in iwl_mvm_mac_mgd_protect_tdls_discover()
239 delay = TU_TO_MS(vif->bss_conf.dtim_period * vif->bss_conf.beacon_int); in iwl_mvm_rx_tdls_notif()
386 rcu_dereference(vif->bss_conf.chanctx_conf); in iwl_mvm_tdls_config_channel_switch()
402 cpu_to_le32(TU_TO_US(vif->bss_conf.dtim_period * in iwl_mvm_tdls_config_channel_switch()
403 vif->bss_conf.beacon_int) / 2); in iwl_mvm_tdls_config_channel_switch()
496 delay = TU_TO_MS(vif->bss_conf.dtim_period * vif->bss_conf.beacon_int); in iwl_mvm_tdls_ch_switch_work()
552 delay = 2 * TU_TO_MS(vif->bss_conf in iwl_mvm_tdls_channel_switch()
[all...]
H A Dmld-mac80211.c63 ret = iwl_mvm_add_link(mvm, vif, &vif->bss_conf); in iwl_mvm_mld_mac_add_interface()
138 if (vif->bss_conf.ftm_responder) in iwl_mvm_mld_mac_add_interface()
169 iwl_mvm_remove_link(mvm, vif, &vif->bss_conf); in iwl_mvm_mld_mac_remove_interface()
171 iwl_mvm_disable_link(mvm, vif, &vif->bss_conf); in iwl_mvm_mld_mac_remove_interface()
563 struct ieee80211_bss_conf *bss_conf, in iwl_mvm_mld_start_ap()
569 mvmvif->link[bss_conf->link_id]; in iwl_mvm_mld_start_ibss()
584 if (bss_conf->chanreq.oper.chan->band != NL80211_BAND_6GHZ) in iwl_mvm_mld_stop_ap_ibss()
593 } else if (bss_conf->power_type == IEEE80211_REG_UNSET_AP) { in iwl_mvm_mld_stop_ap_ibss()
596 cmd.ap_type = cpu_to_le16(bss_conf->power_type - 1); in iwl_mvm_mld_stop_ap()
597 iwl_mvm_tpe_sta_cmd_data(&cmd, bss_conf); in iwl_mvm_mld_stop_ap()
[all...]
H A Dftm-responder.c416 struct ieee80211_bss_conf *bss_conf) in iwl_mvm_ftm_start_responder()
425 params = bss_conf->ftmr_params; in iwl_mvm_ftm_start_responder()
429 if (WARN_ON_ONCE(!bss_conf->ftm_responder)) in iwl_mvm_ftm_start_responder()
439 pctx = rcu_dereference(bss_conf->chanctx_conf); in iwl_mvm_ftm_start_responder()
454 ret = iwl_mvm_ftm_responder_cmd(mvm, vif, &ctx.def, bss_conf); in iwl_mvm_ftm_restart_responder() argument
477 struct ieee80211_bss_conf *bss_conf) in iwl_mvm_ftm_responder_stats()
479 if (!bss_conf->ftm_responder) in iwl_mvm_ftm_responder_stats()
483 iwl_mvm_ftm_start_responder(mvm, vif, bss_conf); in iwl_mvm_ftm_responder_stats()
393 iwl_mvm_ftm_start_responder(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_bss_conf * bss_conf) iwl_mvm_ftm_start_responder() argument
H A Dmac80211.c1638 iwl_mvm_post_channel_switch(hw, vif, &vif->bss_conf); in iwl_mvm_mac_add_interface()
1772 ret = iwl_mvm_set_link_mapping(mvm, vif, &vif->bss_conf); in iwl_mvm_mac_remove_interface()
1850 iwl_mvm_chandef_get_primary_80(&vif->bss_conf.chanreq.oper); in iwl_mvm_prepare_multicast()
1937 if (vif->bss_conf.ftm_responder) in iwl_mvm_config_iface_filter()
1972 iwl_mvm_unset_link_mapping(mvm, vif, &vif->bss_conf); in iwl_mvm_mu_mimo_iface_iterator()
2017 memcpy(cmd->bssid, vif->bss_conf.bssid, ETH_ALEN); in iwl_mvm_he_get_ppe_val()
2166 memcpy(cmd.membership_status, vif->bss_conf.mu_group.membership, in iwl_mvm_set_sta_pkt_ext()
2168 memcpy(cmd.user_position, vif->bss_conf.mu_group.position, in iwl_mvm_set_sta_pkt_ext()
2180 if (vif->bss_conf.mu_mimo_owner) { in iwl_mvm_set_sta_pkt_ext()
2562 .bss_color = vif->bss_conf in iwl_mvm_bss_info_changed_station_common()
2609 iwl_mvm_bss_info_changed_station(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_bss_conf * bss_conf,u64 changes) iwl_mvm_bss_info_changed_station() argument
3041 iwl_mvm_bss_info_changed_ap_ibss(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_bss_conf * bss_conf,u64 changes) iwl_mvm_bss_info_changed_ap_ibss() argument
3072 iwl_mvm_bss_info_changed(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_bss_conf * bss_conf,u64 changes) iwl_mvm_bss_info_changed() argument
3087 iwl_mvm_bss_info_changed_common(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_bss_conf * bss_conf,const struct iwl_mvm_bss_info_changed_ops * callbacks,u64 changes) iwl_mvm_bss_info_changed_common() argument
[all...]
H A Dpower.c75 if (vif->bss_conf.cqm_rssi_thold) { in iwl_mvm_beacon_filter_set_cqm_params()
77 cpu_to_le32(vif->bss_conf.cqm_rssi_hyst); in iwl_mvm_beacon_filter_set_cqm_params()
80 cpu_to_le32(-vif->bss_conf.cqm_rssi_thold); in iwl_mvm_beacon_filter_set_cqm_params()
270 (vif->bss_conf.p2p_noa_attr.oppps_ctwindow & in iwl_mvm_power_allow_uapsd()
357 dtimper = vif->bss_conf.dtim_period; in iwl_mvm_power_build_cmd()
358 bi = vif->bss_conf.beacon_int; in iwl_mvm_power_build_cmd()
387 if (vif->bss_conf.beacon_rate && in iwl_mvm_power_build_cmd()
388 (vif->bss_conf.beacon_rate->bitrate == 10 || in iwl_mvm_power_build_cmd()
389 vif->bss_conf.beacon_rate->bitrate == 60)) { in iwl_mvm_power_build_cmd()
829 if (mvmvif != mvm->bf_allowed_vif || !vif->bss_conf in _iwl_mvm_enable_beacon_filter()
[all...]
H A Ddebugfs-vif.c24 int dtimper = vif->bss_conf.dtim_period ?: 1; in iwl_dbgfs_update_pm()
25 int dtimper_msec = dtimper * vif->bss_conf.beacon_int; in iwl_dbgfs_update_pm()
148 vif->bss_conf.txpower); in iwl_dbgfs_tx_pwr_lmt_read()
213 vif->bss_conf.bssid); in iwl_dbgfs_mac_params_read()
240 chanctx_conf = rcu_dereference(vif->bss_conf.chanctx_conf); in iwl_dbgfs_mac_params_read()
H A Dsf.c273 changed_vif->bss_conf.dtim_period) { in iwl_mvm_sf_update()
H A Dcoex.c109 chanctx_conf = rcu_dereference(vif->bss_conf.chanctx_conf); in iwl_get_coex_type()
638 IWL_DEBUG_COEX(mvm, "RSSI for %pM is now %s\n", vif->bss_conf.bssid, in iwl_mvm_bt_coex_is_mimo_allowed()
H A Dquota.c104 beacon_int = mvm->noa_vif->bss_conf.beacon_int; in iwl_mvm_adjust_quota_for_noa()
H A Dmld-mac.c152 if (vif->bss_conf.he_support && !iwlwifi_mod_params.disable_11ax) in iwl_mvm_mld_mac_ctxt_cmd_sta()
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_80211.c1525 vif->bss_conf.beacon_int, vif->bss_conf.dtim_period, in lkpi_update_dtim_tsf()
1526 vif->bss_conf.sync_dtim_count, in lkpi_update_dtim_tsf()
1527 (uintmax_t)vif->bss_conf.sync_tsf, in lkpi_update_dtim_tsf()
1528 vif->bss_conf.sync_device_ts, in lkpi_update_dtim_tsf()
1532 if (vif->bss_conf.beacon_int != ni->ni_intval) { in lkpi_update_dtim_tsf()
1533 vif->bss_conf.beacon_int = ni->ni_intval; in lkpi_update_dtim_tsf()
1535 if (vif->bss_conf.beacon_int < 16) in lkpi_update_dtim_tsf()
1536 vif->bss_conf.beacon_int = 16; in lkpi_update_dtim_tsf()
1539 if (vif->bss_conf.dtim_period != vap->iv_dtim_period && in lkpi_update_dtim_tsf()
1541 vif->bss_conf.dtim_period = vap->iv_dtim_period; in lkpi_update_dtim_tsf()
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7996/
H A Dmcu.c327 if (vif->bss_conf.csa_active) in mt7996_mcu_csa_finish()
406 if (!vif->bss_conf.color_change_active) in mt7996_mcu_cca_finish()
603 he->he_pe_duration = vif->bss_conf.htc_trig_based_pkt_ext; in mt7996_mcu_bss_he_tlv()
607 he->he_rts_thres = cpu_to_le16(vif->bss_conf.frame_time_rts_th); in mt7996_mcu_bss_he_tlv()
712 addr = vif->bss_conf.bssid; in mt7996_mcu_muar_config()
774 vif->bss_conf.bssid); in mt7996_mcu_bss_basic_tlv()
797 bss->bcn_interval = cpu_to_le16(vif->bss_conf.beacon_int); in mt7996_mcu_bss_basic_tlv()
798 bss->dtim_period = vif->bss_conf.dtim_period; in mt7996_mcu_bss_basic_tlv()
816 memcpy(bss->bssid, vif->bss_conf.bssid, ETH_ALEN); in mt7996_mcu_bss_basic_tlv()
817 bss->bcn_interval = cpu_to_le16(vif->bss_conf.beacon_int); in mt7996_mcu_bss_basic_tlv()
[all …]
/freebsd/sys/contrib/dev/rtw88/
H A Dbf.h74 struct ieee80211_bss_conf *bss_conf);
76 struct ieee80211_bss_conf *bss_conf);
H A Dbf.c11 struct ieee80211_bss_conf *bss_conf) in rtw_bf_disassoc() argument
31 struct ieee80211_bss_conf *bss_conf) in rtw_bf_assoc() argument
41 const u8 *bssid = bss_conf->bssid; in rtw_bf_assoc()
H A Dfw.c781 struct ieee80211_bss_conf *bss_conf = &vif->bss_conf;
782 struct ieee80211_sta *sta = ieee80211_find_sta(vif, bss_conf->bssid); in rtw_fw_set_disconnect_decision_cmd()
793 if (bss_conf->cqm_rssi_thold) in rtw_fw_set_disconnect_decision_cmd()
794 thold = bss_conf->cqm_rssi_thold; in rtw_fw_set_disconnect_decision_cmd()
795 if (bss_conf->cqm_rssi_hyst) in rtw_fw_set_disconnect_decision_cmd()
796 hyst = bss_conf->cqm_rssi_hyst; in rtw_fw_set_disconnect_decision_cmd()
810 ether_addr_copy(&h2c_pkt[1], bss_conf->bssid); in rtw_fw_set_wowlan_ctrl_cmd()
823 SET_BCN_FILTER_OFFLOAD_P1_BCN_INTERVAL(h2c_pkt, bss_conf->beacon_int); in rtw_fw_set_wowlan_ctrl_cmd()
707 struct ieee80211_bss_conf *bss_conf = &vif->bss_conf; rtw_fw_beacon_filter_config() local
H A Drx.c107 if (!ether_addr_equal(vif->bss_conf.bssid, bssid)) in rtw_rx_addr_match_iter()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7921/
H A Dmcu.c513 .qos = vif->bss_conf.qos, in mt7921_mcu_set_tx()
536 .qos = vif->bss_conf.qos, in mt7921_mcu_set_tx()
565 if (!vif->bss_conf.he_support) in mt7921_mcu_set_tx()
821 .bcn_interval = cpu_to_le16(vif->bss_conf.beacon_int), in mt7921_mcu_uni_bss_bcnft()
822 .dtim_period = vif->bss_conf.dtim_period, in mt7921_mcu_uni_bss_bcnft()
851 .dtim_period = vif->bss_conf.dtim_period, in mt7921_mcu_set_bss_pm()
852 .bcn_interval = cpu_to_le16(vif->bss_conf.beacon_int), in mt7921_mcu_set_bss_pm()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/
H A Dmain.c668 vc->ht_ldpc = vif->bss_conf.ht_ldpc; in mt7915_vif_check_caps()
669 vc->vht_ldpc = vif->bss_conf.vht_ldpc; in mt7915_vif_check_caps()
670 vc->vht_su_ebfer = vif->bss_conf.vht_su_beamformer; in mt7915_vif_check_caps()
671 vc->vht_su_ebfee = vif->bss_conf.vht_su_beamformee; in mt7915_vif_check_caps()
672 vc->vht_mu_ebfer = vif->bss_conf.vht_mu_beamformer; in mt7915_vif_check_caps()
673 vc->vht_mu_ebfee = vif->bss_conf.vht_mu_beamformee; in mt7915_vif_check_caps()
674 vc->he_ldpc = vif->bss_conf.he_ldpc; in mt7915_vif_check_caps()
675 vc->he_su_ebfer = vif->bss_conf.he_su_beamformer; in mt7915_vif_check_caps()
676 vc->he_su_ebfee = vif->bss_conf.he_su_beamformee; in mt7915_vif_check_caps()
677 vc->he_mu_ebfer = vif->bss_conf.he_mu_beamformer; in mt7915_vif_check_caps()
H A Dmcu.c228 if (vif->bss_conf.csa_active) in mt7915_mcu_csa_finish()
331 if (!vif->bss_conf.color_change_active) in mt7915_mcu_cca_finish()
466 if (!(vif->bss_conf.chandef.chan->flags & IEEE80211_CHAN_RADAR)) in mt7915_check_he_obss_narrow_bw_ru()
469 cfg80211_bss_iter(hw->wiphy, &vif->bss_conf.chandef, in mt7915_check_he_obss_narrow_bw_ru()
502 if (vif->bss_conf.he_support && vif->type == NL80211_IFTYPE_STATION) { in mt7915_mcu_bss_rfch_tlv()
554 he->he_pe_duration = vif->bss_conf.htc_trig_based_pkt_ext; in mt7915_mcu_bss_he_tlv()
558 he->he_rts_thres = cpu_to_le16(vif->bss_conf.frame_time_rts_th); in mt7915_mcu_bss_he_tlv()
632 addr = vif->bss_conf.bssid; in mt7915_mcu_muar_config()
674 if (vif->bss_conf.he_support) in mt7915_mcu_add_bss_info()
1790 sub_tag = vif->bss_conf.csa_active ? BSS_INFO_BCN_CSA : BSS_INFO_BCN_BCC; in mt7915_mcu_beacon_cntdwn()
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dmt76_connac_mcu.c562 memcpy(generic->peer_addr, vif->bss_conf.bssid, in mt76_connac_mcu_wtbl_generic_tlv()
890 phy->basic_rate = cpu_to_le16((u16)vif->bss_conf.basic_rates); in mt76_connac_mcu_sta_tlv()
1405 he->he_pe_duration = vif->bss_conf.htc_trig_based_pkt_ext; in mt76_connac_mcu_uni_bss_he_tlv()
1409 he->he_rts_thres = cpu_to_le16(vif->bss_conf.frame_time_rts_th); in mt76_connac_mcu_uni_bss_he_tlv()
1524 .bcn_interval = cpu_to_le16(vif->bss_conf.beacon_int), in mt76_connac_mcu_uni_add_bss()
1525 .dtim_period = vif->bss_conf.dtim_period, in mt76_connac_mcu_uni_add_bss()
1535 .qos = vif->bss_conf.qos, in mt76_connac_mcu_uni_add_bss()
1575 memcpy(basic_req.basic.bssid, vif->bss_conf.bssid, ETH_ALEN); in mt76_connac_mcu_uni_add_bss()
1585 if (vif->bss_conf.he_support) { in mt76_connac_mcu_uni_add_bss()
1611 vif->bss_conf.he_bss_color.enabled; in mt76_connac_mcu_uni_add_bss()
[all …]
H A Dmt76_connac_mac.c320 rateidx = ffs(vif->bss_conf.basic_rates) - 1; in mt76_connac2_mac_tx_rate_val()
327 mask = &vif->bss_conf.beacon_tx_rate; in mt76_connac2_mac_tx_rate_val()
339 mcast_rate = vif->bss_conf.mcast_rate[band]; in mt76_connac2_mac_tx_rate_val()
343 rateidx = ffs(vif->bss_conf.basic_rates) - 1; in mt76_connac2_mac_tx_rate_val()
966 ether_addr_copy(hdr.addr3, vif->bss_conf.bssid); in mt76_connac2_reverse_frag0_hdr_trans()
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dmac.c512 conf = rcu_dereference(vif->bss_conf.chanctx_conf); in ath11k_mac_vif_chan()
1250 timeout = ieee80211_tu_to_usec(vif->bss_conf.beacon_int) / 1000; in ath11k_mac_vif_setup_ps()
1417 if (profile[2] == arvif->vif->bss_conf.bssid_index) { in ath11k_mac_set_nontx_vif_params()
1568 if (vif->bss_conf.ema_ap && vif->mbssid_tx_vif) in ath11k_mac_setup_bcn_tmpl()
1578 if (!vif->bss_conf.color_change_active && !arvif->bcca_zero_sent) in ath11k_mac_bcn_tx_event()
1581 if (vif->bss_conf.color_change_active && in ath11k_mac_bcn_tx_event()
1590 if (vif->bss_conf.color_change_active) in ath11k_mac_bcn_tx_event()
1657 if (!ether_addr_equal(mgmt->bssid, vif->bss_conf.bssid)) in ath11k_mac_handle_beacon_iter()
1738 arg->peer_caps = vif->bss_conf.assoc_capability; in ath11k_peer_assoc_h_basic()
1746 struct ieee80211_bss_conf *info = &vif->bss_conf; in ath11k_peer_assoc_h_crypto()
[all …]
/freebsd/sys/contrib/dev/athk/ath12k/
H A Dmac.c469 conf = rcu_dereference(vif->bss_conf.chanctx_conf); in ath12k_mac_vif_chan()
1228 arg->peer_caps = vif->bss_conf.assoc_capability; in ath12k_peer_assoc_h_basic()
1236 struct ieee80211_bss_conf *info = &vif->bss_conf; in ath12k_peer_assoc_h_crypto()
1665 arg->peer_he_ops = vif->bss_conf.he_oper.params; in ath12k_peer_assoc_h_he()
2266 struct ieee80211_bss_conf *bss_conf) in ath12k_bss_assoc() argument
2283 ap_sta = ieee80211_find_sta(vif, bss_conf->bssid); in ath12k_bss_assoc()
2286 bss_conf->bssid, arvif->vdev_id); in ath12k_bss_assoc()
2298 bss_conf->bssid, arvif->vdev_id, ret); in ath12k_bss_assoc()
2304 bss_conf->bssid, arvif->vdev_id); in ath12k_bss_assoc()
2308 ret = ath12k_setup_peer_smps(ar, arvif, bss_conf->bssid, in ath12k_bss_assoc()
[all …]
/freebsd/sys/contrib/dev/rtw89/
H A Dps.c240 desc = &vif->bss_conf.p2p_noa_attr.desc[noa_id]; in rtw89_p2p_update_noa()

123