| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| A D | mld-mac.c | 8 struct ieee80211_vif *vif, in iwl_mvm_mld_set_he_support() argument 11 if (vif->type == NL80211_IFTYPE_AP) in iwl_mvm_mld_set_he_support() 18 struct ieee80211_vif *vif, in iwl_mvm_mld_mac_ctxt_cmd_common() argument 53 if (ieee80211_vif_is_mld(vif)) { in iwl_mvm_mld_mac_ctxt_cmd_common() 95 struct ieee80211_vif *vif, in iwl_mvm_mld_mac_ctxt_cmd_sta() argument 112 if (vif->p2p) in iwl_mvm_mld_mac_ctxt_cmd_sta() 149 if (vif->probe_req_reg && vif->cfg.assoc && vif->p2p) in iwl_mvm_mld_mac_ctxt_cmd_sta() 241 switch (vif->type) { in iwl_mvm_mld_mac_ctx_send() 269 vif->addr, ieee80211_vif_type_p2p(vif))) in iwl_mvm_mld_mac_ctxt_add() 294 vif->addr, ieee80211_vif_type_p2p(vif))) in iwl_mvm_mld_mac_ctxt_changed() [all …]
|
| A D | mld-mac80211.c | 55 vif->type == NL80211_IFTYPE_STATION && !vif->p2p) { in iwl_mvm_mld_mac_add_interface() 70 ret = iwl_mvm_add_link(mvm, vif, &vif->bss_conf); in iwl_mvm_mld_mac_add_interface() 96 vif->type == NL80211_IFTYPE_STATION && !vif->p2p && in iwl_mvm_mld_mac_add_interface() 177 iwl_mvm_remove_link(mvm, vif, &vif->bss_conf); in iwl_mvm_mld_mac_remove_interface() 179 iwl_mvm_disable_link(mvm, vif, &vif->bss_conf); in iwl_mvm_mld_mac_remove_interface() 733 iwl_mvm_mld_stop_ap_ibss(hw, vif, &vif->bss_conf); in iwl_mvm_mld_stop_ibss() 1122 return iwl_mvm_link_changed(mvm, vif, &vif->bss_conf, in iwl_mvm_mld_mac_conf_tx() 1140 ret = iwl_mvm_link_changed(mvm, vif, &vif->bss_conf, in iwl_mvm_mld_roc_link() 1210 err = iwl_mvm_disable_link(mvm, vif, &vif->bss_conf); in iwl_mvm_mld_change_vif_links() 1245 err = iwl_mvm_add_link(mvm, vif, &vif->bss_conf); in iwl_mvm_mld_change_vif_links() [all …]
|
| A D | mac-ctxt.c | 62 if (vif == data->vif) in iwl_mvm_mac_tsf_id_iter() 167 if (vif == data->vif) { in iwl_mvm_mac_iface_iterator() 190 .vif = vif, in iwl_mvm_mac_ctxt_recalc_tsf_id() 212 .vif = vif, in iwl_mvm_mac_ctxt_init() 724 if (vif->probe_req_reg && vif->cfg.assoc && vif->p2p) in iwl_mvm_mac_ctxt_cmd_sta() 1289 .vif = vif, in iwl_mvm_mac_ctxt_cmd_fill_ap() 1417 vif->addr, ieee80211_vif_type_p2p(vif))) in iwl_mvm_mac_ctxt_add() 1438 vif->addr, ieee80211_vif_type_p2p(vif))) in iwl_mvm_mac_ctxt_changed() 1452 vif->addr, ieee80211_vif_type_p2p(vif))) in iwl_mvm_mac_ctxt_remove() 1627 vif = bss_conf->vif; in iwl_mvm_handle_missed_beacons_notif() [all …]
|
| A D | mac80211.c | 1136 vif = mvm_sta->vif; in iwl_mvm_cleanup_sta_iterator() 1647 iwl_mvm_post_channel_switch(hw, vif, &vif->bss_conf); in iwl_mvm_abort_channel_switch() 3020 if (vif->type == NL80211_IFTYPE_AP && !vif->p2p) { in iwl_mvm_start_ap_ibss_common() 3190 if (vif->type == NL80211_IFTYPE_AP && !vif->p2p) { in iwl_mvm_stop_ap_ibss_common() 3247 iwl_mvm_stop_ap_ibss(hw, vif, &vif->bss_conf); in iwl_mvm_stop_ibss() 4707 te_data->vif = vif; in iwl_mvm_send_aux_roc_cmd() 5517 if (!vif || vif->type != NL80211_IFTYPE_AP || !vif->p2p || in __iwl_mvm_mac_testmode_cmd() 5532 if (!vif || vif->type != NL80211_IFTYPE_STATION || in __iwl_mvm_mac_testmode_cmd() 5717 if (!vif->cfg.assoc || !vif->bss_conf.dtim_period) in iwl_mvm_pre_channel_switch() 5910 if (mvmsta->vif != vif) in iwl_mvm_mac_flush() [all …]
|
| A D | sta.h | 434 struct ieee80211_vif *vif; member 496 struct ieee80211_vif *vif, 514 struct ieee80211_vif *vif, 517 struct ieee80211_vif *vif, 520 struct ieee80211_vif *vif, 525 struct ieee80211_vif *vif, 530 struct ieee80211_vif *vif, 562 struct ieee80211_vif *vif); 605 struct ieee80211_vif *vif, 638 struct ieee80211_vif *vif, [all …]
|
| A D | link.c | 145 struct ieee80211_vif *vif; member 151 struct ieee80211_vif *vif) in iwl_mvm_esr_vif_iterator() argument 163 if (vif == data->vif && link_id == data->link_id) in iwl_mvm_esr_vif_iterator() 179 .vif = vif, in iwl_mvm_esr_non_bss_link() 288 (vif->type == NL80211_IFTYPE_STATION && !vif->cfg.assoc)) { in iwl_mvm_link_changed() 513 struct ieee80211_vif *vif = link_conf->vif; in iwl_mvm_get_chan_load() local 712 struct ieee80211_vif *vif, in iwl_mvm_esr_disallowed_with_link() argument 895 if (!ieee80211_vif_is_mld(vif)) in iwl_mvm_get_primary_link() 900 return __ffs(vif->active_links); in iwl_mvm_get_primary_link() 906 return __ffs(vif->active_links); in iwl_mvm_get_primary_link() [all …]
|
| /linux/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/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() 272 w = vif->iftype; in wilc_init_fw_config() 621 wilc_set_operation_mode(vif, wilc_get_vif_idx(vif), vif->iftype, in wilc_mac_open() 622 vif->idx); in wilc_mac_open() 789 if (vif->ndev) { in wilc_mac_close() 909 if (vif->ndev) in wilc_netdev_cleanup() 956 vif->wilc = wl; in wilc_netdev_ifc_init() 980 if (vif->idx) in wilc_netdev_ifc_init() [all …]
|
| A D | cfg80211.c | 227 if (!vif) in wilc_get_wl_to_vif() 230 return vif; in wilc_get_wl_to_vif() 435 vif->bss = bss; in connect() 1211 wilc_set_mac_chnl_num(vif, vif->wilc->op_ch); in mgmt_tx() 1374 wilc_set_operation_mode(vif, wilc_get_vif_idx(vif), in change_virtual_intf() 1389 wilc_set_operation_mode(vif, wilc_get_vif_idx(vif), in change_virtual_intf() 1399 wilc_set_operation_mode(vif, wilc_get_vif_idx(vif), in change_virtual_intf() 1409 wilc_set_operation_mode(vif, wilc_get_vif_idx(vif), in change_virtual_intf() 1523 return vif; in wilc_get_vif_from_type() 1546 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() 337 struct wilc_vif *vif = msg->vif; in handle_connect_timeout() local 691 struct wilc_vif *vif = msg->vif; in handle_rcvd_gnrl_async_info() local 829 struct wilc_vif *vif = msg->vif; in handle_get_statistics() local 899 hif_drv->remain_on_ch.vif = hif_remain_ch->vif; in handle_remain_on_chan() 980 struct wilc_vif *vif = msg->vif; in handle_set_mcast_filter() local 1508 wilc_get_stats_async(vif, &vif->periodic_stat); in get_periodic_rssi() 1583 if (!vif) in wilc_network_info_received() [all …]
|
| A D | hif.h | 127 void (*expired)(struct wilc_vif *vif, u64 cookie); 128 struct wilc_vif *vif; member 173 int wilc_disconnect(struct wilc_vif *vif); 175 int wilc_get_rssi(struct wilc_vif *vif, s8 *rssi_level); 176 int wilc_scan(struct wilc_vif *vif, u8 scan_source, 182 int wilc_hif_set_cfg(struct wilc_vif *vif, 185 int wilc_deinit(struct wilc_vif *vif); 188 int wilc_del_beacon(struct wilc_vif *vif); 205 int wilc_get_vif_idx(struct wilc_vif *vif); 209 int wilc_set_external_auth_param(struct wilc_vif *vif, [all …]
|
| /linux/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() 265 return vif; in qtnf_mac_get_free_vif() 280 return vif; in qtnf_mac_get_base_vif() 428 memset(vif, 0, sizeof(*vif)); in qtnf_core_mac_alloc() 562 if (!vif) { in qtnf_core_mac_attach() 568 ret = qtnf_cmd_send_add_intf(vif, vif->wdev.iftype, in qtnf_core_mac_attach() 569 vif->wdev.use_4addr, vif->mac_addr); in qtnf_core_mac_attach() 676 vif->mac->macid, vif->vifid, netdev_name(brdev), in qtnf_core_netdevice_event() 887 if (unlikely(!vif || !vif->mac || !vif->mac->bus)) in qtnf_wake_all_queues() [all …]
|
| /linux/drivers/net/xen-netback/ |
| A D | interface.c | 74 !vif->disabled; in xenvif_schedulable() 200 return vif->hash.mapping[vif->hash.mapping_sel] in xenvif_select_queue() 340 xenvif_up(vif); in xenvif_open() 370 if (!vif->can_sg) in xenvif_fix_features() 511 vif->can_sg = 1; in xenvif_alloc() 513 vif->dev = dev; in xenvif_alloc() 558 return vif; in xenvif_alloc() 608 if (!vif->can_sg && vif->dev->mtu > ETH_DATA_LEN) in xenvif_carrier_on() 613 xenvif_up(vif); in xenvif_carrier_on() 660 unbind_from_irqhandler(vif->ctrl_irq, vif); in xenvif_connect_ctrl() [all …]
|
| A D | hash.c | 108 vif->hash.cache.count--; in xenvif_flush_hash() 256 vif->hash.alg = alg; in xenvif_set_hash_alg() 317 xenvif_flush_hash(vif); in xenvif_set_hash_key() 327 vif->hash.size = size; in xenvif_set_hash_mapping_size() 328 memset(vif->hash.mapping[vif->hash.mapping_sel], 0, in xenvif_set_hash_mapping_size() 337 u32 *mapping = vif->hash.mapping[!vif->hash.mapping_sel]; in xenvif_set_hash_mapping() 363 memcpy(mapping, vif->hash.mapping[vif->hash.mapping_sel], in xenvif_set_hash_mapping() 378 vif->hash.mapping_sel = !vif->hash.mapping_sel; in xenvif_set_hash_mapping() 400 if (vif->hash.flags) { in xenvif_dump_hash_info() 431 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/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 | 922 if (vif->scan_request || vif->p2p.discovery_started) { in wil_cfg80211_scan() 1997 vif->bi = bi; in _wil_cfg80211_start_ap() 2038 if (!vif || vif->ssid_len == 0) in wil_cfg80211_ap_recovery() 2051 i, vif->privacy, vif->bi, vif->channel, in wil_cfg80211_ap_recovery() 2052 vif->hidden_ssid, vif->pbss); in wil_cfg80211_ap_recovery() 2054 vif->ssid, vif->ssid_len, true); in wil_cfg80211_ap_recovery() 2056 vif->ssid, vif->ssid_len, in wil_cfg80211_ap_recovery() 2057 vif->privacy, vif->bi, in wil_cfg80211_ap_recovery() 2060 vif->hidden_ssid, vif->pbss); in wil_cfg80211_ap_recovery() 2066 if (!vif->privacy || vif->gtk_len == 0) in wil_cfg80211_ap_recovery() [all …]
|
| /linux/drivers/net/wireless/silabs/wfx/ |
| A D | sta.c | 119 vif = wvif_to_vif(wvif); in wfx_configure_filter() 160 if (vif->cfg.assoc && vif->cfg.ps) in wfx_get_ps_timeout() 173 *enable_ps = vif->cfg.ps; in wfx_get_ps_timeout() 174 if (vif->cfg.assoc && vif->cfg.ps) in wfx_get_ps_timeout() 186 if (!vif->cfg.assoc) in wfx_update_pm() 256 ieee80211_beacon_loss(vif); in wfx_beacon_loss_work() 531 if (vif->cfg.assoc || vif->cfg.ibss_joined) in wfx_bss_info_changed() 533 else if (!vif->cfg.assoc && vif->type == NL80211_IFTYPE_STATION) in wfx_bss_info_changed() 725 switch (vif->type) { in wfx_add_interface() 753 if (!wdev->vif[i]) { in wfx_add_interface() [all …]
|
| /linux/drivers/net/wireless/realtek/rtw89/ |
| A D | mac80211.c | 25 struct ieee80211_vif *vif = info->control.vif; in rtw89_ops_tx() local 116 vif->addr, vif->type, vif->p2p); in rtw89_ops_add_interface() 181 vif->addr, vif->type, vif->p2p); in rtw89_ops_remove_interface() 208 vif->addr, vif->type, type, vif->p2p, p2p); in rtw89_ops_change_interface() 212 vif->type = type; in rtw89_ops_change_interface() 213 vif->p2p = p2p; in rtw89_ops_change_interface() 409 sta = ieee80211_find_sta(vif, vif->cfg.ap_addr); in rtw89_station_mode_sta_assoc() 745 if (vif) { in __rtw89_drop_packets() 783 if (vif != br_data->vif || vif->p2p) in rtw89_ra_mask_info_update_iter() 796 .vif = vif, in rtw89_ra_mask_info_update() [all …]
|
| /linux/include/net/ |
| A D | mac80211.h | 309 struct ieee80211_vif *vif; member 745 struct ieee80211_vif *vif; member 1250 struct ieee80211_vif *vif; member 2049 return vif->valid_links & ~vif->dormant_links; in ieee80211_vif_usable_links() 2060 return vif->valid_links != 0; in ieee80211_vif_is_mld() 2579 struct ieee80211_vif *vif; member 4462 struct ieee80211_vif *vif, 4472 struct ieee80211_vif *vif, 4500 struct ieee80211_vif *vif, 4514 struct ieee80211_vif *vif, [all …]
|