A method of providing a location service at a radio access network, RAN, comprising a first RAN node in wireless communication, the method performed by the first RAN node and comprising: receiving a request from a user equipment, UE, indicating that the UE supports a ranging based location service session; forwarding the request to a core network entity in the core network, the core network entity configured to select a location management function, LMF, in the core network that supports the ranging based location service session; transmitting a message to the UE, indicating an external identifier, ID, allocated by the core network entity for identifying a location result of the UE; receiving an internal identifier, ID, for identifying information, associated with the UE, between the first RAN node and a core network during the ranging based location service session; allocating radio resources, associated with the internal ID, to the UE for performing a ranging operation in the ranging based location service session involving a plurality of devices including the UE, wherein the location result of the UE is determined by the LMF based on the ranging operation; transmitting a response to the UE, indicating the radio resources allocated for performing the ranging operation; receiving, from the UE, a resource based ranging report generated by the ranging operation, the resource based ranging report comprising ranging results indexed by radio resources allocated to the UE; converting the resource based ranging report to an internal ID based ranging report, the internal ID based ranging report comprising the ranging results indexed by internal IDs associated with the UE; and transmitting the internal ID based ranging report to the LMF. receiving a request from a user equipment, UE, indicating that the UE supports a ranging based location service session; forwarding the request to a core network entity in the core network, the core network entity configured to select a location management function, LMF, in the core network that supports the ranging based location service session; transmitting a message to the UE, indicating an external identifier, ID, allocated by the core network entity for identifying a location result of the UE; receiving an internal identifier, ID, for identifying information, associated with the UE, between the first RAN node and a core network during the ranging based location service session; allocating radio resources, associated with the internal ID, to the UE for performing a ranging operation in the ranging based location service session involving a plurality of devices including the UE, wherein the location result of the UE is determined by the LMF based on the ranging operation; transmitting a response to the UE, indicating the radio resources allocated for performing the ranging operation; receiving, from the UE, a resource based ranging report generated by the ranging operation, the resource based ranging report comprising ranging results indexed by radio resources allocated to the UE; converting the resource based ranging report to an internal ID based ranging report, the internal ID based ranging report comprising the ranging results indexed by internal IDs associated with the UE; and transmitting the internal ID based ranging report to the LMF. <EOS>