Design and empirical validation of a stock-Android software architecture for Wi-Fi Direct multi-group communication
Pith reviewed 2026-05-10 18:11 UTC · model grok-4.3
The pith
Stock Android can support multi-group Wi-Fi Direct communication through an application-level architecture that coordinates relays and forwarding without OS changes or rooting.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
The authors present SWARNET as a layered software architecture that realizes multi-group Wi-Fi Direct communication on stock Android by combining a Flutter application layer, a Kotlin native networking layer, interface-bound P2P and legacy-Wi-Fi sockets, relay-state management, and subscription-based forwarding tables. The design keeps all coordination at the application level to preserve forwarding-state consistency. Evaluation on five stock Samsung Galaxy A10s devices in four scenarios confirmed the artifact remained operational, with measured peak receiver throughputs of approximately 19.7 Mbit/s in the two-device single-group case, 17.9 Mbit/s in three-device single-group, 16.1 Mbit/s in
What carries the argument
SWARNET layered architecture using relay-state management and subscription-based forwarding tables to coordinate interface-specific transport contexts and relay roles entirely at the application level.
If this is right
- Developers gain a concrete way to implement multi-group Wi-Fi Direct apps on non-rooted Android 11 devices.
- The system remains operational from simple single-group to complex three-group forwarding without modification.
- Throughput decreases gradually with added forwarding complexity but stays functional at 16 Mbit/s or higher in the tested cases.
- Packet loss stays below 20 percent except in the highest-load three-group region, indicating manageable overhead.
- The architecture demonstrates feasibility in a small static testbed without requiring operating-system changes.
Where Pith is reading between the lines
- Similar application-level coordination could address other peer-to-peer limits in mobile operating systems that lack multi-interface support.
- The design opens paths for decentralized mobile apps such as local file sharing or mesh messaging without custom hardware.
- Extending tests to dynamic group changes and larger device counts would clarify how far the consistency mechanisms scale.
Load-bearing premise
Relay-state management and subscription-based forwarding tables can maintain consistency across multiple groups without any OS-level support, assuming stable device behavior on stock Android 11.
What would settle it
A run of the architecture on stock Android 11 devices that shows loss of forwarding consistency, dropped multi-group connections, or inability to sustain relay roles in the tested scenarios would disprove feasibility.
Figures
read the original abstract
Context: Stock Android exposes Wi-Fi Direct peer-to-peer APIs, but it does not provide application-transparent communication across multiple Wi-Fi Direct groups. For developers working on non-rooted devices, the main obstacle is architectural: interface-specific transport contexts, relay roles, and forwarding state must be coordinated entirely at application level. Objectives: This paper investigates whether multi-group Wi-Fi Direct communication can be realized as a stock-Android software architecture while preserving forwarding-state consistency and remaining compatible with Android 11 devices without rooting or operating-system modification. Methods: We design SWARNET, a layered artifact composed of a Flutter application layer, a Kotlin native networking layer, interface-bound P2P and legacy-Wi-Fi sockets, relay-state management, and subscription-based forwarding tables. We evaluate the implemented artifact on five stock Samsung Galaxy A10s smartphones across four single-group and multi-group scenarios using archived throughput and packet-loss measurements. Results: The artifact remained operational in all four scenarios. Peak receiver throughput observed from the archived curves was approximately 19.7~Mbit/s in 2d1g, 17.9~Mbit/s in 3d1g, 16.1~Mbit/s in 4d2g, and 16.0~Mbit/s in 5d3g. Packet loss increased with forwarding complexity, reaching about 19--20\% only in the highest-load region of the three-group case. Conclusion: The contribution is an implementable software architecture and a feasibility study showing that stock-Android multi-group Wi-Fi Direct communication can be engineered at application level on non-rooted devices. The results support architectural feasibility in a small static testbed; they do not establish broad resilience, scalability, or deployment readiness.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The manuscript presents SWARNET, a layered stock-Android architecture (Flutter application layer, Kotlin networking, interface-bound P2P/legacy sockets, relay-state management, and subscription-based forwarding tables) to enable multi-group Wi-Fi Direct communication without rooting or OS changes. It reports an empirical evaluation on five Samsung Galaxy A10s devices across four scenarios (2d1g, 3d1g, 4d2g, 5d3g), claiming the artifact remained operational with peak receiver throughputs of approximately 19.7 Mbit/s down to 16.0 Mbit/s and packet loss reaching 19-20% only in the highest-load three-group case.
Significance. If the central feasibility claim holds under broader conditions, the work offers a concrete, implementable application-level solution to a documented limitation in Android's Wi-Fi Direct APIs. The use of a real-device artifact with archived throughput and loss measurements provides tangible evidence of practicality in small static settings, which could benefit developers of ad-hoc mobile networks.
major comments (3)
- Evaluation/Results: The reported peak throughputs (19.7 Mbit/s in 2d1g to 16.0 Mbit/s in 5d3g) and packet-loss figures are given as approximate values extracted from archived curves without error bars, number of trials, standard deviations, or raw data, which limits assessment of measurement reliability and variability.
- Methods and architecture description: The claim that relay-state management and subscription-based forwarding tables maintain consistency across multiple groups rests on the assumption of stable device behavior, but the evaluation provides no explicit verification (e.g., consistency checks, race-condition tests, or long-running runs) beyond noting operational success in static scenarios; this leaves open the risk of nondeterministic state from Android's single-group P2P semantics.
- Evaluation setup: All tests are confined to a five-device static testbed with no dynamic group formation, mobility, or extended-duration consistency validation, which is insufficient to support the broader architectural feasibility conclusion for multi-group forwarding.
minor comments (1)
- Abstract: The notation '19.7~Mbit/s' is unclear; replace the tilde with 'approximately' or define it explicitly.
Simulated Author's Rebuttal
We thank the referee for the constructive and detailed feedback on our manuscript. We address each major comment point by point below, providing clarifications on the presented evidence and indicating revisions that will be incorporated to strengthen the description of results, methods, and evaluation scope.
read point-by-point responses
-
Referee: Evaluation/Results: The reported peak throughputs (19.7 Mbit/s in 2d1g to 16.0 Mbit/s in 5d3g) and packet-loss figures are given as approximate values extracted from archived curves without error bars, number of trials, standard deviations, or raw data, which limits assessment of measurement reliability and variability.
Authors: We appreciate the referee highlighting this limitation in the presentation of results. The peak values were derived from archived measurement curves obtained across multiple experimental runs per scenario. In the revised manuscript, we will explicitly report the number of trials conducted, add error bars or standard deviations to the throughput and packet-loss figures, and make the raw data available via a public repository to enable independent assessment of reliability and variability. revision: yes
-
Referee: Methods and architecture description: The claim that relay-state management and subscription-based forwarding tables maintain consistency across multiple groups rests on the assumption of stable device behavior, but the evaluation provides no explicit verification (e.g., consistency checks, race-condition tests, or long-running runs) beyond noting operational success in static scenarios; this leaves open the risk of nondeterministic state from Android's single-group P2P semantics.
Authors: We agree that explicit verification of state consistency would strengthen the claims. The current evaluation demonstrated operational success in static multi-group scenarios without observed inconsistencies, relying on the subscription-based forwarding tables to coordinate relay roles. In the revision, we will expand the methods section to describe the consistency mechanisms in greater detail and include any checks performed during the experiments (such as periodic validation of forwarding tables). We will also acknowledge the potential for nondeterminism arising from Android's P2P semantics and note extended consistency testing as future work. revision: yes
-
Referee: Evaluation setup: All tests are confined to a five-device static testbed with no dynamic group formation, mobility, or extended-duration consistency validation, which is insufficient to support the broader architectural feasibility conclusion for multi-group forwarding.
Authors: We concur that the evaluation is limited to a static five-device testbed. However, the manuscript conclusion already explicitly scopes the claims to feasibility in a small static testbed and states that the results do not establish broad resilience, scalability, or deployment readiness. In the revision, we will further emphasize these limitations in the evaluation and conclusion sections, clarify the distinction between architectural feasibility and broader operational claims, and outline dynamic group formation and mobility as directions for future work. revision: yes
Circularity Check
No circularity: empirical implementation and measurement study
full rationale
The paper presents the design of SWARNET as a layered application-level architecture (Flutter + Kotlin sockets, relay-state management, subscription tables) and reports direct empirical measurements of throughput and packet loss from running the implemented artifact on five physical stock Android devices across four static scenarios. No mathematical derivations, equations, fitted parameters, or predictions appear in the provided text. The central claim of operational feasibility rests on observed device behavior rather than any reduction to inputs by construction, self-citation chains, or renamed known results. Self-citations are absent from the load-bearing sections. This is a standard honest empirical systems paper with no circularity.
Axiom & Free-Parameter Ledger
axioms (2)
- domain assumption Stock Android Wi-Fi Direct APIs can be used at application level for peer-to-peer without rooting.
- domain assumption Relay roles and forwarding state can be coordinated entirely at application level.
Reference graph
Works this paper leans on
-
[1]
Wi -Fi Direct (peer -to-peer or P2P) overview,
Android Developers, “Wi -Fi Direct (peer -to-peer or P2P) overview,” 2026. [Online]. Available: https://developer.android.com/develop/ connectivity/wifi/wifip2p
work page 2026
-
[2]
Create P2P connections with Wi -Fi Direct,
Android Developers, “Create P2P connections with Wi -Fi Direct,” 2026. [Online]. Available: https://developer.android.com/develop/ connectivity/wifi/wifi-direct
work page 2026
-
[3]
M. Di Felice, L. Bedogni, and L. Bononi, “The Emergency Direct Mobile App: Safety message dissemination over a multi -group network of smartphones 22 using Wi -Fi Direct,” in Proceedings of the 14th ACM International Symposium on Mobility Management and Wireless Access , 2016, pp. 99 – 106
work page 2016
-
[4]
Supporting multi -hop device- to-device networks through WiFi Direct multi -group networking,
C. Funai, C. Tapparello, and W. Heinzelman, “Supporting multi -hop device- to-device networks through WiFi Direct multi -group networking,” arXiv:1601.00028, 2015
-
[5]
Content-centric routing in Wi-Fi Direct multi-group networks,
C. Casetti, C. -F. Chiasserini, L. Curto Pelle, C. Del Valle, Y . Duan, and P . Giaccone, “Content-centric routing in Wi-Fi Direct multi-group networks,” in 2015 IEEE 16th International Symposium on a World of Wireless, Mobile and Multimedia Networks (WoWMoM), 2015, pp. 1–9
work page 2015
-
[6]
Group -to-group bidirectional Wi -Fi Direct communication with two relay nodes,
A. Teófilo, D. Remédios, H. Paulino, and J. Lourenço, “Group -to-group bidirectional Wi -Fi Direct communication with two relay nodes,” in Proceedings of the 12th EAI International Conference on Mobile and Ubiquitous Systems: Computing, Networking and Services , 2015, pp. 275 – 276
work page 2015
-
[7]
Android 6.0 changes: Access to hardware identifiers,
Android Developers, “Android 6.0 changes: Access to hardware identifiers,”
-
[8]
Available: https://developer.android.com/ about/versions/marshmallow/android-6.0-changes
[Online]. Available: https://developer.android.com/ about/versions/marshmallow/android-6.0-changes
-
[9]
ConnectivityManager.bindProcessToNetwork(Network),
Android Developers, “ConnectivityManager.bindProcessToNetwork(Network),” 2026. [Online]. Available: https://developer.android.com/reference/android/net/ ConnectivityManager
work page 2026
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.