Searched refs:mon_ndev (Results 1 – 1 of 1) sorted by relevance
2626 struct net_device* mon_ndev = NULL; in rtw_cfg80211_add_monitor_if() local2644 mon_ndev = alloc_etherdev(sizeof(struct rtw_netdev_priv_indicator)); in rtw_cfg80211_add_monitor_if()2645 if (!mon_ndev) { in rtw_cfg80211_add_monitor_if()2651 mon_ndev->type = ARPHRD_IEEE80211_RADIOTAP; in rtw_cfg80211_add_monitor_if()2652 strncpy(mon_ndev->name, name, IFNAMSIZ); in rtw_cfg80211_add_monitor_if()2653 mon_ndev->name[IFNAMSIZ - 1] = 0; in rtw_cfg80211_add_monitor_if()2654 mon_ndev->needs_free_netdev = true; in rtw_cfg80211_add_monitor_if()2655 mon_ndev->priv_destructor = rtw_ndev_destructor; in rtw_cfg80211_add_monitor_if()2657 mon_ndev->netdev_ops = &rtw_cfg80211_monitor_if_ops; in rtw_cfg80211_add_monitor_if()2659 pnpi = netdev_priv(mon_ndev); in rtw_cfg80211_add_monitor_if()[all …]