decomp(aterm): match DiscoverAccessPoints, BuildAssociationRequest, RunConfigProtocol #1310
Reference in New Issue
Block a user
Delete Branch "agent/w0929/o2-aterm-land"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
worker 228733c3. instruction-exact functions: 25/26 gate: 0 regressions, 0 forbidden, 0 readability, dol sha1 26116613f624061ba99c8d1a299aaa6efa85670d
Graphify reviewed this change.
Worth a look — the grounded gate found no coupling regressions or blocking issues, but 4 advisory finding(s) below merit a look before merge.
Graphify review — findings
Refactors the ATERM setup code around SDK-style inline helpers.
atermGetFrameData,atermGetCommandElementandatermGetElementDatanow handle frame checksum validation, command matching, optional AES unwrap and option walking, whileatermSleep,atermSendNotifyandatermSendFrameViaInterface(which broadcasts to port 0xE601 and maps send failures to -4) replace the old wait and append helpers. Hex encoding is consolidated into a singleatermFormatHexByteused by both MAC formatting and WEP key parsing, and the scan loop indexes records directly through the newAtermScanBufferinstead of advancing parallel cursors.Worth a look
src/scene/setting/ATERM.c:1432· Escalate · mediumsrc/scene/setting/ATERM.c:1660· Escalate · mediumsrc/scene/setting/ATERM.c· Escalate · medium · 2 independent checkssrc/scene/setting/ATERM.c:1404· Escalate · medium · 2 independent checksAnalysis details — impact, health, verification
Impact & health
Graphify review
Impact — 63 functions depend on the 63 functions this change touches.
Health — this change adds coupling hotspots:
ATERMRunConfigProtocol()— 1 callers, 24 calleesVerification — 63 functions in the blast radius were not formally verified this run (proofs are advisory here).
Gate & verification
graphify gate
PASS — objectively clean (no health regressions, tests not run — proofs not run this pass (advisory)). Grounded, not self-assessed.
Advisory (not blocking):
· 1 grounded finding(s) anchored inline below.
⚠️ Health regression —
ATERMRunConfigProtocol()fans out to 24 callees (efferent coupling).
Grounded coupling-delta finding (deterministic), not an LLM guess.