Home
last modified time | relevance | path

Searched full:vif (Results 1 – 25 of 210) sorted by relevance

123456789

/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dmld-mac80211.c8 struct ieee80211_vif *vif) in iwl_mvm_mld_mac_add_interface() argument
11 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_mld_mac_add_interface()
33 ret = iwl_mvm_mac_ctxt_init(mvm, vif); in iwl_mvm_mld_mac_add_interface()
37 rcu_assign_pointer(mvm->vif_id_to_mac[mvmvif->id], vif); in iwl_mvm_mld_mac_add_interface()
47 ret = iwl_mvm_mld_mac_ctxt_add(mvm, vif); in iwl_mvm_mld_mac_add_interface()
52 ret = iwl_mvm_disable_beacon_filter(mvm, vif); in iwl_mvm_mld_mac_add_interface()
57 vif->type == NL80211_IFTYPE_STATION && !vif->p2p) { in iwl_mvm_mld_mac_add_interface()
59 vif->driver_flags |= IEEE80211_VIF_BEACON_FILTER | in iwl_mvm_mld_mac_add_interface()
63 ret = iwl_mvm_add_link(mvm, vif, in iwl_mvm_mld_mac_add_interface()
143 iwl_mvm_mld_mac_remove_interface(struct ieee80211_hw * hw,struct ieee80211_vif * vif) iwl_mvm_mld_mac_remove_interface() argument
218 iwl_mvm_mld_count_active_links(struct ieee80211_vif * vif) iwl_mvm_mld_count_active_links() argument
236 iwl_mvm_esr_mode_active(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mvm_esr_mode_active() argument
267 __iwl_mvm_mld_assign_vif_chanctx(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf,struct ieee80211_chanctx_conf * ctx,bool switching_chanctx) __iwl_mvm_mld_assign_vif_chanctx() argument
379 iwl_mvm_mld_assign_vif_chanctx(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf,struct ieee80211_chanctx_conf * ctx) iwl_mvm_mld_assign_vif_chanctx() argument
394 iwl_mvm_esr_mode_inactive(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mvm_esr_mode_inactive() argument
441 __iwl_mvm_mld_unassign_vif_chanctx(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf,struct ieee80211_chanctx_conf * ctx,bool switching_chanctx) __iwl_mvm_mld_unassign_vif_chanctx() argument
488 iwl_mvm_mld_unassign_vif_chanctx(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf,struct ieee80211_chanctx_conf * ctx) iwl_mvm_mld_unassign_vif_chanctx() argument
500 iwl_mvm_mld_start_ap_ibss(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf) iwl_mvm_mld_start_ap_ibss() argument
561 iwl_mvm_mld_start_ap(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf) iwl_mvm_mld_start_ap() argument
568 iwl_mvm_mld_start_ibss(struct ieee80211_hw * hw,struct ieee80211_vif * vif) iwl_mvm_mld_start_ibss() argument
574 iwl_mvm_mld_stop_ap_ibss(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf) iwl_mvm_mld_stop_ap_ibss() argument
597 iwl_mvm_mld_stop_ap(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf) iwl_mvm_mld_stop_ap() argument
604 iwl_mvm_mld_stop_ibss(struct ieee80211_hw * hw,struct ieee80211_vif * vif) iwl_mvm_mld_stop_ibss() argument
610 iwl_mvm_mld_mac_sta_state(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta,enum ieee80211_sta_state old_state,enum ieee80211_sta_state new_state) iwl_mvm_mld_mac_sta_state() argument
628 iwl_mvm_mld_link_info_changed_station(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf,u64 changes) iwl_mvm_mld_link_info_changed_station() argument
689 iwl_mvm_mld_vif_delete_all_stas(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mvm_mld_vif_delete_all_stas() argument
713 iwl_mvm_mld_vif_cfg_changed_station(struct iwl_mvm * mvm,struct ieee80211_vif * vif,u64 changes) iwl_mvm_mld_vif_cfg_changed_station() argument
805 iwl_mvm_mld_link_info_changed_ap_ibss(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf,u64 changes) iwl_mvm_mld_link_info_changed_ap_ibss() argument
847 iwl_mvm_mld_link_info_changed(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf,u64 changes) iwl_mvm_mld_link_info_changed() argument
884 iwl_mvm_mld_vif_cfg_changed(struct ieee80211_hw * hw,struct ieee80211_vif * vif,u64 changes) iwl_mvm_mld_vif_cfg_changed() argument
915 iwl_mvm_mld_config_iface_filter(struct ieee80211_hw * hw,struct ieee80211_vif * vif,unsigned int filter_flags,unsigned int changed_flags) iwl_mvm_mld_config_iface_filter() argument
937 iwl_mvm_mld_mac_conf_tx(struct ieee80211_hw * hw,struct ieee80211_vif * vif,unsigned int link_id,u16 ac,const struct ieee80211_tx_queue_params * params) iwl_mvm_mld_mac_conf_tx() argument
967 iwl_mvm_link_switch_phy_ctx(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct iwl_mvm_phy_ctxt * new_phy_ctxt) iwl_mvm_link_switch_phy_ctx() argument
998 iwl_mvm_mld_roc(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_channel * channel,int duration,enum ieee80211_roc_type type) iwl_mvm_mld_roc() argument
1012 iwl_mvm_mld_change_vif_links(struct ieee80211_hw * hw,struct ieee80211_vif * vif,u16 old_links,u16 new_links,struct ieee80211_bss_conf * old[IEEE80211_MLD_MAX_NUM_LINKS]) iwl_mvm_mld_change_vif_links() argument
1108 iwl_mvm_mld_change_sta_links(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta,u16 old_links,u16 new_links) iwl_mvm_mld_change_sta_links() argument
[all...]
H A Dmld-mac.c8 struct ieee80211_vif *vif, in iwl_mvm_mld_set_he_support() argument
11 if (vif->type == NL80211_IFTYPE_AP) in iwl_mvm_mld_set_he_support()
18 struct ieee80211_vif *vif, in iwl_mvm_mld_mac_ctxt_cmd_common() argument
22 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_mld_mac_ctxt_cmd_common()
29 cmd->mac_type = cpu_to_le32(iwl_mvm_get_mac_type(vif)); in iwl_mvm_mld_mac_ctxt_cmd_common()
31 memcpy(cmd->local_mld_addr, vif->addr, ETH_ALEN); in iwl_mvm_mld_mac_ctxt_cmd_common()
40 cpu_to_le32(!iwl_mvm_is_nic_ack_enabled(mvm, vif)); in iwl_mvm_mld_mac_ctxt_cmd_common()
53 if (ieee80211_vif_is_mld(vif)) { in iwl_mvm_mld_mac_ctxt_cmd_common()
54 iwl_mvm_mld_set_he_support(mvm, vif, cmd); in iwl_mvm_mld_mac_ctxt_cmd_common()
60 for (link_id = 0; link_id < ARRAY_SIZE((vif) in iwl_mvm_mld_mac_ctxt_cmd_common()
95 iwl_mvm_mld_mac_ctxt_cmd_sta(struct iwl_mvm * mvm,struct ieee80211_vif * vif,u32 action,bool force_assoc_off) iwl_mvm_mld_mac_ctxt_cmd_sta() argument
160 iwl_mvm_mld_mac_ctxt_cmd_listener(struct iwl_mvm * mvm,struct ieee80211_vif * vif,u32 action) iwl_mvm_mld_mac_ctxt_cmd_listener() argument
179 iwl_mvm_mld_mac_ctxt_cmd_ibss(struct iwl_mvm * mvm,struct ieee80211_vif * vif,u32 action) iwl_mvm_mld_mac_ctxt_cmd_ibss() argument
196 iwl_mvm_mld_mac_ctxt_cmd_p2p_device(struct iwl_mvm * mvm,struct ieee80211_vif * vif,u32 action) iwl_mvm_mld_mac_ctxt_cmd_p2p_device() argument
215 iwl_mvm_mld_mac_ctxt_cmd_ap_go(struct iwl_mvm * mvm,struct ieee80211_vif * vif,u32 action) iwl_mvm_mld_mac_ctxt_cmd_ap_go() argument
235 iwl_mvm_mld_mac_ctx_send(struct iwl_mvm * mvm,struct ieee80211_vif * vif,u32 action,bool force_assoc_off) iwl_mvm_mld_mac_ctx_send() argument
257 iwl_mvm_mld_mac_ctxt_add(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mvm_mld_mac_ctxt_add() argument
282 iwl_mvm_mld_mac_ctxt_changed(struct iwl_mvm * mvm,struct ieee80211_vif * vif,bool force_assoc_off) iwl_mvm_mld_mac_ctxt_changed() argument
298 iwl_mvm_mld_mac_ctxt_remove(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mvm_mld_mac_ctxt_remove() argument
[all...]
H A Dmac-ctxt.c47 struct ieee80211_vif *vif; member
55 struct ieee80211_vif *vif) in iwl_mvm_mac_tsf_id_iter() argument
58 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_mac_tsf_id_iter()
62 if (vif == data->vif) in iwl_mvm_mac_tsf_id_iter()
81 switch (data->vif->type) { in iwl_mvm_mac_tsf_id_iter()
91 if (vif->type != NL80211_IFTYPE_AP || in iwl_mvm_mac_tsf_id_iter()
96 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()
[all …]
H A Dmac80211.c109 struct ieee80211_vif *vif, in iwl_mvm_reset_phy_ctxts()
850 if (!sta && info->control.vif->type == NL80211_IFTYPE_STATION && in iwl_mvm_mac_itxq_xmit()
853 iwl_mvm_vif_from_mac80211(info->control.vif); in iwl_mvm_mac_itxq_xmit()
870 rcu_dereference(info->control.vif->link_conf[link_id]); in iwl_mvm_mac_wake_tx_queue()
978 iwl_mvm_ampdu_check_trigger(struct iwl_mvm *mvm, struct ieee80211_vif *vif, in iwl_mvm_mac_ampdu_action()
985 trig = iwl_fw_dbg_trigger_on(&mvm->fwrt, ieee80211_vif_to_wdev(vif), in iwl_mvm_mac_ampdu_action()
1023 struct ieee80211_vif *vif, in iwl_mvm_mac_ampdu_action()
1046 if (iwl_mvm_vif_from_mac80211(vif)->deflink.ap_sta_id == in iwl_mvm_cleanup_iterator()
1049 u16 macid = iwl_mvm_vif_from_mac80211(vif)->id; in iwl_mvm_cleanup_iterator()
1053 mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_cleanup_iterator()
901 iwl_mvm_ampdu_check_trigger(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta,u16 tid,u16 rx_ba_ssn,enum ieee80211_ampdu_mlme_action action) iwl_mvm_ampdu_check_trigger() argument
946 iwl_mvm_mac_ampdu_action(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_ampdu_params * params) iwl_mvm_mac_ampdu_action() argument
1029 iwl_mvm_cleanup_iterator(void * data,u8 * mac,struct ieee80211_vif * vif) iwl_mvm_cleanup_iterator() argument
1343 iwl_mvm_set_tx_power(struct iwl_mvm * mvm,struct ieee80211_vif * vif,s16 tx_power) iwl_mvm_set_tx_power() argument
1380 iwl_mvm_post_channel_switch(struct ieee80211_hw * hw,struct ieee80211_vif * vif) iwl_mvm_post_channel_switch() argument
1429 iwl_mvm_abort_channel_switch(struct ieee80211_hw * hw,struct ieee80211_vif * vif) iwl_mvm_abort_channel_switch() argument
1468 struct ieee80211_vif *vif; iwl_mvm_channel_switch_disconnect_wk() local
1500 iwl_mvm_alloc_bcast_mcast_sta(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mvm_alloc_bcast_mcast_sta() argument
1522 iwl_mvm_mac_add_interface(struct ieee80211_hw * hw,struct ieee80211_vif * vif) iwl_mvm_mac_add_interface() argument
1673 iwl_mvm_prepare_mac_removal(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mvm_prepare_mac_removal() argument
1690 iwl_mvm_mac_remove_interface_common(struct ieee80211_hw * hw,struct ieee80211_vif * vif) iwl_mvm_mac_remove_interface_common() argument
1746 iwl_mvm_mac_remove_interface(struct ieee80211_hw * hw,struct ieee80211_vif * vif) iwl_mvm_mac_remove_interface() argument
1785 iwl_mvm_mc_iface_iterator(void * _data,u8 * mac,struct ieee80211_vif * vif) iwl_mvm_mc_iface_iterator() argument
1933 iwl_mvm_config_iface_filter(struct ieee80211_hw * hw,struct ieee80211_vif * vif,unsigned int filter_flags,unsigned int changed_flags) iwl_mvm_config_iface_filter() argument
1953 iwl_mvm_update_mu_groups(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mvm_update_mu_groups() argument
1969 iwl_mvm_mu_mimo_iface_iterator(void * _data,u8 * mac,struct ieee80211_vif * vif) iwl_mvm_mu_mimo_iface_iterator() argument
2298 iwl_mvm_is_nic_ack_enabled(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mvm_is_nic_ack_enabled() argument
2347 iwl_mvm_cfg_he_sta(struct iwl_mvm * mvm,struct ieee80211_vif * vif,u8 sta_id) iwl_mvm_cfg_he_sta() argument
2499 iwl_mvm_protect_assoc(struct iwl_mvm * mvm,struct ieee80211_vif * vif,u32 duration_override) iwl_mvm_protect_assoc() argument
2528 iwl_mvm_bss_info_changed_station_assoc(struct iwl_mvm * mvm,struct ieee80211_vif * vif,u64 changes) iwl_mvm_bss_info_changed_station_assoc() argument
2561 iwl_mvm_bss_info_changed_station_common(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf,u64 changes) iwl_mvm_bss_info_changed_station_common() argument
2608 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
2778 iwl_mvm_start_ap_ibss_common(struct ieee80211_hw * hw,struct ieee80211_vif * vif,int * ret) iwl_mvm_start_ap_ibss_common() argument
2819 iwl_mvm_start_ap_ibss(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf) iwl_mvm_start_ap_ibss() argument
2938 iwl_mvm_start_ap(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf) iwl_mvm_start_ap() argument
2945 iwl_mvm_start_ibss(struct ieee80211_hw * hw,struct ieee80211_vif * vif) iwl_mvm_start_ibss() argument
2952 iwl_mvm_stop_ap_ibss_common(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mvm_stop_ap_ibss_common() argument
2986 iwl_mvm_stop_ap_ibss(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf) iwl_mvm_stop_ap_ibss() argument
3026 iwl_mvm_stop_ap(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf) iwl_mvm_stop_ap() argument
3033 iwl_mvm_stop_ibss(struct ieee80211_hw * hw,struct ieee80211_vif * vif) iwl_mvm_stop_ibss() argument
3040 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
3071 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
3086 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
3125 iwl_mvm_mac_hw_scan(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_scan_request * hw_req) iwl_mvm_mac_hw_scan() argument
3143 iwl_mvm_mac_cancel_hw_scan(struct ieee80211_hw * hw,struct ieee80211_vif * vif) iwl_mvm_mac_cancel_hw_scan() argument
3251 iwl_mvm_mac_sta_notify(struct ieee80211_hw * hw,struct ieee80211_vif * vif,enum sta_notify_cmd cmd,struct ieee80211_sta * sta) iwl_mvm_mac_sta_notify() argument
3311 iwl_mvm_sta_pre_rcu_remove(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta) iwl_mvm_sta_pre_rcu_remove() argument
3348 iwl_mvm_check_uapsd(struct iwl_mvm * mvm,struct ieee80211_vif * vif,const u8 * bssid) iwl_mvm_check_uapsd() argument
3387 iwl_mvm_tdls_check_trigger(struct iwl_mvm * mvm,struct ieee80211_vif * vif,u8 * peer_addr,enum nl80211_tdls_operation action) iwl_mvm_tdls_check_trigger() argument
3439 iwl_mvm_check_he_obss_narrow_bw_ru(struct ieee80211_hw * hw,struct ieee80211_vif * vif,unsigned int link_id,struct ieee80211_bss_conf * link_conf) iwl_mvm_check_he_obss_narrow_bw_ru() argument
3469 iwl_mvm_reset_cca_40mhz_workaround(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mvm_reset_cca_40mhz_workaround() argument
3501 iwl_mvm_mei_host_associated(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct iwl_mvm_sta * mvm_sta) iwl_mvm_mei_host_associated() argument
3572 iwl_mvm_mac_ctxt_changed_wrapper(struct iwl_mvm * mvm,struct ieee80211_vif * vif,bool force_assoc_off) iwl_mvm_mac_ctxt_changed_wrapper() argument
3579 iwl_mvm_mac_sta_state(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta,enum ieee80211_sta_state old_state,enum ieee80211_sta_state new_state) iwl_mvm_mac_sta_state() argument
3601 iwl_mvm_rs_rate_init_all_links(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta) iwl_mvm_rs_rate_init_all_links() argument
3624 iwl_mvm_vif_conf_from_sta(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta) iwl_mvm_vif_conf_from_sta() argument
3658 iwl_mvm_vif_set_he_support(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta,bool is_sta) iwl_mvm_vif_set_he_support() argument
3687 iwl_mvm_sta_state_notexist_to_none(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta,const struct iwl_mvm_sta_state_ops * callbacks) iwl_mvm_sta_state_notexist_to_none() argument
3731 iwl_mvm_sta_state_auth_to_assoc(struct ieee80211_hw * hw,struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta,const struct iwl_mvm_sta_state_ops * callbacks) iwl_mvm_sta_state_auth_to_assoc() argument
3788 iwl_mvm_sta_state_assoc_to_authorized(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta,const struct iwl_mvm_sta_state_ops * callbacks) iwl_mvm_sta_state_assoc_to_authorized() argument
3823 iwl_mvm_sta_state_authorized_to_assoc(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta,const struct iwl_mvm_sta_state_ops * callbacks) iwl_mvm_sta_state_authorized_to_assoc() argument
3855 iwl_mvm_mac_sta_state_common(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta,enum ieee80211_sta_state old_state,enum ieee80211_sta_state new_state,const struct iwl_mvm_sta_state_ops * callbacks) iwl_mvm_mac_sta_state_common() argument
3999 iwl_mvm_sta_rc_update(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta,u32 changed) iwl_mvm_sta_rc_update() argument
4015 iwl_mvm_mac_conf_tx(struct ieee80211_hw * hw,struct ieee80211_vif * vif,unsigned int link_id,u16 ac,const struct ieee80211_tx_queue_params * params) iwl_mvm_mac_conf_tx() argument
4040 iwl_mvm_mac_mgd_prepare_tx(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_prep_tx_info * info) iwl_mvm_mac_mgd_prepare_tx() argument
4051 iwl_mvm_mac_mgd_complete_tx(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_prep_tx_info * info) iwl_mvm_mac_mgd_complete_tx() argument
4066 iwl_mvm_mac_sched_scan_start(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct cfg80211_sched_scan_request * req,struct ieee80211_scan_ies * ies) iwl_mvm_mac_sched_scan_start() argument
4089 iwl_mvm_mac_sched_scan_stop(struct ieee80211_hw * hw,struct ieee80211_vif * vif) iwl_mvm_mac_sched_scan_stop() argument
4118 __iwl_mvm_mac_set_key(struct ieee80211_hw * hw,enum set_key_cmd cmd,struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct ieee80211_key_conf * key) __iwl_mvm_mac_set_key() argument
4350 iwl_mvm_mac_set_key(struct ieee80211_hw * hw,enum set_key_cmd cmd,struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct ieee80211_key_conf * key) iwl_mvm_mac_set_key() argument
4364 iwl_mvm_mac_update_tkip_key(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_key_conf * keyconf,struct ieee80211_sta * sta,u32 iv32,u16 * phase1key) iwl_mvm_mac_update_tkip_key() argument
4419 iwl_mvm_send_aux_roc_cmd(struct iwl_mvm * mvm,struct ieee80211_channel * channel,struct ieee80211_vif * vif,int duration) iwl_mvm_send_aux_roc_cmd() argument
4559 iwl_mvm_roc_switch_binding(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct iwl_mvm_phy_ctxt * new_phy_ctxt) iwl_mvm_roc_switch_binding() argument
4585 iwl_mvm_roc(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_channel * channel,int duration,enum ieee80211_roc_type type) iwl_mvm_roc() argument
4599 iwl_mvm_roc_common(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_channel * channel,int duration,enum ieee80211_roc_type type,const struct iwl_mvm_roc_ops * ops) iwl_mvm_roc_common() argument
4720 iwl_mvm_cancel_roc(struct ieee80211_hw * hw,struct ieee80211_vif * vif) iwl_mvm_cancel_roc() argument
4740 iwl_mvm_ftm_responder_chanctx_iter(void * _data,u8 * mac,struct ieee80211_vif * vif) iwl_mvm_ftm_responder_chanctx_iter() argument
4879 __iwl_mvm_assign_vif_chanctx_common(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_chanctx_conf * ctx,bool switching_chanctx,int * ret) __iwl_mvm_assign_vif_chanctx_common() argument
4920 __iwl_mvm_assign_vif_chanctx(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf,struct ieee80211_chanctx_conf * ctx,bool switching_chanctx) __iwl_mvm_assign_vif_chanctx() argument
5002 iwl_mvm_assign_vif_chanctx(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf,struct ieee80211_chanctx_conf * ctx) iwl_mvm_assign_vif_chanctx() argument
5023 __iwl_mvm_unassign_vif_chanctx_common(struct iwl_mvm * mvm,struct ieee80211_vif * vif,bool switching_chanctx) __iwl_mvm_unassign_vif_chanctx_common() argument
5061 __iwl_mvm_unassign_vif_chanctx(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf,struct ieee80211_chanctx_conf * ctx,bool switching_chanctx) __iwl_mvm_unassign_vif_chanctx() argument
5095 iwl_mvm_unassign_vif_chanctx(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf,struct ieee80211_chanctx_conf * ctx) iwl_mvm_unassign_vif_chanctx() argument
5278 __iwl_mvm_mac_testmode_cmd(struct iwl_mvm * mvm,struct ieee80211_vif * vif,void * data,int len) __iwl_mvm_mac_testmode_cmd() argument
5324 iwl_mvm_mac_testmode_cmd(struct ieee80211_hw * hw,struct ieee80211_vif * vif,void * data,int len) iwl_mvm_mac_testmode_cmd() argument
5338 iwl_mvm_channel_switch(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_channel_switch * chsw) iwl_mvm_channel_switch() argument
5352 iwl_mvm_schedule_client_csa(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_channel_switch * chsw) iwl_mvm_schedule_client_csa() argument
5378 iwl_mvm_old_pre_chan_sw_sta(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_channel_switch * chsw) iwl_mvm_old_pre_chan_sw_sta() argument
5415 iwl_mvm_pre_channel_switch(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_channel_switch * chsw) iwl_mvm_pre_channel_switch() argument
5530 iwl_mvm_channel_switch_rx_beacon(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_channel_switch * chsw) iwl_mvm_channel_switch_rx_beacon() argument
5616 iwl_mvm_mac_flush(struct ieee80211_hw * hw,struct ieee80211_vif * vif,u32 queues,bool drop) iwl_mvm_mac_flush() argument
5681 iwl_mvm_mac_flush_sta(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta) iwl_mvm_mac_flush_sta() argument
5891 iwl_mvm_mac_sta_statistics(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct station_info * sinfo) iwl_mvm_mac_sta_statistics() argument
5940 iwl_mvm_event_mlme_callback_ini(struct iwl_mvm * mvm,struct ieee80211_vif * vif,const struct ieee80211_mlme_event * mlme) iwl_mvm_event_mlme_callback_ini() argument
5960 iwl_mvm_event_mlme_callback(struct iwl_mvm * mvm,struct ieee80211_vif * vif,const struct ieee80211_event * event) iwl_mvm_event_mlme_callback() argument
6012 iwl_mvm_event_bar_rx_callback(struct iwl_mvm * mvm,struct ieee80211_vif * vif,const struct ieee80211_event * event) iwl_mvm_event_bar_rx_callback() argument
6035 iwl_mvm_mac_event_callback(struct ieee80211_hw * hw,struct ieee80211_vif * vif,const struct ieee80211_event * event) iwl_mvm_mac_event_callback() argument
6129 iwl_mvm_mac_get_ftm_responder_stats(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct cfg80211_ftm_responder_stats * stats) iwl_mvm_mac_get_ftm_responder_stats() argument
6156 iwl_mvm_start_pmsr(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct cfg80211_pmsr_request * request) iwl_mvm_start_pmsr() argument
6169 iwl_mvm_abort_pmsr(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct cfg80211_pmsr_request * request) iwl_mvm_abort_pmsr() argument
6206 iwl_mvm_set_hw_timestamp(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct cfg80211_set_hw_timestamp * hwts) iwl_mvm_set_hw_timestamp() argument
[all...]
H A Ddebugfs-vif.c14 struct ieee80211_vif *vif, in iwl_dbgfs_update_pm() argument
17 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_update_pm()
24 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()
75 static ssize_t iwl_dbgfs_pm_params_write(struct ieee80211_vif *vif, char *buf, in iwl_dbgfs_pm_params_write() argument
78 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_pm_params_write()
131 iwl_dbgfs_update_pm(mvm, vif, param, val); in iwl_dbgfs_pm_params_write()
142 struct ieee80211_vif *vif = file->private_data; in iwl_dbgfs_tx_pwr_lmt_read() local
148 vif->bss_conf.txpower); in iwl_dbgfs_tx_pwr_lmt_read()
157 struct ieee80211_vif *vif = file->private_data; in iwl_dbgfs_pm_params_read() local
[all …]
H A Dpower.c70 struct ieee80211_vif *vif, in iwl_mvm_beacon_filter_set_cqm_params()
73 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_beacon_filter_set_cqm_params()
75 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()
123 struct ieee80211_vif *vif, in iwl_mvm_power_configure_uapsd()
126 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_power_configure_uapsd()
220 struct ieee80211_vif *vif) in iwl_mvm_p2p_standalone_iterator()
223 struct iwl_mvm_vif *other_mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_p2p_standalone_iterator()
227 /* exclude the given vif */ in iwl_mvm_p2p_standalone_iterator()
71 iwl_mvm_beacon_filter_set_cqm_params(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct iwl_beacon_filter_cmd * cmd) iwl_mvm_beacon_filter_set_cqm_params() argument
124 iwl_mvm_power_configure_uapsd(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct iwl_mac_power_cmd * cmd) iwl_mvm_power_configure_uapsd() argument
216 iwl_mvm_p2p_standalone_iterator(void * _data,u8 * mac,struct ieee80211_vif * vif) iwl_mvm_p2p_standalone_iterator() argument
236 iwl_mvm_power_allow_uapsd(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mvm_power_allow_uapsd() argument
279 iwl_mvm_power_is_radar(struct ieee80211_vif * vif) iwl_mvm_power_is_radar() argument
305 iwl_mvm_power_config_skip_dtim(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct iwl_mac_power_cmd * cmd) iwl_mvm_power_config_skip_dtim() argument
339 iwl_mvm_power_build_cmd(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct iwl_mac_power_cmd * cmd) iwl_mvm_power_build_cmd() argument
457 iwl_mvm_power_send_cmd(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mvm_power_send_cmd() argument
500 iwl_mvm_power_vif_assoc(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mvm_power_vif_assoc() argument
510 iwl_mvm_power_uapsd_misbehav_ap_iterator(void * _data,u8 * mac,struct ieee80211_vif * vif) iwl_mvm_power_uapsd_misbehav_ap_iterator() argument
558 iwl_mvm_power_disable_pm_iterator(void * _data,u8 * mac,struct ieee80211_vif * vif) iwl_mvm_power_disable_pm_iterator() argument
566 iwl_mvm_power_ps_disabled_iterator(void * _data,u8 * mac,struct ieee80211_vif * vif) iwl_mvm_power_ps_disabled_iterator() argument
576 iwl_mvm_power_get_vifs_iterator(void * _data,u8 * mac,struct ieee80211_vif * vif) iwl_mvm_power_get_vifs_iterator() argument
701 iwl_mvm_power_mac_dbgfs_read(struct iwl_mvm * mvm,struct ieee80211_vif * vif,char * buf,int bufsz) iwl_mvm_power_mac_dbgfs_read() argument
775 iwl_mvm_beacon_filter_debugfs_parameters(struct ieee80211_vif * vif,struct iwl_beacon_filter_cmd * cmd) iwl_mvm_beacon_filter_debugfs_parameters() argument
810 _iwl_mvm_enable_beacon_filter(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct iwl_beacon_filter_cmd * cmd,u32 cmd_flags) _iwl_mvm_enable_beacon_filter() argument
832 iwl_mvm_enable_beacon_filter(struct iwl_mvm * mvm,struct ieee80211_vif * vif,u32 flags) iwl_mvm_enable_beacon_filter() argument
844 _iwl_mvm_disable_beacon_filter(struct iwl_mvm * mvm,struct ieee80211_vif * vif,u32 flags) _iwl_mvm_disable_beacon_filter() argument
863 iwl_mvm_disable_beacon_filter(struct iwl_mvm * mvm,struct ieee80211_vif * vif,u32 flags) iwl_mvm_disable_beacon_filter() argument
898 iwl_mvm_power_set_ba(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mvm_power_set_ba() argument
[all...]
H A Dmld-sta.c14 struct ieee80211_vif *vif; in iwl_mvm_sta_fw_id_mask()
22 vif = mvmsta->vif; in iwl_mvm_sta_fw_id_mask()
29 for_each_sta_active_link(vif, sta, link_sta, link_id) { in iwl_mvm_sta_fw_id_mask()
205 /* Allocate a new station entry for the broadcast station to the given vif,
209 int iwl_mvm_mld_add_bcast_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, in iwl_mvm_mld_add_bcast_sta()
212 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_mld_add_bcast_sta()
219 iwl_mvm_get_wd_timeout(mvm, vif, false, false); in iwl_mvm_mld_add_bcast_sta()
224 if (vif->type == NL80211_IFTYPE_ADHOC) in iwl_mvm_mld_add_bcast_sta()
227 if (vif in iwl_mvm_mld_add_bcast_sta()
206 iwl_mvm_mld_add_bcast_sta(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf) iwl_mvm_mld_add_bcast_sta() argument
245 iwl_mvm_mld_add_mcast_sta(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf) iwl_mvm_mld_add_mcast_sta() argument
279 iwl_mvm_mld_add_snif_sta(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf) iwl_mvm_mld_add_snif_sta() argument
363 iwl_mvm_mld_rm_bcast_sta(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf) iwl_mvm_mld_rm_bcast_sta() argument
396 iwl_mvm_mld_rm_mcast_sta(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf) iwl_mvm_mld_rm_mcast_sta() argument
411 iwl_mvm_mld_rm_snif_sta(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mvm_mld_rm_snif_sta() argument
429 iwl_mvm_mld_cfg_sta(struct iwl_mvm * mvm,struct ieee80211_sta * sta,struct ieee80211_vif * vif,struct ieee80211_link_sta * link_sta,struct ieee80211_bss_conf * link_conf,struct iwl_mvm_link_sta * mvm_link_sta) iwl_mvm_mld_cfg_sta() argument
548 iwl_mvm_mld_alloc_sta_link(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta,unsigned int link_id) iwl_mvm_mld_alloc_sta_link() argument
581 iwl_mvm_mld_alloc_sta_links(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta) iwl_mvm_mld_alloc_sta_links() argument
623 iwl_mvm_alloc_sta_after_restart(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta) iwl_mvm_alloc_sta_after_restart() argument
670 iwl_mvm_mld_add_sta(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta) iwl_mvm_mld_add_sta() argument
741 iwl_mvm_mld_update_sta(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta) iwl_mvm_mld_update_sta() argument
774 iwl_mvm_mld_disable_sta_queues(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta) iwl_mvm_mld_disable_sta_queues() argument
800 iwl_mvm_mld_rm_sta(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta) iwl_mvm_mld_rm_sta() argument
1010 iwl_mvm_mld_update_sta_resources(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta,u32 old_sta_mask,u32 new_sta_mask) iwl_mvm_mld_update_sta_resources() argument
1033 iwl_mvm_mld_update_sta_links(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta,u16 old_links,u16 new_links) iwl_mvm_mld_update_sta_links() argument
[all...]
H A Dmld-key.c12 struct ieee80211_vif *vif, in iwl_mvm_get_sec_sta_mask() argument
16 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_get_sec_sta_mask()
28 if (vif->type == NL80211_IFTYPE_AP && in iwl_mvm_get_sec_sta_mask()
38 if (!sta && vif->type == NL80211_IFTYPE_STATION) in iwl_mvm_get_sec_sta_mask()
50 if (!sta && (keyconf->link_id >= 0 || !ieee80211_vif_is_mld(vif))) in iwl_mvm_get_sec_sta_mask()
60 struct ieee80211_vif *vif, in iwl_mvm_get_sec_flags()
64 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_get_sec_flags()
98 if (!sta && vif->type == NL80211_IFTYPE_STATION) in iwl_mvm_get_sec_flags()
125 struct ieee80211_vif *vif, in iwl_mvm_mld_update_sta_key()
139 cpu_to_le32(iwl_mvm_get_sec_flags(mvm, vif, st in iwl_mvm_mld_update_sta_keys()
55 iwl_mvm_get_sec_flags(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct ieee80211_key_conf * keyconf) iwl_mvm_get_sec_flags() argument
108 iwl_mvm_mld_update_sta_key(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct ieee80211_key_conf * key,void * _data) iwl_mvm_mld_update_sta_key() argument
137 iwl_mvm_mld_update_sta_keys(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta,u32 old_sta_mask,u32 new_sta_mask) iwl_mvm_mld_update_sta_keys() argument
228 iwl_mvm_sec_key_add(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct ieee80211_key_conf * keyconf) iwl_mvm_sec_key_add() argument
280 _iwl_mvm_sec_key_del(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct ieee80211_key_conf * keyconf,u32 flags) _iwl_mvm_sec_key_del() argument
329 iwl_mvm_sec_key_del(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct ieee80211_key_conf * keyconf) iwl_mvm_sec_key_del() argument
337 iwl_mvm_sec_key_remove_ap_iter(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct ieee80211_key_conf * key,void * data) iwl_mvm_sec_key_remove_ap_iter() argument
359 iwl_mvm_sec_key_remove_ap(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct iwl_mvm_vif_link_info * link,unsigned int link_id) iwl_mvm_sec_key_remove_ap() argument
[all...]
H A Dtdls.c34 ieee80211_tdls_oper_request(mvmsta->vif, sta->addr, in iwl_mvm_teardown_tdls_peers()
41 int iwl_mvm_tdls_sta_count(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_tdls_sta_count() argument
56 if (vif) { in iwl_mvm_tdls_sta_count()
58 if (mvmsta->vif != vif) in iwl_mvm_tdls_sta_count()
68 static void iwl_mvm_tdls_config(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_tdls_config() argument
81 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_tdls_config()
126 void iwl_mvm_recalc_tdls_state(struct iwl_mvm *mvm, struct ieee80211_vif *vif, in iwl_mvm_recalc_tdls_state() argument
129 int tdls_sta_cnt = iwl_mvm_tdls_sta_count(mvm, vif); in iwl_mvm_recalc_tdls_state()
142 iwl_mvm_tdls_config(mvm, vif); in iwl_mvm_recalc_tdls_state()
150 iwl_mvm_mac_mgd_protect_tdls_discover(struct ieee80211_hw * hw,struct ieee80211_vif * vif) iwl_mvm_mac_mgd_protect_tdls_discover() argument
212 struct ieee80211_vif *vif; iwl_mvm_rx_tdls_notif() local
331 iwl_mvm_tdls_config_channel_switch(struct iwl_mvm * mvm,struct ieee80211_vif * vif,enum iwl_tdls_channel_switch_type type,const u8 * peer,bool peer_initiator,u8 oper_class,struct cfg80211_chan_def * chandef,u32 timestamp,u16 switch_time,u16 switch_timeout,struct sk_buff * skb,u32 ch_sw_tm_ie) iwl_mvm_tdls_config_channel_switch() argument
460 struct ieee80211_vif *vif; iwl_mvm_tdls_ch_switch_work() local
504 iwl_mvm_tdls_channel_switch(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta,u8 oper_class,struct cfg80211_chan_def * chandef,struct sk_buff * tmpl_skb,u32 ch_sw_tm_ie) iwl_mvm_tdls_channel_switch() argument
568 iwl_mvm_tdls_cancel_channel_switch(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta) iwl_mvm_tdls_cancel_channel_switch() argument
625 iwl_mvm_tdls_recv_channel_switch(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_tdls_ch_sw_params * params) iwl_mvm_tdls_recv_channel_switch() argument
[all...]
H A Dmvm.h114 struct ieee80211_vif *vif;
242 * @LOW_LATENCY_VIF_TYPE: low latency mode set because of vif type (ap)
288 * @ap_sta_id: the sta_id of the AP - valid only if VIF type is STA
415 * if VIF type is AP
432 * @features: hw features active for this vif
444 * link selection. Valid only for a MLO vif after assoc. 0 if there wasn't
447 * @primary_link: primary link in eSR. Valid only for an associated MLD vif,
456 * @roc_activity: currently running ROC activity for this vif (or
470 * @dbgfs_dir: debugfs directory for this vif in iwl_mvm_vif_from_mac80211()
604 iwl_mvm_vif_from_mac80211(struct ieee80211_vif *vif)
116 struct ieee80211_vif *vif; global() member
469 iwl_mvm_vif_from_mac80211(struct ieee80211_vif * vif) iwl_mvm_vif_from_mac80211() argument
1570 iwl_mvm_max_active_links(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mvm_max_active_links() argument
2037 iwl_mvm_vif_dbgfs_register(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mvm_vif_dbgfs_register() argument
2041 iwl_mvm_vif_dbgfs_clean(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mvm_vif_dbgfs_clean() argument
2100 iwl_mvm_set_last_nonqos_seq(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mvm_set_last_nonqos_seq() argument
2138 iwl_mvm_beacon_filter_debugfs_parameters(struct ieee80211_vif * vif,struct iwl_beacon_filter_cmd * cmd) iwl_mvm_beacon_filter_debugfs_parameters() argument
[all...]
H A Dtime-event.c30 if (!te_data || !te_data->vif) in iwl_mvm_te_clear_data()
44 te_data->vif = NULL; in iwl_mvm_te_clear_data()
51 struct ieee80211_vif *vif = mvm->p2p_device_vif; in iwl_mvm_roc_done_wk()
73 * can only be set when we had a P2P-Device VIF, and we have a in iwl_mvm_roc_done_wk()
78 if (!WARN_ON(!vif)) { in iwl_mvm_roc_done_wk()
79 mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_roc_done_wk()
84 iwl_mvm_mld_rm_bcast_sta(mvm, vif, in iwl_mvm_roc_done_wk()
85 &vif->bss_conf); in iwl_mvm_roc_done_wk()
87 iwl_mvm_link_changed(mvm, vif, &vif in iwl_mvm_roc_done_wk()
162 iwl_mvm_te_check_disconnect(struct iwl_mvm * mvm,struct ieee80211_vif * vif,const char * errmsg) iwl_mvm_te_check_disconnect() argument
206 struct ieee80211_vif *vif = te_data->vif; iwl_mvm_te_handle_notify_csa() local
518 iwl_mvm_time_event_send_add(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct iwl_mvm_time_event_data * te_data,struct iwl_time_event_cmd * te_cmd) iwl_mvm_time_event_send_add() argument
579 iwl_mvm_protect_session(struct iwl_mvm * mvm,struct ieee80211_vif * vif,u32 duration,u32 min_duration,u32 max_delay,bool wait_for_notif) iwl_mvm_protect_session() argument
797 iwl_mvm_stop_session_protection(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mvm_stop_session_protection() argument
832 struct ieee80211_vif *vif; iwl_mvm_rx_session_protect_notif() local
899 iwl_mvm_start_p2p_roc_session_protection(struct iwl_mvm * mvm,struct ieee80211_vif * vif,int duration,enum ieee80211_roc_type type) iwl_mvm_start_p2p_roc_session_protection() argument
937 iwl_mvm_start_p2p_roc(struct iwl_mvm * mvm,struct ieee80211_vif * vif,int duration,enum ieee80211_roc_type type) iwl_mvm_start_p2p_roc() argument
1033 iwl_mvm_stop_roc(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mvm_stop_roc() argument
1073 iwl_mvm_remove_csa_period(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mvm_remove_csa_period() argument
1092 iwl_mvm_schedule_csa_period(struct iwl_mvm * mvm,struct ieee80211_vif * vif,u32 duration,u32 apply_time) iwl_mvm_schedule_csa_period() argument
1165 iwl_mvm_schedule_session_protection(struct iwl_mvm * mvm,struct ieee80211_vif * vif,u32 duration,u32 min_duration,bool wait_for_notif) iwl_mvm_schedule_session_protection() argument
[all...]
H A Dutils.c277 * @vif: Pointer to the ieee80211_vif structure
285 void iwl_mvm_update_smps(struct iwl_mvm *mvm, struct ieee80211_vif *vif, in iwl_mvm_update_smps()
300 if (vif->type != NL80211_IFTYPE_STATION) in iwl_mvm_update_smps()
303 mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_update_smps()
324 ieee80211_request_smps(vif, link_id, smps_mode);
328 struct ieee80211_vif *vif, in iwl_mvm_update_smps_on_active_links()
336 for_each_vif_active_link(vif, link_conf, link_id) in iwl_mvm_update_smps_on_active_links()
337 iwl_mvm_update_smps(mvm, vif, req_type, smps_request, in iwl_mvm_update_smps_on_active_links()
509 struct ieee80211_vif *vif) in iwl_mvm_update_low_latency()
511 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_update_low_latency()
283 iwl_mvm_update_smps(struct iwl_mvm * mvm,struct ieee80211_vif * vif,enum iwl_mvm_smps_type_request req_type,enum ieee80211_smps_mode smps_request,unsigned int link_id) iwl_mvm_update_smps() argument
326 iwl_mvm_update_smps_on_active_links(struct iwl_mvm * mvm,struct ieee80211_vif * vif,enum iwl_mvm_smps_type_request req_type,enum ieee80211_smps_mode smps_request) iwl_mvm_update_smps_on_active_links() argument
419 iwl_mvm_diversity_iter(void * _data,u8 * mac,struct ieee80211_vif * vif) iwl_mvm_diversity_iter() argument
489 iwl_mvm_update_low_latency(struct iwl_mvm * mvm,struct ieee80211_vif * vif,bool low_latency,enum iwl_mvm_low_latency_cause cause) iwl_mvm_update_low_latency() argument
523 iwl_mvm_ll_iter(void * _data,u8 * mac,struct ieee80211_vif * vif) iwl_mvm_ll_iter() argument
563 struct ieee80211_vif *vif; global() member
568 iwl_mvm_bss_iface_iterator(void * _data,u8 * mac,struct ieee80211_vif * vif) iwl_mvm_bss_iface_iterator() argument
600 struct ieee80211_vif *vif; global() member
605 iwl_mvm_bss_find_iface_iterator(void * _data,u8 * mac,struct ieee80211_vif * vif) iwl_mvm_bss_find_iface_iterator() argument
634 iwl_mvm_sta_iface_iterator(void * _data,u8 * mac,struct ieee80211_vif * vif) iwl_mvm_sta_iface_iterator() argument
659 iwl_mvm_get_wd_timeout(struct iwl_mvm * mvm,struct ieee80211_vif * vif,bool tdls,bool cmd_q) iwl_mvm_get_wd_timeout() argument
713 iwl_mvm_connection_loss(struct iwl_mvm * mvm,struct ieee80211_vif * vif,const char * errmsg) iwl_mvm_connection_loss() argument
737 iwl_mvm_event_frame_timeout_callback(struct iwl_mvm * mvm,struct ieee80211_vif * vif,const struct ieee80211_sta * sta,u16 tid) iwl_mvm_event_frame_timeout_callback() argument
780 iwl_mvm_tcm_iter(void * _data,u8 * mac,struct ieee80211_vif * vif) iwl_mvm_tcm_iter() argument
824 struct ieee80211_vif *vif; iwl_mvm_tcm_uapsd_nonagg_detected_wk() local
846 iwl_mvm_uapsd_agg_disconnect(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mvm_uapsd_agg_disconnect() argument
879 struct ieee80211_vif *vif; iwl_mvm_check_uapsd_agg_expected_tpt() local
916 iwl_mvm_tcm_iterator(void * _data,u8 * mac,struct ieee80211_vif * vif) iwl_mvm_tcm_iterator() argument
1123 iwl_mvm_tcm_add_vif(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mvm_tcm_add_vif() argument
1131 iwl_mvm_tcm_rm_vif(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mvm_tcm_rm_vif() argument
[all...]
H A Dsta.h153 * VIF is set as unassociated. Then, %ap_sta_id will be invalidated.
370 * @vif: the interface the station belongs to
385 * @vif: a vif pointer
434 struct ieee80211_vif *vif;
493 int iwl_mvm_sta_init(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
496 struct ieee80211_vif *vif,
500 struct ieee80211_vif *vif,
510 bool iwl_mvm_sta_del(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
514 struct ieee80211_vif *vif,
421 struct ieee80211_vif *vif; global() member
485 iwl_mvm_update_sta(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_sta * sta) iwl_mvm_update_sta() argument
[all...]
H A Dftm-responder.c109 struct ieee80211_vif *vif, in iwl_mvm_ftm_responder_cmd()
114 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_ftm_responder_cmd()
171 memcpy(cmd.bssid, vif->addr, ETH_ALEN); in iwl_mvm_ftm_responder_dyn_cfg_v2()
178 struct ieee80211_vif *vif, in iwl_mvm_ftm_responder_dyn_cfg_v2()
223 struct ieee80211_vif *vif, in iwl_mvm_ftm_responder_dyn_cfg_v3()
282 struct ieee80211_vif *vif, in iwl_mvm_ftm_responder_dyn_cfg_cmd()
292 ret = iwl_mvm_ftm_responder_dyn_cfg_v2(mvm, vif, in iwl_mvm_ftm_responder_dyn_cfg_cmd()
296 ret = iwl_mvm_ftm_responder_dyn_cfg_v3(mvm, vif, in iwl_mvm_ftm_responder_dyn_cfg_cmd()
309 struct ieee80211_vif *vif,
315 iwl_mvm_sec_key_del_pasn(mvm, vif, BI in iwl_mvm_ftm_respoder_add_pasn_sta()
106 iwl_mvm_ftm_responder_cmd(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct cfg80211_chan_def * chandef,struct ieee80211_bss_conf * link_conf) iwl_mvm_ftm_responder_cmd() argument
170 iwl_mvm_ftm_responder_dyn_cfg_v2(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_ftm_responder_params * params) iwl_mvm_ftm_responder_dyn_cfg_v2() argument
215 iwl_mvm_ftm_responder_dyn_cfg_v3(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_ftm_responder_params * params,struct iwl_mvm_pasn_hltk_data * hltk_data) iwl_mvm_ftm_responder_dyn_cfg_v3() argument
274 iwl_mvm_ftm_responder_dyn_cfg_cmd(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_ftm_responder_params * params) iwl_mvm_ftm_responder_dyn_cfg_cmd() argument
301 iwl_mvm_resp_del_pasn_sta(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct iwl_mvm_pasn_sta * sta) iwl_mvm_resp_del_pasn_sta() argument
312 iwl_mvm_ftm_respoder_add_pasn_sta(struct iwl_mvm * mvm,struct ieee80211_vif * vif,u8 * addr,u32 cipher,u8 * tk,u32 tk_len,u8 * hltk,u32 hltk_len) iwl_mvm_ftm_respoder_add_pasn_sta() argument
374 iwl_mvm_ftm_resp_remove_pasn_sta(struct iwl_mvm * mvm,struct ieee80211_vif * vif,u8 * addr) iwl_mvm_ftm_resp_remove_pasn_sta() argument
392 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
442 iwl_mvm_ftm_responder_clear(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mvm_ftm_responder_clear() argument
453 iwl_mvm_ftm_restart_responder(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_bss_conf * bss_conf) iwl_mvm_ftm_restart_responder() argument
[all...]
H A Dlink.c81 int iwl_mvm_set_link_mapping(struct iwl_mvm *mvm, struct ieee80211_vif *vif, in iwl_mvm_add_link()
84 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_add_link()
102 int iwl_mvm_add_link(struct iwl_mvm *mvm, struct ieee80211_vif *vif, in iwl_mvm_link_changed()
105 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_link_changed()
116 ret = iwl_mvm_set_link_mapping(mvm, vif, link_conf); in iwl_mvm_link_changed()
123 if (iwl_mvm_sf_update(mvm, vif, false)) in iwl_mvm_link_changed()
134 if (vif->type == NL80211_IFTYPE_ADHOC && link_conf->bssid) in iwl_mvm_link_changed()
144 struct ieee80211_vif *vif; in iwl_mvm_link_changed()
150 struct ieee80211_vif *vif) in iwl_mvm_link_changed()
153 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_link_changed()
49 iwl_mvm_add_link(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf) iwl_mvm_add_link() argument
97 iwl_mvm_link_changed(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf,u32 changes,bool active) iwl_mvm_link_changed() argument
238 iwl_mvm_remove_link(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf) iwl_mvm_remove_link() argument
270 iwl_mvm_disable_link(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf) iwl_mvm_disable_link() argument
[all...]
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_80211_macops.c149 lkpi_80211_mo_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) in lkpi_80211_mo_add_interface() argument
161 lvif = VIF_TO_LVIF(vif); in lkpi_80211_mo_add_interface()
171 LKPI_80211_TRACE_MO("hw %p vif %p", hw, vif); in lkpi_80211_mo_add_interface()
172 error = lhw->ops->add_interface(hw, vif); in lkpi_80211_mo_add_interface()
184 lkpi_80211_mo_remove_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) in lkpi_80211_mo_remove_interface() argument
193 lvif = VIF_TO_LVIF(vif); in lkpi_80211_mo_remove_interface()
201 LKPI_80211_TRACE_MO("hw %p vif %p", hw, vif); in lkpi_80211_mo_remove_interface()
202 lhw->ops->remove_interface(hw, vif); in lkpi_80211_mo_remove_interface()
210 lkpi_80211_mo_hw_scan(struct ieee80211_hw *hw, struct ieee80211_vif *vif, in lkpi_80211_mo_hw_scan() argument
229 LKPI_80211_TRACE_MO("CALLING hw %p vif %p sr %p", hw, vif, sr); in lkpi_80211_mo_hw_scan()
[all …]
/freebsd/sys/contrib/dev/rtw89/
H A Dmac80211.c29 struct ieee80211_vif *vif = info->control.vif; in rtw89_ops_tx()
30 struct rtw89_vif *rtwvif = vif_to_rtwvif(vif); in rtw89_ops_tx()
43 ret = rtw89_core_tx_write(rtwdev, vif, sta, skb, &qsel); in rtw89_ops_tx()
161 struct ieee80211_vif *vif) in rtw89_ops_add_interface()
164 struct rtw89_vif *rtwvif = vif_to_rtwvif(vif); in rtw89_ops_add_interface()
169 rtw89_debug(rtwdev, RTW89_DBG_STATE, "add vif %pM type %d, p2p %d\n", in rtw89_ops_add_interface()
170 vif->addr, vif->type, vif in rtw89_ops_add_interface()
25 struct ieee80211_vif *vif = info->control.vif; rtw89_ops_tx() local
109 rtw89_ops_add_interface(struct ieee80211_hw * hw,struct ieee80211_vif * vif) rtw89_ops_add_interface() argument
172 rtw89_ops_remove_interface(struct ieee80211_hw * hw,struct ieee80211_vif * vif) rtw89_ops_remove_interface() argument
196 rtw89_ops_change_interface(struct ieee80211_hw * hw,struct ieee80211_vif * vif,enum nl80211_iftype type,bool p2p) rtw89_ops_change_interface() argument
298 struct ieee80211_vif *vif = rtwvif_to_vif(rtwvif); rtw89_aifsn_to_aifs() local
379 rtw89_station_mode_sta_assoc(struct rtw89_dev * rtwdev,struct ieee80211_vif * vif,struct ieee80211_bss_conf * conf) rtw89_station_mode_sta_assoc() argument
399 rtw89_ops_bss_info_changed(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_bss_conf * conf,u64 changed) rtw89_ops_bss_info_changed() argument
456 rtw89_ops_start_ap(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf) rtw89_ops_start_ap() argument
485 rtw89_ops_stop_ap(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf) rtw89_ops_stop_ap() argument
511 rtw89_ops_conf_tx(struct ieee80211_hw * hw,struct ieee80211_vif * vif,unsigned int link_id,u16 ac,const struct ieee80211_tx_queue_params * params) rtw89_ops_conf_tx() argument
528 __rtw89_ops_sta_state(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta,enum ieee80211_sta_state old_state,enum ieee80211_sta_state new_state) __rtw89_ops_sta_state() argument
562 rtw89_ops_sta_state(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta,enum ieee80211_sta_state old_state,enum ieee80211_sta_state new_state) rtw89_ops_sta_state() argument
579 rtw89_ops_set_key(struct ieee80211_hw * hw,enum set_key_cmd cmd,struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct ieee80211_key_conf * key) rtw89_ops_set_key() argument
617 rtw89_ops_ampdu_action(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_ampdu_params * params) rtw89_ops_ampdu_action() argument
678 rtw89_ops_sta_statistics(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct station_info * sinfo) rtw89_ops_sta_statistics() argument
689 __rtw89_drop_packets(struct rtw89_dev * rtwdev,struct ieee80211_vif * vif) __rtw89_drop_packets() argument
702 rtw89_ops_flush(struct ieee80211_hw * hw,struct ieee80211_vif * vif,u32 queues,bool drop) rtw89_ops_flush() argument
721 struct ieee80211_vif *vif; global() member
729 struct ieee80211_vif *vif = rtwvif_to_vif(rtwsta->rtwvif); rtw89_ra_mask_info_update_iter() local
740 rtw89_ra_mask_info_update(struct rtw89_dev * rtwdev,struct ieee80211_vif * vif,const struct cfg80211_bitrate_mask * mask) rtw89_ra_mask_info_update() argument
752 rtw89_ops_set_bitrate_mask(struct ieee80211_hw * hw,struct ieee80211_vif * vif,const struct cfg80211_bitrate_mask * mask) rtw89_ops_set_bitrate_mask() argument
801 rtw89_ops_sw_scan_start(struct ieee80211_hw * hw,struct ieee80211_vif * vif,const u8 * mac_addr) rtw89_ops_sw_scan_start() argument
813 rtw89_ops_sw_scan_complete(struct ieee80211_hw * hw,struct ieee80211_vif * vif) rtw89_ops_sw_scan_complete() argument
831 rtw89_ops_hw_scan(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_scan_request * req) rtw89_ops_hw_scan() argument
857 rtw89_ops_cancel_hw_scan(struct ieee80211_hw * hw,struct ieee80211_vif * vif) rtw89_ops_cancel_hw_scan() argument
873 rtw89_ops_sta_rc_update(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta,u32 changed) rtw89_ops_sta_rc_update() argument
916 rtw89_ops_assign_vif_chanctx(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf,struct ieee80211_chanctx_conf * ctx) rtw89_ops_assign_vif_chanctx() argument
932 rtw89_ops_unassign_vif_chanctx(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf,struct ieee80211_chanctx_conf * ctx) rtw89_ops_unassign_vif_chanctx() argument
945 rtw89_ops_remain_on_channel(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_channel * chan,int duration,enum ieee80211_roc_type type) rtw89_ops_remain_on_channel() argument
984 rtw89_ops_cancel_remain_on_channel(struct ieee80211_hw * hw,struct ieee80211_vif * vif) rtw89_ops_cancel_remain_on_channel() argument
1011 rtw89_ops_set_tid_config(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct cfg80211_tid_config * tid_config) rtw89_ops_set_tid_config() argument
[all...]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7925/
H A Dmain.c358 struct ieee80211_vif *vif = link_conf->vif; in mt7925_mac_link_bss_add() local
359 struct mt792x_vif *mvif = mconf->vif; in mt7925_mac_link_bss_add()
369 mconf->mt76.omac_idx = ieee80211_vif_is_mld(vif) ? in mt7925_mac_link_bss_add()
372 mconf->mt76.wmm_idx = ieee80211_vif_is_mld(vif) ? in mt7925_mac_link_bss_add()
401 if (vif->txq) { in mt7925_mac_link_bss_add()
402 mtxq = (struct mt76_txq *)vif->txq->drv_priv; in mt7925_mac_link_bss_add()
411 mt7925_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) in mt7925_add_interface() argument
413 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; in mt7925_add_interface()
421 mvif->bss_conf.vif = mvif; in mt7925_add_interface()
422 mvif->sta.vif = mvif; in mt7925_add_interface()
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7921/
H A Dmain.c293 mt7921_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) in mt7921_add_interface() argument
295 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; in mt7921_add_interface()
311 mvif->bss_conf.vif = mvif; in mt7921_add_interface()
315 ret = mt76_connac_mcu_uni_add_dev(&dev->mphy, &vif->bss_conf, in mt7921_add_interface()
337 if (vif->txq) { in mt7921_add_interface()
338 mtxq = (struct mt76_txq *)vif->txq->drv_priv; in mt7921_add_interface()
342 vif->driver_flags |= IEEE80211_VIF_BEACON_FILTER; in mt7921_add_interface()
344 vif->driver_flags |= IEEE80211_VIF_SUPPORTS_CQM_RSSI; in mt7921_add_interface()
355 struct ieee80211_vif *vif) in mt7921_roc_iter() argument
357 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; in mt7921_roc_iter()
[all …]
/freebsd/sys/contrib/dev/rtw88/
H A Dmac80211.c147 struct ieee80211_vif *vif) in rtw_ops_add_interface() argument
150 struct rtw_vif *rtwvif = (struct rtw_vif *)vif->drv_priv; in rtw_ops_add_interface()
157 vif->driver_flags |= IEEE80211_VIF_BEACON_FILTER | in rtw_ops_add_interface()
165 rtw_txq_init(rtwdev, vif->txq); in rtw_ops_add_interface()
187 switch (vif->type) { in rtw_ops_add_interface()
211 ether_addr_copy(rtwvif->mac_addr, vif->addr); in rtw_ops_add_interface()
218 rtw_core_port_switch(rtwdev, vif); in rtw_ops_add_interface()
219 rtw_recalc_lps(rtwdev, vif); in rtw_ops_add_interface()
224 rtw_dbg(rtwdev, RTW_DBG_STATE, "start vif %pM mac_id %d on port %d\n",
225 vif
226 rtw_ops_remove_interface(struct ieee80211_hw * hw,struct ieee80211_vif * vif) rtw_ops_remove_interface() argument
259 rtw_ops_change_interface(struct ieee80211_hw * hw,struct ieee80211_vif * vif,enum nl80211_iftype type,bool p2p) rtw_ops_change_interface() argument
339 struct ieee80211_vif *vif = rtwvif_to_vif(rtwvif); rtw_aifsn_to_aifs() local
377 rtw_ops_bss_info_changed(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_bss_conf * conf,u64 changed) rtw_ops_bss_info_changed() argument
463 rtw_ops_start_ap(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf) rtw_ops_start_ap() argument
480 rtw_ops_stop_ap(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf) rtw_ops_stop_ap() argument
494 rtw_ops_conf_tx(struct ieee80211_hw * hw,struct ieee80211_vif * vif,unsigned int link_id,u16 ac,const struct ieee80211_tx_queue_params * params) rtw_ops_conf_tx() argument
514 rtw_ops_sta_add(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta) rtw_ops_sta_add() argument
528 rtw_ops_sta_remove(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta) rtw_ops_sta_remove() argument
552 rtw_ops_set_key(struct ieee80211_hw * hw,enum set_key_cmd cmd,struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct ieee80211_key_conf * key) rtw_ops_set_key() argument
631 rtw_ops_ampdu_action(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_ampdu_params * params) rtw_ops_ampdu_action() argument
677 rtw_ops_sw_scan_start(struct ieee80211_hw * hw,struct ieee80211_vif * vif,const u8 * mac_addr) rtw_ops_sw_scan_start() argument
689 rtw_ops_sw_scan_complete(struct ieee80211_hw * hw,struct ieee80211_vif * vif) rtw_ops_sw_scan_complete() argument
699 rtw_ops_mgd_prepare_tx(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_prep_tx_info * info) rtw_ops_mgd_prepare_tx() argument
723 rtw_ops_sta_statistics(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct station_info * sinfo) rtw_ops_sta_statistics() argument
734 rtw_ops_flush(struct ieee80211_hw * hw,struct ieee80211_vif * vif,u32 queues,bool drop) rtw_ops_flush() argument
749 struct ieee80211_vif *vif; global() member
775 rtw_ra_mask_info_update(struct rtw_dev * rtwdev,struct ieee80211_vif * vif,const struct cfg80211_bitrate_mask * mask) rtw_ra_mask_info_update() argument
787 rtw_ops_set_bitrate_mask(struct ieee80211_hw * hw,struct ieee80211_vif * vif,const struct cfg80211_bitrate_mask * mask) rtw_ops_set_bitrate_mask() argument
879 rtw_ops_hw_scan(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_scan_request * req) rtw_ops_hw_scan() argument
904 rtw_ops_cancel_hw_scan(struct ieee80211_hw * hw,struct ieee80211_vif * vif) rtw_ops_cancel_hw_scan() argument
932 rtw_ops_sta_rc_update(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta,u32 changed) rtw_ops_sta_rc_update() argument
[all...]
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dchannel.c101 struct ieee80211_vif *vif, in mt76_assign_vif_chanctx() argument
106 struct mt76_vif_link *mlink = (struct mt76_vif_link *)vif->drv_priv; in mt76_assign_vif_chanctx()
114 if (dev->scan.vif == vif) in mt76_assign_vif_chanctx()
119 if (vif->type == NL80211_IFTYPE_MONITOR && in mt76_assign_vif_chanctx()
120 is_zero_ether_addr(vif->addr)) in mt76_assign_vif_chanctx()
123 mlink = mt76_vif_conf_link(dev, vif, link_conf); in mt76_assign_vif_chanctx()
134 ret = dev->drv->vif_link_add(phy, vif, link_conf, mlink); in mt76_assign_vif_chanctx()
141 if (link_conf != &vif->bss_conf) in mt76_assign_vif_chanctx()
152 struct ieee80211_vif *vif, in mt76_unassign_vif_chanctx() argument
157 struct mt76_vif_link *mlink = (struct mt76_vif_link *)vif->drv_priv; in mt76_unassign_vif_chanctx()
[all …]
H A Dmt792x.h107 struct mt792x_vif *vif; member
121 struct mt792x_vif *vif; member
255 struct ieee80211_vif *vif; in mt792x_vif_to_link() local
258 vif = container_of((void *)mvif, struct ieee80211_vif, drv_priv); in mt792x_vif_to_link()
260 if (!ieee80211_vif_is_mld(vif) || in mt792x_vif_to_link()
273 struct ieee80211_vif *vif; in mt792x_sta_to_link() local
275 vif = container_of((void *)msta->vif, struct ieee80211_vif, drv_priv); in mt792x_sta_to_link()
277 if (!ieee80211_vif_is_mld(vif) || in mt792x_sta_to_link()
282 lockdep_is_held(&msta->vif->phy->dev->mt76.mutex)); in mt792x_sta_to_link()
288 struct ieee80211_vif *vif = link_conf->vif; in mt792x_link_conf_to_mconf() local
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/
H A Dmain.c185 static void mt7915_init_bitrate_mask(struct ieee80211_vif *vif) in mt7915_init_bitrate_mask() argument
187 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; in mt7915_init_bitrate_mask()
205 struct ieee80211_vif *vif) in mt7915_add_interface() argument
207 struct mt7915_vif *mvif = (struct mt7915_vif *)vif->drv_priv; in mt7915_add_interface()
218 if (vif->type == NL80211_IFTYPE_MONITOR && in mt7915_add_interface()
219 is_zero_ether_addr(vif->addr)) in mt7915_add_interface()
220 phy->monitor_vif = vif; in mt7915_add_interface()
228 idx = get_omac_idx(vif->type, phy->omac_mask); in mt7915_add_interface()
238 mvif->mt76.wmm_idx = vif->type != NL80211_IFTYPE_AP; in mt7915_add_interface()
242 ret = mt7915_mcu_add_dev_info(phy, vif, true); in mt7915_add_interface()
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7996/
H A Dmain.c140 mt7996_init_bitrate_mask(struct ieee80211_vif *vif, struct mt7996_vif_link *mlink) in mt7996_init_bitrate_mask() argument
160 struct ieee80211_vif *vif, struct ieee80211_sta *sta, in mt7996_set_hw_key() argument
194 mt7996_mcu_add_bss_info(phy, vif, &vif->bss_conf, &mlink->mt76, true); in mt7996_set_hw_key()
208 return mt7996_mcu_bcn_prot_enable(dev, vif, key); in mt7996_set_hw_key()
210 return mt7996_mcu_add_key(&dev->mt76, vif, key, in mt7996_set_hw_key()
216 mt7996_key_iter(struct ieee80211_hw *hw, struct ieee80211_vif *vif, in mt7996_key_iter() argument
225 WARN_ON(mt7996_set_hw_key(hw, SET_KEY, vif, NULL, mlink, key)); in mt7996_key_iter()
228 int mt7996_vif_link_add(struct mt76_phy *mphy, struct ieee80211_vif *vif, in mt7996_vif_link_add() argument
243 idx = get_omac_idx(vif->type, phy->omac_mask); in mt7996_vif_link_add()
250 mlink->wmm_idx = vif->type == NL80211_IFTYPE_AP ? 0 : 3; in mt7996_vif_link_add()
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/
H A Dmain.c180 struct ieee80211_vif *vif) in mt7615_add_interface() argument
182 struct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv; in mt7615_add_interface()
193 if (vif->type == NL80211_IFTYPE_MONITOR && in mt7615_add_interface()
194 is_zero_ether_addr(vif->addr)) in mt7615_add_interface()
195 phy->monitor_vif = vif; in mt7615_add_interface()
203 idx = get_omac_idx(vif->type, dev->omac_mask); in mt7615_add_interface()
211 mvif->mt76.wmm_idx = vif->type != NL80211_IFTYPE_AP; in mt7615_add_interface()
234 if (vif->txq) { in mt7615_add_interface()
235 mtxq = (struct mt76_txq *)vif->txq->drv_priv; in mt7615_add_interface()
239 ret = mt7615_mcu_add_dev_info(phy, vif, true); in mt7615_add_interface()
[all …]

123456789