Home
last modified time | relevance | path

Searched refs:monitor_dev (Results 1 – 3 of 3) sorted by relevance

/drivers/net/wireless/microchip/wilc1000/
Dmon.c224 if (wl->monitor_dev) in wilc_wfi_init_mon_interface()
225 return wl->monitor_dev; in wilc_wfi_init_mon_interface()
227 wl->monitor_dev = alloc_etherdev(sizeof(struct wilc_wfi_mon_priv)); in wilc_wfi_init_mon_interface()
228 if (!wl->monitor_dev) in wilc_wfi_init_mon_interface()
231 wl->monitor_dev->type = ARPHRD_IEEE80211_RADIOTAP; in wilc_wfi_init_mon_interface()
232 strlcpy(wl->monitor_dev->name, name, IFNAMSIZ); in wilc_wfi_init_mon_interface()
233 wl->monitor_dev->netdev_ops = &wilc_wfi_netdev_ops; in wilc_wfi_init_mon_interface()
234 wl->monitor_dev->needs_free_netdev = true; in wilc_wfi_init_mon_interface()
236 if (register_netdevice(wl->monitor_dev)) { in wilc_wfi_init_mon_interface()
238 free_netdev(wl->monitor_dev); in wilc_wfi_init_mon_interface()
[all …]
Dnetdev.h263 struct net_device *monitor_dev; member
Dnetdev.c808 wilc_wfi_monitor_rx(wilc->monitor_dev, buff, size); in wilc_wfi_mgmt_rx()