Commit Graph
2 Commits
Author SHA1 Message Date
Abdurrahman Kaan DikeçandClaude Opus 5.5 217dc27340 kernel 5.4: enable CONFIG_NFT_QUEUE (#169)
The nft "queue" statement was missing on the vendor 5.4 kernel
(NETFILTER_NETLINK_QUEUE=y, NFT_QUEUE not set), so the nftables mode of
sing-box based proxies on OpenWrt fell back to TUN. OpenWrt's
kmod-nft-queue is built for its own 6.12 kernel and cannot load here.

Built in, like every other CONFIG_NFT_* of the fragment (5.4 has all of
nf_tables built in), so there is no module to package or load. Its only
dependencies, NF_TABLES and NETFILTER_NETLINK_QUEUE, are already =y.
kernel/linux.config (the config the build writes back) gets the same
line by hand; the next build rewrites it.

Not built here: the v2026.10.23 release build validates it
(fragment-rejected.txt must not list NFT_QUEUE). The mainline kernels
already have NFT_QUEUE=m.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE
2026-10-12 17:31:29 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5 60a0f9bf72 A virtual sound card, and make the AT channel resynchronise
**Audio.** The board has no speaker path, so there is no card at all - and
software that insists on an ALSA device (a SIP gateway running on the device,
for instance) cannot start. The stock config leaves CONFIG_SND_DRIVERS off,
which is what gates the generic cards, so the fragment turns it on and builds
snd-aloop and snd-dummy as modules. extra-modules loads snd-aloop when it is
present. On the device that gives card 0 "Loopback" with two PCM devices of
eight substreams each: write to hw:0,0 and the same audio comes back on hw:0,1,
which is what a call bridge needs. It carries no cellular voice by itself - the
AGDSP path in FINDINGS 24 is still the job for that.

**AT resync.** This modem answers AT+CGACT and AT+CGDATA with "^ORIG: <cid>,<n>"
first and OK or CONNECT ten to twenty seconds later. When a command times out,
that late answer arrives after we have stopped listening and the next command
reads it instead of its own - and from then on every reply is one behind, which
looks exactly like a dead channel. mu300-atd now drains for up to 25 s after a
timeout, so the stale answer is thrown away before anything new is asked.

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