Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/staging/rtl8723bs/os_dep/
Dioctl_cfg80211.c2125 struct net_device *mon_ndev = NULL; in rtw_cfg80211_add_monitor_if() local
2140 mon_ndev = alloc_etherdev(sizeof(struct rtw_netdev_priv_indicator)); in rtw_cfg80211_add_monitor_if()
2141 if (!mon_ndev) { in rtw_cfg80211_add_monitor_if()
2146 mon_ndev->type = ARPHRD_IEEE80211_RADIOTAP; in rtw_cfg80211_add_monitor_if()
2147 strncpy(mon_ndev->name, name, IFNAMSIZ); in rtw_cfg80211_add_monitor_if()
2148 mon_ndev->name[IFNAMSIZ - 1] = 0; in rtw_cfg80211_add_monitor_if()
2149 mon_ndev->needs_free_netdev = true; in rtw_cfg80211_add_monitor_if()
2150 mon_ndev->priv_destructor = rtw_ndev_destructor; in rtw_cfg80211_add_monitor_if()
2152 mon_ndev->netdev_ops = &rtw_cfg80211_monitor_if_ops; in rtw_cfg80211_add_monitor_if()
2154 pnpi = netdev_priv(mon_ndev); in rtw_cfg80211_add_monitor_if()
[all …]