Home
last modified time | relevance | path

Searched refs:mesh_dev (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/drivers/net/wireless/marvell/libertas/
Dmesh.c110 if (priv->mesh_dev) { in lbs_mesh_config()
111 mesh_wdev = priv->mesh_dev->ieee80211_ptr; in lbs_mesh_config()
271 return snprintf(buf, 5, "0x%X\n", !!priv->mesh_dev); in lbs_mesh_get()
289 if (enable == !!priv->mesh_dev) in lbs_mesh_set()
981 struct net_device *mesh_dev = NULL; in lbs_add_mesh() local
993 mesh_dev = alloc_netdev(0, "msh%d", NET_NAME_UNKNOWN, ether_setup); in lbs_add_mesh()
994 if (!mesh_dev) { in lbs_add_mesh()
1009 mesh_wdev->netdev = mesh_dev; in lbs_add_mesh()
1011 mesh_dev->ml_priv = priv; in lbs_add_mesh()
1012 mesh_dev->ieee80211_ptr = mesh_wdev; in lbs_add_mesh()
[all …]
Dtx.c93 if (priv->mesh_dev) in lbs_hard_start_xmit()
94 netif_stop_queue(priv->mesh_dev); in lbs_hard_start_xmit()
202 if (priv->mesh_dev && netif_running(priv->mesh_dev)) in lbs_send_tx_feedback()
203 netif_wake_queue(priv->mesh_dev); in lbs_send_tx_feedback()
Dmain.c306 if (priv->mesh_dev) in lbs_set_mac_address()
307 memcpy(priv->mesh_dev->dev_addr, phwaddr->sa_data, ETH_ALEN); in lbs_set_mac_address()
370 if (priv->mesh_dev && netif_running(priv->mesh_dev)) in lbs_update_mcast()
371 dev_flags |= priv->mesh_dev->flags; in lbs_update_mcast()
388 if (nr_addrs >= 0 && priv->mesh_dev) in lbs_update_mcast()
389 nr_addrs = lbs_add_mcast_addrs(&mcast_cmd, priv->mesh_dev, nr_addrs); in lbs_update_mcast()
620 if (priv->mesh_dev && in lbs_thread()
621 netif_running(priv->mesh_dev)) in lbs_thread()
622 netif_wake_queue(priv->mesh_dev); in lbs_thread()
688 if (priv->mesh_dev) in lbs_suspend()
[all …]
Ddev.h57 struct net_device *mesh_dev; /* Virtual device */ member
206 if (priv->mesh_dev) in lbs_iface_active()
207 r |= netif_running(priv->mesh_dev); in lbs_iface_active()
Dcfg.c463 if (netdev != priv->mesh_dev) in lbs_cfg_set_mesh_channel()
1280 if (dev == priv->mesh_dev) in lbs_cfg_connect()
1426 if (dev == priv->mesh_dev) in lbs_cfg_disconnect()
1442 if (netdev == priv->mesh_dev) in lbs_cfg_set_default_key()
1464 if (netdev == priv->mesh_dev) in lbs_cfg_add_key()
1604 if (dev == priv->mesh_dev) in lbs_change_intf()
1912 if (dev == priv->mesh_dev) in lbs_join_ibss()
1948 if (dev == priv->mesh_dev) in lbs_leave_ibss()
Dcmd.c154 if (priv->mesh_dev) in lbs_update_hw_spec()
155 memcpy(priv->mesh_dev->dev_addr, in lbs_update_hw_spec()