Files
mu300-linux/upstream/modules
Abdurrahman Kaan DikeçandClaude Opus 5 cf13697408 sipa: trace the receive path, and what it shows
Counters in the accelerator's receive path, behind dynamic_debug so they cost
nothing until asked for:

  echo 'module sipa_core +p' > /sys/kernel/debug/dynamic_debug/control

What it shows is the sharpest statement of the problem so far. With the data
call fully established - registered, context active, CGDATA answered CONNECT,
sipa_eth0 configured with the address the network gave us - a ping produces
five more sipa interrupts (11 -> 16, the transmit completions) and **not one
receive event**: sipa_receiver_notify_cb is never called, so nothing is lost in
our dispatch, the modem simply never sends anything to the AP.

Also ruled out today: the kernel config. Our SIPA/SIPC/SFP options are
identical to the ones in Android's own /proc/config.gz.

One structural difference is left and not yet tested properly: Android's RIL
holds six AT channels open at once (/dev/stty_nr0 through nr5) and issues the
data call on one of them, where we drive everything through a single channel.
An attempt to hold a second channel open across CGDATA was inconclusive - the
query right after CGDATA returned nothing, so the interface never got
configured in that run.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Z17MBkdHmZPvNPNSLxcHk
2026-09-20 16:40:36 +03:00
..