PROJECT OMEGA
AB-011 - CSI DECODING AND RECORDING
================================================

Date: November 27, 2026
Research stage: Alpha Beta
Intervention classification: CROSS-0
Method: Static source analysis and synthetic testing
HP connection: None
Actual CSI collected: None

1. RESEARCH OBJECTIVES
----------------------
- Establish CSI fragment and delivery structures.
- Investigate binary measurement encoding.
- Determine collector registration requirements.
- Develop a provisional scientific recording format.
- Validate lossless recording and mathematical analysis.
- Establish requirements for the future C++ collector.

2. METHODOLOGY
--------------
Reuse archived Linux v6.14 and Intel Core46
source files acquired during AB-007.

Core46 commit:
e75e5d40c66310106b1b19e63a577842c18d932e

Analysis program:
Source-Code\AB-011-Recording.py

Static source analysis was supplemented by
synthetic binary recording and mathematical tests.

3. QUANTITATIVE RESULTS
-----------------------
Candidate evidence lines: 127
Verified source files: 25
Unavailable source paths: 3
Synthetic records: 2
Synthetic complex measurements: 10
Actual CSI measurements: 0

Synthetic validation results:

Lossless byte round-trip: PASS
Amplitude calculation: PASS
Phase calculation: PASS
Corruption rejection: PASS
Zero-amplitude phase handling: PASS

4. DISCOVERY I - FIRMWARE FRAGMENT STRUCTURE
---------------------------------------------
Both sampled driver implementations contain:

struct iwl_csi_chunk_notification {
    __le32 token;
    __le16 seq;
    __le16 ctl;
    __le32 size;
    u8 data[];
} __packed;

Fixed header length: 12 bytes.

Field       Offset   Length
token       0        4
seq         4        2
ctl         6        2
size        8        4
data        12       Variable

Fixed numerical header fields use little-endian
encoding.

Source references:

Linux v6.14 fw/api/location.h:1854-1860
Core46 fw/api/location.h:948-954

This establishes the firmware fragment container,
not the encoding of the underlying complex CSI
measurement payload.

5. DISCOVERY II - NOTIFICATION VERSIONS
---------------------------------------
Version 1:

Chunk count mask: 0x0003
Chunk index mask: 0x000C

Version 2:

Chunk count mask: 0x00FF
Chunk index mask: 0xFF00

Both sampled implementations define:

IWL_CSI_MAX_EXPECTED_CHUNKS = 16

This is a driver constant and does not establish
the actual number of fragments per measurement.

The Core46 driver assembles fragments before
sending CSI data to user space.

6. DISCOVERY III - COLLECTOR REGISTRATION
-----------------------------------------
The driver stores the requesting application's
Netlink port identifier in mvm->csi_portid.

Evidence also indicates that this registration
can be cleared upon release of the relevant socket.

Source references:

mvm/vendor-cmd.c:92-93
mvm/vendor-cmd.c:1535-1545
mvm/vendor-cmd.c:1843-1886

The future OMEGA collector should:

- Maintain its registered Netlink socket.
- Re-register when necessary.
- Validate event identity and lengths.
- Preserve both CSI header and payload.
- Record host receipt timestamps.
- Track observable acquisition failures and drops.

7. DISCOVERY IV - ACTUAL CSI ENCODING
-------------------------------------
Three binary layers must remain distinct:

A. Firmware fragment structure.
B. Netlink event delivery structure.
C. Actual complex-valued CSI encoding.

Layer A is established in sampled source.
Layer B is partially established.
Layer C remains unresolved.

Outstanding dependencies:

- Numeric vendor command identifiers.
- Numeric vendor attribute identifiers.
- Actual CSI header field definitions.
- Numerical sample width and signedness.
- Actual measurement byte order.
- Subcarrier order and frequency mapping.
- Antenna and spatial-stream mapping.
- Radio timestamp interpretation.
- Phase correction and calibration.

Existing Intel 9260 research implementations
should be examined before undertaking original
reverse engineering.

8. SYNTHETIC MATHEMATICAL VALIDATION
------------------------------------
For a synthetic complex measurement:

H = I + iQ

Amplitude = sqrt(I^2 + Q^2)

Phase = atan2(Q,I)

Zero-amplitude phase is undefined.

The synthetic experiment validated positive and
negative components, multiple quadrants,
zero amplitude and extreme int16 values.

The synthetic encoding is an invented test format.
It must not be interpreted as evidence that actual
Intel 9260 measurements use that encoding.

Exact synthetic measurements and calculated
results remain preserved in the original files.

9. PROVISIONAL SCIENTIFIC RECORDING FORMAT
------------------------------------------
The proposed recording schema contains:

schema
origin
trial
sequence
host_monotonic_ns
header_b64
payload_b64
header_bytes
payload_bytes
header_sha256
payload_sha256

Base64 preserves the original binary data
losslessly within a structured text representation.

SHA256 hashes provide integrity checking.

Host receipt timestamps must not be confused
with radio timestamps.

Collector sequence numbers must not be confused
with wireless packet identifiers.

Synthetic and real measurements must remain
explicitly distinguished.

10. PROPOSED ACQUISITION ARCHITECTURE
-------------------------------------
Intel 9260 firmware
    |
CSI-enabled Linux driver
    |
Netlink vendor event
    |
OMEGA C++ collector on HP
    |
Immutable raw measurement archive
    |
Surface mathematical analysis
    |
Validated decoding and calibration
    |
Amplitude and phase analysis
    |
Future spatial inference

Raw measurement acquisition should not depend
on having a complete Intel-specific decoder.

Preserve original binary data first and perform
scientific interpretation separately.

11. SCIENTIFIC INTERPRETATION
------------------------------
AB-011 demonstrates the viability of the
provisional recording and mathematical pipeline
under the synthetic test conditions.

It does not demonstrate actual CSI acquisition
or validate Intel-specific measurement decoding.

This separation permits Beta Alpha to prioritize
obtaining and preserving real CSI measurements
before completing the physical interpretation.

Future decoding improvements may be applied
retrospectively to preserved raw observations.

12. LIMITATIONS
---------------
- No actual CSI acquired.
- No HP access.
- No driver compiled or installed.
- No firmware modified.
- Three original source paths unavailable.
- Exact Ubuntu build unverified.
- Active firmware capability bits unverified.
- Actual measurement encoding unresolved.
- Phase calibration unresolved.
- Sustained acquisition performance untested.
- Synthetic tests do not establish live compatibility.

13. EVIDENCE AND REPRODUCIBILITY
--------------------------------
Analysis\AB-011-20261127-165120-898523\
    AB-011-Recording-Report.txt
    AB-011-Format-Context.txt
    evidence.csv
    proposed-recording-schema.json
    synthetic-raw.jsonl
    synthetic-decoded.csv

Source-Code\AB-011-Recording.py

Raw-Data\AB-011-Evidence-Index.csv

Original source evidence remains under AB-007.

14. SCIENTIFIC CONCLUSION
--------------------------
AB-011 static investigation and synthetic
validation are complete.

Actual Intel 9260 decoding and acquisition
remain future research objectives.

Next investigation:

AB-012 - Beta Alpha Implementation Plan.

CROSS-0 maintained.
