A method, performed by a first wireless device, for supporting a Device-to-Device (D2D) communication between the first wireless device and a second wireless device over a relay, the first and second wireless devices being served by a base station of a radio network, the method comprising:
- transmitting a beacon that is measurable by a candidate relay wireless device;
- receiving, from the candidate relay wireless device, an identity of the candidate relay wireless device and a first quality metric pertaining to a first relay link between the first wireless device and the candidate relay wireless device and to a second relay link between the second wireless device and the candidate relay wireless device;
- and
- sending the identity and the first quality metric of the candidate relay wireless device to the base station, thereby enabling the base station to select a relay mode for the D2D communication with the candidate relay wireless device acting as the relay, based on the first quality metric.