Home
last modified time | relevance | path

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

12345678910>>...15

/linux/drivers/net/wireless/ath/ath6kl/
H A Dcfg80211.c146 static bool __ath6kl_cfg80211_sscan_stop(struct ath6kl_vif *vif) in __ath6kl_cfg80211_sscan_stop() argument
148 struct ath6kl *ar = vif->ar; in __ath6kl_cfg80211_sscan_stop()
150 if (!test_and_clear_bit(SCHED_SCANNING, &vif->flags)) in __ath6kl_cfg80211_sscan_stop()
153 timer_delete_sync(&vif->sched_scan_timer); in __ath6kl_cfg80211_sscan_stop()
158 ath6kl_wmi_enable_sched_scan_cmd(ar->wmi, vif->fw_vif_idx, false); in __ath6kl_cfg80211_sscan_stop()
163 static void ath6kl_cfg80211_sscan_disable(struct ath6kl_vif *vif) in ath6kl_cfg80211_sscan_disable() argument
165 struct ath6kl *ar = vif->ar; in ath6kl_cfg80211_sscan_disable()
168 stopped = __ath6kl_cfg80211_sscan_stop(vif); in ath6kl_cfg80211_sscan_disable()
176 static int ath6kl_set_wpa_version(struct ath6kl_vif *vif, in ath6kl_set_wpa_version() argument
182 vif->auth_mode = NONE_AUTH; in ath6kl_set_wpa_version()
[all …]
H A Dmain.c26 struct ath6kl_sta *ath6kl_find_sta(struct ath6kl_vif *vif, u8 *node_addr) in ath6kl_find_sta() argument
28 struct ath6kl *ar = vif->ar; in ath6kl_find_sta()
35 max_conn = (vif->nw_type == AP_NETWORK) ? AP_MAX_NUM_STA : 0; in ath6kl_find_sta()
61 static void ath6kl_add_new_sta(struct ath6kl_vif *vif, u8 *mac, u16 aid, in ath6kl_add_new_sta() argument
65 struct ath6kl *ar = vif->ar; in ath6kl_add_new_sta()
83 aggr_conn_init(vif, vif->aggr_cntxt, sta->aggr_conn); in ath6kl_add_new_sta()
350 static void ath6kl_install_static_wep_keys(struct ath6kl_vif *vif) in ath6kl_install_static_wep_keys() argument
356 if (vif->wep_key_list[index].key_len) { in ath6kl_install_static_wep_keys()
358 if (index == vif->def_txkey_index) in ath6kl_install_static_wep_keys()
361 ath6kl_wmi_addkey_cmd(vif->ar->wmi, vif->fw_vif_idx, in ath6kl_install_static_wep_keys()
[all …]
/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 Dcfg80211.c167 struct wilc_vif *vif = netdev_priv(dev); in cfg_connect_result() local
168 struct wilc *wl = vif->wilc; in cfg_connect_result()
173 vif->connecting = false; in cfg_connect_result()
183 if (vif->iftype != WILC_CLIENT_MODE) in cfg_connect_result()
193 cfg80211_ref_bss(wiphy, vif->bss); in cfg_connect_result()
194 cfg80211_connect_bss(dev, conn_info->bssid, vif->bss, in cfg_connect_result()
202 vif->bss = NULL; in cfg_connect_result()
209 if (vif->iftype != WILC_CLIENT_MODE) { in cfg_connect_result()
224 struct wilc_vif *vif; in wilc_get_wl_to_vif() local
226 vif = list_first_or_null_rcu(&wl->vif_list, typeof(*vif), list); in wilc_get_wl_to_vif()
[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/quantenna/qtnfmac/
H A Dcfg80211.c79 struct qtnf_vif *vif; in qtnf_validate_iface_combinations() local
91 vif = &mac->iflist[i]; in qtnf_validate_iface_combinations()
92 if (vif->wdev.iftype != NL80211_IFTYPE_UNSPECIFIED) in qtnf_validate_iface_combinations()
93 params.iftype_num[vif->wdev.iftype]++; in qtnf_validate_iface_combinations()
112 vif = qtnf_mac_get_base_vif(mac); in qtnf_validate_iface_combinations()
113 if (vif && vif->wdev.iftype == NL80211_IFTYPE_AP && in qtnf_validate_iface_combinations()
114 vif != change_vif && new_type == NL80211_IFTYPE_STATION) { in qtnf_validate_iface_combinations()
129 struct qtnf_vif *vif = qtnf_netdev_get_priv(dev); in qtnf_change_virtual_intf() local
134 ret = qtnf_validate_iface_combinations(wiphy, vif, type); in qtnf_change_virtual_intf()
137 vif->mac->macid, vif->vifid, type); in qtnf_change_virtual_intf()
[all …]
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 …]
/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 …]
H A Dcfg80211.c431 int wil_cid_fill_sinfo(struct wil6210_vif *vif, int cid, in wil_cid_fill_sinfo() argument
434 struct wil6210_priv *wil = vif_to_wil(vif); in wil_cid_fill_sinfo()
451 rc = wmi_call(wil, WMI_NOTIFY_REQ_CMDID, vif->mid, &cmd, sizeof(cmd), in wil_cid_fill_sinfo()
465 cid, vif->mid, WIL_EXTENDED_MCS_CHECK(tx_mcs), in wil_cid_fill_sinfo()
524 if (test_bit(wil_vif_fwconnected, vif->status)) { in wil_cid_fill_sinfo()
541 struct wil6210_vif *vif = wdev_to_vif(wil, wdev); in wil_cfg80211_get_station() local
544 int cid = wil_find_cid(wil, vif->mid, mac); in wil_cfg80211_get_station()
547 vif->mid); in wil_cfg80211_get_station()
551 rc = wil_cid_fill_sinfo(vif, cid, sinfo); in wil_cfg80211_get_station()
581 struct wil6210_vif *vif = wdev_to_vif(wil, wdev); in wil_cfg80211_dump_station() local
[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->bss_conf.beacon_int - in iwl_mvm_mac_tsf_id_iter()
104 vif->bss_conf.beacon_int) % min_bi == 0) { in iwl_mvm_mac_tsf_id_iter()
[all …]
H A Dmac80211.c102 struct ieee80211_vif *vif,
845 if (!sta && info->control.vif->type == NL80211_IFTYPE_STATION && in iwl_mvm_mac_tx()
855 rcu_dereference(info->control.vif->link_conf[link_id]); in iwl_mvm_mac_tx()
963 iwl_mvm_ampdu_check_trigger(struct iwl_mvm *mvm, struct ieee80211_vif *vif, in iwl_mvm_ampdu_check_trigger() argument
970 trig = iwl_fw_dbg_trigger_on(&mvm->fwrt, ieee80211_vif_to_wdev(vif), in iwl_mvm_ampdu_check_trigger()
1008 struct ieee80211_vif *vif, in iwl_mvm_mac_ampdu_action() argument
1031 if (iwl_mvm_vif_from_mac80211(vif)->deflink.ap_sta_id == in iwl_mvm_mac_ampdu_action()
1034 u16 macid = iwl_mvm_vif_from_mac80211(vif)->id; in iwl_mvm_mac_ampdu_action()
1038 mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_mac_ampdu_action()
1057 ret = iwl_mvm_sta_tx_agg_start(mvm, vif, sta, tid, ssn); in iwl_mvm_mac_ampdu_action()
[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()
49 struct ieee80211_vif *vif = mvm->p2p_device_vif; in iwl_mvm_cleanup_roc() local
76 if (!WARN_ON(!vif)) { in iwl_mvm_cleanup_roc()
77 mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_cleanup_roc()
82 iwl_mvm_mld_rm_bcast_sta(mvm, vif, in iwl_mvm_cleanup_roc()
83 &vif->bss_conf); in iwl_mvm_cleanup_roc()
85 iwl_mvm_link_changed(mvm, vif, &vif->bss_conf, in iwl_mvm_cleanup_roc()
89 iwl_mvm_rm_p2p_bcast_sta(mvm, vif); in iwl_mvm_cleanup_roc()
90 iwl_mvm_binding_remove_vif(mvm, vif); in iwl_mvm_cleanup_roc()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dmac80211.c529 rcu_dereference(info->control.vif->link_conf[link_id]); in iwl_mld_mac80211_tx()
660 struct ieee80211_vif *vif) in iwl_mld_mac80211_add_interface() argument
668 ret = iwl_mld_add_vif(mld, vif); in iwl_mld_mac80211_add_interface()
672 if (vif->type == NL80211_IFTYPE_NAN_DATA) { in iwl_mld_mac80211_add_interface()
680 iwl_mld_vif_from_mac80211(vif); in iwl_mld_mac80211_add_interface()
685 vif->addr, in iwl_mld_mac80211_add_interface()
698 if (vif->type != NL80211_IFTYPE_NAN && !ieee80211_vif_is_mld(vif)) { in iwl_mld_mac80211_add_interface()
699 ret = iwl_mld_add_link(mld, &vif->bss_conf); in iwl_mld_mac80211_add_interface()
704 if (vif->type == NL80211_IFTYPE_STATION) { in iwl_mld_mac80211_add_interface()
705 vif->driver_flags |= IEEE80211_VIF_REMOVE_AP_AFTER_DISASSOC; in iwl_mld_mac80211_add_interface()
[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 …]
/linux/include/net/
H A Dmac80211.h316 struct ieee80211_vif *vif; member
802 struct ieee80211_vif *vif; member
1394 struct ieee80211_vif *vif; member
2270 static inline u16 ieee80211_vif_usable_links(const struct ieee80211_vif *vif) in ieee80211_vif_usable_links() argument
2272 return vif->valid_links & ~vif->dormant_links; in ieee80211_vif_usable_links()
2280 static inline bool ieee80211_vif_is_mld(const struct ieee80211_vif *vif) in ieee80211_vif_is_mld() argument
2283 return vif->valid_links != 0; in ieee80211_vif_is_mld()
2293 static inline bool ieee80211_vif_link_active(const struct ieee80211_vif *vif, in ieee80211_vif_link_active() argument
2296 if (!ieee80211_vif_is_mld(vif)) in ieee80211_vif_link_active()
2298 return vif->active_links & BIT(link_id); in ieee80211_vif_link_active()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dmain.c383 struct ieee80211_vif *vif = link_conf->vif; in mt7925_mac_link_bss_add() local
384 struct mt792x_vif *mvif = mconf->vif; in mt7925_mac_link_bss_add()
388 if (vif->type == NL80211_IFTYPE_P2P_DEVICE) { in mt7925_mac_link_bss_add()
399 mconf->mt76.omac_idx = ieee80211_vif_is_mld(vif) ? in mt7925_mac_link_bss_add()
414 mconf->mt76.wmm_idx = ieee80211_vif_is_mld(vif) ? in mt7925_mac_link_bss_add()
445 if (vif->txq) { in mt7925_mac_link_bss_add()
446 mtxq = (struct mt76_txq *)vif->txq->drv_priv; in mt7925_mac_link_bss_add()
455 mt7925_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) in mt7925_add_interface() argument
457 struct mt792x_vif *mvif = (struct mt792x_vif *)vif in mt7925_add_interface()
490 mt7925_remove_interface(struct ieee80211_hw * hw,struct ieee80211_vif * vif) mt7925_remove_interface() argument
508 mt7925_roc_iter(void * priv,u8 * mac,struct ieee80211_vif * vif) mt7925_roc_iter() argument
625 mt7925_remain_on_channel(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_channel * chan,int duration,enum ieee80211_roc_type type) mt7925_remain_on_channel() argument
643 mt7925_cancel_remain_on_channel(struct ieee80211_hw * hw,struct ieee80211_vif * vif) mt7925_cancel_remain_on_channel() argument
652 mt7925_set_link_key(struct ieee80211_hw * hw,enum set_key_cmd cmd,struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct ieee80211_key_conf * key,int link_id,struct mt792x_link_sta * mlink) mt7925_set_link_key() argument
730 mt7925_set_key(struct ieee80211_hw * hw,enum set_key_cmd cmd,struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct ieee80211_key_conf * key) mt7925_set_key() argument
777 mt7925_pm_interface_iter(void * priv,u8 * mac,struct ieee80211_vif * vif) mt7925_pm_interface_iter() argument
798 mt7925_sniffer_interface_iter(void * priv,u8 * mac,struct ieee80211_vif * vif) mt7925_sniffer_interface_iter() argument
883 mt7925_get_rates_table(struct ieee80211_hw * hw,struct ieee80211_vif * vif,bool beacon,bool mcast) mt7925_get_rates_table() argument
912 mt7925_mac_link_sta_add(struct mt76_dev * mdev,struct ieee80211_vif * vif,struct ieee80211_link_sta * link_sta,struct mt792x_link_sta * mlink) mt7925_mac_link_sta_add() argument
1091 mt7925_mac_sta_add_links(struct mt792x_dev * dev,struct ieee80211_vif * vif,struct ieee80211_sta * sta,unsigned long new_links) mt7925_mac_sta_add_links() argument
1142 mt7925_mac_sta_add(struct mt76_dev * mdev,struct ieee80211_vif * vif,struct ieee80211_sta * sta) mt7925_mac_sta_add() argument
1169 mt7925_mac_set_links(struct mt76_dev * mdev,struct ieee80211_vif * vif) mt7925_mac_set_links() argument
1202 mt7925_mac_link_sta_assoc(struct mt76_dev * mdev,struct ieee80211_vif * vif,struct ieee80211_link_sta * link_sta) mt7925_mac_link_sta_assoc() argument
1241 mt7925_mac_sta_event(struct mt76_dev * mdev,struct ieee80211_vif * vif,struct ieee80211_sta * sta,enum mt76_sta_event ev) mt7925_mac_sta_event() argument
1280 mt7925_mac_link_sta_remove(struct mt76_dev * mdev,struct ieee80211_vif * vif,struct ieee80211_link_sta * link_sta,struct mt792x_link_sta * mlink) mt7925_mac_link_sta_remove() argument
1327 mt7925_mac_sta_remove_links(struct mt792x_dev * dev,struct ieee80211_vif * vif,struct ieee80211_sta * sta,unsigned long old_links) mt7925_mac_sta_remove_links() argument
1394 mt7925_mac_sta_remove(struct mt76_dev * mdev,struct ieee80211_vif * vif,struct ieee80211_sta * sta) mt7925_mac_sta_remove() argument
1461 mt7925_ampdu_action(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_ampdu_params * params) mt7925_ampdu_action() argument
1518 mt7925_mlo_pm_iter(void * priv,u8 * mac,struct ieee80211_vif * vif) mt7925_mlo_pm_iter() argument
1614 mt7925_hw_scan(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_scan_request * req) mt7925_hw_scan() argument
1629 mt7925_cancel_hw_scan(struct ieee80211_hw * hw,struct ieee80211_vif * vif) mt7925_cancel_hw_scan() argument
1640 mt7925_start_sched_scan(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct cfg80211_sched_scan_request * req,struct ieee80211_scan_ies * ies) mt7925_start_sched_scan() argument
1662 mt7925_stop_sched_scan(struct ieee80211_hw * hw,struct ieee80211_vif * vif) mt7925_stop_sched_scan() argument
1752 mt7925_set_rekey_data(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct cfg80211_gtk_rekey_data * data) mt7925_set_rekey_data() argument
1764 mt7925_sta_set_decap_offload(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta,bool enabled) mt7925_sta_set_decap_offload() argument
1862 mt7925_ipv6_addr_change(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct inet6_dev * idev) mt7925_ipv6_addr_change() argument
1916 mt7925_channel_switch_beacon(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct cfg80211_chan_def * chandef) mt7925_channel_switch_beacon() argument
1927 mt7925_conf_tx(struct ieee80211_hw * hw,struct ieee80211_vif * vif,unsigned int link_id,u16 queue,const struct ieee80211_tx_queue_params * params) mt7925_conf_tx() argument
1947 mt7925_start_ap(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf) mt7925_start_ap() argument
1975 mt7925_stop_ap(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf) mt7925_stop_ap() argument
2025 struct ieee80211_vif *vif; mt7925_change_chanctx() local
2071 mt7925_mgd_prepare_tx(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_prep_tx_info * info) mt7925_mgd_prepare_tx() argument
2087 mt7925_mgd_complete_tx(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_prep_tx_info * info) mt7925_mgd_complete_tx() argument
2096 mt7925_vif_cfg_changed(struct ieee80211_hw * hw,struct ieee80211_vif * vif,u64 changed) mt7925_vif_cfg_changed() argument
2151 mt7925_link_info_changed(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_bss_conf * info,u64 changed) mt7925_link_info_changed() argument
2209 mt7925_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]) mt7925_change_vif_links() argument
2318 mt7925_change_sta_links(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta,u16 old_links,u16 new_links) mt7925_change_sta_links() argument
2346 mt7927_reconfig_band(struct mt792x_dev * dev,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf,struct mt792x_bss_conf * mconf,u8 band_idx) mt7927_reconfig_band() argument
2369 mt7925_assign_vif_chanctx(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf,struct ieee80211_chanctx_conf * ctx) mt7925_assign_vif_chanctx() argument
2408 mt7925_unassign_vif_chanctx(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf,struct ieee80211_chanctx_conf * ctx) mt7925_unassign_vif_chanctx() argument
2465 struct ieee80211_vif *vif; mt7925_csa_work() local
2504 mt7925_pre_channel_switch(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_channel_switch * chsw) mt7925_pre_channel_switch() argument
2521 mt7925_channel_switch(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_channel_switch * chsw) mt7925_channel_switch() argument
2537 mt7925_abort_channel_switch(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf) mt7925_abort_channel_switch() argument
2547 mt7925_channel_switch_rx_beacon(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_channel_switch * chsw) mt7925_channel_switch_rx_beacon() argument
2571 mt7925_start_nan(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct cfg80211_nan_conf * conf) mt7925_start_nan() argument
2618 mt7925_stop_nan(struct ieee80211_hw * hw,struct ieee80211_vif * vif) mt7925_stop_nan() argument
2642 mt7925_nan_change_conf(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct cfg80211_nan_conf * conf,u32 changes) mt7925_nan_change_conf() argument
2674 mt7925_sta_pre_rcu_remove(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta) mt7925_sta_pre_rcu_remove() 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 = &sdata->vif; in ieee80211_link_init()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dmain.c301 mt7921_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) in mt7921_add_interface() argument
303 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; in mt7921_add_interface()
319 mvif->bss_conf.vif = mvif; in mt7921_add_interface()
323 ret = mt76_connac_mcu_uni_add_dev(&dev->mphy, &vif->bss_conf, in mt7921_add_interface()
345 if (vif->txq) { in mt7921_add_interface()
346 mtxq = (struct mt76_txq *)vif->txq->drv_priv; in mt7921_add_interface()
350 vif->driver_flags |= IEEE80211_VIF_BEACON_FILTER; in mt7921_add_interface()
352 vif->driver_flags |= IEEE80211_VIF_SUPPORTS_CQM_RSSI; in mt7921_add_interface()
363 struct ieee80211_vif *vif) in mt7921_roc_iter() argument
365 struct mt792x_vif *mvif = (struct mt792x_vif *)vif->drv_priv; in mt7921_roc_iter()
[all …]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dp2p.c491 struct brcmf_if *pri_ifp = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif->ifp; in brcmf_p2p_generate_bss_mac()
588 struct brcmf_cfg80211_vif *vif; in brcmf_p2p_deinit_discovery() local
593 vif = p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif; in brcmf_p2p_deinit_discovery()
594 (void)brcmf_p2p_set_discover_state(vif->ifp, WL_P2P_DISC_ST_SCAN, 0, 0); in brcmf_p2p_deinit_discovery()
597 vif = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif; in brcmf_p2p_deinit_discovery()
598 (void)brcmf_fil_iovar_int_set(vif->ifp, "p2p_disc", 0); in brcmf_p2p_deinit_discovery()
613 struct brcmf_cfg80211_vif *vif; in brcmf_p2p_enable_discovery() local
617 vif = p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif; in brcmf_p2p_enable_discovery()
618 if (!vif) { in brcmf_p2p_enable_discovery()
630 vif = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif; in brcmf_p2p_enable_discovery()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmain.c167 mt7996_init_bitrate_mask(struct ieee80211_vif *vif, struct mt7996_vif_link *mlink) in mt7996_init_bitrate_mask() argument
187 struct ieee80211_vif *vif, struct ieee80211_sta *sta, in mt7996_set_hw_key() argument
199 link = mt7996_vif_link(dev, vif, link_id); in mt7996_set_hw_key()
236 link_conf = link_conf_dereference_protected(vif, link_id); in mt7996_set_hw_key()
238 link_conf = &vif->bss_conf; in mt7996_set_hw_key()
246 mt7996_mcu_add_bss_info(phy, vif, link_conf, in mt7996_set_hw_key()
267 mt7996_mcu_add_beacon(hw, vif, link_conf, false); in mt7996_set_hw_key()
268 mt7996_mcu_add_beacon(hw, vif, link_conf, true); in mt7996_set_hw_key()
280 mt7996_key_iter(struct ieee80211_hw *hw, struct ieee80211_vif *vif, in mt7996_key_iter() argument
289 WARN_ON(mt7996_set_hw_key(hw, it->cmd, vif, NUL in mt7996_key_iter()
292 mt7996_vif_link_add(struct mt76_phy * mphy,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf,struct mt76_vif_link * mlink) mt7996_vif_link_add() argument
406 mt7996_vif_link_destroy(struct mt7996_phy * phy,struct mt7996_vif_link * link,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf) mt7996_vif_link_destroy() argument
453 mt7996_vif_link_remove(struct mt76_phy * mphy,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf,struct mt76_vif_link * mlink) mt7996_vif_link_remove() argument
549 mt7996_add_interface(struct ieee80211_hw * hw,struct ieee80211_vif * vif) mt7996_add_interface() argument
589 mt7996_remove_iter(void * data,u8 * mac,struct ieee80211_vif * vif) mt7996_remove_iter() argument
600 mt7996_remove_interface(struct ieee80211_hw * hw,struct ieee80211_vif * vif) mt7996_remove_interface() argument
681 mt7996_set_key(struct ieee80211_hw * hw,enum set_key_cmd cmd,struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct ieee80211_key_conf * key) mt7996_set_key() argument
748 mt7996_conf_tx(struct ieee80211_hw * hw,struct ieee80211_vif * vif,unsigned int link_id,u16 queue,const struct ieee80211_tx_queue_params * params) mt7996_conf_tx() argument
819 mt7996_get_txpower(struct ieee80211_hw * hw,struct ieee80211_vif * vif,unsigned int link_id,int * dbm) mt7996_get_txpower() argument
893 mt7996_vif_cfg_changed(struct ieee80211_hw * hw,struct ieee80211_vif * vif,u64 changed) mt7996_vif_cfg_changed() argument
950 mt7996_link_info_changed(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_bss_conf * info,u64 changed) mt7996_link_info_changed() argument
1045 mt7996_channel_switch_beacon(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct cfg80211_chan_def * chandef) mt7996_channel_switch_beacon() argument
1082 mt7996_post_channel_switch(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_bss_conf * link_conf) mt7996_post_channel_switch() argument
1253 mt7996_mac_sta_remove_links(struct mt7996_dev * dev,struct ieee80211_vif * vif,struct ieee80211_sta * sta,unsigned long links,bool flush) mt7996_mac_sta_remove_links() argument
1264 mt7996_mac_sta_add_links(struct mt7996_dev * dev,struct ieee80211_vif * vif,struct ieee80211_sta * sta,unsigned long new_links) mt7996_mac_sta_add_links() argument
1325 mt7996_mac_sta_change_links(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta,u16 old_links,u16 new_links) mt7996_mac_sta_change_links() argument
1345 mt7996_mac_sta_add(struct mt7996_dev * dev,struct ieee80211_vif * vif,struct ieee80211_sta * sta) mt7996_mac_sta_add() argument
1366 mt7996_mac_sta_event(struct mt7996_dev * dev,struct ieee80211_vif * vif,struct ieee80211_sta * sta,enum mt76_sta_event ev) mt7996_mac_sta_event() argument
1442 mt7996_mac_sta_remove(struct mt7996_dev * dev,struct ieee80211_vif * vif,struct ieee80211_sta * sta) mt7996_mac_sta_remove() argument
1455 mt7996_set_active_links(struct ieee80211_vif * vif) mt7996_set_active_links() argument
1473 mt7996_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) mt7996_sta_state() argument
1515 struct ieee80211_vif *vif = info->control.vif; mt7996_tx() local
1620 mt7996_ampdu_action(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_ampdu_params * params) mt7996_ampdu_action() argument
1733 mt7996_get_tsf(struct ieee80211_hw * hw,struct ieee80211_vif * vif) mt7996_get_tsf() argument
1747 mt7996_set_tsf(struct ieee80211_hw * hw,struct ieee80211_vif * vif,u64 timestamp) mt7996_set_tsf() argument
1783 mt7996_offset_tsf(struct ieee80211_hw * hw,struct ieee80211_vif * vif,s64 timestamp) mt7996_offset_tsf() argument
1873 mt7996_sta_statistics(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct station_info * sinfo) mt7996_sta_statistics() argument
1948 mt7996_link_sta_rc_update(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_link_sta * link_sta,u32 changed) mt7996_link_sta_rc_update() argument
1985 mt7996_set_bitrate_mask(struct ieee80211_hw * hw,struct ieee80211_vif * vif,const struct cfg80211_bitrate_mask * mask) mt7996_set_bitrate_mask() argument
2009 mt7996_sta_set_4addr(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta,bool enabled) mt7996_sta_set_4addr() argument
2055 mt7996_sta_set_decap_offload(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta,bool enabled) mt7996_sta_set_decap_offload() argument
2201 mt7996_get_et_strings(struct ieee80211_hw * hw,struct ieee80211_vif * vif,u32 sset,u8 * data) mt7996_get_et_strings() argument
2211 mt7996_get_et_sset_count(struct ieee80211_hw * hw,struct ieee80211_vif * vif,int sset) mt7996_get_et_sset_count() argument
2233 mt7996_get_et_stats(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ethtool_stats * stats,u64 * data) mt7996_get_et_stats() argument
2399 mt7996_net_fill_forward_path(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct net_device_path_ctx * ctx,struct net_device_path * path) mt7996_net_fill_forward_path() argument
2458 mt7996_net_setup_tc(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct net_device * netdev,enum tc_setup_type type,void * type_data) mt7996_net_setup_tc() argument
2474 mt7996_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]) mt7996_change_vif_links() argument
2531 mt7996_set_eml_op_mode(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_sta * sta,struct ieee80211_eml_params * eml_params) mt7996_set_eml_op_mode() argument
[all...]

12345678910>>...15