Standardization efforts in both software and hardware are driving advancements in Wi-Fi RTT technology, paving the way for rapid development of indoor positioning applications [15]. The IEEE 802.11 mc protocol, introduced in 2016, developed RTT ranging technology, marking a significant advancement in Wi-Fi-based positioning. Later standards, such as IEEE 802.11 be (Wi-Fi 7) and IEEE 802.11 az, further enhanced RTT to improve the accuracy and efficiency of location-based services in Wi-Fi networks. In Wi-Fi (802.11 be), the focus has been on improving multi-link operation, allowing devices to use multiple radio interfaces for data transmission and reception. This feature helps maintain a stable connection in high-traffic or interference-prone environments. Additionally, new features in Wi-Fi 7, such as enhanced power saving and low-latency performance, further optimize the system's ability to support real-time location tracking with minimal delay. On the other hand, IEEE 802.11 az extends RTT by refining the underlying protocols to improve distance measurement accuracy, making Wi-Fi-based positioning more reliable, particularly in dense or dynamic environments. Unlike RSSI and CSI, RTT-based ranging relies solely on the flight time between the transmitting and receiving devices, overcoming limitations related to beamwidth and antenna configurations, offering superior ranging precision. Major hardware manufacturers, such as Google and Compulab, have developed smartphones and routers with RTT capability, and software ecosystems like Android also support the RTT protocol. The ongoing standardization efforts in both hardware and software are driving the advancement of Wi-Fi RTT technology, paving the way for the rapid development of indoor positioning applications. UWB and Wi-Fi RTT share similarities in the smartphone-centric approach, positioning principles, and algorithms, yet they face challenges related to NLOS ranging errors. In order to achieve high positioning accuracy and continuity, both UWB and Wi-Fi RTT systems must address ranging measurement errors and integrate with complementary technologies such as visual odometry and Inertial Measurement Units (IMUs). However, several challenges remain in enhancing positioning accuracy and continuity, and it is necessary to have a systematic survey on state-of-the-art methodologies and prospective development in UWB and Wi-Fi RTT high-precision positioning. In the past decade, review work has mainly focused on an overview of all available indoor positioning technologies, or focused on a basic UWB positioning review, or a review of fingerprint-based Wi-Fi positioning, but the coverage of Wi-Fi RTT positioning is limited, and there is almost no work that compares UWB positioning and Wi-Fi RTT positioning in detail, as shown in Table 1. This paper compares the strengths and weaknesses of UWB and Wi-Fi RTT technologies, and provides a comprehensive survey regarding both UWB and Wi-Fi RTT positioning, from the signal characteristics of both signals, an overview of fundamental positioning principles, NLOS signal identification and error mitigation, to advanced positioning methodologies concerning enhanced positioning accuracy, continuity, and practical field deployment considerations. Finally, this paper outlines the prospective development of UWB- and Wi-Fi RTT-based high-precision positioning technologies. In this paper, we comprehensively delve into various aspects of high-precision indoor positioning technologies, with a specific focus on UWB and Wi-Fi RTT positioning. The key areas of exploration include:  
1. Comparative analysis of UWB and Wi-Fi RTT-based positioning: we first comparatively analyze the signal characteristics of UWB and Wi-Fi signals, which are the root cause of differences in performance such as bandwidth, multipath effects. 2.