Home
last modified time | relevance | path

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

12345678910>>...18

/linux-6.1.9/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-6.1.9/drivers/net/wireless/microchip/wilc1000/
Dnetdev.c53 struct wilc_vif *vif = netdev_priv(dev); in init_irq() local
54 struct wilc *wl = vif->wilc; in init_irq()
72 struct wilc_vif *vif = netdev_priv(dev); in deinit_irq() local
73 struct wilc *wilc = vif->wilc; in deinit_irq()
96 struct wilc_vif *vif; in get_if_handler() local
99 list_for_each_entry_rcu(vif, &wilc->vif_list, list) { in get_if_handler()
100 if (vif->iftype == WILC_STATION_MODE) in get_if_handler()
101 if (ether_addr_equal_unaligned(h->addr2, vif->bssid)) { in get_if_handler()
102 ndev = vif->ndev; in get_if_handler()
105 if (vif->iftype == WILC_AP_MODE) in get_if_handler()
[all …]
Dcfg80211.c169 struct wilc_vif *vif = netdev_priv(dev); in cfg_connect_result() local
170 struct wilc *wl = vif->wilc; in cfg_connect_result()
175 vif->connecting = false; in cfg_connect_result()
185 if (vif->iftype != WILC_CLIENT_MODE) in cfg_connect_result()
195 cfg80211_ref_bss(wiphy, vif->bss); in cfg_connect_result()
196 cfg80211_connect_bss(dev, conn_info->bssid, vif->bss, in cfg_connect_result()
204 vif->bss = NULL; in cfg_connect_result()
211 if (vif->iftype != WILC_CLIENT_MODE) { in cfg_connect_result()
226 struct wilc_vif *vif; in wilc_get_wl_to_vif() local
228 vif = list_first_or_null_rcu(&wl->vif_list, typeof(*vif), list); in wilc_get_wl_to_vif()
[all …]
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 list_for_each_entry_rcu(vif, &wilc->vif_list, list) { in wilc_get_vif_from_idx()
111 if (vif->idx == index) in wilc_get_vif_from_idx()
[all …]
Dhif.h156 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, u8 *mac_addr);
171 int wilc_set_join_req(struct wilc_vif *vif, u8 *bssid, const u8 *ies,
173 int wilc_disconnect(struct wilc_vif *vif);
174 int wilc_set_mac_chnl_num(struct wilc_vif *vif, u8 channel);
[all …]
/linux-6.1.9/drivers/net/wireless/quantenna/qtnfmac/
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 …]
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 …]
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 …]
Dcore.c81 struct qtnf_vif *vif = qtnf_netdev_get_priv(skb->dev); in qtnf_packet_send_hi_pri() local
83 skb_queue_tail(&vif->high_pri_tx_queue, skb); in qtnf_packet_send_hi_pri()
84 queue_work(vif->mac->bus->hprio_workqueue, &vif->high_pri_tx_work); in qtnf_packet_send_hi_pri()
92 struct qtnf_vif *vif; in qtnf_netdev_hard_start_xmit() local
95 vif = qtnf_netdev_get_priv(ndev); in qtnf_netdev_hard_start_xmit()
103 if (unlikely(vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED)) { in qtnf_netdev_hard_start_xmit()
109 mac = vif->mac; in qtnf_netdev_hard_start_xmit()
125 vif->cons_tx_timeout_cnt = 0; in qtnf_netdev_hard_start_xmit()
133 return qtnf_bus_data_tx(mac->bus, skb, mac->macid, vif->vifid); in qtnf_netdev_hard_start_xmit()
140 struct qtnf_vif *vif = qtnf_netdev_get_priv(ndev); in qtnf_netdev_tx_timeout() local
[all …]
/linux-6.1.9/drivers/net/wireless/ath/wil6210/
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 del_timer_sync(&vif->scan_timer); in wil_vif_deinit()
[all …]
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 …]
Dcfg80211.c430 int wil_cid_fill_sinfo(struct wil6210_vif *vif, int cid, in wil_cid_fill_sinfo() argument
433 struct wil6210_priv *wil = vif_to_wil(vif); in wil_cid_fill_sinfo()
450 rc = wmi_call(wil, WMI_NOTIFY_REQ_CMDID, vif->mid, &cmd, sizeof(cmd), in wil_cid_fill_sinfo()
464 cid, vif->mid, WIL_EXTENDED_MCS_CHECK(tx_mcs), in wil_cid_fill_sinfo()
523 if (test_bit(wil_vif_fwconnected, vif->status)) { in wil_cid_fill_sinfo()
539 struct wil6210_vif *vif = ndev_to_vif(ndev); in wil_cfg80211_get_station() local
543 int cid = wil_find_cid(wil, vif->mid, mac); in wil_cfg80211_get_station()
546 vif->mid); in wil_cfg80211_get_station()
550 rc = wil_cid_fill_sinfo(vif, cid, sinfo); in wil_cfg80211_get_station()
579 struct wil6210_vif *vif = ndev_to_vif(dev); in wil_cfg80211_dump_station() local
[all …]
/linux-6.1.9/drivers/net/xen-netback/
Dinterface.c72 static int xenvif_schedulable(struct xenvif *vif) in xenvif_schedulable() argument
74 return netif_running(vif->dev) && in xenvif_schedulable()
75 test_bit(VIF_STATUS_CONNECTED, &vif->status) && in xenvif_schedulable()
76 !vif->disabled; in xenvif_schedulable()
115 if (unlikely(queue->vif->disabled)) { in xenvif_poll()
183 struct xenvif *vif = netdev_priv(dev); in xenvif_select_queue() local
184 unsigned int size = vif->hash.size; in xenvif_select_queue()
189 num_queues = READ_ONCE(vif->num_queues); in xenvif_select_queue()
193 if (vif->hash.alg == XEN_NETIF_CTRL_HASH_ALGORITHM_NONE) in xenvif_select_queue()
197 xenvif_set_skb_hash(vif, skb); 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()
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 …]
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-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/
Dmac-ctxt.c36 struct ieee80211_vif *vif; member
44 struct ieee80211_vif *vif) in iwl_mvm_mac_tsf_id_iter() argument
47 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_mac_tsf_id_iter()
51 if (vif == data->vif) in iwl_mvm_mac_tsf_id_iter()
70 switch (data->vif->type) { in iwl_mvm_mac_tsf_id_iter()
80 if (vif->type != NL80211_IFTYPE_AP || in iwl_mvm_mac_tsf_id_iter()
85 min_bi = min(data->vif->bss_conf.beacon_int, in iwl_mvm_mac_tsf_id_iter()
86 vif->bss_conf.beacon_int); in iwl_mvm_mac_tsf_id_iter()
91 if ((data->vif->bss_conf.beacon_int - in iwl_mvm_mac_tsf_id_iter()
92 vif->bss_conf.beacon_int) % min_bi == 0) { in iwl_mvm_mac_tsf_id_iter()
[all …]
Dmac80211.c87 struct ieee80211_vif *vif,
682 if (!sta && info->control.vif->type == NL80211_IFTYPE_STATION && in iwl_mvm_mac_tx()
685 iwl_mvm_vif_from_mac80211(info->control.vif); in iwl_mvm_mac_tx()
803 iwl_mvm_ampdu_check_trigger(struct iwl_mvm *mvm, struct ieee80211_vif *vif, in iwl_mvm_ampdu_check_trigger() argument
810 trig = iwl_fw_dbg_trigger_on(&mvm->fwrt, ieee80211_vif_to_wdev(vif), in iwl_mvm_ampdu_check_trigger()
848 struct ieee80211_vif *vif, in iwl_mvm_mac_ampdu_action() argument
871 if (iwl_mvm_vif_from_mac80211(vif)->ap_sta_id == in iwl_mvm_mac_ampdu_action()
874 u16 macid = iwl_mvm_vif_from_mac80211(vif)->id; in iwl_mvm_mac_ampdu_action()
878 mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_mac_ampdu_action()
897 ret = iwl_mvm_sta_tx_agg_start(mvm, vif, sta, tid, ssn); in iwl_mvm_mac_ampdu_action()
[all …]
Dpower.c71 struct ieee80211_vif *vif, in iwl_mvm_beacon_filter_set_cqm_params() argument
74 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_beacon_filter_set_cqm_params()
76 if (vif->bss_conf.cqm_rssi_thold) { in iwl_mvm_beacon_filter_set_cqm_params()
78 cpu_to_le32(vif->bss_conf.cqm_rssi_hyst); in iwl_mvm_beacon_filter_set_cqm_params()
81 cpu_to_le32(-vif->bss_conf.cqm_rssi_thold); in iwl_mvm_beacon_filter_set_cqm_params()
124 struct ieee80211_vif *vif, in iwl_mvm_power_configure_uapsd() argument
127 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_power_configure_uapsd()
216 struct ieee80211_vif *vif) in iwl_mvm_p2p_standalone_iterator() argument
220 switch (ieee80211_vif_type_p2p(vif)) { in iwl_mvm_p2p_standalone_iterator()
226 if (vif->cfg.assoc) in iwl_mvm_p2p_standalone_iterator()
[all …]
Ddebugfs-vif.c11 struct ieee80211_vif *vif, in iwl_dbgfs_update_pm() argument
14 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_update_pm()
21 int dtimper = vif->bss_conf.dtim_period ?: 1; in iwl_dbgfs_update_pm()
22 int dtimper_msec = dtimper * vif->bss_conf.beacon_int; in iwl_dbgfs_update_pm()
72 static ssize_t iwl_dbgfs_pm_params_write(struct ieee80211_vif *vif, char *buf, in iwl_dbgfs_pm_params_write() argument
75 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_dbgfs_pm_params_write()
128 iwl_dbgfs_update_pm(mvm, vif, param, val); in iwl_dbgfs_pm_params_write()
139 struct ieee80211_vif *vif = file->private_data; in iwl_dbgfs_tx_pwr_lmt_read() local
145 vif->bss_conf.txpower); in iwl_dbgfs_tx_pwr_lmt_read()
154 struct ieee80211_vif *vif = file->private_data; in iwl_dbgfs_pm_params_read() local
[all …]
/linux-6.1.9/drivers/net/wireless/silabs/wfx/
Dsta.c102 struct ieee80211_vif *vif = NULL; in wfx_configure_filter() local
135 vif = wvif_to_vif(wvif); in wfx_configure_filter()
137 if (*total_flags & FIF_PROBE_REQ && vif->type == NL80211_IFTYPE_AP) { in wfx_configure_filter()
157 struct ieee80211_vif *vif = wvif_to_vif(wvif); in wfx_get_ps_timeout() local
159 WARN(!vif->cfg.assoc && enable_ps, in wfx_get_ps_timeout()
173 if (chan0 && chan1 && vif->type != NL80211_IFTYPE_AP) { in wfx_get_ps_timeout()
178 if (vif->cfg.assoc && vif->cfg.ps) in wfx_get_ps_timeout()
191 *enable_ps = vif->cfg.ps; in wfx_get_ps_timeout()
192 if (vif->cfg.assoc && vif->cfg.ps) in wfx_get_ps_timeout()
200 struct ieee80211_vif *vif = wvif_to_vif(wvif); in wfx_update_pm() local
[all …]
/linux-6.1.9/drivers/net/wireless/realtek/rtw89/
Dmac80211.c24 struct ieee80211_vif *vif = info->control.vif; in rtw89_ops_tx() local
28 ret = rtw89_core_tx_write(rtwdev, vif, sta, skb, &qsel); in rtw89_ops_tx()
106 struct ieee80211_vif *vif) in rtw89_ops_add_interface() argument
109 struct rtw89_vif *rtwvif = (struct rtw89_vif *)vif->drv_priv; in rtw89_ops_add_interface()
113 vif->addr, vif->type, vif->p2p); in rtw89_ops_add_interface()
122 rtw89_vif_type_mapping(vif, false); in rtw89_ops_add_interface()
134 ether_addr_copy(rtwvif->mac_addr, vif->addr); in rtw89_ops_add_interface()
142 rtw89_core_txq_init(rtwdev, vif->txq); in rtw89_ops_add_interface()
152 struct ieee80211_vif *vif) in rtw89_ops_remove_interface() argument
155 struct rtw89_vif *rtwvif = (struct rtw89_vif *)vif->drv_priv; in rtw89_ops_remove_interface()
[all …]
/linux-6.1.9/drivers/net/wireless/ath/wcn36xx/
Dmain.c188 static inline u8 get_sta_index(struct ieee80211_vif *vif, in get_sta_index() argument
191 return NL80211_IFTYPE_STATION == vif->type ? in get_sta_index()
310 struct ieee80211_vif *vif = NULL; in wcn36xx_change_ps() local
314 vif = wcn36xx_priv_to_vif(tmp); in wcn36xx_change_ps()
316 if (vif->cfg.ps) /* ps allowed ? */ in wcn36xx_change_ps()
317 wcn36xx_pmc_enter_bmps_state(wcn, vif); in wcn36xx_change_ps()
319 wcn36xx_pmc_exit_bmps_state(wcn, vif); in wcn36xx_change_ps()
326 struct ieee80211_vif *vif = NULL; in wcn36xx_change_opchannel() local
358 vif = wcn36xx_priv_to_vif(tmp); in wcn36xx_change_opchannel()
359 wcn36xx_smd_switch_channel(wcn, vif, ch); in wcn36xx_change_opchannel()
[all …]
/linux-6.1.9/include/net/
Dmac80211.h286 struct ieee80211_vif *vif; member
1130 struct ieee80211_vif *vif; member
1864 #define for_each_vif_active_link(vif, link, link_id) \ argument
1865 for (link_id = 0; link_id < ARRAY_SIZE((vif)->link_conf); link_id++) \
1866 if ((!(vif)->active_links || \
1867 (vif)->active_links & BIT(link_id)) && \
1868 (link = rcu_dereference((vif)->link_conf[link_id])))
1870 static inline bool ieee80211_vif_is_mesh(struct ieee80211_vif *vif) in ieee80211_vif_is_mesh() argument
1873 return vif->type == NL80211_IFTYPE_MESH_POINT; in ieee80211_vif_is_mesh()
1899 struct wireless_dev *ieee80211_vif_to_wdev(struct ieee80211_vif *vif);
[all …]
/linux-6.1.9/net/mac80211/
Dlink.c16 if (link->sdata->vif.type == NL80211_IFTYPE_STATION) in ieee80211_link_setup()
30 rcu_assign_pointer(sdata->vif.link_conf[link_id], link_conf); in ieee80211_link_init()
48 switch (sdata->vif.type) { in ieee80211_link_init()
66 if (link->sdata->vif.type == NL80211_IFTYPE_STATION) in ieee80211_link_stop()
139 sdata->vif.valid_links = links; in ieee80211_set_vif_links_bitmaps()
142 sdata->vif.active_links = 0; in ieee80211_set_vif_links_bitmaps()
146 switch (sdata->vif.type) { in ieee80211_set_vif_links_bitmaps()
149 sdata->vif.active_links = links; in ieee80211_set_vif_links_bitmaps()
152 if (sdata->vif.active_links) in ieee80211_set_vif_links_bitmaps()
155 sdata->vif.active_links = links; in ieee80211_set_vif_links_bitmaps()
[all …]

12345678910>>...18