A method performed by a Proximity Detection Function for establishing device to device, D2D, communication in a hybrid wireless network, comprising: identifying a proximity of a first user equipment, UE, with a second UE using a wireless wide area network, WWAN; communicating network assisted proximity discovery information to the first UE and the second UE, wherein the proximity discovery information includes a D2D communication channel; transmitting a peer to peer group, P2PGroup, basic service set identification, BSSID, from one of the first UE and the second UE that is selected to be a peer to peer, P2P, group owner and scanning for the P2PGroup BSSID by one of the first UE and the second UE that is not selected to be the P2P group owner, wherein transmitting the P2PGroup BSSID on the D2D communication channel and scanning for the P2PGroup BSSID is performed on the D2D communication channel; and establishing a D2D communication link between the first UE and the second UE using a wireless local area network, WLAN, based D2D format on the D2D communication channel; further comprising creating an identification for the first UE, UE1 ID, and the second UE, UE2 ID, based on the international mobile subscriber identity, IMSI, international mobile-station equipment identity, IMEI, media access control, MAC, identification, ID, mobile subscriber integrated services digital network-number, MSISDN, temporary mobile subscriber identity, TMSI, globally unique temporary identity, GUTI, local mobile subscriber identity, LMSI, temporary logical link identifier, TLLI, access network identity, ASN, D2D access point name, APN, or a new identity mapped to the IMSI for charging purposes, and constructing a peer to peer, P2P, interface medium access control, MAC, address that is a virtual MAC address that is derived from the UE1 ID and the UE2 ID to establish the D2D communication link between the first UE and the second UE. identifying a proximity of a first user equipment, UE, with a second UE using a wireless wide area network, WWAN; communicating network assisted proximity discovery information to the first UE and the second UE, wherein the proximity discovery information includes a D2D communication channel; transmitting a peer to peer group, P2PGroup, basic service set identification, BSSID, from one of the first UE and the second UE that is selected to be a peer to peer, P2P, group owner and scanning for the P2PGroup BSSID by one of the first UE and the second UE that is not selected to be the P2P group owner, wherein transmitting the P2PGroup BSSID on the D2D communication channel and scanning for the P2PGroup BSSID is performed on the D2D communication channel; and establishing a D2D communication link between the first UE and the second UE using a wireless local area network, WLAN, based D2D format on the D2D communication channel; further comprising creating an identification for the first UE, UE1 ID, and the second UE, UE2 ID, based on the international mobile subscriber identity, IMSI, international mobile-station equipment identity, IMEI, media access control, MAC, identification, ID, mobile subscriber integrated services digital network-number, MSISDN, temporary mobile subscriber identity, TMSI, globally unique temporary identity, GUTI, local mobile subscriber identity, LMSI, temporary logical link identifier, TLLI, access network identity, ASN, D2D access point name, APN, or a new identity mapped to the IMSI for charging purposes, and constructing a peer to peer, P2P, interface medium access control, MAC, address that is a virtual MAC address that is derived from the UE1 ID and the UE2 ID to establish the D2D communication link between the first UE and the second UE.