Introduction
While modern society relies heavily on cellular and Wi-Fi infrastructure, these networks are prone to failure during natural disasters or congestion in high-density environments like stadiums. Device-to-Device (D2D) technologies, particularly Wi-Fi Direct (WFD), offer a promising alternative for infrastructure-less communication. However, standard implementations, especially on Android, suffer from significant limitations: Group Members (GMs) cannot easily discover each other's IP addresses, and there is no native support for inter-group communication. Furthermore, node mobility often leads to unstable connections and "ping-pong" effects in handover.
System Architecture
To address these challenges, this paper proposes a bottom-up architecture designed to transform isolated WFD groups into a cohesive, multi-hop network.
Intra-group and Inter-group Connectivity
The system enhances intra-group communication through a broadcast-based member discovery mechanism. The Group Owner (GO) monitors join/leave events and broadcasts updated member lists (IP and MAC addresses) to all GMs, enabling direct peer-to-peer communication within the group.
For inter-group connectivity, the authors introduce a "Legacy Client/Group Owner" (LC/GO) connection schema. This allows a single device to serve as a "Gateway Node" by maintaining a P2P connection as a GO in one group while simultaneously connecting to another group's GO as a standard Wi-Fi "Legacy Client."
Routing and Handover
Because standard routing protocols do not natively support these virtual interfaces, a custom application-layer forwarding engine was developed. This engine utilizes TCP unicast and a "Member Tree" structure to route packets across multiple hops. To manage node mobility, the system employs a Fuzzy Logic-based Normalized Quantitative Decision (FNQD) engine. By using the Fuzzy Analytic Hierarchy Process (FAHP), the system evaluates multiple variables—RSSI, load balance, available bandwidth, and remaining power—to make more stable handover decisions than traditional rigid threshold-based methods.
Performance Evaluation
The system was evaluated using a real-world testbed of 13 Android devices (running Android 6.0/7.0) and custom simulations.
Key Results
- Throughput: The system achieved a peak intra-group throughput of 31.7 Mbps. Inter-group (multi-hop) communication reached a maximum goodput of 4.76 Mbps.
- Latency: Intra-group delay was approximately 123 ms for a single hop, increasing to roughly 785 ms for a 5-hop path.
- Handover Stability: The FAHP+FNQD algorithm significantly reduced unnecessary handovers—from 20 down to 5 in simulation cycles—effectively mitigating the "ping-pong" effect.
- Reliability: While UDP provided higher raw throughput, it experienced packet loss up to 43% under heavy load. Consequently, TCP was selected for inter-group forwarding to ensure multi-hop reliability.
Conclusion and Future Work
This implementation demonstrates that WFD can support robust, multi-hop local networks by exploiting virtual interfaces and intelligent handover logic. However, performance remains sensitive to environmental interference, with high-density scenarios significantly reducing throughput. Future research will focus on Wi-Fi channel coordination to mitigate collisions and session migration protocols to ensure seamless data transfers during handovers.
Summary updated