Searched refs:mesh_dev (Results 1 – 6 of 6) sorted by relevance
/drivers/net/wireless/libertas/ |
D | mesh.c | 268 return snprintf(buf, 5, "0x%X\n", !!priv->mesh_dev); in lbs_mesh_get() 286 if (enable == !!priv->mesh_dev) in lbs_mesh_set() 989 struct net_device *mesh_dev = NULL; in lbs_add_mesh() local 1003 mesh_dev = alloc_netdev(0, "msh%d", ether_setup); in lbs_add_mesh() 1004 if (!mesh_dev) { in lbs_add_mesh() 1012 mesh_wdev->netdev = mesh_dev; in lbs_add_mesh() 1014 mesh_dev->ml_priv = priv; in lbs_add_mesh() 1015 mesh_dev->ieee80211_ptr = mesh_wdev; in lbs_add_mesh() 1016 priv->mesh_dev = mesh_dev; in lbs_add_mesh() 1018 mesh_dev->netdev_ops = &mesh_netdev_ops; in lbs_add_mesh() [all …]
|
D | tx.c | 94 if (priv->mesh_dev) in lbs_hard_start_xmit() 95 netif_stop_queue(priv->mesh_dev); in lbs_hard_start_xmit() 204 if (priv->mesh_dev && netif_running(priv->mesh_dev)) in lbs_send_tx_feedback() 205 netif_wake_queue(priv->mesh_dev); in lbs_send_tx_feedback()
|
D | main.c | 318 if (priv->mesh_dev) in lbs_set_mac_address() 319 memcpy(priv->mesh_dev->dev_addr, phwaddr->sa_data, ETH_ALEN); in lbs_set_mac_address() 385 if (priv->mesh_dev && netif_running(priv->mesh_dev)) in lbs_update_mcast() 386 dev_flags |= priv->mesh_dev->flags; in lbs_update_mcast() 403 if (nr_addrs >= 0 && priv->mesh_dev) in lbs_update_mcast() 404 nr_addrs = lbs_add_mcast_addrs(&mcast_cmd, priv->mesh_dev, nr_addrs); in lbs_update_mcast() 639 if (priv->mesh_dev && in lbs_thread() 640 netif_running(priv->mesh_dev)) in lbs_thread() 641 netif_wake_queue(priv->mesh_dev); in lbs_thread() 713 if (priv->mesh_dev) in lbs_suspend() [all …]
|
D | dev.h | 56 struct net_device *mesh_dev; /* Virtual device */ member 205 if (priv->mesh_dev) in lbs_iface_active() 206 r |= netif_running(priv->mesh_dev); in lbs_iface_active()
|
D | cfg.c | 470 if (netdev != priv->mesh_dev) in lbs_cfg_set_mesh_channel() 1332 if (dev == priv->mesh_dev) in lbs_cfg_connect() 1481 if (dev == priv->mesh_dev) in lbs_cfg_disconnect() 1499 if (netdev == priv->mesh_dev) in lbs_cfg_set_default_key() 1523 if (netdev == priv->mesh_dev) in lbs_cfg_add_key() 1669 if (dev == priv->mesh_dev) in lbs_change_intf() 1992 if (dev == priv->mesh_dev) in lbs_join_ibss() 2031 if (dev == priv->mesh_dev) in lbs_leave_ibss()
|
D | cmd.c | 155 if (priv->mesh_dev) in lbs_update_hw_spec() 156 memcpy(priv->mesh_dev->dev_addr, in lbs_update_hw_spec()
|