Home
last modified time | relevance | path

Searched refs:p2p_hnetdev (Results 1 - 2 of 2) sorted by relevance

/device/board/hihope/rk3568/wifi/bcmdhd_wifi6/hdfadapt/
H A Dhdfinit_bdh.c142 struct NetDevice *p2p_hnetdev = NULL; in InitP2pInterface() local
164 p2p_hnetdev = get_hdf_netdev(g_hdf_ifidx); in InitP2pInterface()
167 p2p_hnetdev->ieee80211Ptr = p2p_netdev->ieee80211_ptr; in InitP2pInterface()
169 wl_get_vif_macaddr(cfg, 7, p2p_hnetdev->macAddr); // WL_IF_TYPE_P2P_DISC = 7 in InitP2pInterface()
170 memcpy_s(p2p_netdev->dev_addr, p2p_netdev->addr_len, p2p_hnetdev->macAddr, MAC_ADDR_SIZE); in InitP2pInterface()
171 p2p_hnetdev->netDeviceIf = wal_get_net_p2p_ops(); // reset netdev_ops in InitP2pInterface()
173 ret = NetDeviceAdd(p2p_hnetdev); // Call linux register_netdev() in InitP2pInterface()
174 HDF_LOGI("NetDeviceAdd %s ret = %d", p2p_hnetdev->name, ret); in InitP2pInterface()
183 struct NetDevice *p2p_hnetdev = NULL; in BDH6Init() local
210 p2p_hnetdev in BDH6Init()
237 struct NetDevice *p2p_hnetdev = get_hdf_netdev(HDF_INF_P2P0); BDH6Deinit() local
[all...]
H A Dhdf_bdh_mac80211.c65 struct NetDevice *p2p_hnetdev = NULL; in get_scan_ifidx() local
67 p2p_hnetdev = g_hdf_infmap[i].hnetdev; in get_scan_ifidx()
68 if (p2p_hnetdev == NULL) { in get_scan_ifidx()
71 if (strcmp(p2p_hnetdev->name, ifname) == 0) { in get_scan_ifidx()
1717 struct NetDevice *p2p_hnetdev = NULL; in WalAddIf() local
1744 p2p_hnetdev = get_hdf_netdev(g_hdf_ifidx); in WalAddIf()
1747 wdev = wl_cfg80211_ops.add_virtual_intf(wiphy, p2p_hnetdev->name, NET_NAME_USER, ifAdd->type, NULL); in WalAddIf()
1749 HDF_LOGE("%s:create wdev for %s %d failed", __func__, p2p_hnetdev->name, ifAdd->type); in WalAddIf()
1752 HDF_LOGI("%s:%s wdev->netdev=%p, %p", __func__, p2p_hnetdev->name, wdev->netdev, p2p_netdev); in WalAddIf()
1753 p2p_hnetdev in WalAddIf()
1772 struct NetDevice *p2p_hnetdev = NULL; WalRemoveIf() local
[all...]

Completed in 4 milliseconds