For developers and advanced users, the driver offers several debugging interfaces.
Abstract—This paper presents a comprehensive analysis of the Samsung MSS (Modem SubSystem) version 3 device driver as implemented in Samsung Exynos-based Android devices. MSS v3 represents a significant evolution in mobile communication stack integration, managing 5G NR, LTE, and legacy network interfaces. We examine the driver’s architecture, memory management, power control, IPC mechanisms, and its role within the Android RIL (Radio Interface Layer). Performance benchmarks and security considerations are also discussed. samsung android modem device driver -mss ver.3-
The driver implements a lockless ring buffer (single consumer – AP, single producer – CP): For developers and advanced users, the driver offers
bool mss_v3_ring_write(struct mss_v3_ring *ring, void *data, size_t len)
u32 next_head = (ring->head + len) % ring->size;
if (next_head == ring->tail) return false; // full
memcpy(ring->buffer + ring->head, data, len);
wmb(); // write barrier
ring->head = next_head;
return true;
On CP interrupt, the driver reads all pending messages and dispatches to registered channel callbacks. On CP interrupt, the driver reads all pending