| /linux-6.15/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | mld-mac80211.c | 57 vif->type == NL80211_IFTYPE_STATION && !vif->p2p) { in iwl_mvm_mld_mac_add_interface() 72 ret = iwl_mvm_add_link(mvm, vif, &vif->bss_conf); in iwl_mvm_mld_mac_add_interface() 98 vif->type == NL80211_IFTYPE_STATION && !vif->p2p && in iwl_mvm_mld_mac_add_interface() 179 iwl_mvm_remove_link(mvm, vif, &vif->bss_conf); in iwl_mvm_mld_mac_remove_interface() 181 iwl_mvm_disable_link(mvm, vif, &vif->bss_conf); in iwl_mvm_mld_mac_remove_interface() 680 iwl_mvm_mld_stop_ap_ibss(hw, vif, &vif->bss_conf); in iwl_mvm_mld_stop_ibss() 1049 return iwl_mvm_link_changed(mvm, vif, &vif->bss_conf, in iwl_mvm_mld_mac_conf_tx() 1067 ret = iwl_mvm_link_changed(mvm, vif, &vif->bss_conf, in iwl_mvm_mld_roc_link() 1129 err = iwl_mvm_disable_link(mvm, vif, &vif->bss_conf); in iwl_mvm_mld_change_vif_links() 1164 err = iwl_mvm_add_link(mvm, vif, &vif->bss_conf); in iwl_mvm_mld_change_vif_links() [all …]
|
| H 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 …]
|
| H A D | mac-ctxt.c | 63 if (vif == data->vif) in iwl_mvm_mac_tsf_id_iter() 168 if (vif == data->vif) { in iwl_mvm_mac_iface_iterator() 191 .vif = vif, in iwl_mvm_mac_ctxt_recalc_tsf_id() 213 .vif = vif, in iwl_mvm_mac_ctxt_init() 720 if (vif->probe_req_reg && vif->cfg.assoc && vif->p2p) in iwl_mvm_mac_ctxt_cmd_sta() 1269 .vif = vif, in iwl_mvm_mac_ctxt_cmd_fill_ap() 1397 vif->addr, ieee80211_vif_type_p2p(vif))) in iwl_mvm_mac_ctxt_add() 1418 vif->addr, ieee80211_vif_type_p2p(vif))) in iwl_mvm_mac_ctxt_changed() 1432 vif->addr, ieee80211_vif_type_p2p(vif))) in iwl_mvm_mac_ctxt_remove() 1608 vif = bss_conf->vif; in iwl_mvm_handle_missed_beacons_notif() [all …]
|
| H A D | mac80211.c | 1137 vif = mvm_sta->vif; in iwl_mvm_cleanup_sta_iterator() 1660 iwl_mvm_post_channel_switch(hw, vif, &vif->bss_conf); in iwl_mvm_abort_channel_switch() 3028 if (vif->type == NL80211_IFTYPE_AP && !vif->p2p) { in iwl_mvm_start_ap_ibss_common() 3198 if (vif->type == NL80211_IFTYPE_AP && !vif->p2p) { in iwl_mvm_stop_ap_ibss_common() 3255 iwl_mvm_stop_ap_ibss(hw, vif, &vif->bss_conf); in iwl_mvm_stop_ibss() 4731 te_data->vif = vif; in iwl_mvm_send_aux_roc_cmd() 5553 if (!vif || vif->type != NL80211_IFTYPE_AP || !vif->p2p || in __iwl_mvm_mac_testmode_cmd() 5568 if (!vif || vif->type != NL80211_IFTYPE_STATION || in __iwl_mvm_mac_testmode_cmd() 5753 if (!vif->cfg.assoc || !vif->bss_conf.dtim_period) in iwl_mvm_pre_channel_switch() 5946 if (mvmsta->vif != vif) in iwl_mvm_mac_flush() [all …]
|
| /linux-6.15/drivers/net/wireless/ath/ath6kl/ |
| H 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() 1666 vif->nw_type = vif->next_mode; in ath6kl_cfg80211_join_ibss() 1673 vif->auth_mode, vif->dot11_auth_mode, vif->prwise_crypto, in ath6kl_cfg80211_join_ibss() 1682 vif->ssid_len, vif->ssid, in ath6kl_cfg80211_join_ibss() 1683 vif->req_bssid, vif->ch_hint, in ath6kl_cfg80211_join_ibss() 2890 vif->nw_type = vif->next_mode; in ath6kl_start_ap() [all …]
|
| H 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.15/drivers/net/wireless/microchip/wilc1000/ |
| H A D | netdev.c | 108 ndev = vif->ndev; in get_if_handler() 113 ndev = vif->ndev; in get_if_handler() 131 vif->iftype = mode; in wilc_wlan_set_bssid() 282 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() 799 if (vif->ndev) { in wilc_mac_close() 919 if (vif->ndev) in wilc_netdev_cleanup() 964 vif->wilc = wl; in wilc_netdev_ifc_init() 988 if (vif->idx) in wilc_netdev_ifc_init() [all …]
|
| H A D | cfg80211.c | 227 if (!vif) in wilc_get_wl_to_vif() 230 return vif; in wilc_get_wl_to_vif() 436 vif->bss = bss; in connect() 1212 wilc_set_mac_chnl_num(vif, vif->wilc->op_ch); in mgmt_tx() 1375 wilc_set_operation_mode(vif, wilc_get_vif_idx(vif), in change_virtual_intf() 1390 wilc_set_operation_mode(vif, wilc_get_vif_idx(vif), in change_virtual_intf() 1400 wilc_set_operation_mode(vif, wilc_get_vif_idx(vif), in change_virtual_intf() 1410 wilc_set_operation_mode(vif, wilc_get_vif_idx(vif), in change_virtual_intf() 1524 return vif; in wilc_get_vif_from_type() 1547 if (!vif) { in add_virtual_intf() [all …]
|
| H 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 …]
|
| H 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-6.15/drivers/net/wireless/quantenna/qtnfmac/ |
| H 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 …]
|
| H 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 …]
|
| H 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 …]
|
| H 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-6.15/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | iface.c | 71 switch (vif->type) { in iwl_mld_mac80211_iftype_to_fw() 226 if (vif->probe_req_reg && vif->cfg.assoc && vif->p2p) in iwl_mld_fill_mac_cmd_sta() 230 if (vif->p2p) in iwl_mld_fill_mac_cmd_sta() 339 switch (vif->type) { in iwl_mld_mac_fw_action() 368 IWL_MLD_ALLOC_FN(vif, vif) in IWL_MLD_ALLOC_FN() argument 500 if (WARN_ON(!vif) || ieee80211_vif_is_mld(vif)) in iwl_mld_handle_probe_resp_data_notif() 507 if (!vif->p2p) in iwl_mld_handle_probe_resp_data_notif() 549 if (WARN_ON(!vif) || ieee80211_vif_is_mld(vif)) in iwl_mld_handle_uapsd_misbehaving_ap_notif() 572 vif = link->vif; in iwl_mld_handle_datapath_monitor_notif() 573 if (WARN_ON(!vif) || vif->type != NL80211_IFTYPE_STATION || in iwl_mld_handle_datapath_monitor_notif() [all …]
|
| H A D | mlo.h | 38 ieee80211_vif_is_mld(vif) && in iwl_mld_vif_has_emlsr_cap() 46 if (vif->type == NL80211_IFTYPE_AP) in iwl_mld_max_active_links() 77 if (!ieee80211_vif_is_mld(vif) || WARN_ON(!vif->active_links)) in iwl_mld_get_primary_link() 81 if (vif->type == NL80211_IFTYPE_AP) in iwl_mld_get_primary_link() 82 return __ffs(vif->active_links); in iwl_mld_get_primary_link() 84 if (iwl_mld_emlsr_active(vif) && in iwl_mld_get_primary_link() 88 return __ffs(vif->active_links); in iwl_mld_get_primary_link() 97 switch (hweight16(vif->active_links)) { in iwl_mld_get_other_link() 104 return __ffs(vif->active_links); in iwl_mld_get_other_link() 106 return __ffs(vif->active_links & ~BIT(link_id)); in iwl_mld_get_other_link() [all …]
|
| H A D | mlo.c | 87 struct ieee80211_vif *vif = in iwl_mld_emlsr_prevent_done_wk() local 103 struct ieee80211_vif *vif = in iwl_mld_emlsr_tmp_non_bss_done_wk() local 209 if (!iwl_mld_emlsr_active(vif)) in _iwl_mld_exit_emlsr() 321 iwl_mld_int_mlo_scan(mld, vif); in iwl_mld_unblock_emlsr() 326 struct ieee80211_vif *vif) in iwl_mld_vif_iter_emlsr_mode_notif() argument 407 struct ieee80211_vif *vif) in iwl_mld_count_non_bss_links() argument 482 struct ieee80211_vif *vif = in iwl_mld_emlsr_check_tpt() local 515 sec_link_id = iwl_mld_get_other_link(vif, iwl_mld_get_primary_link(vif)); in iwl_mld_emlsr_check_tpt() 596 struct ieee80211_vif *vif = in iwl_mld_emlsr_unblock_tpt_wk() local 675 struct ieee80211_vif *vif, in iwl_mld_set_link_sel_data() argument [all …]
|
| H A D | mac80211.c | 599 if (!vif->p2p) in iwl_mld_mac80211_add_interface() 681 if (vif->type != NL80211_IFTYPE_STATION || !vif->cfg.assoc) in iwl_mld_mc_iface_iterator() 1228 switch (vif->type) { in iwl_mld_mac80211_link_info_changed() 1310 iwl_mld_smps_wa(mld, vif, vif->cfg.ps); in iwl_mld_mac80211_vif_cfg_changed() 1482 !vif->cfg.assoc); in iwl_mld_mac_mgd_complete_tx() 1522 if (vif->p2p && in iwl_mld_set_uapsd() 1526 if (!vif->p2p && in iwl_mld_set_uapsd() 1723 iwl_mld_smps_wa(mld, vif, vif->cfg.ps); in iwl_mld_move_sta_state_up() 1841 if (vif && vif != iwl_mld_sta_from_mac80211(link_sta->sta)->vif) in iwl_mld_mac80211_flush() 2522 return iwl_mld_start_ap_ibss(hw, vif, &vif->bss_conf); in iwl_mld_mac80211_join_ibss() [all …]
|
| /linux-6.15/drivers/net/xen-netback/ |
| H 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 …]
|
| H 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 …]
|
| H 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.15/drivers/net/wireless/ath/wil6210/ |
| H 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 …]
|
| H 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 …]
|
| /linux-6.15/drivers/net/wireless/intel/iwlwifi/mld/tests/ |
| H A D | utils.c | 85 link->vif = vif; in IWL_MLD_ALLOC_FN() 97 IWL_MLD_ALLOC_FN(vif, vif) in IWL_MLD_ALLOC_FN() argument 114 vif->type = type; in IWL_MLD_ALLOC_FN() 123 return vif; in IWL_MLD_ALLOC_FN() 126 iwlmld_kunit_init_link(vif, &vif->bss_conf, &mld_vif->deflink, 0); in IWL_MLD_ALLOC_FN() 128 return vif; in IWL_MLD_ALLOC_FN() 263 mld_sta->vif = vif; in iwlmld_kunit_add_sta() 328 vif->cfg.assoc = 1; in iwlmld_kunit_set_vif_associated() 361 return vif; in iwlmld_kunit_setup_assoc() 385 return vif; in iwlmld_kunit_setup_mlo_assoc() [all …]
|
| /linux-6.15/drivers/net/wireless/silabs/wfx/ |
| H A D | sta.c | 120 vif = wvif_to_vif(wvif); in wfx_configure_filter() 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() 187 if (!vif->cfg.assoc) in wfx_update_pm() 257 ieee80211_beacon_loss(vif); in wfx_beacon_loss_work() 532 if (vif->cfg.assoc || vif->cfg.ibss_joined) in wfx_bss_info_changed() 534 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 …]
|