An apparatus for use in user equipment, UE, comprising: a memory device to store an indication of a currently selected resource allocation mode for device to device, D2D, communication between the UE and one or more other UEs, wherein a first mode for resource allocation comprises scheduled resource allocation by an evolved Node B, eNB, of an evolved universal terrestrial radio access network, E-UTRAN, and wherein a second mode for resource allocation comprises UE autonomous resource selection; and processing circuitry to: determine whether the UE is in coverage or out of coverage for D2D communication on a cell of the E-UTRAN; if the UE is out of coverage for D2D communication on a cell of the E-UTRAN, select the second mode as the currently selected resource allocation mode; if the UE is in coverage for D2D communication on a cell of the E-UTRAN: generate a UE information message to indicate a capability for D2D communication to the eNB; and decode a radio resource control, RRC, message to determine either the first mode or the second mode selectively configured by the eNB as the currently selected resource allocation mode; and select resources, based on the currently selected resource allocation mode, for D2D communication between the UE and the one or more other UEs. a memory device to store an indication of a currently selected resource allocation mode for device to device, D2D, communication between the UE and one or more other UEs, wherein a first mode for resource allocation comprises scheduled resource allocation by an evolved Node B, eNB, of an evolved universal terrestrial radio access network, E-UTRAN, and wherein a second mode for resource allocation comprises UE autonomous resource selection; and processing circuitry to: determine whether the UE is in coverage or out of coverage for D2D communication on a cell of the E-UTRAN; if the UE is out of coverage for D2D communication on a cell of the E-UTRAN, select the second mode as the currently selected resource allocation mode; if the UE is in coverage for D2D communication on a cell of the E-UTRAN: generate a UE information message to indicate a capability for D2D communication to the eNB; and decode a radio resource control, RRC, message to determine either the first mode or the second mode selectively configured by the eNB as the currently selected resource allocation mode; and select resources, based on the currently selected resource allocation mode, for D2D communication between the UE and the one or more other UEs. determine whether the UE is in coverage or out of coverage for D2D communication on a cell of the E-UTRAN; if the UE is out of coverage for D2D communication on a cell of the E-UTRAN, select the second mode as the currently selected resource allocation mode; if the UE is in coverage for D2D communication on a cell of the E-UTRAN: generate a UE information message to indicate a capability for D2D communication to the eNB; and decode a radio resource control, RRC, message to determine either the first mode or the second mode selectively configured by the eNB as the currently selected resource allocation mode; and select resources, based on the currently selected resource allocation mode, for D2D communication between the UE and the one or more other UEs. generate a UE information message to indicate a capability for D2D communication to the eNB; and decode a radio resource control, RRC, message to determine either the first mode or the second mode selectively configured by the eNB as the currently selected resource allocation mode; and select resources, based on the currently selected resource allocation mode, for D2D communication between the UE and the one or more other UEs. <EOS>