Lines Matching refs:bss_conf

85 		min_bi = min(data->vif->bss_conf.beacon_int,  in iwl_mvm_mac_tsf_id_iter()
86 vif->bss_conf.beacon_int); in iwl_mvm_mac_tsf_id_iter()
91 if ((data->vif->bss_conf.beacon_int - in iwl_mvm_mac_tsf_id_iter()
92 vif->bss_conf.beacon_int) % min_bi == 0) { in iwl_mvm_mac_tsf_id_iter()
114 min_bi = min(data->vif->bss_conf.beacon_int, in iwl_mvm_mac_tsf_id_iter()
115 vif->bss_conf.beacon_int); in iwl_mvm_mac_tsf_id_iter()
120 if ((data->vif->bss_conf.beacon_int - in iwl_mvm_mac_tsf_id_iter()
121 vif->bss_conf.beacon_int) % min_bi == 0) { in iwl_mvm_mac_tsf_id_iter()
319 unsigned long basic = vif->bss_conf.basic_rates; in iwl_mvm_ack_rates()
404 u8 protection_mode = vif->bss_conf.ht_operation_mode & in iwl_mvm_mac_ctxt_set_ht_flags()
423 if (vif->bss_conf.chandef.width > NL80211_CHAN_WIDTH_20) in iwl_mvm_mac_ctxt_set_ht_flags()
441 bool ht_enabled = !!(vif->bss_conf.ht_operation_mode & in iwl_mvm_mac_ctxt_cmd_common()
444 const u8 *bssid = bssid_override ?: vif->bss_conf.bssid; in iwl_mvm_mac_ctxt_cmd_common()
484 chanctx = rcu_dereference(vif->bss_conf.chanctx_conf); in iwl_mvm_mac_ctxt_cmd_common()
494 cpu_to_le32(vif->bss_conf.use_short_preamble ? in iwl_mvm_mac_ctxt_cmd_common()
497 cpu_to_le32(vif->bss_conf.use_short_slot ? in iwl_mvm_mac_ctxt_cmd_common()
516 if (vif->bss_conf.qos) in iwl_mvm_mac_ctxt_cmd_common()
519 if (vif->bss_conf.use_cts_prot) in iwl_mvm_mac_ctxt_cmd_common()
523 vif->bss_conf.use_cts_prot, in iwl_mvm_mac_ctxt_cmd_common()
524 vif->bss_conf.ht_operation_mode); in iwl_mvm_mac_ctxt_cmd_common()
525 if (vif->bss_conf.chandef.width != NL80211_CHAN_WIDTH_20_NOHT) in iwl_mvm_mac_ctxt_cmd_common()
563 &vif->bss_conf.p2p_noa_attr; in iwl_mvm_mac_ctxt_cmd_sta()
573 if (vif->cfg.assoc && vif->bss_conf.dtim_period && in iwl_mvm_mac_ctxt_cmd_sta()
593 dtim_offs = vif->bss_conf.sync_dtim_count * in iwl_mvm_mac_ctxt_cmd_sta()
594 vif->bss_conf.beacon_int; in iwl_mvm_mac_ctxt_cmd_sta()
599 cpu_to_le64(vif->bss_conf.sync_tsf + dtim_offs); in iwl_mvm_mac_ctxt_cmd_sta()
601 cpu_to_le32(vif->bss_conf.sync_device_ts + dtim_offs); in iwl_mvm_mac_ctxt_cmd_sta()
603 cpu_to_le32(vif->bss_conf.sync_device_ts); in iwl_mvm_mac_ctxt_cmd_sta()
626 ctxt_sta->bi = cpu_to_le32(vif->bss_conf.beacon_int); in iwl_mvm_mac_ctxt_cmd_sta()
627 ctxt_sta->dtim_interval = cpu_to_le32(vif->bss_conf.beacon_int * in iwl_mvm_mac_ctxt_cmd_sta()
628 vif->bss_conf.dtim_period); in iwl_mvm_mac_ctxt_cmd_sta()
636 if (vif->bss_conf.he_support && !iwlwifi_mod_params.disable_11ax) { in iwl_mvm_mac_ctxt_cmd_sta()
638 if (vif->bss_conf.twt_requester && IWL_MVM_USE_TWT) in iwl_mvm_mac_ctxt_cmd_sta()
640 if (vif->bss_conf.twt_protected) in iwl_mvm_mac_ctxt_cmd_sta()
643 if (vif->bss_conf.twt_broadcast) in iwl_mvm_mac_ctxt_cmd_sta()
697 cmd.ibss.bi = cpu_to_le32(vif->bss_conf.beacon_int); in iwl_mvm_mac_ctxt_cmd_ibss()
937 ctx = rcu_dereference(vif->bss_conf.chanctx_conf); in iwl_mvm_mac_ctxt_send_beacon_v9()
1041 data->beacon_device_ts = vif->bss_conf.sync_device_ts; in iwl_mvm_mac_ap_iterator()
1042 data->beacon_int = vif->bss_conf.beacon_int; in iwl_mvm_mac_ap_iterator()
1078 ctxt_ap->bi = cpu_to_le32(vif->bss_conf.beacon_int); in iwl_mvm_mac_ctxt_cmd_fill_ap()
1079 ctxt_ap->dtim_interval = cpu_to_le32(vif->bss_conf.beacon_int * in iwl_mvm_mac_ctxt_cmd_fill_ap()
1080 vif->bss_conf.dtim_period); in iwl_mvm_mac_ctxt_cmd_fill_ap()
1141 struct ieee80211_p2p_noa_attr *noa = &vif->bss_conf.p2p_noa_attr; in iwl_mvm_mac_ctxt_cmd_go()
1276 csa_vif->bss_conf.beacon_int - in iwl_mvm_csa_count_down()
1338 if (unlikely(csa_vif && csa_vif->bss_conf.csa_active)) in iwl_mvm_rx_beacon_notif()
1561 if (WARN_ON(!csa_vif || !csa_vif->bss_conf.csa_active || in iwl_mvm_channel_switch_start_notif()
1575 csa_vif->bss_conf.beacon_int)); in iwl_mvm_channel_switch_start_notif()
1590 0) && !vif->bss_conf.csa_active) { in iwl_mvm_channel_switch_start_notif()