Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Dwl_linux_mon.c55 int dhd_add_monitor(const char *name, struct net_device **new_ndev);
290 int dhd_add_monitor(const char *name, struct net_device **new_ndev) in dhd_add_monitor() argument
301 if (!name || !new_ndev) { in dhd_add_monitor()
338 *new_ndev = ndev; in dhd_add_monitor()
H A Dwl_cfg80211.c778 int dhd_add_monitor(const char *name, struct net_device **new_ndev);
1894 struct net_device *new_ndev = NULL; in wl_cfg80211_p2p_if_add() local
1970 new_ndev = wl_cfg80211_post_ifcreate(bcmcfg_to_prmry_ndev(cfg), event, in wl_cfg80211_p2p_if_add()
1972 if (unlikely(!new_ndev)) { in wl_cfg80211_p2p_if_add()
1980 wl_to_p2p_bss_ndev(cfg, cfg_type) = new_ndev; in wl_cfg80211_p2p_if_add()
1997 return new_ndev->ieee80211_ptr; in wl_cfg80211_p2p_if_add()
3000 struct net_device *new_ndev = NULL; in bcm_cfg80211_add_ibss_if() local
3041 new_ndev = wl_cfg80211_allocate_if(cfg, event->ifidx, event->name, in bcm_cfg80211_add_ibss_if()
3043 if (new_ndev == NULL) in bcm_cfg80211_add_ibss_if()
3050 wdev->netdev = new_ndev; in bcm_cfg80211_add_ibss_if()
[all …]
H A Dwl_android.c13564 struct net_device *new_ndev = NULL; in wl_cfg80211_post_static_ifcreate() local
13568 new_ndev = cfg->static_ndev[static_ifidx]; in wl_cfg80211_post_static_ifcreate()
13570 if (new_ndev) { in wl_cfg80211_post_static_ifcreate()
13571 wdev = new_ndev->ieee80211_ptr; in wl_cfg80211_post_static_ifcreate()
13574 dev_addr_set(new_ndev, addr); in wl_cfg80211_post_static_ifcreate()
13578 wl_cfg80211_update_iflist_info(cfg, new_ndev, event->ifidx, addr, event->bssidx, in wl_cfg80211_post_static_ifcreate()
13580 return new_ndev; in wl_cfg80211_post_static_ifcreate()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Dwl_linux_mon.c55 int dhd_add_monitor(const char *name, struct net_device **new_ndev);
285 int dhd_add_monitor(const char *name, struct net_device **new_ndev) in dhd_add_monitor() argument
296 if (!name || !new_ndev) { in dhd_add_monitor()
334 *new_ndev = ndev; in dhd_add_monitor()
H A Dwl_cfg80211.c937 int dhd_add_monitor(const char *name, struct net_device **new_ndev);
2071 struct net_device *new_ndev = NULL; local
2157 new_ndev = wl_cfg80211_post_ifcreate(bcmcfg_to_prmry_ndev(cfg), event,
2159 if (unlikely(!new_ndev)) {
2167 wl_to_p2p_bss_ndev(cfg, cfg_type) = new_ndev;
2182 return new_ndev->ieee80211_ptr;
4185 struct net_device *new_ndev = NULL; local
4226 new_ndev = wl_cfg80211_allocate_if(cfg, event->ifidx, event->name,
4228 if (new_ndev == NULL)
4235 wdev->netdev = new_ndev;
[all …]
H A Dwl_android.c10608 struct net_device *new_ndev = NULL; in wl_cfg80211_post_static_ifcreate() local
10619 new_ndev = cfg->static_ndev[iface_num]; in wl_cfg80211_post_static_ifcreate()
10620 if (new_ndev) { in wl_cfg80211_post_static_ifcreate()
10621 wdev = new_ndev->ieee80211_ptr; in wl_cfg80211_post_static_ifcreate()
10624 (void)memcpy_s(new_ndev->dev_addr, ETH_ALEN, addr, ETH_ALEN); in wl_cfg80211_post_static_ifcreate()
10628 wl_cfg80211_update_iflist_info(cfg, new_ndev, event->ifidx, addr, event->bssidx, in wl_cfg80211_post_static_ifcreate()
10630 return new_ndev; in wl_cfg80211_post_static_ifcreate()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Dwl_linux_mon.c54 int dhd_add_monitor(const char *name, struct net_device **new_ndev);
284 int dhd_add_monitor(const char *name, struct net_device **new_ndev) in dhd_add_monitor() argument
295 if (!name || !new_ndev) { in dhd_add_monitor()
333 *new_ndev = ndev; in dhd_add_monitor()
H A Dwl_cfg80211.c910 int dhd_add_monitor(const char *name, struct net_device **new_ndev);
1710 struct net_device *new_ndev; in wl_cfg80211_add_virtual_iface() local
1921 new_ndev = wl_cfg80211_allocate_if(cfg, event->ifidx, cfg->p2p->vir_ifname, in wl_cfg80211_add_virtual_iface()
1923 if (new_ndev == NULL) { in wl_cfg80211_add_virtual_iface()
1928 wl_to_p2p_bss_ndev(cfg, cfg_type) = new_ndev; in wl_cfg80211_add_virtual_iface()
1942 vwdev->netdev = new_ndev; in wl_cfg80211_add_virtual_iface()
1943 new_ndev->ieee80211_ptr = vwdev; in wl_cfg80211_add_virtual_iface()
1944 SET_NETDEV_DEV(new_ndev, wiphy_dev(vwdev->wiphy)); in wl_cfg80211_add_virtual_iface()
1945 wl_set_drv_status(cfg, READY, new_ndev); in wl_cfg80211_add_virtual_iface()
1946 if (wl_config_ifmode(cfg, new_ndev, type) < 0) { in wl_cfg80211_add_virtual_iface()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Dwl_linux_mon.c55 int dhd_add_monitor(const char *name, struct net_device **new_ndev);
285 int dhd_add_monitor(const char *name, struct net_device **new_ndev) in dhd_add_monitor() argument
296 if (!name || !new_ndev) { in dhd_add_monitor()
334 *new_ndev = ndev; in dhd_add_monitor()
H A Dwl_cfg80211.c928 int dhd_add_monitor(const char *name, struct net_device **new_ndev);
1948 struct net_device *new_ndev = NULL; local
2034 new_ndev = wl_cfg80211_post_ifcreate(bcmcfg_to_prmry_ndev(cfg), event,
2036 if (unlikely(!new_ndev)) {
2044 wl_to_p2p_bss_ndev(cfg, cfg_type) = new_ndev;
2059 return new_ndev->ieee80211_ptr;
4058 struct net_device *new_ndev = NULL; local
4099 new_ndev = wl_cfg80211_allocate_if(cfg, event->ifidx, event->name,
4101 if (new_ndev == NULL)
4108 wdev->netdev = new_ndev;
[all …]
H A Dwl_android.c10510 struct net_device *new_ndev = NULL; in wl_cfg80211_post_static_ifcreate() local
10521 new_ndev = cfg->static_ndev[iface_num]; in wl_cfg80211_post_static_ifcreate()
10522 if (new_ndev) { in wl_cfg80211_post_static_ifcreate()
10523 wdev = new_ndev->ieee80211_ptr; in wl_cfg80211_post_static_ifcreate()
10526 (void)memcpy_s(new_ndev->dev_addr, ETH_ALEN, addr, ETH_ALEN); in wl_cfg80211_post_static_ifcreate()
10530 wl_cfg80211_update_iflist_info(cfg, new_ndev, event->ifidx, addr, event->bssidx, in wl_cfg80211_post_static_ifcreate()
10532 return new_ndev; in wl_cfg80211_post_static_ifcreate()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dwl_linux_mon.c55 int dhd_add_monitor(const char *name, struct net_device **new_ndev);
290 int dhd_add_monitor(const char *name, struct net_device **new_ndev) in dhd_add_monitor() argument
301 if (!name || !new_ndev) { in dhd_add_monitor()
338 *new_ndev = ndev; in dhd_add_monitor()
H A Dwl_cfg80211.c764 int dhd_add_monitor(const char *name, struct net_device **new_ndev);
1880 struct net_device *new_ndev = NULL; in wl_cfg80211_p2p_if_add() local
1956 new_ndev = wl_cfg80211_post_ifcreate(bcmcfg_to_prmry_ndev(cfg), event, in wl_cfg80211_p2p_if_add()
1958 if (unlikely(!new_ndev)) { in wl_cfg80211_p2p_if_add()
1966 wl_to_p2p_bss_ndev(cfg, cfg_type) = new_ndev; in wl_cfg80211_p2p_if_add()
1983 return new_ndev->ieee80211_ptr; in wl_cfg80211_p2p_if_add()
2986 struct net_device *new_ndev = NULL; in bcm_cfg80211_add_ibss_if() local
3027 new_ndev = wl_cfg80211_allocate_if(cfg, event->ifidx, event->name, in bcm_cfg80211_add_ibss_if()
3029 if (new_ndev == NULL) in bcm_cfg80211_add_ibss_if()
3036 wdev->netdev = new_ndev; in bcm_cfg80211_add_ibss_if()
[all …]
H A Dwl_android.c13408 struct net_device *new_ndev = NULL; in wl_cfg80211_post_static_ifcreate() local
13412 new_ndev = cfg->static_ndev[static_ifidx]; in wl_cfg80211_post_static_ifcreate()
13414 if (new_ndev) { in wl_cfg80211_post_static_ifcreate()
13415 wdev = new_ndev->ieee80211_ptr; in wl_cfg80211_post_static_ifcreate()
13418 dev_addr_set(new_ndev, addr); in wl_cfg80211_post_static_ifcreate()
13422 wl_cfg80211_update_iflist_info(cfg, new_ndev, event->ifidx, addr, event->bssidx, in wl_cfg80211_post_static_ifcreate()
13424 return new_ndev; in wl_cfg80211_post_static_ifcreate()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Dwl_linux_mon.c55 int dhd_add_monitor(const char *name, struct net_device **new_ndev);
285 int dhd_add_monitor(const char *name, struct net_device **new_ndev) in dhd_add_monitor() argument
296 if (!name || !new_ndev) { in dhd_add_monitor()
334 *new_ndev = ndev; in dhd_add_monitor()
H A Dwl_cfg80211.c939 int dhd_add_monitor(const char *name, struct net_device **new_ndev);
2073 struct net_device *new_ndev = NULL; local
2159 new_ndev = wl_cfg80211_post_ifcreate(bcmcfg_to_prmry_ndev(cfg), event,
2161 if (unlikely(!new_ndev)) {
2169 wl_to_p2p_bss_ndev(cfg, cfg_type) = new_ndev;
2184 return new_ndev->ieee80211_ptr;
4187 struct net_device *new_ndev = NULL; local
4228 new_ndev = wl_cfg80211_allocate_if(cfg, event->ifidx, event->name,
4230 if (new_ndev == NULL)
4237 wdev->netdev = new_ndev;
[all …]
H A Dwl_android.c10202 struct net_device *new_ndev = NULL; in wl_cfg80211_post_static_ifcreate() local
10213 new_ndev = cfg->static_ndev[iface_num]; in wl_cfg80211_post_static_ifcreate()
10214 if (new_ndev) { in wl_cfg80211_post_static_ifcreate()
10215 wdev = new_ndev->ieee80211_ptr; in wl_cfg80211_post_static_ifcreate()
10218 (void)memcpy_s(new_ndev->dev_addr, ETH_ALEN, addr, ETH_ALEN); in wl_cfg80211_post_static_ifcreate()
10222 wl_cfg80211_update_iflist_info(cfg, new_ndev, event->ifidx, addr, event->bssidx, in wl_cfg80211_post_static_ifcreate()
10224 return new_ndev; in wl_cfg80211_post_static_ifcreate()