/linux-6.3-rc2/drivers/net/wireless/ath/ath6kl/ |
A D | cfg80211.c | 601 vif->nw_type = vif->next_mode; in ath6kl_cfg80211_connect() 614 vif->auth_mode, vif->dot11_auth_mode, vif->prwise_crypto, in ath6kl_cfg80211_connect() 638 vif->ssid_len, vif->ssid, in ath6kl_cfg80211_connect() 639 vif->req_bssid, vif->ch_hint, in ath6kl_cfg80211_connect() 701 vif->ssid, vif->ssid_len, in ath6kl_add_bss_if_needed() 1665 vif->nw_type = vif->next_mode; in ath6kl_cfg80211_join_ibss() 1672 vif->auth_mode, vif->dot11_auth_mode, vif->prwise_crypto, in ath6kl_cfg80211_join_ibss() 1681 vif->ssid_len, vif->ssid, in ath6kl_cfg80211_join_ibss() 1682 vif->req_bssid, vif->ch_hint, in ath6kl_cfg80211_join_ibss() 2889 vif->nw_type = vif->next_mode; in ath6kl_start_ap() [all …]
|
A D | main.c | 83 aggr_conn_init(vif, vif->aggr_cntxt, sta->aggr_conn); in ath6kl_add_new_sta() 361 ath6kl_wmi_addkey_cmd(vif->ar->wmi, vif->fw_vif_idx, in ath6kl_install_static_wep_keys() 506 struct ath6kl_vif *vif = from_timer(vif, t, disconnect_timer); in disconnect_timer_handler() local 516 ath6kl_wmi_disconnect_cmd(vif->ar->wmi, vif->fw_vif_idx); in ath6kl_disconnect() 589 if (vif->rsn_capab && in ath6kl_commit_ch_switch() 642 memcpy(vif->bssid, bssid, sizeof(vif->bssid)); in ath6kl_connect_event() 1018 memset(vif->wep_key_list, 0, sizeof(vif->wep_key_list)); in ath6kl_disconnect_event() 1070 memset(vif->bssid, 0, sizeof(vif->bssid)); in ath6kl_disconnect_event() 1071 vif->bss_ch = 0; in ath6kl_disconnect_event() 1090 return vif; in ath6kl_vif_first() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/microchip/wilc1000/ |
A D | netdev.c | 102 ndev = vif->ndev; in get_if_handler() 107 ndev = vif->ndev; in get_if_handler() 125 vif->iftype = mode; in wilc_wlan_set_bssid() 257 w = vif->iftype; in wilc_init_fw_config() 597 wilc_set_operation_mode(vif, wilc_get_vif_idx(vif), vif->iftype, in wilc_mac_open() 598 vif->idx); in wilc_mac_open() 781 if (vif->ndev) { in wilc_mac_close() 894 if (vif->ndev) in wilc_netdev_cleanup() 957 vif->wilc = wl; in wilc_netdev_ifc_init() 958 vif->ndev = ndev; in wilc_netdev_ifc_init() [all …]
|
A D | cfg80211.c | 229 if (!vif) in wilc_get_wl_to_vif() 232 return vif; in wilc_get_wl_to_vif() 439 vif->bss = bss; in connect() 1217 wilc_set_mac_chnl_num(vif, vif->wilc->op_ch); in mgmt_tx() 1380 wilc_set_operation_mode(vif, wilc_get_vif_idx(vif), in change_virtual_intf() 1395 wilc_set_operation_mode(vif, wilc_get_vif_idx(vif), in change_virtual_intf() 1405 wilc_set_operation_mode(vif, wilc_get_vif_idx(vif), in change_virtual_intf() 1415 wilc_set_operation_mode(vif, wilc_get_vif_idx(vif), in change_virtual_intf() 1529 return vif; in wilc_get_vif_from_type() 1552 if (!vif) { in add_virtual_intf() [all …]
|
A D | hif.c | 67 msg->vif = vif; in wilc_alloc_work() 79 if (!msg->vif || !msg->vif->wilc || !msg->vif->wilc->hif_workqueue) in wilc_enqueue_work() 112 return vif; in wilc_get_vif_from_idx() 335 struct wilc_vif *vif = msg->vif; in handle_connect_timeout() local 673 struct wilc_vif *vif = msg->vif; in handle_rcvd_gnrl_async_info() local 811 struct wilc_vif *vif = msg->vif; in handle_get_statistics() local 962 struct wilc_vif *vif = msg->vif; in handle_set_mcast_filter() local 1490 wilc_get_stats_async(vif, &vif->periodic_stat); in get_periodic_rssi() 1563 if (!vif) in wilc_network_info_received() 1606 if (!vif) { in wilc_gnrl_async_info_received() [all …]
|
A D | hif.h | 173 int wilc_disconnect(struct wilc_vif *vif); 175 int wilc_get_rssi(struct wilc_vif *vif, s8 *rssi_level); 181 int wilc_hif_set_cfg(struct wilc_vif *vif, 184 int wilc_deinit(struct wilc_vif *vif); 187 int wilc_del_beacon(struct wilc_vif *vif); 188 int wilc_add_station(struct wilc_vif *vif, const u8 *mac, 192 int wilc_edit_station(struct wilc_vif *vif, const u8 *mac, 206 int wilc_get_vif_idx(struct wilc_vif *vif); 207 int wilc_set_tx_power(struct wilc_vif *vif, u8 tx_power); 210 int wilc_set_external_auth_param(struct wilc_vif *vif, [all …]
|
/linux-6.3-rc2/drivers/net/wireless/quantenna/qtnfmac/ |
A D | cfg80211.c | 137 vif->mac->macid, vif->vifid, type); in qtnf_change_virtual_intf() 151 vif->mac->macid, vif->vifid, type); in qtnf_change_virtual_intf() 232 memset(&vif->wdev, 0, sizeof(vif->wdev)); in qtnf_add_virtual_intf() 276 vif->wdev.netdev = vif->netdev; in qtnf_add_virtual_intf() 366 vif->mac->macid, vif->vifid); in qtnf_stop_ap() 561 vif->mac->macid, vif->vifid, key_index); in qtnf_del_key() 564 vif->mac->macid, vif->vifid, in qtnf_del_key() 613 vif->mac->macid, vif->vifid, mac); in qtnf_change_station() 688 vif->mac->macid, vif->vifid); in qtnf_connect() 707 vif->mac->macid, vif->vifid); in qtnf_external_auth() [all …]
|
A D | event.c | 154 vif->mac->macid, vif->vifid, len, in qtnf_event_handle_bss_join() 161 vif->mac->macid, vif->vifid); in qtnf_event_handle_bss_join() 175 vif->mac->macid, vif->vifid, in qtnf_event_handle_bss_join() 189 vif->mac->macid, vif->vifid, in qtnf_event_handle_bss_join() 194 vif->mac->macid, vif->vifid, in qtnf_event_handle_bss_join() 203 vif->mac->macid, vif->vifid, in qtnf_event_handle_bss_join() 222 vif->mac->macid, vif->vifid, in qtnf_event_handle_bss_join() 290 vif->mac->macid, vif->vifid, len, in qtnf_event_handle_bss_leave() 297 vif->mac->macid, vif->vifid); in qtnf_event_handle_bss_leave() 615 vif->mac->macid, vif->vifid); in qtnf_event_handle_mic_failure() [all …]
|
A D | commands.h | 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); 49 int qtnf_cmd_send_del_sta(struct qtnf_vif *vif, 52 int qtnf_cmd_send_connect(struct qtnf_vif *vif, 56 int qtnf_cmd_send_disconnect(struct qtnf_vif *vif, 58 int qtnf_cmd_send_updown_intf(struct qtnf_vif *vif, 64 int qtnf_cmd_send_chan_switch(struct qtnf_vif *vif, 67 int qtnf_cmd_start_cac(const struct qtnf_vif *vif, [all …]
|
A D | core.c | 109 mac = vif->mac; in qtnf_netdev_hard_start_xmit() 144 if (unlikely(!vif || !vif->mac || !vif->mac->bus)) in qtnf_netdev_tx_timeout() 280 return vif; in qtnf_mac_get_free_vif() 295 return vif; in qtnf_mac_get_base_vif() 443 memset(vif, 0, sizeof(*vif)); in qtnf_core_mac_alloc() 576 if (!vif) { in qtnf_core_mac_attach() 582 ret = qtnf_cmd_send_add_intf(vif, vif->wdev.iftype, in qtnf_core_mac_attach() 583 vif->wdev.use_4addr, vif->mac_addr); in qtnf_core_mac_attach() 690 vif->mac->macid, vif->vifid, netdev_name(brdev), in qtnf_core_netdevice_event() 901 if (unlikely(!vif || !vif->mac || !vif->mac->bus)) in qtnf_wake_all_queues() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/ath/wil6210/ |
A D | netdev.c | 20 vif = wil->vifs[i]; in wil_has_other_active_ifaces() 21 if (vif) { in wil_has_other_active_ifaces() 230 struct wil6210_vif *vif = from_timer(vif, t, connect_timer); in wil_connect_timer_fn() local 246 struct wil6210_vif *vif = from_timer(vif, t, scan_timer); in wil_scan_timer_fn() local 326 vif->ndev = ndev; in wil_vif_alloc() 327 vif->wil = wil; in wil_vif_alloc() 328 vif->mid = mid; in wil_vif_alloc() 345 return vif; in wil_vif_alloc() 418 vif->mid); in wil_vif_add() 435 wil->vifs[vif->mid] = vif; in wil_vif_add() [all …]
|
A D | p2p.c | 36 rc = wmi_start_listen(vif); in wil_p2p_start_listen() 47 wmi_stop_discovery(vif); in wil_p2p_start_listen() 119 wmi_stop_discovery(vif); in wil_p2p_search() 151 if (vif->scan_request) { in wil_p2p_listen() 166 if (vif->mid == 0) in wil_p2p_listen() 225 if (vif->mid == 0) in wil_p2p_cancel_listen() 254 if (vif->mid == 0) in wil_p2p_listen_expired() 283 if (vif->mid == 0) in wil_p2p_search_expired() 307 if (vif->scan_request) { in wil_p2p_delayed_listen_work() 322 if (vif->mid == 0) in wil_p2p_delayed_listen_work() [all …]
|
A D | cfg80211.c | 924 if (vif->scan_request || vif->p2p.discovery_started) { in wil_cfg80211_scan() 2000 vif->bi = bi; in _wil_cfg80211_start_ap() 2041 if (!vif || vif->ssid_len == 0) in wil_cfg80211_ap_recovery() 2054 i, vif->privacy, vif->bi, vif->channel, in wil_cfg80211_ap_recovery() 2055 vif->hidden_ssid, vif->pbss); in wil_cfg80211_ap_recovery() 2057 vif->ssid, vif->ssid_len, true); in wil_cfg80211_ap_recovery() 2059 vif->ssid, vif->ssid_len, in wil_cfg80211_ap_recovery() 2060 vif->privacy, vif->bi, in wil_cfg80211_ap_recovery() 2063 vif->hidden_ssid, vif->pbss); in wil_cfg80211_ap_recovery() 2069 if (!vif->privacy || vif->gtk_len == 0) in wil_cfg80211_ap_recovery() [all …]
|
/linux-6.3-rc2/drivers/net/xen-netback/ |
A D | interface.c | 76 !vif->disabled; in xenvif_schedulable() 202 return vif->hash.mapping[vif->hash.mapping_sel] in xenvif_select_queue() 339 xenvif_up(vif); in xenvif_open() 369 if (!vif->can_sg) in xenvif_fix_features() 510 vif->can_sg = 1; in xenvif_alloc() 512 vif->dev = dev; in xenvif_alloc() 559 return vif; in xenvif_alloc() 609 if (!vif->can_sg && vif->dev->mtu > ETH_DATA_LEN) in xenvif_carrier_on() 614 xenvif_up(vif); in xenvif_carrier_on() 661 unbind_from_irqhandler(vif->ctrl_irq, vif); in xenvif_connect_ctrl() [all …]
|
A D | hash.c | 109 vif->hash.cache.count--; in xenvif_flush_hash() 257 vif->hash.alg = alg; in xenvif_set_hash_alg() 318 xenvif_flush_hash(vif); in xenvif_set_hash_key() 328 vif->hash.size = size; in xenvif_set_hash_mapping_size() 329 memset(vif->hash.mapping[vif->hash.mapping_sel], 0, in xenvif_set_hash_mapping_size() 338 u32 *mapping = vif->hash.mapping[!vif->hash.mapping_sel]; in xenvif_set_hash_mapping() 364 memcpy(mapping, vif->hash.mapping[vif->hash.mapping_sel], in xenvif_set_hash_mapping() 379 vif->hash.mapping_sel = !vif->hash.mapping_sel; in xenvif_set_hash_mapping() 401 if (vif->hash.flags) { in xenvif_dump_hash_info() 432 const u32 *mapping = vif->hash.mapping[vif->hash.mapping_sel]; in xenvif_dump_hash_info() [all …]
|
A D | xenbus.c | 175 vif->xenvif_dbg_root = debugfs_create_dir(vif->dev->name, in xenvif_debugfs_addif() 214 if (!be->vif) in netback_uevent() 243 be->vif = vif; in backend_create_xenvif() 244 vif->be = be; in backend_create_xenvif() 252 struct xenvif *vif = be->vif; in backend_disconnect() local 254 if (vif) { in backend_disconnect() 282 if (be->vif) in backend_connect() 399 struct xenvif *vif = be->vif; in read_xenbus_frontend_xdp() local 685 struct xenvif *vif = be->vif; in connect_ctrl_ring() local 777 queue->vif = be->vif; in connect() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/mvm/ |
A D | mac-ctxt.c | 51 if (vif == data->vif) in iwl_mvm_mac_tsf_id_iter() 156 if (vif == data->vif) { in iwl_mvm_mac_iface_iterator() 179 .vif = vif, in iwl_mvm_mac_ctxt_recalc_tsf_id() 201 .vif = vif, in iwl_mvm_mac_ctxt_init() 633 if (vif->probe_req_reg && vif->cfg.assoc && vif->p2p) in iwl_mvm_mac_ctxt_cmd_sta() 714 if (vif->type == NL80211_IFTYPE_AP && vif->p2p && in iwl_mvm_go_iterator() 1101 .vif = vif, in iwl_mvm_mac_ctxt_cmd_fill_ap() 1238 vif->addr, ieee80211_vif_type_p2p(vif))) in iwl_mvm_mac_ctxt_add() 1259 vif->addr, ieee80211_vif_type_p2p(vif))) in iwl_mvm_mac_ctxt_changed() 1273 vif->addr, ieee80211_vif_type_p2p(vif))) in iwl_mvm_mac_ctxt_remove() [all …]
|
A D | mac80211.c | 1444 vif->type == NL80211_IFTYPE_STATION && !vif->p2p) { in iwl_mvm_mac_add_interface() 1487 vif->type == NL80211_IFTYPE_STATION && !vif->p2p && in iwl_mvm_mac_add_interface() 2622 if (vif->type == NL80211_IFTYPE_AP && !vif->p2p) { in iwl_mvm_start_ap_ibss() 2673 return iwl_mvm_start_ap_ibss(hw, vif, &vif->bss_conf); in iwl_mvm_start_ibss() 2703 if (vif->type == NL80211_IFTYPE_AP && !vif->p2p) { in iwl_mvm_stop_ap_ibss() 2751 iwl_mvm_stop_ap_ibss(hw, vif, &vif->bss_conf); in iwl_mvm_stop_ibss() 3964 te_data->vif = vif; in iwl_mvm_send_aux_roc_cmd() 4672 if (!vif || vif->type != NL80211_IFTYPE_AP || !vif->p2p || in __iwl_mvm_mac_testmode_cmd() 4687 if (!vif || vif->type != NL80211_IFTYPE_STATION || in __iwl_mvm_mac_testmode_cmd() 5026 if (mvmsta->vif != vif) in iwl_mvm_mac_flush() [all …]
|
A D | power.c | 71 struct ieee80211_vif *vif, in iwl_mvm_beacon_filter_set_cqm_params() argument 124 struct ieee80211_vif *vif, in iwl_mvm_power_configure_uapsd() argument 226 if (vif->cfg.assoc) in iwl_mvm_p2p_standalone_iterator() 248 if (vif->p2p && in iwl_mvm_power_allow_uapsd() 260 if (vif->p2p) { in iwl_mvm_power_allow_uapsd() 344 bi = vif->bss_conf.beacon_int; in iwl_mvm_power_build_cmd() 577 power_iterator->ap_vif = vif; in iwl_mvm_power_get_vifs_iterator() 797 vif->type != NL80211_IFTYPE_STATION || vif->p2p) in _iwl_mvm_enable_beacon_filter() 830 if (vif->type != NL80211_IFTYPE_STATION || vif->p2p) in _iwl_mvm_disable_beacon_filter() 877 struct ieee80211_vif *vif) in iwl_mvm_power_set_ba() argument [all …]
|
A D | debugfs-vif.c | 11 struct ieee80211_vif *vif, in iwl_dbgfs_update_pm() argument 21 int dtimper = vif->bss_conf.dtim_period ?: 1; in iwl_dbgfs_update_pm() 145 vif->bss_conf.txpower); in iwl_dbgfs_tx_pwr_lmt_read() 184 switch (ieee80211_vif_type_p2p(vif)) { in iwl_dbgfs_mac_params_read() 210 vif->bss_conf.bssid); in iwl_dbgfs_mac_params_read() 382 iwl_dbgfs_update_bf(vif, param, value); in iwl_dbgfs_bf_params_write() 510 iwl_mvm_update_low_latency(mvm, vif, in iwl_dbgfs_low_latency_force_write() 630 struct ieee80211_vif *vif) in iwl_dbgfs_quota_check() argument 724 ((vif->type == NL80211_IFTYPE_STATION && !vif->p2p) || in iwl_mvm_vif_dbgfs_register() 725 (vif->type == NL80211_IFTYPE_STATION && vif->p2p))) in iwl_mvm_vif_dbgfs_register() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/silabs/wfx/ |
A D | sta.c | 135 vif = wvif_to_vif(wvif); in wfx_configure_filter() 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() 204 if (!vif->cfg.assoc) in wfx_update_pm() 274 ieee80211_beacon_loss(vif); in wfx_beacon_loss_work() 528 if (vif->cfg.assoc || vif->cfg.ibss_joined) in wfx_bss_info_changed() 530 else if (!vif->cfg.assoc && vif->type == NL80211_IFTYPE_STATION) in wfx_bss_info_changed() 726 switch (vif->type) { in wfx_add_interface() 754 if (!wdev->vif[i]) { in wfx_add_interface() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtw89/ |
A D | mac80211.c | 25 struct ieee80211_vif *vif = info->control.vif; in rtw89_ops_tx() local 114 vif->addr, vif->type, vif->p2p); in rtw89_ops_add_interface() 163 vif->addr, vif->type, vif->p2p); in rtw89_ops_remove_interface() 186 vif->addr, vif->type, type, vif->p2p, p2p); in rtw89_ops_change_interface() 190 vif->type = type; in rtw89_ops_change_interface() 191 vif->p2p = p2p; in rtw89_ops_change_interface() 391 if (vif->cfg.assoc) { in rtw89_ops_bss_info_changed() 661 if (vif) { in __rtw89_drop_packets() 689 struct ieee80211_vif *vif; member 699 if (vif != br_data->vif || vif->p2p) in rtw89_ra_mask_info_update_iter() [all …]
|
/linux-6.3-rc2/include/net/ |
A D | mac80211.h | 287 struct ieee80211_vif *vif; member 1163 struct ieee80211_vif *vif; member 2413 struct ieee80211_vif *vif; member 4248 struct ieee80211_vif *vif, 4258 struct ieee80211_vif *vif, 4286 struct ieee80211_vif *vif, 4300 struct ieee80211_vif *vif, 4323 struct ieee80211_vif *vif, 4450 struct ieee80211_vif *vif, 4533 struct ieee80211_vif *vif, [all …]
|
/linux-6.3-rc2/drivers/net/wireless/ath/wcn36xx/ |
A D | main.c | 563 vif, in wcn36xx_set_key() 850 vif->cfg.ssid, vif->cfg.ssid_len); in wcn36xx_bss_info_changed() 889 vif->addr, in wcn36xx_bss_info_changed() 907 vif->addr, in wcn36xx_bss_info_changed() 912 vif->addr, in wcn36xx_bss_info_changed() 955 wcn36xx_smd_set_link_st(wcn, vif->addr, vif->addr, in wcn36xx_bss_info_changed() 959 wcn36xx_smd_set_link_st(wcn, vif->addr, vif->addr, in wcn36xx_bss_info_changed() 1003 vif, vif->type); in wcn36xx_add_interface() 1090 return vif; in wcn36xx_get_first_assoc_vif() 1104 if (vif) { in wcn36xx_suspend() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
A D | p2p.c | 567 vif = p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif; in brcmf_p2p_deinit_discovery() 571 vif = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif; in brcmf_p2p_deinit_discovery() 591 vif = p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif; in brcmf_p2p_enable_discovery() 604 vif = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif; in brcmf_p2p_enable_discovery() 610 vif = p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif; in brcmf_p2p_enable_discovery() 664 vif = p2p->bss_idx[bss_type].vif; in brcmf_p2p_escan() 938 vif = p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif; in brcmf_p2p_discover_listen() 1283 vif = p2p->bss_idx[P2PAPI_BSSCFG_DEVICE].vif; in brcmf_p2p_abort_action_frame() 1940 struct brcmf_cfg80211_vif *vif = ifp->vif; in brcmf_p2p_notify_rx_mgmt_p2p_probereq() local 2346 cfg->p2p.bss_idx[connidx].vif = vif; in brcmf_p2p_add_vif() [all …]
|