Home
last modified time | relevance | path

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

12345678910>>...14

/Linux-v4.19/drivers/staging/wilc1000/
Dlinux_wlan.c25 struct wilc_vif *vif; in dev_state_ev_handler() local
45 vif = netdev_priv(dev); in dev_state_ev_handler()
46 if (!vif || !hif_drv) in dev_state_ev_handler()
51 if (vif->iftype == STATION_MODE || vif->iftype == CLIENT_MODE) { in dev_state_ev_handler()
58 wilc_set_power_mgmt(vif, 1, 0); in dev_state_ev_handler()
66 wilc_setup_ipaddress(vif, ip_addr_buf, vif->idx); in dev_state_ev_handler()
71 if (vif->iftype == STATION_MODE || vif->iftype == CLIENT_MODE) { in dev_state_ev_handler()
77 wilc_set_power_mgmt(vif, 0, 0); in dev_state_ev_handler()
79 wilc_resolve_disconnect_aberration(vif); in dev_state_ev_handler()
88 wilc_setup_ipaddress(vif, ip_addr_buf, vif->idx); in dev_state_ev_handler()
[all …]
Dhost_interface.c152 struct wilc_vif *vif; member
205 static int host_int_get_ipaddress(struct wilc_vif *vif, u8 *ip_addr, u8 idx);
209 wilc_alloc_work(struct wilc_vif *vif, void (*work_fun)(struct work_struct *), in wilc_alloc_work() argument
221 msg->vif = vif; in wilc_alloc_work()
242 int wilc_get_vif_idx(struct wilc_vif *vif) in wilc_get_vif_idx() argument
244 return vif->idx + 1; in wilc_get_vif_idx()
259 return wilc->vif[index]; in wilc_get_vif_from_idx()
265 struct wilc_vif *vif = msg->vif; in handle_set_channel() local
275 ret = wilc_send_config_pkt(vif, SET_CFG, &wid, 1, in handle_set_channel()
276 wilc_get_vif_idx(vif)); in handle_set_channel()
[all …]
Dhost_interface.h301 int wilc_remove_wep_key(struct wilc_vif *vif, u8 index);
302 int wilc_set_wep_default_keyid(struct wilc_vif *vif, u8 index);
303 int wilc_add_wep_key_bss_sta(struct wilc_vif *vif, const u8 *key, u8 len,
305 int wilc_add_wep_key_bss_ap(struct wilc_vif *vif, const u8 *key, u8 len,
307 int wilc_add_ptk(struct wilc_vif *vif, const u8 *ptk, u8 ptk_key_len,
310 s32 wilc_get_inactive_time(struct wilc_vif *vif, const u8 *mac,
312 int wilc_add_rx_gtk(struct wilc_vif *vif, const u8 *rx_gtk, u8 gtk_key_len,
316 int wilc_set_pmkid_info(struct wilc_vif *vif,
318 int wilc_get_mac_address(struct wilc_vif *vif, u8 *mac_addr);
319 int wilc_set_join_req(struct wilc_vif *vif, u8 *bssid, const u8 *ssid,
[all …]
/Linux-v4.19/drivers/net/wireless/ath/ath6kl/
Dcfg80211.c145 static bool __ath6kl_cfg80211_sscan_stop(struct ath6kl_vif *vif) in __ath6kl_cfg80211_sscan_stop() argument
147 struct ath6kl *ar = vif->ar; in __ath6kl_cfg80211_sscan_stop()
149 if (!test_and_clear_bit(SCHED_SCANNING, &vif->flags)) in __ath6kl_cfg80211_sscan_stop()
152 del_timer_sync(&vif->sched_scan_timer); in __ath6kl_cfg80211_sscan_stop()
157 ath6kl_wmi_enable_sched_scan_cmd(ar->wmi, vif->fw_vif_idx, false); in __ath6kl_cfg80211_sscan_stop()
162 static void ath6kl_cfg80211_sscan_disable(struct ath6kl_vif *vif) in ath6kl_cfg80211_sscan_disable() argument
164 struct ath6kl *ar = vif->ar; in ath6kl_cfg80211_sscan_disable()
167 stopped = __ath6kl_cfg80211_sscan_stop(vif); in ath6kl_cfg80211_sscan_disable()
175 static int ath6kl_set_wpa_version(struct ath6kl_vif *vif, in ath6kl_set_wpa_version() argument
181 vif->auth_mode = NONE_AUTH; in ath6kl_set_wpa_version()
[all …]
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-v4.19/drivers/net/xen-netback/
Dinterface.c73 int xenvif_schedulable(struct xenvif *vif) in xenvif_schedulable() argument
75 return netif_running(vif->dev) && in xenvif_schedulable()
76 test_bit(VIF_STATUS_CONNECTED, &vif->status) && in xenvif_schedulable()
77 !vif->disabled; in xenvif_schedulable()
100 if (unlikely(queue->vif->disabled)) { in xenvif_poll()
138 struct net_device *dev = queue->vif->dev; in xenvif_queue_stopped()
145 struct net_device *dev = queue->vif->dev; in xenvif_wake_queue()
154 struct xenvif *vif = netdev_priv(dev); in xenvif_select_queue() local
155 unsigned int size = vif->hash.size; in xenvif_select_queue()
157 if (vif->hash.alg == XEN_NETIF_CTRL_HASH_ALGORITHM_NONE) in xenvif_select_queue()
[all …]
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()
64 new->seq = atomic_inc_return(&vif->hash.cache.seq); in xenvif_add_hash()
65 list_add_rcu(&new->link, &vif->hash.cache.list); in xenvif_add_hash()
67 if (++vif->hash.cache.count > xenvif_hash_cache_size) { in xenvif_add_hash()
69 vif->hash.cache.count--; in xenvif_add_hash()
74 spin_unlock_irqrestore(&vif->hash.cache.lock, flags); in xenvif_add_hash()
80 static u32 xenvif_new_hash(struct xenvif *vif, const u8 *data, in xenvif_new_hash() argument
85 val = xen_netif_toeplitz_hash(vif->hash.key, in xenvif_new_hash()
[all …]
Dxenbus.c27 struct xenvif *vif; member
47 static void xen_unregister_watchers(struct xenvif *vif);
120 dev_queue = netdev_get_tx_queue(queue->vif->dev, queue->id); in xenvif_read_io_ring()
191 struct xenvif *vif = m->private; in xenvif_read_ctrl() local
193 xenvif_dump_hash_info(vif, m); in xenvif_read_ctrl()
211 static void xenvif_debugfs_addif(struct xenvif *vif) in xenvif_debugfs_addif() argument
219 vif->xenvif_dbg_root = debugfs_create_dir(vif->dev->name, in xenvif_debugfs_addif()
221 if (!IS_ERR_OR_NULL(vif->xenvif_dbg_root)) { in xenvif_debugfs_addif()
222 for (i = 0; i < vif->num_queues; ++i) { in xenvif_debugfs_addif()
228 vif->xenvif_dbg_root, in xenvif_debugfs_addif()
[all …]
Dnetback.c122 #define callback_param(vif, pending_idx) \ argument
123 (vif->pending_tx_info[pending_idx].callback_struct)
213 static void xenvif_fatal_tx_err(struct xenvif *vif) in xenvif_fatal_tx_err() argument
215 netdev_err(vif->dev, "fatal error; disabling device\n"); in xenvif_fatal_tx_err()
216 vif->disabled = true; in xenvif_fatal_tx_err()
218 if (vif->num_queues) in xenvif_fatal_tx_err()
219 xenvif_kick_thread(&vif->queues[0]); in xenvif_fatal_tx_err()
240 netdev_err(queue->vif->dev, in xenvif_count_requests()
243 xenvif_fatal_tx_err(queue->vif); in xenvif_count_requests()
251 netdev_err(queue->vif->dev, in xenvif_count_requests()
[all …]
/Linux-v4.19/drivers/net/wireless/quantenna/qtnfmac/
Dcfg80211.c89 struct qtnf_vif *vif; in qtnf_validate_iface_combinations() local
101 vif = &mac->iflist[i]; in qtnf_validate_iface_combinations()
102 if (vif->wdev.iftype != NL80211_IFTYPE_UNSPECIFIED) in qtnf_validate_iface_combinations()
103 params.iftype_num[vif->wdev.iftype]++; in qtnf_validate_iface_combinations()
124 struct qtnf_vif *vif = qtnf_netdev_get_priv(dev); in qtnf_change_virtual_intf() local
128 ret = qtnf_validate_iface_combinations(wiphy, vif, type); in qtnf_change_virtual_intf()
131 vif->mac->macid, vif->vifid, type); in qtnf_change_virtual_intf()
140 qtnf_scan_done(vif->mac, true); in qtnf_change_virtual_intf()
142 ret = qtnf_cmd_send_change_intf_type(vif, type, mac_addr); in qtnf_change_virtual_intf()
145 vif->mac->macid, vif->vifid, ret); in qtnf_change_virtual_intf()
[all …]
Devent.c31 qtnf_event_handle_sta_assoc(struct qtnf_wmac *mac, struct qtnf_vif *vif, in qtnf_event_handle_sta_assoc() argument
47 mac->macid, vif->vifid, len, sizeof(*sta_assoc)); in qtnf_event_handle_sta_assoc()
51 if (vif->wdev.iftype != NL80211_IFTYPE_AP) { in qtnf_event_handle_sta_assoc()
53 mac->macid, vif->vifid); in qtnf_event_handle_sta_assoc()
64 pr_debug("VIF%u.%u: MAC:%pM FC:%x\n", mac->macid, vif->vifid, sta_addr, in qtnf_event_handle_sta_assoc()
67 qtnf_sta_list_add(vif, sta_addr); in qtnf_event_handle_sta_assoc()
71 sinfo->generation = vif->generation; in qtnf_event_handle_sta_assoc()
114 cfg80211_new_sta(vif->netdev, sta_assoc->sta_addr, sinfo, in qtnf_event_handle_sta_assoc()
123 qtnf_event_handle_sta_deauth(struct qtnf_wmac *mac, struct qtnf_vif *vif, in qtnf_event_handle_sta_deauth() argument
132 mac->macid, vif->vifid, len, in qtnf_event_handle_sta_deauth()
[all …]
Dcore.c82 struct qtnf_vif *vif; in qtnf_netdev_hard_start_xmit() local
85 vif = qtnf_netdev_get_priv(ndev); in qtnf_netdev_hard_start_xmit()
93 if (unlikely(vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED)) { in qtnf_netdev_hard_start_xmit()
99 mac = vif->mac; in qtnf_netdev_hard_start_xmit()
115 vif->cons_tx_timeout_cnt = 0; in qtnf_netdev_hard_start_xmit()
125 struct qtnf_vif *vif = qtnf_netdev_get_priv(ndev); in qtnf_netdev_get_stats64() local
131 if (!vif->stats64) in qtnf_netdev_get_stats64()
139 stats64 = per_cpu_ptr(vif->stats64, cpu); in qtnf_netdev_get_stats64()
160 struct qtnf_vif *vif = qtnf_netdev_get_priv(ndev); in qtnf_netdev_tx_timeout() local
164 if (unlikely(!vif || !vif->mac || !vif->mac->bus)) in qtnf_netdev_tx_timeout()
[all …]
Dcommands.h28 int qtnf_cmd_send_add_intf(struct qtnf_vif *vif, enum nl80211_iftype iftype,
30 int qtnf_cmd_send_change_intf_type(struct qtnf_vif *vif,
32 int qtnf_cmd_send_del_intf(struct qtnf_vif *vif);
36 int qtnf_cmd_send_start_ap(struct qtnf_vif *vif,
38 int qtnf_cmd_send_stop_ap(struct qtnf_vif *vif);
39 int qtnf_cmd_send_register_mgmt(struct qtnf_vif *vif, u16 frame_type, bool reg);
40 int qtnf_cmd_send_mgmt_frame(struct qtnf_vif *vif, u32 cookie, u16 flags,
42 int qtnf_cmd_send_mgmt_set_appie(struct qtnf_vif *vif, u8 frame_type,
44 int qtnf_cmd_get_sta_info(struct qtnf_vif *vif, const u8 *sta_mac,
48 int qtnf_cmd_send_add_key(struct qtnf_vif *vif, u8 key_index, bool pairwise,
[all …]
Dcommands.c196 static bool qtnf_cmd_start_ap_can_fit(const struct qtnf_vif *vif, in qtnf_cmd_start_ap_can_fit() argument
218 vif->mac->macid, vif->vifid, len); in qtnf_cmd_start_ap_can_fit()
225 int qtnf_cmd_send_start_ap(struct qtnf_vif *vif, in qtnf_cmd_send_start_ap() argument
235 if (!qtnf_cmd_start_ap_can_fit(vif, s)) in qtnf_cmd_send_start_ap()
238 cmd_skb = qtnf_cmd_alloc_new_cmdskb(vif->mac->macid, vif->vifid, in qtnf_cmd_send_start_ap()
331 qtnf_bus_lock(vif->mac->bus); in qtnf_cmd_send_start_ap()
333 ret = qtnf_cmd_send(vif->mac->bus, cmd_skb, &res_code); in qtnf_cmd_send_start_ap()
339 pr_err("VIF%u.%u: CMD failed: %u\n", vif->mac->macid, in qtnf_cmd_send_start_ap()
340 vif->vifid, res_code); in qtnf_cmd_send_start_ap()
345 netif_carrier_on(vif->netdev); in qtnf_cmd_send_start_ap()
[all …]
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/mvm/
Dmac-ctxt.c92 struct ieee80211_vif *vif; member
105 struct ieee80211_vif *vif) in iwl_mvm_mac_tsf_id_iter() argument
108 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_mac_tsf_id_iter()
112 if (vif == data->vif) in iwl_mvm_mac_tsf_id_iter()
131 switch (data->vif->type) { in iwl_mvm_mac_tsf_id_iter()
141 if (vif->type != NL80211_IFTYPE_AP || in iwl_mvm_mac_tsf_id_iter()
146 min_bi = min(data->vif->bss_conf.beacon_int, in iwl_mvm_mac_tsf_id_iter()
147 vif->bss_conf.beacon_int); in iwl_mvm_mac_tsf_id_iter()
152 if ((data->vif->bss_conf.beacon_int - in iwl_mvm_mac_tsf_id_iter()
153 vif->bss_conf.beacon_int) % min_bi == 0) { in iwl_mvm_mac_tsf_id_iter()
[all …]
Dmac80211.c813 if ((info->control.vif->type == NL80211_IFTYPE_AP || in iwl_mvm_mac_tx()
814 info->control.vif->type == NL80211_IFTYPE_ADHOC) && in iwl_mvm_mac_tx()
860 iwl_mvm_ampdu_check_trigger(struct iwl_mvm *mvm, struct ieee80211_vif *vif, in iwl_mvm_ampdu_check_trigger() argument
874 ieee80211_vif_to_wdev(vif), trig)) in iwl_mvm_ampdu_check_trigger()
908 struct ieee80211_vif *vif, in iwl_mvm_mac_ampdu_action() argument
957 if (iwl_mvm_vif_from_mac80211(vif)->ap_sta_id == in iwl_mvm_mac_ampdu_action()
960 u16 macid = iwl_mvm_vif_from_mac80211(vif)->id; in iwl_mvm_mac_ampdu_action()
964 mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_mac_ampdu_action()
983 ret = iwl_mvm_sta_tx_agg_start(mvm, vif, sta, tid, ssn); in iwl_mvm_mac_ampdu_action()
986 ret = iwl_mvm_sta_tx_agg_stop(mvm, vif, sta, tid); in iwl_mvm_mac_ampdu_action()
[all …]
Dpower.c116 struct ieee80211_vif *vif, in iwl_mvm_beacon_filter_set_cqm_params() argument
120 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_beacon_filter_set_cqm_params()
122 if (vif->bss_conf.cqm_rssi_thold && !d0i3) { in iwl_mvm_beacon_filter_set_cqm_params()
124 cpu_to_le32(vif->bss_conf.cqm_rssi_hyst); in iwl_mvm_beacon_filter_set_cqm_params()
127 cpu_to_le32(-vif->bss_conf.cqm_rssi_thold); in iwl_mvm_beacon_filter_set_cqm_params()
170 struct ieee80211_vif *vif, in iwl_mvm_power_configure_uapsd() argument
173 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_power_configure_uapsd()
262 struct ieee80211_vif *vif) in iwl_mvm_p2p_standalone_iterator() argument
266 switch (ieee80211_vif_type_p2p(vif)) { in iwl_mvm_p2p_standalone_iterator()
272 if (vif->bss_conf.assoc) in iwl_mvm_p2p_standalone_iterator()
[all …]
Dsta.h427 struct ieee80211_vif *vif; member
482 struct ieee80211_vif *vif,
486 struct ieee80211_vif *vif, in iwl_mvm_update_sta() argument
495 struct ieee80211_vif *vif,
498 struct ieee80211_vif *vif,
501 struct ieee80211_vif *vif,
506 struct ieee80211_vif *vif,
511 struct ieee80211_vif *vif,
522 int iwl_mvm_sta_tx_agg_start(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
524 int iwl_mvm_sta_tx_agg_oper(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
[all …]
/Linux-v4.19/drivers/net/wireless/ath/wil6210/
Dnetdev.c27 struct wil6210_vif *vif; in wil_has_other_active_ifaces() local
31 vif = wil->vifs[i]; in wil_has_other_active_ifaces()
32 if (vif) { in wil_has_other_active_ifaces()
33 ndev_i = vif_to_ndev(vif); in wil_has_other_active_ifaces()
155 struct wil6210_vif *vif; in wil6210_netdev_poll_tx() local
161 vif = wil->vifs[txdata->mid]; in wil6210_netdev_poll_tx()
162 if (unlikely(!vif)) { in wil6210_netdev_poll_tx()
167 tx_done += wil_tx_complete(vif, i); in wil6210_netdev_poll_tx()
212 static void wil_vif_deinit(struct wil6210_vif *vif) in wil_vif_deinit() argument
214 del_timer_sync(&vif->scan_timer); in wil_vif_deinit()
[all …]
Dp2p.c26 static int wil_p2p_start_listen(struct wil6210_vif *vif) in wil_p2p_start_listen() argument
28 struct wil6210_priv *wil = vif_to_wil(vif); in wil_p2p_start_listen()
29 struct wil_p2p_info *p2p = &vif->p2p; in wil_p2p_start_listen()
35 rc = wmi_p2p_cfg(vif, channel, P2P_DEFAULT_BI); in wil_p2p_start_listen()
41 rc = wmi_set_ssid(vif, strlen(P2P_WILDCARD_SSID), P2P_WILDCARD_SSID); in wil_p2p_start_listen()
47 rc = wmi_start_listen(vif); in wil_p2p_start_listen()
58 wmi_stop_discovery(vif); in wil_p2p_start_listen()
70 int wil_p2p_search(struct wil6210_vif *vif, in wil_p2p_search() argument
73 struct wil6210_priv *wil = vif_to_wil(vif); in wil_p2p_search()
75 struct wil_p2p_info *p2p = &vif->p2p; in wil_p2p_search()
[all …]
Dcfg80211.c264 int wil_cid_fill_sinfo(struct wil6210_vif *vif, int cid, in wil_cid_fill_sinfo() argument
267 struct wil6210_priv *wil = vif_to_wil(vif); in wil_cid_fill_sinfo()
281 rc = wmi_call(wil, WMI_NOTIFY_REQ_CMDID, vif->mid, &cmd, sizeof(cmd), in wil_cid_fill_sinfo()
291 cid, vif->mid, le16_to_cpu(reply.evt.bf_mcs), in wil_cid_fill_sinfo()
324 if (test_bit(wil_vif_fwconnected, vif->status)) { in wil_cid_fill_sinfo()
340 struct wil6210_vif *vif = ndev_to_vif(ndev); in wil_cfg80211_get_station() local
344 int cid = wil_find_cid(wil, vif->mid, mac); in wil_cfg80211_get_station()
347 vif->mid); in wil_cfg80211_get_station()
351 rc = wil_cid_fill_sinfo(vif, cid, sinfo); in wil_cfg80211_get_station()
380 struct wil6210_vif *vif = ndev_to_vif(dev); in wil_cfg80211_dump_station() local
[all …]
/Linux-v4.19/include/net/
Dmac80211.h264 struct ieee80211_vif *vif; member
948 struct ieee80211_vif *vif; member
1535 static inline bool ieee80211_vif_is_mesh(struct ieee80211_vif *vif) in ieee80211_vif_is_mesh() argument
1538 return vif->type == NL80211_IFTYPE_MESH_POINT; in ieee80211_vif_is_mesh()
1567 struct wireless_dev *ieee80211_vif_to_wdev(struct ieee80211_vif *vif);
1925 struct ieee80211_vif *vif; member
3558 struct ieee80211_vif *vif);
3560 struct ieee80211_vif *vif,
3563 struct ieee80211_vif *vif);
3566 struct ieee80211_vif *vif,
[all …]
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dp2p.c549 struct brcmf_cfg80211_vif *vif; in brcmf_p2p_deinit_discovery() local
554 vif = p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif; in brcmf_p2p_deinit_discovery()
555 (void)brcmf_p2p_set_discover_state(vif->ifp, WL_P2P_DISC_ST_SCAN, 0, 0); in brcmf_p2p_deinit_discovery()
558 vif = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif; in brcmf_p2p_deinit_discovery()
559 (void)brcmf_fil_iovar_int_set(vif->ifp, "p2p_disc", 0); in brcmf_p2p_deinit_discovery()
573 struct brcmf_cfg80211_vif *vif; in brcmf_p2p_enable_discovery() local
577 vif = p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif; in brcmf_p2p_enable_discovery()
578 if (!vif) { in brcmf_p2p_enable_discovery()
590 vif = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif; in brcmf_p2p_enable_discovery()
591 ret = brcmf_fil_iovar_int_set(vif->ifp, "p2p_disc", 1); in brcmf_p2p_enable_discovery()
[all …]
/Linux-v4.19/drivers/net/wireless/ath/wcn36xx/
Dmain.c180 static inline u8 get_sta_index(struct ieee80211_vif *vif, in get_sta_index() argument
183 return NL80211_IFTYPE_STATION == vif->type ? in get_sta_index()
384 struct ieee80211_vif *vif = NULL; in wcn36xx_config() local
396 vif = wcn36xx_priv_to_vif(tmp); in wcn36xx_config()
397 wcn36xx_smd_switch_channel(wcn, vif, ch); in wcn36xx_config()
403 vif = wcn36xx_priv_to_vif(tmp); in wcn36xx_config()
405 if (vif->bss_conf.ps) /* ps allowed ? */ in wcn36xx_config()
406 wcn36xx_pmc_enter_bmps_state(wcn, vif); in wcn36xx_config()
408 wcn36xx_pmc_exit_bmps_state(wcn, vif); in wcn36xx_config()
425 struct ieee80211_vif *vif = NULL; in wcn36xx_configure_filter() local
[all …]
/Linux-v4.19/drivers/net/wireless/rsi/
Drsi_91x_mac80211.c392 struct ieee80211_vif *vif) in rsi_mac80211_add_interface() argument
396 struct vif_priv *vif_info = (struct vif_priv *)vif->drv_priv; in rsi_mac80211_add_interface()
401 vif->driver_flags |= IEEE80211_VIF_SUPPORTS_UAPSD; in rsi_mac80211_add_interface()
404 intf_mode = rsi_map_intf_mode(vif->type); in rsi_mac80211_add_interface()
408 vif->type); in rsi_mac80211_add_interface()
412 if ((vif->type == NL80211_IFTYPE_P2P_DEVICE) || in rsi_mac80211_add_interface()
413 (vif->type == NL80211_IFTYPE_P2P_CLIENT) || in rsi_mac80211_add_interface()
414 (vif->type == NL80211_IFTYPE_P2P_GO)) in rsi_mac80211_add_interface()
420 !memcmp(vif->addr, adapter->vifs[i]->addr, ETH_ALEN)) { in rsi_mac80211_add_interface()
431 adapter->vifs[vap_idx] = vif; in rsi_mac80211_add_interface()
[all …]

12345678910>>...14