Home
last modified time | relevance | path

Searched refs:vif (Results 1 – 25 of 283) sorted by relevance

12345678910>>...12

/linux/drivers/net/wireless/microchip/wilc1000/
H A Dnetdev.c59 struct wilc_vif *vif = netdev_priv(dev); in init_irq() local
60 struct wilc *wl = vif->wilc; in init_irq()
78 struct wilc_vif *vif = netdev_priv(dev); in deinit_irq() local
79 struct wilc *wilc = vif->wilc; in deinit_irq()
102 struct wilc_vif *vif; in get_if_handler() local
105 wilc_for_each_vif(wilc, vif) { in get_if_handler()
106 if (vif->iftype == WILC_STATION_MODE) in get_if_handler()
107 if (ether_addr_equal_unaligned(h->addr2, vif->bssid)) { in get_if_handler()
108 ndev = vif->ndev; in get_if_handler()
111 if (vif->iftype == WILC_AP_MODE) in get_if_handler()
[all …]
H A Dhif.c46 struct wilc_vif *vif; member
55 wilc_alloc_work(struct wilc_vif *vif, void (*work_fun)(struct work_struct *), in wilc_alloc_work() argument
67 msg->vif = vif; in wilc_alloc_work()
79 if (!msg->vif || !msg->vif->wilc || !msg->vif->wilc->hif_workqueue) in wilc_enqueue_work()
82 if (!queue_work(msg->vif->wilc->hif_workqueue, &msg->work)) in wilc_enqueue_work()
92 int wilc_get_vif_idx(struct wilc_vif *vif) in wilc_get_vif_idx() argument
94 return vif->idx + 1; in wilc_get_vif_idx()
105 struct wilc_vif *vif; in wilc_get_vif_from_idx() local
110 wilc_for_each_vif(wilc, vif) { in wilc_get_vif_from_idx()
111 if (vif->idx == index) in wilc_get_vif_from_idx()
[all …]
H A Dhif.h127 void (*expired)(struct wilc_vif *vif, u64 cookie);
128 struct wilc_vif *vif; member
156 int wilc_add_ptk(struct wilc_vif *vif, const u8 *ptk, u8 ptk_key_len,
159 int wilc_add_igtk(struct wilc_vif *vif, const u8 *igtk, u8 igtk_key_len,
162 s32 wilc_get_inactive_time(struct wilc_vif *vif, const u8 *mac,
164 int wilc_add_rx_gtk(struct wilc_vif *vif, const u8 *rx_gtk, u8 gtk_key_len,
168 int wilc_set_pmkid_info(struct wilc_vif *vif, struct wilc_pmkid_attr *pmkid);
169 int wilc_get_mac_address(struct wilc_vif *vif, u8 *mac_addr);
170 int wilc_set_mac_address(struct wilc_vif *vif, const u8 *mac_addr);
171 int wilc_set_join_req(struct wilc_vif *vif, u8 *bssid, const u8 *ies,
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Diface.c20 void iwl_mld_cleanup_vif(void *data, u8 *mac, struct ieee80211_vif *vif) in iwl_mld_cleanup_vif()
22 struct iwl_mld_vif *mld_vif = iwl_mld_vif_from_mac80211(vif); in iwl_mld_cleanup_vif()
32 vif->driver_flags &= ~IEEE80211_VIF_EML_ACTIVE; in iwl_mld_cleanup_vif()
43 if (!ieee80211_vif_is_mld(vif) && in iwl_mld_cleanup_vif()
47 if (vif->active_links & BIT(link_id)) in iwl_mld_cleanup_vif()
57 ieee80211_iter_keys(mld->hw, vif, iwl_mld_cleanup_keys_iter, NULL); in iwl_mld_cleanup_vif()
59 if (vif->type == NL80211_IFTYPE_NAN) { in iwl_mld_cleanup_vif()
73 if (vif->type == NL80211_IFTYPE_NAN_DATA && in iwl_mld_send_mac_cmd()
103 static int iwl_mld_mac80211_iftype_to_fw(const struct ieee80211_vif *vif) in iwl_mld_is_nic_ack_enabled()
105 switch (vif in iwl_mld_is_nic_ack_enabled()
19 iwl_mld_cleanup_vif(void * data,u8 * mac,struct ieee80211_vif * vif) iwl_mld_cleanup_vif() argument
84 iwl_mld_mac80211_iftype_to_fw(const struct ieee80211_vif * vif) iwl_mld_mac80211_iftype_to_fw() argument
104 iwl_mld_is_nic_ack_enabled(struct iwl_mld * mld,struct ieee80211_vif * vif) iwl_mld_is_nic_ack_enabled() argument
122 struct ieee80211_vif *vif; global() member
146 iwl_mld_set_wifi_gen(struct iwl_mld * mld,struct ieee80211_vif * vif,struct iwl_mac_wifi_gen_support * support) iwl_mld_set_wifi_gen() argument
194 iwl_mld_mac_cmd_fill_common(struct iwl_mld * mld,struct ieee80211_vif * vif,struct iwl_mac_config_cmd * cmd,u32 action) iwl_mld_mac_cmd_fill_common() argument
220 iwl_mld_fill_mac_cmd_sta(struct iwl_mld * mld,struct ieee80211_vif * vif,u32 action,struct iwl_mac_config_cmd * cmd) iwl_mld_fill_mac_cmd_sta() argument
287 iwl_mld_fill_mac_cmd_ap(struct iwl_mld * mld,struct ieee80211_vif * vif,struct iwl_mac_config_cmd * cmd) iwl_mld_fill_mac_cmd_ap() argument
307 iwl_mld_go_iterator(void * _data,u8 * mac,struct ieee80211_vif * vif) iwl_mld_go_iterator() argument
335 iwl_mld_fill_mac_cmd_p2p_dev(struct iwl_mld * mld,struct ieee80211_vif * vif,struct iwl_mac_config_cmd * cmd) iwl_mld_fill_mac_cmd_p2p_dev() argument
353 iwl_mld_fill_mac_cmd_ibss(struct iwl_mld * mld,struct ieee80211_vif * vif,struct iwl_mac_config_cmd * cmd) iwl_mld_fill_mac_cmd_ibss() argument
366 iwl_mld_rm_mac_from_fw(struct iwl_mld * mld,struct ieee80211_vif * vif) iwl_mld_rm_mac_from_fw() argument
377 iwl_mld_mac_fw_action(struct iwl_mld * mld,struct ieee80211_vif * vif,u32 action) iwl_mld_mac_fw_action() argument
433 IWL_MLD_ALLOC_FN(vif,vif) IWL_MLD_ALLOC_FN() argument
462 iwl_mld_add_vif(struct iwl_mld * mld,struct ieee80211_vif * vif) iwl_mld_add_vif() argument
486 iwl_mld_rm_vif(struct iwl_mld * mld,struct ieee80211_vif * vif) iwl_mld_rm_vif() argument
508 iwl_mld_set_vif_associated(struct iwl_mld * mld,struct ieee80211_vif * vif) iwl_mld_set_vif_associated() argument
522 iwl_mld_get_fw_id_bss_bitmap_iter(void * _data,u8 * mac,struct ieee80211_vif * vif) iwl_mld_get_fw_id_bss_bitmap_iter() argument
550 struct ieee80211_vif *vif; iwl_mld_handle_probe_resp_data_notif() local
623 struct ieee80211_vif *vif; iwl_mld_handle_uapsd_misbehaving_ap_notif() local
644 struct ieee80211_vif *vif; iwl_mld_handle_datapath_monitor_notif() local
702 iwl_mld_reset_cca_40mhz_workaround(struct iwl_mld * mld,struct ieee80211_vif * vif) iwl_mld_reset_cca_40mhz_workaround() argument
[all...]
H A Dmlo.c86 struct ieee80211_vif *vif = in iwl_mld_emlsr_prevent_done_wk() local
93 iwl_mld_unblock_emlsr(mld_vif->mld, vif, in iwl_mld_emlsr_prevent_done_wk()
102 struct ieee80211_vif *vif = in iwl_mld_emlsr_tmp_non_bss_done_wk() local
109 iwl_mld_unblock_emlsr(mld_vif->mld, vif, in iwl_mld_emlsr_tmp_non_bss_done_wk()
186 * belong to the EMLSR vif) since EMLSR is not allowed if there is in iwl_mld_clear_avg_chan_load_iter()
187 * another vif. in iwl_mld_clear_avg_chan_load_iter()
192 static int _iwl_mld_exit_emlsr(struct iwl_mld *mld, struct ieee80211_vif *vif, in _iwl_mld_exit_emlsr() argument
196 struct iwl_mld_vif *mld_vif = iwl_mld_vif_from_mac80211(vif); in _iwl_mld_exit_emlsr()
207 if (!iwl_mld_emlsr_active(vif)) in _iwl_mld_exit_emlsr()
210 if (WARN_ON(!ieee80211_vif_is_mld(vif) || !mld_vi in _iwl_mld_exit_emlsr()
240 iwl_mld_exit_emlsr(struct iwl_mld * mld,struct ieee80211_vif * vif,enum iwl_mld_emlsr_exit exit,u8 link_to_keep) iwl_mld_exit_emlsr() argument
246 _iwl_mld_emlsr_block(struct iwl_mld * mld,struct ieee80211_vif * vif,enum iwl_mld_emlsr_blocked reason,u8 link_to_keep,bool sync) _iwl_mld_emlsr_block() argument
274 iwl_mld_block_emlsr(struct iwl_mld * mld,struct ieee80211_vif * vif,enum iwl_mld_emlsr_blocked reason,u8 link_to_keep) iwl_mld_block_emlsr() argument
280 iwl_mld_block_emlsr_sync(struct iwl_mld * mld,struct ieee80211_vif * vif,enum iwl_mld_emlsr_blocked reason,u8 link_to_keep) iwl_mld_block_emlsr_sync() argument
289 iwl_mld_vif_iter_emlsr_block_tmp_non_bss(void * _data,u8 * mac,struct ieee80211_vif * vif) iwl_mld_vif_iter_emlsr_block_tmp_non_bss() argument
319 iwl_mld_unblock_emlsr(struct iwl_mld * mld,struct ieee80211_vif * vif,enum iwl_mld_emlsr_blocked reason) iwl_mld_unblock_emlsr() argument
352 iwl_mld_vif_iter_emlsr_mode_notif(void * data,u8 * mac,struct ieee80211_vif * vif) iwl_mld_vif_iter_emlsr_mode_notif() argument
393 iwl_mld_vif_iter_disconnect_emlsr(void * data,u8 * mac,struct ieee80211_vif * vif) iwl_mld_vif_iter_disconnect_emlsr() argument
442 iwl_mld_count_non_bss_links(void * _data,u8 * mac,struct ieee80211_vif * vif) iwl_mld_count_non_bss_links() argument
461 iwl_mld_vif_iter_update_emlsr_block(void * _data,u8 * mac,struct ieee80211_vif * vif) iwl_mld_vif_iter_update_emlsr_block() argument
530 struct ieee80211_vif *vif = iwl_mld_emlsr_check_tpt() local
647 struct ieee80211_vif *vif = iwl_mld_emlsr_unblock_tpt_wk() local
691 iwl_mld_emlsr_disallowed_with_link(struct iwl_mld * mld,struct ieee80211_vif * vif,struct iwl_mld_link_sel_data * link,bool primary) iwl_mld_emlsr_disallowed_with_link() argument
724 iwl_mld_set_link_sel_data(struct iwl_mld * mld,struct ieee80211_vif * vif,struct iwl_mld_link_sel_data * data,unsigned long usable_links,u8 * best_link_idx) iwl_mld_set_link_sel_data() argument
779 iwl_mld_channel_load_allows_emlsr(struct iwl_mld * mld,struct ieee80211_vif * vif,const struct iwl_mld_link_sel_data * a,const struct iwl_mld_link_sel_data * b) iwl_mld_channel_load_allows_emlsr() argument
836 iwl_mld_emlsr_pair_state(struct ieee80211_vif * vif,struct iwl_mld_link_sel_data * a,struct iwl_mld_link_sel_data * b) iwl_mld_emlsr_pair_state() argument
901 iwl_mld_get_emlsr_grade(struct iwl_mld * mld,struct ieee80211_vif * vif,struct iwl_mld_link_sel_data * a,struct iwl_mld_link_sel_data * b,u8 * primary_id) iwl_mld_get_emlsr_grade() argument
933 _iwl_mld_select_links(struct iwl_mld * mld,struct ieee80211_vif * vif) _iwl_mld_select_links() argument
1012 iwl_mld_vif_iter_select_links(void * _data,u8 * mac,struct ieee80211_vif * vif) iwl_mld_vif_iter_select_links() argument
1029 iwl_mld_emlsr_check_bt_iter(void * _data,u8 * mac,struct ieee80211_vif * vif) iwl_mld_emlsr_check_bt_iter() argument
1076 iwl_mld_chan_load_update_iter(void * _data,u8 * mac,struct ieee80211_vif * vif) iwl_mld_chan_load_update_iter() argument
1138 iwl_mld_retry_emlsr(struct iwl_mld * mld,struct ieee80211_vif * vif) iwl_mld_retry_emlsr() argument
1150 iwl_mld_ignore_tpt_iter(void * data,u8 * mac,struct ieee80211_vif * vif) iwl_mld_ignore_tpt_iter() argument
1215 iwl_mld_emlsr_check_nan_block(struct iwl_mld * mld,struct ieee80211_vif * vif) iwl_mld_emlsr_check_nan_block() argument
[all...]
H A Dmac80211.c529 rcu_dereference(info->control.vif->link_conf[link_id]); in iwl_mld_mac80211_tx()
661 struct ieee80211_vif *vif)
669 ret = iwl_mld_add_vif(mld, vif); in iwl_mld_mac80211_add_interface()
673 if (vif->type == NL80211_IFTYPE_NAN_DATA) { in iwl_mld_mac80211_add_interface()
681 iwl_mld_vif_from_mac80211(vif); in iwl_mld_mac80211_add_interface()
686 vif->addr, in iwl_mld_mac80211_add_interface()
696 * Add the default link, but not if this is an MLD vif as that implies in iwl_mld_mac80211_add_interface()
699 if (vif->type != NL80211_IFTYPE_NAN && !ieee80211_vif_is_mld(vif)) { in iwl_mld_mac80211_add_interface()
700 ret = iwl_mld_add_link(mld, &vif in iwl_mld_mac80211_add_interface()
664 iwl_mld_mac80211_add_interface(struct ieee80211_hw * hw,struct ieee80211_vif * vif) iwl_mld_mac80211_add_interface() argument
724 iwl_mld_mac80211_remove_interface(struct ieee80211_hw * hw,struct ieee80211_vif * vif) iwl_mld_mac80211_remove_interface() argument
759 iwl_mld_mac80211_change_interface(struct ieee80211_hw * hw,struct ieee80211_vif * vif,enum nl80211_iftype new_type,bool p2p) iwl_mld_mac80211_change_interface() argument
787 iwl_mld_mc_iface_iterator(void * data,u8 * mac,struct ieee80211_vif * vif) iwl_mld_mc_iface_iterator() argument
1048 iwl_mld_can_activate_link(struct iwl_mld * mld,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link) iwl_mld_can_activate_link() argument
1073 iwl_mld_assign_vif_chanctx(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link,struct ieee80211_chanctx_conf * ctx) iwl_mld_assign_vif_chanctx() argument
1189 iwl_mld_unassign_vif_chanctx(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link,struct ieee80211_chanctx_conf * ctx) iwl_mld_unassign_vif_chanctx() argument
1243 iwl_mld_link_info_changed_ap_ibss(struct iwl_mld * mld,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link,u64 changes) iwl_mld_link_info_changed_ap_ibss() argument
1270 iwl_mld_link_changed_mapping(struct iwl_mld * mld,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf,u64 changes) iwl_mld_link_changed_mapping() argument
1304 iwl_mld_mac80211_link_info_changed_sta(struct iwl_mld * mld,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf,u64 changes) iwl_mld_mac80211_link_info_changed_sta() argument
1354 iwl_mld_mac80211_link_info_changed(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf,u64 changes) iwl_mld_mac80211_link_info_changed() argument
1393 iwl_mld_smps_workaround(struct iwl_mld * mld,struct ieee80211_vif * vif,bool enable) iwl_mld_smps_workaround() argument
1416 iwl_mld_mac80211_vif_cfg_changed(struct ieee80211_hw * hw,struct ieee80211_vif * vif,u64 changes) iwl_mld_mac80211_vif_cfg_changed() argument
1456 iwl_mld_mac80211_hw_scan(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_scan_request * hw_req) iwl_mld_mac80211_hw_scan() argument
1480 iwl_mld_mac80211_cancel_hw_scan(struct ieee80211_hw * hw,struct ieee80211_vif * vif) iwl_mld_mac80211_cancel_hw_scan() argument
1500 iwl_mld_mac80211_sched_scan_start(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct cfg80211_sched_scan_request * req,struct ieee80211_scan_ies * ies) iwl_mld_mac80211_sched_scan_start() argument
1511 iwl_mld_mac80211_sched_scan_stop(struct ieee80211_hw * hw,struct ieee80211_vif * vif) iwl_mld_mac80211_sched_scan_stop() argument
1553 iwl_mld_mac80211_mgd_prepare_tx(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_prep_tx_info * info) iwl_mld_mac80211_mgd_prepare_tx() argument
1575 iwl_mld_mac_mgd_complete_tx(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_prep_tx_info * info) iwl_mld_mac_mgd_complete_tx() argument
1609 iwl_mld_mac80211_conf_tx(struct ieee80211_hw * hw,struct ieee80211_vif * vif,unsigned int link_id,u16 ac,const struct ieee80211_tx_queue_params * params) iwl_mld_mac80211_conf_tx() argument
1638 iwl_mld_set_uapsd(struct iwl_mld * mld,struct ieee80211_vif * vif) iwl_mld_set_uapsd() argument
1723 iwl_mld_link_set_2mhz_block(struct iwl_mld * mld,struct ieee80211_vif * vif,struct ieee80211_sta * sta) iwl_mld_link_set_2mhz_block() argument
1745 iwl_mld_move_sta_state_up(struct iwl_mld * mld,struct ieee80211_vif * vif,struct ieee80211_sta * sta,enum ieee80211_sta_state old_state,enum ieee80211_sta_state new_state) iwl_mld_move_sta_state_up() argument
1875 iwl_mld_move_sta_state_down(struct iwl_mld * mld,struct ieee80211_vif * vif,struct ieee80211_sta * sta,enum ieee80211_sta_state old_state,enum ieee80211_sta_state new_state) iwl_mld_move_sta_state_down() argument
1952 iwl_mld_mac80211_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_mld_mac80211_sta_state() argument
1974 iwl_mld_mac80211_flush(struct ieee80211_hw * hw,struct ieee80211_vif * vif,u32 queues,bool drop) iwl_mld_mac80211_flush() argument
2002 iwl_mld_mac80211_flush_sta(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta) iwl_mld_mac80211_flush_sta() argument
2012 iwl_mld_mac80211_ampdu_action(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_ampdu_params * params) iwl_mld_mac80211_ampdu_action() argument
2083 iwl_mld_sta_rc_update(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_link_sta * link_sta,u32 changed) iwl_mld_sta_rc_update() argument
2181 iwl_mld_set_key_add(struct iwl_mld * mld,struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct ieee80211_key_conf * key) iwl_mld_set_key_add() argument
2259 iwl_mld_set_key_remove(struct iwl_mld * mld,struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct ieee80211_key_conf * key) iwl_mld_set_key_remove() argument
2302 iwl_mld_mac80211_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_mld_mac80211_set_key() argument
2329 iwl_mld_pre_channel_switch(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_channel_switch * chsw) iwl_mld_pre_channel_switch() argument
2378 iwl_mld_channel_switch(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_channel_switch * chsw) iwl_mld_channel_switch() argument
2394 iwl_mld_post_channel_switch(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf) iwl_mld_post_channel_switch() argument
2409 iwl_mld_abort_channel_switch(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf) iwl_mld_abort_channel_switch() argument
2517 iwl_mld_sta_pre_rcu_remove(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta) iwl_mld_sta_pre_rcu_remove() argument
2545 iwl_mld_mac80211_mgd_protect_tdls_discover(struct ieee80211_hw * hw,struct ieee80211_vif * vif,unsigned int link_id) iwl_mld_mac80211_mgd_protect_tdls_discover() argument
2570 iwl_mld_can_activate_links(struct ieee80211_hw * hw,struct ieee80211_vif * vif,u16 desired_links) iwl_mld_can_activate_links() argument
2582 iwl_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_mld_change_vif_links() argument
2662 iwl_mld_change_sta_links(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta,u16 old_links,u16 new_links) iwl_mld_change_sta_links() argument
2672 iwl_mld_mac80211_join_ibss(struct ieee80211_hw * hw,struct ieee80211_vif * vif) iwl_mld_mac80211_join_ibss() argument
2678 iwl_mld_mac80211_leave_ibss(struct ieee80211_hw * hw,struct ieee80211_vif * vif) iwl_mld_mac80211_leave_ibss() argument
2706 iwl_mld_set_hw_timestamp(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct cfg80211_set_hw_timestamp * hwts) iwl_mld_set_hw_timestamp() argument
2724 iwl_mld_start_pmsr(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct cfg80211_pmsr_request * request) iwl_mld_start_pmsr() argument
2733 iwl_mld_can_neg_ttlm(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_neg_ttlm * neg_ttlm) iwl_mld_can_neg_ttlm() argument
[all...]
H A Dap.c43 struct ieee80211_vif *vif, in iwl_mld_get_rate_flags() argument
58 rate_idx = iwl_mld_get_lowest_rate(mld, info, vif); in iwl_mld_get_rate_flags()
92 struct ieee80211_vif *vif, in iwl_mld_fill_beacon_template_cmd() argument
120 cmd->short_ssid = cpu_to_le32(~crc32_le(~0, vif->cfg.ssid, in iwl_mld_fill_beacon_template_cmd()
121 vif->cfg.ssid_len)); in iwl_mld_fill_beacon_template_cmd()
126 flags |= iwl_mld_get_rate_flags(mld, info, vif, link, in iwl_mld_fill_beacon_template_cmd()
131 if (vif->type == NL80211_IFTYPE_AP) { in iwl_mld_fill_beacon_template_cmd()
155 struct ieee80211_vif *vif, in iwl_mld_update_beacon_template() argument
162 struct iwl_mld_vif *mld_vif = iwl_mld_vif_from_mac80211(vif); in iwl_mld_update_beacon_template()
165 WARN_ON(vif in iwl_mld_update_beacon_template()
242 iwl_mld_send_ap_early_keys(struct iwl_mld * mld,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link) iwl_mld_send_ap_early_keys() argument
267 iwl_mld_start_ap_ibss(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link) iwl_mld_start_ap_ibss() argument
340 iwl_mld_stop_ap_ibss(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link) iwl_mld_stop_ap_ibss() argument
[all...]
/linux/drivers/net/xen-netback/
H A Dinterface.c70 static int xenvif_schedulable(struct xenvif *vif) in xenvif_schedulable() argument
72 return netif_running(vif->dev) && in xenvif_schedulable()
73 test_bit(VIF_STATUS_CONNECTED, &vif->status) && in xenvif_schedulable()
74 !vif->disabled; in xenvif_schedulable()
113 if (unlikely(queue->vif->disabled)) { in xenvif_poll()
181 struct xenvif *vif = netdev_priv(dev); in xenvif_select_queue() local
182 unsigned int size = vif->hash.size; in xenvif_select_queue()
187 num_queues = READ_ONCE(vif->num_queues); in xenvif_select_queue()
191 if (vif->hash.alg == XEN_NETIF_CTRL_HASH_ALGORITHM_NONE) in xenvif_select_queue()
195 xenvif_set_skb_hash(vif, skb); in xenvif_select_queue()
[all …]
H A Dhash.c35 static void xenvif_add_hash(struct xenvif *vif, const u8 *tag, in xenvif_add_hash() argument
50 spin_lock_irqsave(&vif->hash.cache.lock, flags); in xenvif_add_hash()
54 list_for_each_entry_rcu(entry, &vif->hash.cache.list, link, in xenvif_add_hash()
55 lockdep_is_held(&vif->hash.cache.lock)) { in xenvif_add_hash()
65 new->seq = atomic_inc_return(&vif->hash.cache.seq); in xenvif_add_hash()
66 list_add_rcu(&new->link, &vif->hash.cache.list); in xenvif_add_hash()
68 if (++vif->hash.cache.count > xenvif_hash_cache_size) { in xenvif_add_hash()
70 vif->hash.cache.count--; in xenvif_add_hash()
75 spin_unlock_irqrestore(&vif->hash.cache.lock, flags); in xenvif_add_hash()
81 static u32 xenvif_new_hash(struct xenvif *vif, const u8 *data, in xenvif_new_hash() argument
[all …]
H A Dxenbus.c19 static void xen_unregister_watchers(struct xenvif *vif);
92 dev_queue = netdev_get_tx_queue(queue->vif->dev, queue->id); in xenvif_read_io_ring()
163 struct xenvif *vif = m->private; in xenvif_ctrl_show() local
165 xenvif_dump_hash_info(vif, m); in xenvif_ctrl_show()
171 static void xenvif_debugfs_addif(struct xenvif *vif) in xenvif_debugfs_addif() argument
175 vif->xenvif_dbg_root = debugfs_create_dir(vif->dev->name, in xenvif_debugfs_addif()
177 for (i = 0; i < vif->num_queues; ++i) { in xenvif_debugfs_addif()
181 debugfs_create_file(filename, 0600, vif->xenvif_dbg_root, in xenvif_debugfs_addif()
182 &vif->queues[i], in xenvif_debugfs_addif()
186 if (vif->ctrl_irq) in xenvif_debugfs_addif()
[all …]
/linux/drivers/net/wireless/ath/wil6210/
H A Dnetdev.c16 struct wil6210_vif *vif; in wil_has_other_active_ifaces() local
20 vif = wil->vifs[i]; in wil_has_other_active_ifaces()
21 if (vif) { in wil_has_other_active_ifaces()
22 ndev_i = vif_to_ndev(vif); in wil_has_other_active_ifaces()
144 struct wil6210_vif *vif; in wil6210_netdev_poll_tx() local
150 vif = wil->vifs[txdata->mid]; in wil6210_netdev_poll_tx()
151 if (unlikely(!vif)) { in wil6210_netdev_poll_tx()
156 tx_done += wil_tx_complete(vif, i); in wil6210_netdev_poll_tx()
201 static void wil_vif_deinit(struct wil6210_vif *vif) in wil_vif_deinit() argument
203 timer_delete_sync(&vif->scan_timer); in wil_vif_deinit()
[all …]
H A Dp2p.c15 static int wil_p2p_start_listen(struct wil6210_vif *vif) in wil_p2p_start_listen() argument
17 struct wil6210_priv *wil = vif_to_wil(vif); in wil_p2p_start_listen()
18 struct wil_p2p_info *p2p = &vif->p2p; in wil_p2p_start_listen()
24 rc = wmi_p2p_cfg(vif, channel, P2P_DEFAULT_BI); in wil_p2p_start_listen()
30 rc = wmi_set_ssid(vif, strlen(P2P_WILDCARD_SSID), P2P_WILDCARD_SSID); in wil_p2p_start_listen()
36 rc = wmi_start_listen(vif); in wil_p2p_start_listen()
47 wmi_stop_discovery(vif); in wil_p2p_start_listen()
59 int wil_p2p_search(struct wil6210_vif *vif, in wil_p2p_search() argument
62 struct wil6210_priv *wil = vif_to_wil(vif); in wil_p2p_search()
64 struct wil_p2p_info *p2p = &vif->p2p; in wil_p2p_search()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dmac-ctxt.c48 struct ieee80211_vif *vif; member
56 struct ieee80211_vif *vif) in iwl_mvm_mac_tsf_id_iter() argument
59 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_mac_tsf_id_iter()
63 if (vif == data->vif) in iwl_mvm_mac_tsf_id_iter()
82 switch (data->vif->type) { in iwl_mvm_mac_tsf_id_iter()
92 if (vif->type != NL80211_IFTYPE_AP || in iwl_mvm_mac_tsf_id_iter()
97 min_bi = min(data->vif->bss_conf.beacon_int, in iwl_mvm_mac_tsf_id_iter()
98 vif->bss_conf.beacon_int); in iwl_mvm_mac_tsf_id_iter()
103 if ((data->vif in iwl_mvm_mac_tsf_id_iter()
162 iwl_mvm_mac_iface_iterator(void * _data,u8 * mac,struct ieee80211_vif * vif) iwl_mvm_mac_iface_iterator() argument
186 iwl_mvm_mac_ctxt_recalc_tsf_id(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mvm_mac_ctxt_recalc_tsf_id() argument
208 iwl_mvm_mac_ctxt_init(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mvm_mac_ctxt_init() argument
326 iwl_mvm_ack_rates(struct iwl_mvm * mvm,struct ieee80211_vif * vif,enum nl80211_band band,u8 * cck_rates,u8 * ofdm_rates) iwl_mvm_ack_rates() argument
411 iwl_mvm_set_fw_basic_rates(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct iwl_mvm_vif_link_info * link_info,__le32 * cck_rates,__le32 * ofdm_rates) iwl_mvm_set_fw_basic_rates() argument
430 iwl_mvm_set_fw_protection_flags(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf,__le32 * protection_flags,u32 ht_flag,u32 tgg_flag) iwl_mvm_set_fw_protection_flags() argument
475 iwl_mvm_set_fw_qos_params(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf,struct iwl_ac_qos * ac,__le32 * qos_flags) iwl_mvm_set_fw_qos_params() argument
508 iwl_mvm_get_mac_type(struct ieee80211_vif * vif) iwl_mvm_get_mac_type() argument
538 iwl_mvm_mac_ctxt_cmd_common(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct iwl_mac_ctx_cmd * cmd,const u8 * bssid_override,u32 action) iwl_mvm_mac_ctxt_cmd_common() argument
594 iwl_mvm_set_fw_dtim_tbtt(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf,__le64 * dtim_tsf,__le32 * dtim_time,__le32 * assoc_beacon_arrive_time) iwl_mvm_set_fw_dtim_tbtt() argument
635 iwl_mvm_mac_ctxt_cmd_p2p_sta_get_oppps_ctwin(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mvm_mac_ctxt_cmd_p2p_sta_get_oppps_ctwin() argument
645 iwl_mvm_mac_ctxt_cmd_sta_get_twt_policy(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mvm_mac_ctxt_cmd_sta_get_twt_policy() argument
660 iwl_mvm_mac_ctxt_cmd_sta(struct iwl_mvm * mvm,struct ieee80211_vif * vif,u32 action,bool force_assoc_off,const u8 * bssid_override) iwl_mvm_mac_ctxt_cmd_sta() argument
734 iwl_mvm_mac_ctxt_cmd_listener(struct iwl_mvm * mvm,struct ieee80211_vif * vif,u32 action) iwl_mvm_mac_ctxt_cmd_listener() argument
771 iwl_mvm_mac_ctxt_cmd_ibss(struct iwl_mvm * mvm,struct ieee80211_vif * vif,u32 action) iwl_mvm_mac_ctxt_cmd_ibss() argument
798 iwl_mvm_go_iterator(void * _data,u8 * mac,struct ieee80211_vif * vif) iwl_mvm_go_iterator() argument
809 iwl_mac_ctxt_p2p_dev_has_extended_disc(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mac_ctxt_p2p_dev_has_extended_disc() argument
829 iwl_mvm_mac_ctxt_cmd_p2p_device(struct iwl_mvm * mvm,struct ieee80211_vif * vif,u32 action) iwl_mvm_mac_ctxt_cmd_p2p_device() argument
874 iwl_mvm_mac_ctxt_get_lowest_rate(struct iwl_mvm * mvm,struct ieee80211_tx_info * info,struct ieee80211_vif * vif) iwl_mvm_mac_ctxt_get_lowest_rate() argument
947 iwl_mvm_mac_ctxt_get_beacon_rate(struct iwl_mvm * mvm,struct ieee80211_tx_info * info,struct ieee80211_vif * vif) iwl_mvm_mac_ctxt_get_beacon_rate() argument
964 iwl_mvm_mac_ctxt_set_tx(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct sk_buff * beacon,struct iwl_tx_cmd_v6_params * tx_params) iwl_mvm_mac_ctxt_set_tx() argument
1027 iwl_mvm_mac_ctxt_send_beacon_v6(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct sk_buff * beacon) iwl_mvm_mac_ctxt_send_beacon_v6() argument
1047 iwl_mvm_mac_ctxt_send_beacon_v7(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct sk_buff * beacon) iwl_mvm_mac_ctxt_send_beacon_v7() argument
1076 iwl_mvm_enable_fils(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_chanctx_conf * ctx) iwl_mvm_enable_fils() argument
1090 iwl_mvm_mac_ctxt_send_beacon_v9(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct sk_buff * beacon,struct ieee80211_bss_conf * link_conf) iwl_mvm_mac_ctxt_send_beacon_v9() argument
1157 iwl_mvm_mac_ctxt_send_beacon(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct sk_buff * beacon,struct ieee80211_bss_conf * link_conf) iwl_mvm_mac_ctxt_send_beacon() argument
1181 iwl_mvm_mac_ctxt_beacon_changed(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf) iwl_mvm_mac_ctxt_beacon_changed() argument
1209 struct ieee80211_vif *vif; global() member
1216 iwl_mvm_mac_ap_iterator(void * _data,u8 * mac,struct ieee80211_vif * vif) iwl_mvm_mac_ap_iterator() argument
1259 iwl_mvm_mac_ctxt_cmd_fill_ap(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct iwl_mac_ctx_cmd * cmd,struct iwl_mac_data_ap * ctxt_ap,bool add) iwl_mvm_mac_ctxt_cmd_fill_ap() argument
1320 iwl_mvm_mac_ctxt_cmd_ap(struct iwl_mvm * mvm,struct ieee80211_vif * vif,u32 action) iwl_mvm_mac_ctxt_cmd_ap() argument
1338 iwl_mvm_mac_ctxt_cmd_go(struct iwl_mvm * mvm,struct ieee80211_vif * vif,u32 action) iwl_mvm_mac_ctxt_cmd_go() argument
1362 iwl_mvm_mac_ctx_send(struct iwl_mvm * mvm,struct ieee80211_vif * vif,u32 action,bool force_assoc_off,const u8 * bssid_override) iwl_mvm_mac_ctx_send() argument
1389 iwl_mvm_mac_ctxt_add(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mvm_mac_ctxt_add() argument
1410 iwl_mvm_mac_ctxt_changed(struct iwl_mvm * mvm,struct ieee80211_vif * vif,bool force_assoc_off,const u8 * bssid_override) iwl_mvm_mac_ctxt_changed() argument
1423 iwl_mvm_mac_ctxt_remove(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mvm_mac_ctxt_remove() argument
1575 struct ieee80211_vif *vif; iwl_mvm_handle_missed_beacons_notif() local
1750 struct ieee80211_vif *vif; iwl_mvm_probe_resp_data_notif() local
1810 struct ieee80211_vif *csa_vif, *vif; iwl_mvm_channel_switch_start_notif() local
1910 struct ieee80211_vif *vif; iwl_mvm_channel_switch_error_notif() local
[all...]
H A Dpower.c70 struct ieee80211_vif *vif, in iwl_mvm_beacon_filter_set_cqm_params() argument
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() argument
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_allow_uapsd_iterator() argument
223 struct iwl_mvm_vif *other_mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_allow_uapsd_iterator()
227 /* exclude the given vif */ in iwl_mvm_allow_uapsd_iterator()
252 iwl_mvm_power_allow_uapsd(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mvm_power_allow_uapsd() argument
298 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
346 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
467 iwl_mvm_power_send_cmd(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mvm_power_send_cmd() argument
515 iwl_mvm_power_vif_assoc(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mvm_power_vif_assoc() argument
525 iwl_mvm_power_uapsd_misbehav_ap_iterator(void * _data,u8 * mac,struct ieee80211_vif * vif) iwl_mvm_power_uapsd_misbehav_ap_iterator() argument
573 iwl_mvm_power_disable_pm_iterator(void * _data,u8 * mac,struct ieee80211_vif * vif) iwl_mvm_power_disable_pm_iterator() argument
581 iwl_mvm_power_ps_disabled_iterator(void * _data,u8 * mac,struct ieee80211_vif * vif) iwl_mvm_power_ps_disabled_iterator() argument
591 iwl_mvm_power_get_vifs_iterator(void * _data,u8 * mac,struct ieee80211_vif * vif) iwl_mvm_power_get_vifs_iterator() argument
716 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
790 iwl_mvm_beacon_filter_debugfs_parameters(struct ieee80211_vif * vif,struct iwl_beacon_filter_cmd * cmd) iwl_mvm_beacon_filter_debugfs_parameters() argument
825 _iwl_mvm_enable_beacon_filter(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct iwl_beacon_filter_cmd * cmd) _iwl_mvm_enable_beacon_filter() argument
846 iwl_mvm_enable_beacon_filter(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mvm_enable_beacon_filter() argument
857 _iwl_mvm_disable_beacon_filter(struct iwl_mvm * mvm,struct ieee80211_vif * vif) _iwl_mvm_disable_beacon_filter() argument
875 iwl_mvm_disable_beacon_filter(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mvm_disable_beacon_filter() argument
909 iwl_mvm_power_set_ba(struct iwl_mvm * mvm,struct ieee80211_vif * vif) iwl_mvm_power_set_ba() argument
[all...]
/linux/drivers/net/wireless/quantenna/qtnfmac/
H A Dcommands.h16 int qtnf_cmd_send_add_intf(struct qtnf_vif *vif, enum nl80211_iftype iftype,
18 int qtnf_cmd_send_change_intf_type(struct qtnf_vif *vif,
22 int qtnf_cmd_send_del_intf(struct qtnf_vif *vif);
26 int qtnf_cmd_send_start_ap(struct qtnf_vif *vif,
28 int qtnf_cmd_send_stop_ap(struct qtnf_vif *vif);
29 int qtnf_cmd_send_register_mgmt(struct qtnf_vif *vif, u16 frame_type, bool reg);
30 int qtnf_cmd_send_frame(struct qtnf_vif *vif, u32 cookie, u16 flags,
32 int qtnf_cmd_send_mgmt_set_appie(struct qtnf_vif *vif, u8 frame_type,
34 int qtnf_cmd_get_sta_info(struct qtnf_vif *vif, const u8 *sta_mac,
38 int qtnf_cmd_send_add_key(struct qtnf_vif *vif, u8 key_index, bool pairwise,
[all …]
H A Dcommands.c189 static bool qtnf_cmd_start_ap_can_fit(const struct qtnf_vif *vif, in qtnf_cmd_start_ap_can_fit() argument
215 vif->mac->macid, vif->vifid, len); in qtnf_cmd_start_ap_can_fit()
236 int qtnf_cmd_send_start_ap(struct qtnf_vif *vif, in qtnf_cmd_send_start_ap() argument
246 if (!qtnf_cmd_start_ap_can_fit(vif, s)) in qtnf_cmd_send_start_ap()
249 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_send_start_ap()
358 qtnf_bus_lock(vif->mac->bus); in qtnf_cmd_send_start_ap()
359 ret = qtnf_cmd_send(vif->mac->bus, cmd_skb); in qtnf_cmd_send_start_ap()
363 netif_carrier_on(vif in qtnf_cmd_send_start_ap()
371 qtnf_cmd_send_stop_ap(struct qtnf_vif * vif) qtnf_cmd_send_stop_ap() argument
389 qtnf_cmd_send_register_mgmt(struct qtnf_vif * vif,u16 frame_type,bool reg) qtnf_cmd_send_register_mgmt() argument
414 qtnf_cmd_send_frame(struct qtnf_vif * vif,u32 cookie,u16 flags,u16 freq,const u8 * buf,size_t len) qtnf_cmd_send_frame() argument
450 qtnf_cmd_send_mgmt_set_appie(struct qtnf_vif * vif,u8 frame_type,const u8 * buf,size_t len) qtnf_cmd_send_mgmt_set_appie() argument
702 qtnf_cmd_get_sta_info(struct qtnf_vif * vif,const u8 * sta_mac,struct station_info * sinfo) qtnf_cmd_get_sta_info() argument
745 qtnf_cmd_send_add_change_intf(struct qtnf_vif * vif,enum nl80211_iftype iftype,int use4addr,u8 * mac_addr,enum qlink_cmd_type cmd_type) qtnf_cmd_send_add_change_intf() argument
801 qtnf_cmd_send_add_intf(struct qtnf_vif * vif,enum nl80211_iftype iftype,int use4addr,u8 * mac_addr) qtnf_cmd_send_add_intf() argument
808 qtnf_cmd_send_change_intf_type(struct qtnf_vif * vif,enum nl80211_iftype iftype,int use4addr,u8 * mac_addr) qtnf_cmd_send_change_intf_type() argument
834 qtnf_cmd_send_del_intf(struct qtnf_vif * vif) qtnf_cmd_send_del_intf() argument
1219 struct qtnf_vif *vif; qtnf_cmd_resp_proc_mac_info() local
1720 qtnf_cmd_send_add_key(struct qtnf_vif * vif,u8 key_index,bool pairwise,const u8 * mac_addr,struct key_params * params) qtnf_cmd_send_add_key() argument
1763 qtnf_cmd_send_del_key(struct qtnf_vif * vif,u8 key_index,bool pairwise,const u8 * mac_addr) qtnf_cmd_send_del_key() argument
1795 qtnf_cmd_send_set_default_key(struct qtnf_vif * vif,u8 key_index,bool unicast,bool multicast) qtnf_cmd_send_set_default_key() argument
1822 qtnf_cmd_send_set_default_mgmt_key(struct qtnf_vif * vif,u8 key_index) qtnf_cmd_send_set_default_mgmt_key() argument
1867 qtnf_cmd_send_change_sta(struct qtnf_vif * vif,const u8 * mac,struct station_parameters * params) qtnf_cmd_send_change_sta() argument
1911 qtnf_cmd_send_del_sta(struct qtnf_vif * vif,struct station_del_parameters * params) qtnf_cmd_send_del_sta() argument
2070 qtnf_cmd_send_connect(struct qtnf_vif * vif,struct cfg80211_connect_params * sme) qtnf_cmd_send_connect() argument
2164 qtnf_cmd_send_external_auth(struct qtnf_vif * vif,struct cfg80211_external_auth_params * auth) qtnf_cmd_send_external_auth() argument
2189 qtnf_cmd_send_disconnect(struct qtnf_vif * vif,u16 reason_code) qtnf_cmd_send_disconnect() argument
2213 qtnf_cmd_send_updown_intf(struct qtnf_vif * vif,bool up) qtnf_cmd_send_updown_intf() argument
2451 qtnf_cmd_send_chan_switch(struct qtnf_vif * vif,struct cfg80211_csa_settings * params) qtnf_cmd_send_chan_switch() argument
2484 qtnf_cmd_get_channel(struct qtnf_vif * vif,struct cfg80211_chan_def * chdef) qtnf_cmd_get_channel() argument
2514 qtnf_cmd_start_cac(const struct qtnf_vif * vif,const struct cfg80211_chan_def * chdef,u32 cac_time_ms) qtnf_cmd_start_cac() argument
2540 qtnf_cmd_set_mac_acl(const struct qtnf_vif * vif,const struct cfg80211_acl_data * params) qtnf_cmd_set_mac_acl() argument
2567 qtnf_cmd_send_pm_set(const struct qtnf_vif * vif,u8 pm_mode,int timeout) qtnf_cmd_send_pm_set() argument
2592 qtnf_cmd_get_tx_power(const struct qtnf_vif * vif,int * dbm) qtnf_cmd_get_tx_power() argument
2626 qtnf_cmd_set_tx_power(const struct qtnf_vif * vif,enum nl80211_tx_power_setting type,int mbm) qtnf_cmd_set_tx_power() argument
2657 qtnf_cmd_send_wowlan_set(const struct qtnf_vif * vif,const struct cfg80211_wowlan * wowl) qtnf_cmd_send_wowlan_set() argument
2703 qtnf_cmd_netdev_changeupper(const struct qtnf_vif * vif,int br_domain) qtnf_cmd_netdev_changeupper() argument
2735 qtnf_cmd_send_update_owe(struct qtnf_vif * vif,struct cfg80211_update_owe_info * owe) qtnf_cmd_send_update_owe() argument
[all...]
/linux/drivers/net/wireless/silabs/wfx/
H A Dsta.c85 struct ieee80211_vif *vif = NULL; in wfx_configure_filter() local
120 vif = wvif_to_vif(wvif); in wfx_configure_filter()
122 if (*total_flags & FIF_PROBE_REQ && vif->type == NL80211_IFTYPE_AP) { in wfx_configure_filter()
140 struct ieee80211_vif *vif = wvif_to_vif(wvif); in wfx_get_ps_timeout() local
142 WARN(!vif->cfg.assoc && enable_ps, in wfx_get_ps_timeout()
156 if (chan0 && chan1 && vif->type != NL80211_IFTYPE_AP) { in wfx_get_ps_timeout()
161 if (vif->cfg.assoc && vif->cfg.ps) in wfx_get_ps_timeout()
174 *enable_ps = vif->cfg.ps; in wfx_get_ps_timeout()
175 if (vif->cfg.assoc && vif->cfg.ps) in wfx_get_ps_timeout()
183 struct ieee80211_vif *vif = wvif_to_vif(wvif); in wfx_update_pm() local
[all …]
H A Dsta.h26 void wfx_set_default_unicast_key(struct ieee80211_hw *hw, struct ieee80211_vif *vif, int idx);
30 int wfx_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif);
31 void wfx_remove_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif);
32 int wfx_start_ap(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
34 void wfx_stop_ap(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
36 int wfx_join_ibss(struct ieee80211_hw *hw, struct ieee80211_vif *vif);
37 void wfx_leave_ibss(struct ieee80211_hw *hw, struct ieee80211_vif *vif);
38 int wfx_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
41 void wfx_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
43 int wfx_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta);
[all …]
/linux/include/net/
H A Dmac80211.h102 * a single per-vif queue for multicast data frames.
303 * struct ieee80211_vif_chanctx_switch - vif chanctx switch information
305 * This is structure is used to pass information about a vif that
310 * @vif: the vif that should be switched from old_ctx to new_ctx
312 * @old_ctx: the old context to which the vif was assigned
313 * @new_ctx: the new context to which the vif must be assigned
316 struct ieee80211_vif *vif;
627 * @vif: reference to owning VIF
693 * @hidden_ssid: The SSID of the current vif i
309 struct ieee80211_vif *vif; global() member
768 struct ieee80211_vif *vif; global() member
1350 struct ieee80211_vif *vif; global() member
2219 ieee80211_vif_usable_links(const struct ieee80211_vif * vif) ieee80211_vif_usable_links() argument
2229 ieee80211_vif_is_mld(const struct ieee80211_vif * vif) ieee80211_vif_is_mld() argument
2242 ieee80211_vif_link_active(const struct ieee80211_vif * vif,unsigned int link_id) ieee80211_vif_link_active() argument
2250 for_each_vif_active_link(vif,link,link_id) global() argument
2256 ieee80211_vif_is_mesh(struct ieee80211_vif * vif) ieee80211_vif_is_mesh() argument
2289 lockdep_vif_wiphy_mutex_held(struct ieee80211_vif * vif) lockdep_vif_wiphy_mutex_held() argument
2294 link_conf_dereference_protected(vif,link_id) global() argument
2298 link_conf_dereference_check(vif,link_id) global() argument
2729 for_each_sta_active_link(vif,sta,link_sta,link_id) global() argument
2772 struct ieee80211_vif *vif; global() member
5845 ieee80211_beacon_get(struct ieee80211_hw * hw,struct ieee80211_vif * vif,unsigned int link_id) ieee80211_beacon_get() argument
6425 ieee80211_iterate_active_interfaces(struct ieee80211_hw * hw,u32 iter_flags,void (* iterator)(void * data,u8 * mac,struct ieee80211_vif * vif),void * data) ieee80211_iterate_active_interfaces() argument
6465 for_each_interface(vif,hw,flags) global() argument
6475 for_each_active_interface(vif,hw) global() argument
6494 ieee80211_iterate_active_interfaces_mtx(struct ieee80211_hw * hw,u32 iter_flags,void (* iterator)(void * data,u8 * mac,struct ieee80211_vif * vif),void * data) ieee80211_iterate_active_interfaces_mtx() argument
6497 struct ieee80211_vif *vif; ieee80211_iterate_active_interfaces_mtx() local
7183 ieee80211_start_rx_ba_session_offl(struct ieee80211_vif * vif,const u8 * addr,u16 tid) ieee80211_start_rx_ba_session_offl() argument
7205 ieee80211_stop_rx_ba_session_offl(struct ieee80211_vif * vif,const u8 * addr,u16 tid) ieee80211_stop_rx_ba_session_offl() argument
7422 ieee80211_vif_type_p2p(struct ieee80211_vif * vif) ieee80211_vif_type_p2p() argument
7436 ieee80211_get_he_iftype_cap_vif(const struct ieee80211_supported_band * sband,struct ieee80211_vif * vif) ieee80211_get_he_iftype_cap_vif() argument
7450 ieee80211_get_he_6ghz_capa_vif(const struct ieee80211_supported_band * sband,struct ieee80211_vif * vif) ieee80211_get_he_6ghz_capa_vif() argument
7464 ieee80211_get_eht_iftype_cap_vif(const struct ieee80211_supported_band * sband,struct ieee80211_vif * vif) ieee80211_get_eht_iftype_cap_vif() argument
7478 ieee80211_get_uhr_iftype_cap_vif(const struct ieee80211_supported_band * sband,struct ieee80211_vif * vif) ieee80211_get_uhr_iftype_cap_vif() argument
[all...]
/linux/drivers/net/wireless/ath/wcn36xx/
H A Dmain.c187 static inline u8 get_sta_index(struct ieee80211_vif *vif, in get_sta_index() argument
190 return NL80211_IFTYPE_STATION == vif->type ? in get_sta_index()
309 struct ieee80211_vif *vif = NULL; in wcn36xx_change_ps() local
313 vif = wcn36xx_priv_to_vif(tmp); in wcn36xx_change_ps()
315 if (vif->cfg.ps) /* ps allowed ? */ in wcn36xx_change_ps()
316 wcn36xx_pmc_enter_bmps_state(wcn, vif); in wcn36xx_change_ps()
318 wcn36xx_pmc_exit_bmps_state(wcn, vif); in wcn36xx_change_ps()
325 struct ieee80211_vif *vif = NULL; in wcn36xx_change_opchannel() local
357 vif = wcn36xx_priv_to_vif(tmp); in wcn36xx_change_opchannel()
358 wcn36xx_smd_switch_channel(wcn, vif, c in wcn36xx_change_opchannel()
435 struct ieee80211_vif *vif = NULL; wcn36xx_configure_filter() local
500 wcn36xx_set_key(struct ieee80211_hw * hw,enum set_key_cmd cmd,struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct ieee80211_key_conf * key_conf) wcn36xx_set_key() argument
630 wcn36xx_hw_scan(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_scan_request * hw_req) wcn36xx_hw_scan() argument
665 wcn36xx_cancel_hw_scan(struct ieee80211_hw * hw,struct ieee80211_vif * vif) wcn36xx_cancel_hw_scan() argument
681 wcn36xx_sw_scan_start(struct ieee80211_hw * hw,struct ieee80211_vif * vif,const u8 * mac_addr) wcn36xx_sw_scan_start() argument
699 wcn36xx_sw_scan_complete(struct ieee80211_hw * hw,struct ieee80211_vif * vif) wcn36xx_sw_scan_complete() argument
800 wcn36xx_bss_info_changed(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_bss_conf * bss_conf,u64 changed) wcn36xx_bss_info_changed() argument
982 wcn36xx_remove_interface(struct ieee80211_hw * hw,struct ieee80211_vif * vif) wcn36xx_remove_interface() argument
997 wcn36xx_add_interface(struct ieee80211_hw * hw,struct ieee80211_vif * vif) wcn36xx_add_interface() argument
1026 wcn36xx_sta_add(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta) wcn36xx_sta_add() argument
1057 wcn36xx_sta_remove(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta) wcn36xx_sta_remove() argument
1082 struct ieee80211_vif *vif = NULL; wcn36xx_get_first_assoc_vif() local
1096 struct ieee80211_vif *vif = NULL; wcn36xx_suspend() local
1134 struct ieee80211_vif *vif = NULL; wcn36xx_resume() local
1158 wcn36xx_set_rekey_data(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct cfg80211_gtk_rekey_data * data) wcn36xx_set_rekey_data() argument
1178 wcn36xx_ampdu_action(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_ampdu_params * params) wcn36xx_ampdu_action() argument
1256 wcn36xx_ipv6_addr_change(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct inet6_dev * idev) wcn36xx_ipv6_addr_change() argument
1282 wcn36xx_flush(struct ieee80211_hw * hw,struct ieee80211_vif * vif,u32 queues,bool drop) wcn36xx_flush() argument
1335 wcn36xx_sta_statistics(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct station_info * sinfo) wcn36xx_sta_statistics() argument
[all...]
H A Dpmc.c24 struct ieee80211_vif *vif) in wcn36xx_pmc_enter_bmps_state() argument
27 struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); in wcn36xx_pmc_enter_bmps_state()
29 ret = wcn36xx_smd_enter_bmps(wcn, vif); in wcn36xx_pmc_enter_bmps_state()
34 vif->driver_flags |= IEEE80211_VIF_BEACON_FILTER; in wcn36xx_pmc_enter_bmps_state()
44 ieee80211_connection_loss(vif); in wcn36xx_pmc_enter_bmps_state()
52 struct ieee80211_vif *vif) in wcn36xx_pmc_exit_bmps_state() argument
54 struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); in wcn36xx_pmc_exit_bmps_state()
62 wcn36xx_smd_exit_bmps(wcn, vif); in wcn36xx_pmc_exit_bmps_state()
64 vif->driver_flags &= ~IEEE80211_VIF_BEACON_FILTER; in wcn36xx_pmc_exit_bmps_state()
69 struct ieee80211_vif *vif) in wcn36xx_enable_keep_alive_null_packet() argument
[all …]
/linux/net/mac80211/
H A Dlink.c17 unsigned long rem = ~sdata->vif.valid_links & in ieee80211_update_apvlan_links()
20 unsigned long add = sdata->vif.valid_links; in ieee80211_update_apvlan_links()
36 if (add == vlan->vif.valid_links) in ieee80211_update_apvlan_links()
63 u16 new_links = ap_bss->vif.valid_links; in ieee80211_apvlan_link_setup()
67 if (!ap_bss->vif.valid_links) in ieee80211_apvlan_link_setup()
91 if (link->sdata->vif.type == NL80211_IFTYPE_STATION) in ieee80211_link_setup()
105 if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) { in ieee80211_link_init()
113 ap_bss_conf = &ap_bss->vif.bss_conf; in ieee80211_link_init()
115 ap_bss_conf = sdata_dereference(ap_bss->vif.link_conf[link_id], in ieee80211_link_init()
125 link_conf->vif in ieee80211_link_init()
598 ieee80211_set_active_links(struct ieee80211_vif * vif,u16 active_links) ieee80211_set_active_links() argument
636 ieee80211_set_active_links_async(struct ieee80211_vif * vif,u16 active_links) ieee80211_set_active_links_async() argument
[all...]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dp2p.c465 struct brcmf_if *pri_ifp = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif->ifp; in brcmf_p2p_generate_bss_mac()
562 struct brcmf_cfg80211_vif *vif; in brcmf_p2p_deinit_discovery() local
567 vif = p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif; in brcmf_p2p_deinit_discovery()
568 (void)brcmf_p2p_set_discover_state(vif->ifp, WL_P2P_DISC_ST_SCAN, 0, 0); in brcmf_p2p_deinit_discovery()
571 vif = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif; in brcmf_p2p_deinit_discovery()
572 (void)brcmf_fil_iovar_int_set(vif->ifp, "p2p_disc", 0); in brcmf_p2p_deinit_discovery()
587 struct brcmf_cfg80211_vif *vif; in brcmf_p2p_enable_discovery() local
591 vif in brcmf_p2p_enable_discovery()
655 struct brcmf_cfg80211_vif *vif; brcmf_p2p_escan() local
780 struct brcmf_cfg80211_vif *vif; brcmf_p2p_run_escan() local
893 brcmf_p2p_scan_prep(struct wiphy * wiphy,struct cfg80211_scan_request * request,struct brcmf_cfg80211_vif * vif) brcmf_p2p_scan_prep() argument
934 struct brcmf_cfg80211_vif *vif; brcmf_p2p_discover_listen() local
1277 struct brcmf_cfg80211_vif *vif; brcmf_p2p_abort_action_frame() local
1931 struct brcmf_cfg80211_vif *vif = ifp->vif; brcmf_p2p_notify_rx_mgmt_p2p_probereq() local
2041 struct brcmf_cfg80211_vif *vif; brcmf_p2p_ifchange() local
2114 brcmf_p2p_disable_p2p_if(struct brcmf_cfg80211_vif * vif) brcmf_p2p_disable_p2p_if() argument
2124 brcmf_p2p_release_p2p_if(struct brcmf_cfg80211_vif * vif) brcmf_p2p_release_p2p_if() argument
2260 struct brcmf_cfg80211_vif *vif; brcmf_p2p_add_vif() local
2361 struct brcmf_cfg80211_vif *vif; brcmf_p2p_del_vif() local
2430 struct brcmf_cfg80211_vif *vif; brcmf_p2p_ifp_removed() local
2452 struct brcmf_cfg80211_vif *vif; brcmf_p2p_start_device() local
2468 struct brcmf_cfg80211_vif *vif; brcmf_p2p_stop_device() local
2527 struct brcmf_cfg80211_vif *vif; brcmf_p2p_detach() local
[all...]
/linux/drivers/net/wireless/rsi/
H A Drsi_91x_mac80211.c234 struct ieee80211_vif *vif, in rsi_mac80211_hw_scan_start() argument
258 if (!vif->cfg.assoc) in rsi_mac80211_hw_scan_start()
264 if (!rsi_send_bgscan_probe_req(common, vif)) { in rsi_mac80211_hw_scan_start()
275 struct ieee80211_vif *vif) in rsi_mac80211_cancel_hw_scan() argument
475 struct ieee80211_vif *vif) in rsi_mac80211_add_interface() argument
479 struct vif_priv *vif_info = (struct vif_priv *)vif->drv_priv; in rsi_mac80211_add_interface()
484 vif->driver_flags |= IEEE80211_VIF_SUPPORTS_UAPSD; in rsi_mac80211_add_interface()
487 intf_mode = rsi_map_intf_mode(vif->type); in rsi_mac80211_add_interface()
491 vif->type); in rsi_mac80211_add_interface()
495 if ((vif->type == NL80211_IFTYPE_P2P_DEVICE) || in rsi_mac80211_add_interface()
[all …]
/linux/drivers/net/wireless/realtek/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 vif->addr, rtwvif->mac_id, rtwvif->port); in rtw_ops_add_interface()
229 struct ieee80211_vif *vif) in rtw_ops_remove_interface() argument
[all …]

12345678910>>...12