| /kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/ |
| D | mld-mac80211.c | 8 struct ieee80211_vif *vif) in iwl_mvm_mld_mac_add_interface() argument 11 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_mld_mac_add_interface() 31 ret = iwl_mvm_mac_ctxt_init(mvm, vif); in iwl_mvm_mld_mac_add_interface() 35 rcu_assign_pointer(mvm->vif_id_to_mac[mvmvif->id], vif); in iwl_mvm_mld_mac_add_interface() 43 ret = iwl_mvm_mld_mac_ctxt_add(mvm, vif); in iwl_mvm_mld_mac_add_interface() 48 ret = iwl_mvm_disable_beacon_filter(mvm, vif, 0); in iwl_mvm_mld_mac_add_interface() 53 vif->type == NL80211_IFTYPE_STATION && !vif->p2p) { in iwl_mvm_mld_mac_add_interface() 55 vif->driver_flags |= IEEE80211_VIF_BEACON_FILTER | in iwl_mvm_mld_mac_add_interface() 65 !ieee80211_vif_is_mld(vif)) { in iwl_mvm_mld_mac_add_interface() 68 ret = iwl_mvm_add_link(mvm, vif, &vif->bss_conf); in iwl_mvm_mld_mac_add_interface() [all …]
|
| 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 22 struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); in iwl_mvm_mld_mac_ctxt_cmd_common() 29 cmd->mac_type = cpu_to_le32(iwl_mvm_get_mac_type(vif)); in iwl_mvm_mld_mac_ctxt_cmd_common() 31 memcpy(cmd->local_mld_addr, vif->addr, ETH_ALEN); in iwl_mvm_mld_mac_ctxt_cmd_common() 40 cpu_to_le32(!iwl_mvm_is_nic_ack_enabled(mvm, vif)); in iwl_mvm_mld_mac_ctxt_cmd_common() 53 if (ieee80211_vif_is_mld(vif)) { in iwl_mvm_mld_mac_ctxt_cmd_common() 54 iwl_mvm_mld_set_he_support(mvm, vif, cmd); in iwl_mvm_mld_mac_ctxt_cmd_common() 60 for (link_id = 0; link_id < ARRAY_SIZE((vif)->link_conf); link_id++) { in iwl_mvm_mld_mac_ctxt_cmd_common() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/quantenna/qtnfmac/ |
| D | cfg80211.c | 79 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() 108 /* Check repeater interface combination: primary VIF should be STA only. 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() [all …]
|
| D | event.c | 19 qtnf_event_handle_sta_assoc(struct qtnf_wmac *mac, struct qtnf_vif *vif, in qtnf_event_handle_sta_assoc() argument 33 pr_err("VIF%u.%u: payload is too short (%u < %zu)\n", in qtnf_event_handle_sta_assoc() 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() 39 pr_err("VIF%u.%u: STA_ASSOC event when not in AP mode\n", 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() [all …]
|
| D | core.c | 81 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() 104 pr_err_ratelimited("%s: VIF not initialized\n", ndev->name); in qtnf_netdev_hard_start_xmit() 109 mac = vif->mac; in qtnf_netdev_hard_start_xmit() 124 /* tx path is enabled: reset vif timeout */ in qtnf_netdev_hard_start_xmit() 125 vif->cons_tx_timeout_cnt = 0; in qtnf_netdev_hard_start_xmit() [all …]
|
| D | commands.h | 16 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/quantenna/qtnfmac/ |
| D | cfg80211.c | 79 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() 108 /* Check repeater interface combination: primary VIF should be STA only. 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() [all …]
|
| D | event.c | 19 qtnf_event_handle_sta_assoc(struct qtnf_wmac *mac, struct qtnf_vif *vif, in qtnf_event_handle_sta_assoc() argument 33 pr_err("VIF%u.%u: payload is too short (%u < %zu)\n", in qtnf_event_handle_sta_assoc() 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() 39 pr_err("VIF%u.%u: STA_ASSOC event when not in AP mode\n", 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() [all …]
|
| D | core.c | 81 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() 104 pr_err_ratelimited("%s: VIF not initialized\n", ndev->name); in qtnf_netdev_hard_start_xmit() 109 mac = vif->mac; in qtnf_netdev_hard_start_xmit() 124 /* tx path is enabled: reset vif timeout */ in qtnf_netdev_hard_start_xmit() 125 vif->cons_tx_timeout_cnt = 0; in qtnf_netdev_hard_start_xmit() [all …]
|
| D | commands.h | 16 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/ |
| D | netdev.c | 28 struct wilc_vif *vif = netdev_priv(dev); in isr_uh_routine() local 29 struct wilc *wilc = vif->wilc; in isr_uh_routine() 41 struct wilc_vif *vif = netdev_priv(userdata); in isr_bh_routine() local 42 struct wilc *wilc = vif->wilc; in isr_bh_routine() 56 struct wilc_vif *vif = netdev_priv(dev); in init_irq() local 57 struct wilc *wl = vif->wilc; in init_irq() 75 struct wilc_vif *vif = netdev_priv(dev); in deinit_irq() local 76 struct wilc *wilc = vif->wilc; in deinit_irq() 99 struct wilc_vif *vif; in get_if_handler() local 102 list_for_each_entry_rcu(vif, &wilc->vif_list, list) { in get_if_handler() [all …]
|
| D | cfg80211.c | 167 struct wilc_vif *vif = netdev_priv(dev); in cfg_connect_result() local 168 struct wilc *wl = vif->wilc; in cfg_connect_result() 173 vif->connecting = false; in cfg_connect_result() 183 if (vif->iftype != WILC_CLIENT_MODE) in cfg_connect_result() 193 cfg80211_ref_bss(wiphy, vif->bss); in cfg_connect_result() 194 cfg80211_connect_bss(dev, conn_info->bssid, vif->bss, in cfg_connect_result() 202 vif->bss = NULL; in cfg_connect_result() 209 if (vif->iftype != WILC_CLIENT_MODE) { in cfg_connect_result() 224 struct wilc_vif *vif; in wilc_get_wl_to_vif() local 226 vif = list_first_or_null_rcu(&wl->vif_list, typeof(*vif), list); in wilc_get_wl_to_vif() [all …]
|
| D | hif.c | 41 struct wilc_vif *vif; member 50 wilc_alloc_work(struct wilc_vif *vif, void (*work_fun)(struct work_struct *), in wilc_alloc_work() argument 62 msg->vif = vif; in wilc_alloc_work() 74 if (!msg->vif || !msg->vif->wilc || !msg->vif->wilc->hif_workqueue) in wilc_enqueue_work() 77 if (!queue_work(msg->vif->wilc->hif_workqueue, &msg->work)) in wilc_enqueue_work() 87 int wilc_get_vif_idx(struct wilc_vif *vif) in wilc_get_vif_idx() argument 89 return vif->idx + 1; in wilc_get_vif_idx() 93 * of wilc->vif[], because we add 1 when pass to wilc device in the function 100 struct wilc_vif *vif; in wilc_get_vif_from_idx() local 105 list_for_each_entry_rcu(vif, &wilc->vif_list, list) { in wilc_get_vif_from_idx() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/ |
| D | cfg80211.c | 145 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 …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/ath/ath6kl/ |
| D | cfg80211.c | 145 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 …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/microchip/wilc1000/ |
| D | netdev.c | 53 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 …]
|
| D | cfg80211.c | 169 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/ath/wil6210/ |
| D | netdev.c | 16 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 …]
|
| D | p2p.c | 15 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/xen-netback/ |
| D | interface.c | 72 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() 111 /* This vif is rogue, we pretend we've there is nothing to do in xenvif_poll() 112 * for this vif to deschedule it from NAPI. But this interface in xenvif_poll() 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() [all …]
|
| D | hash.c | 35 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 …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/ath/wil6210/ |
| D | netdev.c | 16 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 …]
|
| D | p2p.c | 15 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 …]
|
| /kernel/linux/linux-6.6/drivers/net/xen-netback/ |
| D | interface.c | 70 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() 109 /* This vif is rogue, we pretend we've there is nothing to do in xenvif_poll() 110 * for this vif to deschedule it from NAPI. But this interface in xenvif_poll() 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() [all …]
|
| D | hash.c | 35 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 …]
|