Home
last modified time | relevance | path

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

12345678910>>...13

/linux/drivers/net/wireless/ath/ath6kl/
H A 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 timer_delete_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 …]
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/intel/iwlwifi/mvm/
H A Dmld-mac.c8 struct ieee80211_vif *vif, in iwl_mvm_mld_set_he_support() argument
12 if (vif->type == NL80211_IFTYPE_AP) { in iwl_mvm_mld_set_he_support()
26 struct ieee80211_vif *vif, in iwl_mvm_mld_mac_ctxt_cmd_common() argument
30 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_mld_mac_ctxt_cmd_common()
43 cmd->mac_type = cpu_to_le32(iwl_mvm_get_mac_type(vif)); in iwl_mvm_mld_mac_ctxt_cmd_common()
45 memcpy(cmd->local_mld_addr, vif->addr, ETH_ALEN); in iwl_mvm_mld_mac_ctxt_cmd_common()
54 cpu_to_le32(!iwl_mvm_is_nic_ack_enabled(mvm, vif)); in iwl_mvm_mld_mac_ctxt_cmd_common()
67 if (ieee80211_vif_is_mld(vif)) { in iwl_mvm_mld_mac_ctxt_cmd_common()
68 iwl_mvm_mld_set_he_support(mvm, vif, cmd, cmd_ver); in iwl_mvm_mld_mac_ctxt_cmd_common()
77 for (link_id = 0; link_id < ARRAY_SIZE((vif)->link_conf); link_id++) { in iwl_mvm_mld_mac_ctxt_cmd_common()
[all …]
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 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()
228 if (vif == data->current_vif) in iwl_mvm_allow_uapsd_iterator()
[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()
50 struct ieee80211_vif *vif = mvm->p2p_device_vif; in iwl_mvm_cleanup_roc() local
77 if (!WARN_ON(!vif)) { in iwl_mvm_cleanup_roc()
78 mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_cleanup_roc()
83 iwl_mvm_mld_rm_bcast_sta(mvm, vif, in iwl_mvm_cleanup_roc()
84 &vif->bss_conf); in iwl_mvm_cleanup_roc()
86 iwl_mvm_link_changed(mvm, vif, &vif->bss_conf, in iwl_mvm_cleanup_roc()
90 iwl_mvm_rm_p2p_bcast_sta(mvm, vif); in iwl_mvm_cleanup_roc()
91 iwl_mvm_binding_remove_vif(mvm, vif); in iwl_mvm_cleanup_roc()
[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 Devent.c19 qtnf_event_handle_sta_assoc(struct qtnf_wmac *mac, struct qtnf_vif *vif, in qtnf_event_handle_sta_assoc() argument
34 mac->macid, vif->vifid, len, sizeof(*sta_assoc)); in qtnf_event_handle_sta_assoc()
38 if (vif->wdev.iftype != NL80211_IFTYPE_AP) { in qtnf_event_handle_sta_assoc()
40 mac->macid, vif->vifid); in qtnf_event_handle_sta_assoc()
51 pr_debug("VIF%u.%u: MAC:%pM FC:%x\n", mac->macid, vif->vifid, sta_addr, in qtnf_event_handle_sta_assoc()
54 qtnf_sta_list_add(vif, sta_addr); in qtnf_event_handle_sta_assoc()
58 sinfo->generation = vif->generation; in qtnf_event_handle_sta_assoc()
93 cfg80211_new_sta(vif->netdev, sta_assoc->sta_addr, sinfo, in qtnf_event_handle_sta_assoc()
102 qtnf_event_handle_sta_deauth(struct qtnf_wmac *mac, struct qtnf_vif *vif, in qtnf_event_handle_sta_deauth() argument
111 mac->macid, vif->vifid, len, in qtnf_event_handle_sta_deauth()
[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 …]
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dmlo.h22 static inline bool iwl_mld_emlsr_active(struct ieee80211_vif *vif) in iwl_mld_emlsr_active() argument
25 return !!(vif->driver_flags & IEEE80211_VIF_EML_ACTIVE); in iwl_mld_emlsr_active()
28 static inline bool iwl_mld_vif_has_emlsr_cap(struct ieee80211_vif *vif) in iwl_mld_vif_has_emlsr_cap() argument
30 struct iwl_mld_vif *mld_vif = iwl_mld_vif_from_mac80211(vif); in iwl_mld_vif_has_emlsr_cap()
37 return ieee80211_vif_type_p2p(vif) == NL80211_IFTYPE_STATION && in iwl_mld_vif_has_emlsr_cap()
38 ieee80211_vif_is_mld(vif) && in iwl_mld_vif_has_emlsr_cap()
39 vif->cfg.eml_cap & IEEE80211_EML_CAP_EMLSR_SUPP && in iwl_mld_vif_has_emlsr_cap()
44 iwl_mld_max_active_links(struct iwl_mld *mld, struct ieee80211_vif *vif) in iwl_mld_max_active_links() argument
46 if (vif->type == NL80211_IFTYPE_AP) in iwl_mld_max_active_links()
49 if (ieee80211_vif_type_p2p(vif) == NL80211_IFTYPE_STATION) in iwl_mld_max_active_links()
[all …]
H A Dap.c44 struct ieee80211_vif *vif, in iwl_mld_get_rate_flags() argument
59 rate_idx = iwl_mld_get_lowest_rate(mld, info, vif); in iwl_mld_get_rate_flags()
93 struct ieee80211_vif *vif, in iwl_mld_fill_beacon_template_cmd() argument
121 cmd->short_ssid = cpu_to_le32(~crc32_le(~0, vif->cfg.ssid, in iwl_mld_fill_beacon_template_cmd()
122 vif->cfg.ssid_len)); in iwl_mld_fill_beacon_template_cmd()
127 flags |= iwl_mld_get_rate_flags(mld, info, vif, link, in iwl_mld_fill_beacon_template_cmd()
132 if (vif->type == NL80211_IFTYPE_AP) { in iwl_mld_fill_beacon_template_cmd()
156 struct ieee80211_vif *vif, in iwl_mld_update_beacon_template() argument
163 struct iwl_mld_vif *mld_vif = iwl_mld_vif_from_mac80211(vif); in iwl_mld_update_beacon_template()
166 WARN_ON(vif->type != NL80211_IFTYPE_AP && in iwl_mld_update_beacon_template()
[all …]
/linux/drivers/net/wireless/microchip/wilc1000/
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/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/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, ch); in wcn36xx_change_opchannel()
[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.c19 u16 ap_bss_links = sdata->vif.valid_links; in ieee80211_update_apvlan_links()
30 vlan_links = vlan->vif.valid_links; in ieee80211_update_apvlan_links()
51 u16 new_links = ap_bss->vif.valid_links; in ieee80211_apvlan_link_setup()
55 if (!ap_bss->vif.valid_links) in ieee80211_apvlan_link_setup()
79 if (link->sdata->vif.type == NL80211_IFTYPE_STATION) in ieee80211_link_setup()
93 if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) { in ieee80211_link_init()
99 ap_bss_conf = sdata_dereference(ap_bss->vif.link_conf[link_id], in ieee80211_link_init()
108 link_conf->vif = &sdata->vif; in ieee80211_link_init()
123 switch (sdata->vif.type) { in ieee80211_link_init()
141 rcu_assign_pointer(sdata->vif.link_conf[link_id], link_conf); in ieee80211_link_init()
[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 = p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif; in brcmf_p2p_enable_discovery()
592 if (!vif) { in brcmf_p2p_enable_discovery()
604 vif = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif; in brcmf_p2p_enable_discovery()
[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
460 struct ieee80211_vif *vif) in rsi_mac80211_add_interface() argument
464 struct vif_priv *vif_info = (struct vif_priv *)vif->drv_priv; in rsi_mac80211_add_interface()
469 vif->driver_flags |= IEEE80211_VIF_SUPPORTS_UAPSD; in rsi_mac80211_add_interface()
472 intf_mode = rsi_map_intf_mode(vif->type); in rsi_mac80211_add_interface()
476 vif->type); in rsi_mac80211_add_interface()
480 if ((vif->type == NL80211_IFTYPE_P2P_DEVICE) || in rsi_mac80211_add_interface()
[all …]

12345678910>>...13