Searched refs:mesh_dev (Results 1 – 6 of 6) sorted by relevance
/linux-3.4.99/drivers/net/wireless/libertas/ |
D | mesh.c | 139 struct wireless_dev *mesh_wdev = priv->mesh_dev->ieee80211_ptr; in lbs_mesh_get_channel() 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() 992 struct net_device *mesh_dev = NULL; in lbs_add_mesh() local 1006 mesh_dev = alloc_netdev(0, "msh%d", ether_setup); in lbs_add_mesh() 1007 if (!mesh_dev) { in lbs_add_mesh() 1015 mesh_wdev->netdev = mesh_dev; in lbs_add_mesh() 1017 mesh_dev->ml_priv = priv; in lbs_add_mesh() 1018 mesh_dev->ieee80211_ptr = mesh_wdev; in lbs_add_mesh() 1019 priv->mesh_dev = mesh_dev; 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 | 312 if (priv->mesh_dev) in lbs_set_mac_address() 313 memcpy(priv->mesh_dev->dev_addr, phwaddr->sa_data, ETH_ALEN); in lbs_set_mac_address() 379 if (priv->mesh_dev && netif_running(priv->mesh_dev)) in lbs_update_mcast() 380 dev_flags |= priv->mesh_dev->flags; in lbs_update_mcast() 397 if (nr_addrs >= 0 && priv->mesh_dev) in lbs_update_mcast() 398 nr_addrs = lbs_add_mcast_addrs(&mcast_cmd, priv->mesh_dev, nr_addrs); in lbs_update_mcast() 630 if (priv->mesh_dev && in lbs_thread() 631 netif_running(priv->mesh_dev)) in lbs_thread() 632 netif_wake_queue(priv->mesh_dev); in lbs_thread() 702 if (priv->mesh_dev) in lbs_suspend() [all …]
|
D | dev.h | 54 struct net_device *mesh_dev; /* Virtual device */ member 193 if (priv->mesh_dev) in lbs_iface_active() 194 r |= netif_running(priv->mesh_dev); in lbs_iface_active()
|
D | cfg.c | 452 if (netdev == priv->mesh_dev) in lbs_cfg_set_channel() 1312 if (dev == priv->mesh_dev) in lbs_cfg_connect() 1461 if (dev == priv->mesh_dev) in lbs_cfg_disconnect() 1479 if (netdev == priv->mesh_dev) in lbs_cfg_set_default_key() 1503 if (netdev == priv->mesh_dev) in lbs_cfg_add_key() 1649 if (dev == priv->mesh_dev) in lbs_change_intf() 1969 if (dev == priv->mesh_dev) in lbs_join_ibss() 2008 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()
|