WSIT WSIT-RG-6457

WSIT Reference Guide — Wi-Fi CSI Sleep Sensing Modules

Covers Wi-Fi CSI module procurement and integration: data access, platform-specific parsing, effective reception timing, antenna and room layouts, multi-person attribution, sleep outputs and overnight acceptance.

1. Module boundaries and the wireless sensing chain

1.1 What CSI measures

Wi-Fi channel state information (CSI) describes the complex channel response on individual subcarriers after a wireless signal has traversed its propagation paths. The receiver generally estimates CSI from training fields in received frames, providing amplitude, phase and reception metadata for each frame. RSSI is a coarser received-signal-strength indicator and does not replace subcarrier-level CSI.[1][2]

Human movement changes some propagation paths. Small thoracoabdominal movements during breathing may also produce extractable periodic changes. A receiver observes the combined channel formed by direct, static reflected and dynamic reflected paths; it does not directly record nasal or oral airflow, lung volume, brain electrical activity or oxygen saturation. Respiratory rate, movement and sleep labels derived from this channel are algorithmic outputs that require the target, link and processing conditions to be specified.[5][6]

This entry concerns dedicated components for research, manufacturing and supply chains, focusing on deliverable CSI acquisition, processing and interface units. A user-facing sleep respiration and movement monitor additionally includes deployment, accounts or a host, reporting and complete application validation. A movement-recognition algorithm is a processing method. These categories are related, but supplying a module does not transfer validation from a finished device or another algorithm.

1.2 Delivery scope and data access

A conventional Wi-Fi communication module can provide connectivity without exposing CSI. Support for a wireless protocol does not establish that its driver, firmware or host interface supplies the required data. Procurement should establish the exact chipset, module board, SDK and firmware versions, CSI controls, data access and validated operating modes, beyond checking that the product supports Wi-Fi.[1][4]

Delivery formWhat the supplier should specifyCapabilities remaining for the integrator
RF or MCU module exposing CSIRF chains, antennas, CSI format, driver and examplesCooperative transmission, timing, preprocessing and sleep algorithms
CSI acquisition nodeReception settings, filtering, queues, timestamps and data exportRoom layout, link stability and target interpretation
Module with algorithmsRaw or diagnostic data, quality states, model and parameter versionsBed assignment, product reporting and independent validation
Paired transmitter/receiver kitTransmitter, receiver, controls and compatibility listInstallation, coexistence, replication across rooms and maintenance

CSI extraction tools also have specific compatibility boundaries. Nexmon CSI lists chipset and firmware combinations and documents incompatible changes in its export format.[4] Retain the complete software combination rather than assuming that routers of the same brand, phones in the same family, or any connected module can directly export identical CSI.

1.3 Transmitter, receiver and Internet connectivity

Sensing requires observable wireless frames over time and corresponding reception capabilities. Map which endpoint transmits, which estimates CSI, where processing occurs, and whether Internet access or uploading uses the same RF chain. Where these functions share hardware, test the effects of application traffic, disconnection, channel changes and power-saving behavior on sensing.

Link arrangementDependencies to establishAcceptance concerns
Existing AP and CSI receiving nodeAP position, protocol, frame source and node associationTraffic lulls, reconnection and AP configuration changes
Dedicated transmitter and receiverTransmission control, link filtering, power and fixed mountingActual received timing and losses, beyond the transmission schedule
Multiple links or receiversChannels, clocks, antennas, target mapping and coordinationMissing links, synchronization, bed-partner attribution and fusion failures

Espressif's official examples include transmission, reception and acquisition using frames returned by a router.[3] They illustrate acquisition topologies rather than guaranteeing compatibility with every AP or validating a sleep algorithm. Check CSI acquisition and Internet reachability separately. Internet access does not establish valid sensing data; Internet loss need not stop acquisition when local frames and processing remain operational.

2. Data formats, reception timing and firmware implementation

2.1 Define a parser contract for the exact platform

Chipsets, PHY modes and training fields may produce different CSI lengths and subcarrier mappings. ESP32 documentation specifies real/imaginary ordering, fields such as LLTF and HT-LTF, and initial invalid-data flags. ESP32-C5 documentation additionally describes HT/VHT/HE configuration and validity information.[1][2] Sharing ESP-IDF does not justify using one fixed-length parser for every platform.

The following items belong in the module's data contract; confirm actual field names for its platform and version. For MAC or device addresses, distinguish the wireless source from the person being sensed. A source address does not by itself identify the sleeper.

Data itemRequired interface descriptionParsing and integration checks
Chipset and CSI formatChipset, SDK, format version, length and validity flagsReject incompatible lengths and data marked invalid
Subcarriers and training fieldsField categories, indices, ordering, reserved or invalid elementsDo not treat alignment padding, null subcarriers or invalid bytes as signals
Complex valuesReal/imaginary ordering, signedness, scaling and data typesCompare parsing with official examples and known arrays
Frame and link metadataSource, antenna or stream, bandwidth, channel and frame typeExclude unrelated links and frames with incompatible settings
Time and sequenceReception-time units, clock base, rollover, sequence and loss countersMidnight, restart, duplicates and export-queue backlog
Reception conditionsRSSI, available noise or gain information, state and configurationCheck whether magnitude jumps accompany reception or configuration changes

Supply samples covering valid and invalid data, different lengths and configurations, along with the exact parser version. Start a new record segment when configuration changes. Do not concatenate differently ordered arrays into an apparently continuous waveform. A hardware validity flag establishes particular acquisition conditions, not automatic suitability of that frame for respiratory estimation.

2.2 A transmission schedule is not effective sampling

Wi-Fi frame arrivals may be irregular. Medium contention, retries, power saving, application buffering and acquisition queues can change the actual CSI time series.[9] Report accepted frame counts, interval distributions, longest gaps and discard reasons. Specify transmission rate, valid CSI frame rate, resampling rate, analysis-window duration and result-update rate separately.

Define intervals between accepted receptions as Delta_t_i = t_i - t_(i-1). Here t_i comes from the declared reception clock, not the arrival time of serial or network batches at the host. This bookkeeping relationship checks timing without setting a universal sampling limit. Bursts and uniformly spaced receptions can have different implications for continuous sensing even at the same average frame rate.

If the algorithm interpolates irregular CSI onto a fixed time grid, retain original timestamps and gap labels. Declare the maximum fillable gap, method and conditions for withholding an output. Interpolation cannot turn long gaps into genuine measurements; smooth curves may reflect resampling and filtering. Align antenna or subcarrier fusion to the same frame or an explicit synchronization reference rather than pairing export records by row number.

2.3 Callbacks, queues and communication coexistence

ESP-IDF states that the CSI callback runs in the Wi-Fi task context and recommends avoiding lengthy processing and passing data through a queue to a lower-priority task.[1] Assess copying, queue capacity, overflow counters, host throughput and timestamp preservation. Blocking acquisition with full-window analysis, disk writes or uploads can lose data.

Test uploads, firmware updates, heavy traffic, idle power saving, AP restarts and module reassociation. If a platform cannot continuously produce CSI while disconnected or receiving too few frames, report invalid acquisition rather than filling in a zero respiratory rate. Check sensing buffers and network-traffic buffers separately, and deduplicate backfilled records using their original acquisition times.

3. Antennas and rooms define the observable region

3.1 Test sensing regions beyond network coverage

A good communication connection establishes suitability for a communication task. Observability of small respiratory changes additionally depends on geometry between the target and endpoints, reflected paths, antenna orientation, occlusion and selected features. FarSense and WiFi-Sleep use inter-antenna CSI ratios and amplitude/phase processing to address weak signals or blind spots.[5][6] Their structural prerequisites do not directly transfer to modules supplying only single-antenna amplitudes.

Installation drawings should record endpoint coordinates and height, antenna or enclosure orientation, bed position, target posture and major furniture. Establish the effective sensing region before assessing shifts and turns in bed. Communication may remain functional after moving an endpoint, bed or antenna enclosure even though the earlier sensing baseline no longer applies.

Room or usage changeWhat to observeRecords to retain
Bed position, endpoint height or antenna rotationAmplitude/phase features, weak regions and quality changesCoordinates, configuration ID, references and failed regions
Supine, lateral, prone and covered positionsPeriod extraction, movement exclusion and recovery from turningPosture labels, validity and recovery latency
Door operation, furniture movement or human occlusionBackground changes, feature drift or blind regionsRaw CSI and states before and after changes
Fans, oscillating objects and mechanical vibrationFalse periodicity, movement alarms and target confusionEmpty and occupied comparisons with equipment states
Bed partner, caregiver or adjacent-room activityMixed targets, incorrect attribution and interruptionsSeparate timed labels for targets and interferers
Heavy traffic, power saving or channel changesMissing frames, configuration boundaries and continuityReception intervals, gaps, channels and reinitialization

Installation acceptance should extend beyond a demonstration at one optimal position. Mark usable, unusable and untested regions, and state when retraining, initialization or layout adjustment is needed. If baseline collection is required, document the empty-room and occupied procedures and versions instead of describing them only as automatic calibration.

3.2 Multiple people and identity attribution

Multiple spectral peaks on a link affected by several moving targets do not necessarily correspond to multiple people. Harmonics, interference and processing artifacts can also produce peaks. Claims for two bed partners or multiple occupants should specify simultaneous capacity, spatial separation, link count, identity assignment and behavior when one person leaves.

MUSE-Fi exploits channel changes dominated by targets close to their respective devices and processes sparse multi-user traffic.[9] It illustrates one particular separation design. It does not establish that a single distant node can provide separate overnight reports for people sharing a bed. Obtain references for each person and include similar respiratory rates, one person turning, caregiver approach and targets exchanging positions.

4. Interpret channel features and sleep outputs in layers

4.1 Amplitude, phase and preprocessing

CSI amplitude and phase may change because of a person, but also because of receiver gain, frequency or sampling offsets, frame-boundary estimation and environmental changes. Specify the sequence of outlier removal, normalization, phase processing, subcarrier selection, filtering and fusion. Distinguish unprocessed CSI, cleaned data, derived features and final outputs.[5][6]

Inter-antenna ratios require corresponding antenna channels and pairing conditions; a second independent reception channel cannot be recovered from one channel without those measurements. Normalization can alter amplitude meaning, filtering can delay events, and resampling can conceal gaps. The sign, scale and phase of a respiratory-related curve need not match a respiration belt, and should not directly be labeled inhaled volume, exhaled volume or absolute chest displacement.

If only results are supplied, request quality and reason codes, installation states, traceable models and necessary diagnostic data. Identify whether processing runs on the module, host or cloud. Test output behavior without Internet connectivity, after failed updates and with incompatible model versions.

4.2 Establish a validity contract for each output

OutputMeaning to establishInformation retained by the host or report
Presence or bed occupancyPresence in a sensing region, or occupancy of a particular bedRegion, states, unknown values and departure events
MovementFeature variation, activity level, or a validated action categoryAnalysis interval, thresholds, reference labels and false alarms
Respiratory ratePeriod estimate extracted from accepted windowsUnits, window duration, quality, gaps and update time
Sleep stageModel inference within a declared label setClasses, PSG mapping, time resolution and model version
Respiratory events or other derived metricsA specific task validated for the complete systemEvent rules, populations, unknown states and evidence scope

A respiratory-like period does not establish that someone is asleep. Absence of a period alone does not establish bed exit or cessation of breathing. Distinguish motion contamination, mixed targets, missing frames and low observability. During invalid periods, do not present old values as current; mark filled or inferred results with their processing status.

Sleep staging requires reference labels and population validation. A four-class model merging N1 and N2 into light sleep must not be described as a five-class model distinguishing N1 and N2.[6] Respiratory-rate validation also does not replace apnea or hypopnea event validation. CSI export alone does not establish these application capabilities for a general RF module.

5. Acceptance, maintenance and evidence scope

5.1 Assess acquisition, sensing and sleep tasks separately

RF and data checks first establish stable collection, correct parsing and complete CSI export in target modes. Sensing checks then assess extraction of target movements or periodicity in the intended region. Overnight checks finally evaluate the declared physiological or sleep outputs. Simulated mechanical targets and short breathing experiments provide reproducible inputs, but do not replace natural sleep, multiple occupants or independent-room validation.

Assessment layerTest arrangementReport contents
Acquisition and interfacesSpecified configurations, sample parsing, load and disconnectionValid frames, gaps, error flags and discarded data
Position and movement sensingEmpty room, target-position grid, movement and interferenceDetection, false alarms, unknown regions and recovery time
Respiratory rateSynchronized task-appropriate references, such as beltsPaired error, bias, coverage and posture strata
Sleep or respiratory eventsTask-specific PSG and professional scoringClass or event results, participant-level splits and independent tests
Deployment and coexistenceNew rooms, endpoints, bed partners and network changesRoom-level differences, failures, gaps and reconfiguration

Report error and valid-data coverage together. Give planned recording duration, evaluable reference duration and paired duration with accepted module outputs separately. If only eight hours of a hypothetical ten-hour recording yield valid pairs, low paired-period error does not establish uninterrupted overnight performance. This 80% example illustrates denominators rather than specifying a module.

Separate training, tuning and testing by person, room or device configuration. Randomly splitting adjacent windows from one night into training and testing does not establish generalization across settings. Report overlap, smoothing, interpolation and clock alignment, and retain invalid periods. Real-time performance should include acquisition, analysis-window and transmission latency.

5.2 Recheck sensing conditions after maintenance

Maintain antennas, enclosures, power supplies and mounts according to product documentation. After replacing an antenna, moving nodes, rearranging furniture or shifting the bed, check formats, links, target regions and output quality. Reconnection alone does not establish restored sensing. For products requiring local training, record the target, time, background conditions and parameter version.

For an overnight data failure, inspect transmission, reception, CSI enablement, parsing, queues, algorithms, upload and reporting in sequence. When CSI exists but respiratory estimates are invalid, examine geometry, movement, quality thresholds and model settings. When no valid frames exist, first repair acquisition. Recovery records should include configurations before and after the intervention, longest gaps, backfill state and functional checks.

5.3 Lock production configurations and verify changes

ChangePotentially affected behaviorEvidence to revisit
Chipset, driver, SDK or firmwareCSI enablement, field lengths, scaling and callbacksSamples, parser version, throughput and error states
Antenna, enclosure, RF or power designChannel features, reception and effective regionTarget layouts, empty-room interference and posture matrix
Transmission, power saving, protocol or channel settingsValid frame rate, gaps, coexistence and timingReception-interval distribution, disconnection and traffic loads
Preprocessing, features, model or thresholdsPeriodicity, movement, validity and latencyLocked test sets, independent rooms and overnight references
Host, cloud or report processingDeduplication, gaps, identity and version interpretationBackfill, restart, incompatible models and historical displays

Factory and procurement packages should include transmission/reception topology, hardware and firmware lists, installation drawings, the CSI parsing contract, sample data, state definitions, diagnostics and validation configurations. Each claimed metric should map to a target, reference, denominator and software version in the report, beyond a table labeled accuracy.

5.4 Different roles of research evidence

EvidenceObservation relevant to this entryRetained boundary
FarSense, 2019 [5]Structural prerequisites for two-receiver-antenna ratios and amplitude/phase processingPaper-specific distances and parameters do not specify arbitrary modules
WiFi-Sleep, 2021 [6]Twelve people, nineteen nights, PSG-based four-class staging and participant-separated training/testingA bedroom-like laboratory setup does not establish all homes or disease populations
Serene author manuscript [7]Natural bedroom recording from five people in five apartments for over eighty nightsBreathing/movement references were radar, not direct PSG validation in this study
BreatheSmart, 2022 [8]Repeatable experiments with a controlled breathing manikinIts reflectivity and simulated patterns do not replace clinical event validation
MUSE-Fi, 2023 [9]Devices near targets, multi-user traffic and separation designNot overnight staging of bed partners using one distant node

Interface documentation establishes integration capabilities, controlled experiments characterize channel response, and overnight research evaluates specific tasks. Application validation should retain hardware, antennas, frame modes, layout, processing and references. Changes across these conditions require a defined assessment beyond being described merely as a module replacement.

6. Sources

Official documents specify their platform and version. Development examples and research do not establish supplier-model certification or universal parameters. Tables and acceptance suggestions are organized around this entry's integration tasks.

[1] Espressif: ESP32 Wi-Fi Vendor Features. CSI definition, platform fields and callback constraints. The latest page can change; retain the actual production SDK version.

[2] Espressif: ESP32-C5 Wi-Fi Vendor Features, ESP-IDF v6.0. Modes, training fields and validity examples; not a parser specification for other chipsets.

[3] Espressif: official esp-csi project. Transmission, reception and router-based examples; demonstrations or promotional capabilities are not adopted as sleep validation.

[4] SEEMOO: Nexmon CSI project. Chipset, firmware and export compatibility; documentation was inspected without installation, flashing or acquisition.

[5] Zeng et al.: FarSense (2019). Author research manuscript on two-antenna ratios and sensing structures; distances are not universal module specifications.

[6] Yu et al.: WiFi-Sleep (2021). Author-hosted IEEE IoT Journal paper; PSG-based four-class staging and participant-separated evaluation, limited to its complete setup.

[7] Ali et al.: Serene natural-environment sleep monitoring manuscript. Natural bedroom recordings with radar references; external radar validation does not become PSG evidence for this Wi-Fi experiment.

[8] Mosleh et al.: BreatheSmart (2022). NIST-hosted primary paper using breathing-manikin experiments; simulated classification is not overnight patient diagnosis.

[9] MUSE-Fi (2023). Author research manuscript on near-target devices and multi-user traffic; retain deployment prerequisites and data-recovery methods in performance reports.

- This guide is a reference document under the World Sleep Industry Technology System (WSIT), intended for sleep industry professionals worldwide. It does not constitute certification, recommendation or endorsement of any product or service, and does not replace the laws, regulations or regulatory requirements applicable where a business operates. - Regulatory requirements for consumer electrical appliances vary across countries and regions. Product development, manufacturing, labeling, claims and sales must comply with the regulations applicable where a business operates. - Specific technical parameters, functions and instructions for use are subject to the product’s actual instruction manual and the currently effective regulations applicable where a business operates. © 2026 World Sleep Center. All rights reserved. [worldsleep.com](https://worldsleep.com) When citing this guide, include Document ID WSIT-RG-6457 and version V1.0.