Brytalearn.How things workFind something
Wi-Fi, wireless signals, game lag and latency Feedback on this lesson
INTERACTIVE EXPLANATION

Why does my game lag in this room?

Press jump on an original game, open the room around it, and discover where a reply spends its time. Share the radio with a tablet, inspect tiny waiting intervals, and compare a teaching signal model with real laboratory evidence.

Enable JavaScript to change the conditions and run the interactive experiment.

Make a discovery

A strong signal tells only part of the story. A small game message can wait while the radio is busy, while an access point serves an earlier job, or while work happens elsewhere. Signal strength, delivery rate and response delay measure different things.

  • Distinguish reception quality, delivery rate and response delay.
  • Explain why a small message can wait behind a larger job.
  • Compare the same amount of information sent in different radio modes.
  • Separate radio transmission, idle checks, backoff and acknowledgments.
  • Distinguish a paused countdown from a failed-frame retry.
  • Explain why two radio paths can add or partly cancel at one receiver.
  • Read a material experiment without treating it as a home-network prediction.
  • Design an A → B → A comparison and report variation.

Make a prediction

The laptop signal stays strong, but a slower tablet transmission delays the reply. What changed?

  • The speed of light in the room
  • Time spent serving an earlier job
  • The laptop’s distance from the router
Read the explanation

Keep the laptop’s conditions fixed and inspect the access-point queue. Longer service for the same earlier data can increase the reply’s waiting time.

Understand it

Make one move

A button press becomes work for a device. In our game an outline can move using local prediction before the reply arrives. Filling the robot marks a received reply; it does not reproduce a real game’s full server simulation.

Find a turn on the radio

Devices share a radio medium. In the selected access method, a station checks for an idle interval and counts down before transmitting. Recognizable traffic can make it wait; simultaneous uncoordinated interference is a different experiment.

Sending the same bytes can take longer

The selected radio modes carry different numbers of bits per data symbol. A slower transmission uses more time for the same complete frame. That does not mean its electromagnetic wave travels more slowly.

An earlier job can keep a reply waiting

Our access point has a prepared burst of tablet-download frames ahead of a game reply. The laptop’s selected reception can stay the same while the access point needs more time to finish those transmissions.

Receiving data and acknowledging it differ

The reply’s data reaches the laptop before its MAC acknowledgment finishes. A short reply gap and a separate ACK follow. The reply-time metric and complete-exchange time therefore have different endpoints.

The room can change reception

Distance, obstructions, antennas and multiple paths affect the received signal. Our simple room holds antennas and transmit power fixed, and adds declared losses for selected model screens. It does not measure your home.

Two arrivals can combine differently

At one receiver, the direct and reflected fields add. Their relative phase can strengthen or weaken the combined signal. The two-path inset exposes that sum, independently of the simpler room calculation.

A useful measurement has a specific meaning

A material-transmission experiment, a signal indicator and a game-reported reply time answer different questions. Keep the apparatus, reference, units, endpoints and conditions attached to the number.

Look closer at the science

A precise but bounded radio example

The timing lens uses legacy 5 GHz, 20 MHz, non-HT OFDM: 20 µs of preamble/header, whole 4 µs data symbols, 16 SERVICE bits and six tail bits. T = 20 + 4 ceil[(16 + 8L + 6)/(4R)] µs for complete PSDU length L bytes and selected data-field rate R Mb/s. No aggregation, RTS/CTS or multi-user scheduling is modeled.

A source-checked exchange

For 200 complete frame bytes at 24 Mb/s, the PPDU is 88 µs. A 34 µs DIFS and seven realized 9 µs backoff slots precede it. Data reception occurs at 185 µs; a 16 µs SIFS and a 14-byte ACK at the selected 6 Mb/s basic rate extend completion to 245 µs. Seven is a chosen draw, not the mean of 0–15.

The queue calculation has a declared workload

Each prepared 1500-byte background frame occupies 401 µs of exchange/service time at 54 Mb/s, or 2181 µs at 6 Mb/s. Twenty frames therefore add 8.020 or 43.620 ms of waiting. The quiet reply takes 30.430 ms with the selected 30 ms external term; those two workloads give 38.450 and 74.050 ms.

Press-to-display and model reply are not interchangeable

The displayed reply metric runs from request radio eligibility to response DATA reception. The authored relay forwards the request after its MAC exchange completes. Two selected 8 ms local handling terms give the separately labeled press-to-display result. These are not an observed ICMP RTT or actual game benchmarks.

Free-space propagation and a room assumption

For the stated far-field isotropic comparison, loss is 20 log₁₀(4πdf/c). At 5 m and 5 GHz it is about 60.41 dB. With 20 dBm transmit power and zero antenna gains the received value is −40.41 dBm. Each intersected model screen adds an authored 8 dB, not a published material coefficient.

Logarithmic power needs care

Convert noise and simultaneous interference from dBm to milliwatts before adding: P(mW) = 10^(dBm/10). Divide the desired power by their sum to obtain SINR. A recognized competing Wi-Fi transmission that makes a station defer is not automatically an additive interferer during its own data frame.

A teaching receiver is not a chipset specification

Optional automatic mode selection uses authored thresholds: 8, 18 and 26 dB allow 6, 24 and 54 Mb/s. Below 8 dB it reports no supported mode. Real receivers have error probabilities, frame-length effects, rate adaptation and hardware differences omitted here.

Field amplitude is not power

For normalized direct amplitude 1 and reflected amplitude a, H = 1 + a exp(iφ). Relative power is |H|² = 1 + a² + 2a cosφ. At a = 0.5, in-phase, quarter-turn and opposed cases give 2.25, 1.25 and 0.25. This is a point comparison, not creation or disappearance of total field energy.

The wavelength comparison has a condition

At 5 GHz the vacuum wavelength is 0.059958492 m. A half-wavelength change in path-length difference adds π to propagation phase. Moving a receiver half a wavelength does not necessarily change the path-length difference by that amount. Wideband links and additional paths require a richer channel model.

A published fit is not raw data

The D50H curve reconstructs NISTIR 6055 Table 4.13d coefficients for nominal 13 mm drywall, only from 3 to 8 GHz. At 5 GHz it is about +0.21 dB relative to the experimental free-space reference. A positive reference-normalized receiver value does not imply a passive panel generates energy. It is not substituted for the model-room screens.

Wi-Fi evolved beyond this one exchange

The 1999 IEEE working-group record described 5 GHz OFDM with multiple rates. Current Wi-Fi models also include coordinated multi-user scheduling and OFDMA. OFDM tones are not automatically separate users. Our legacy timing lens remains a selected operating example, rather than a claim about every current device.

A brief burst is not necessarily bufferbloat

The prepared queue here eventually empties. A persistent standing queue can add delay without increasing the useful delivery rate; this motivates queue-management methods such as CoDel. This lesson does not implement CoDel or claim every burst is pathological.

Where this is used

Games and video calls

Look for reception, access time, queues and delays elsewhere. One speed number or full signal bars does not identify the cause of a late reply.

Compare a position change fairly

Use the same device and already available metric at A, B and A again. Returning to A helps reveal changes over time.

Read engineering evidence

Ask what the apparatus measured and which assumptions connect that quantity to your question. A precise formula is not automatically a calibrated home predictor.

Try it yourself: Who owns the next moment?

Supplies

  • Paper and a pencil
  • A strip of paper with twenty squares
  • One small game marker or a drawn G
  • A second color for background turns
  • Optional existing device with an already available signal or game-statistics display
  1. Prepare the strip

    Draw twenty equal squares and a G marker for one game turn. Each square is a teaching time unit, not a real microsecond. Predict whether the smallest job must always finish first.

  2. Put an earlier job ahead

    Shade eight squares for one earlier background job, then one square for the game turn. Count eight waiting plus one own turn: nine units until the game turn is complete.

  3. Change only the earlier service time

    Replace the same background job with a two-square turn. Keep the game turn one square. Count three units, then remove the background job and count one. Explain which part changed.

  4. Freeze a countdown

    Draw seven countdown boxes. Cross off two, insert a radio-busy card, then add an idle-check card. Resume the five remaining boxes. Do not redraw seven just because the medium was busy.

  5. Optional: observe A, B, then A

    With an adult, pick two accessible places using the same existing device, orientation and application. Record five naturally available observations per place at the same interval. Label whether each is signal or reported reply time; do not mix them into one score.

  6. Report variation and a bounded conclusion

    Record the smallest, middle and largest values and sample size. If the two A sets differ, conditions may have changed over time. Finish “I observed…” and “This does not establish…” Nothing changing is a valid result.

Can a tiny turn spend most of its time waiting?

The paper version needs no device or network access. For an optional household observation, use a familiar device with an adult. Do not change router settings, disrupt someone’s work, move heavy equipment or start a stress test. Keep actual home maps, network names, addresses and device identifiers off the website.

Check your understanding

Signal bars stay full, but the model reply gets later with a tablet download. What changed?

  • The radio wave slowed down
  • Time waiting for earlier AP transmissions
  • The carrier frequency changed
Answer and explanation

Time waiting for earlier AP transmissions Reception was held fixed while the prepared queue took more service time.

Moving from 5 m to 10 m adds about 17 ns of direct radio flight. Can that alone explain 20 ms of extra lag?

  • Yes
  • No
  • The signal always stops at 5 m
Answer and explanation

No A nanosecond is a billionth of a second. Lower reception can affect other mechanisms, but this tiny direct-flight change is not 20 ms.

Two networks have different names but use the same radio channel. Must they be independent?

  • Yes; names create separate frequencies
  • No; they may share airtime or interfere
  • The longer name goes first
Answer and explanation

No; they may share airtime or interfere A network name does not reserve a private frequency.

The same complete 1500-byte frame changes from 54 to 6 Mb/s in this mode. What happens?

  • Its data PPDU lasts longer
  • Every nearby device is forced to 6 Mb/s
  • Its wave travels nine times slower
Answer and explanation

Its data PPDU lasts longer The PPDU changes from 244 to 2024 µs. Service intervals also include fixed and access overheads.

If a connection carries ten times more data per second, must every reply arrive ten times sooner?

  • Yes
  • No; other delays may remain
  • Capacity is measured in signal bars
Answer and explanation

No; other delays may remain Serialization or queueing may change, while propagation and processing can remain.

The outline robot moves immediately. Does that prove the reply already arrived?

  • Yes
  • No; it can be local prediction
  • It proves there are no network errors
Answer and explanation

No; it can be local prediction Local prediction can make movement visible before a remote response. Real games may reconcile it later.

Five reply times are 30, 31, 30, 120 and 31 ms. Is “31 ms, always smooth” an adequate report?

  • Yes, because 31 is the median
  • No; the 120 ms observation matters
  • Replace 120 with zero
Answer and explanation

No; the 120 ms observation matters The median is 31 ms and range 30–120 ms. Five observations do not establish a stable percentile.

Can the 5 GHz value for NIST’s drywall specimen predict a house’s game ping exactly?

  • Yes
  • No; its material experiment measures a different quantity
  • Old experiments have no value
Answer and explanation

No; its material experiment measures a different quantity The specified panel/reference result is useful evidence, but a house and game add many other conditions.

Sources and model limits

  • The room, equipment, screen game and its prediction/fill strategy are original teaching assets. They are not real product CAD or a reconstruction of a specific game.
  • No device, router, RF spectrum, network identifier or browser connection estimate is measured. This page does not scan a network or run a speed test.
  • The main workload is one access point’s prepared downlink queue. No new background arrivals or partially served frames are included. Other stations have distinct queues and contention behavior.
  • The complete 200-byte and 1500-byte radio frames include assumed overhead; they are not those same amounts of application payload plus free protocol headers.
  • Receiver thresholds, 8 dB screens, transmit/noise settings, realized backoff draws, injected frame failure and local/external delays are authored conditions. Mathematical precision does not calibrate them to a home.
  • The interference control means a simultaneous uncoordinated contribution at the receiver. It is not the same as the separate sensed-busy trace.
  • Only a narrowband two-path field sum is modeled in its lens. It is not coupled to the room’s simpler free-space-plus-screens calculation.
  • The NIST scan is a primary historical material experiment. Source reference bands, specimen dimensions, normalization and fit status are retained; its 2–3 GHz gap is not invented.
  • Independent radio-engineering review and learner trials remain pending. Numerical tests and primary-source reading do not replace that review.

Channel sensing, idle intervals and backoff

RFC 8325 §6.1 explains DCF and its selected OFDM timing context. Used for the bounded legacy exchange; not represented as all current scheduling behavior.

IETF · radio channel access

Legacy OFDM symbol and PPDU timing

ns-3 owner documentation/source describes preamble/header, SERVICE/tail bits and whole-symbol rounding. Formula implemented independently; no ns-3 implementation code copied.

ns-3 · OFDM PHY timing

Separate acknowledgment frame

ns-3 3.45 Wi-Fi utilities identify acknowledgment sizing and the selected OFDM timing example. A basic 6 Mb/s ACK is an explicit lesson choice.

ns-3 · acknowledgment timing

Receiver models and modern multi-user scope

Official Wi-Fi design documentation distinguishes PHY reception/error models, spectrum and multi-user scheduling. Our hard thresholds are authored, not extracted from these models.

ns-3 · Wi-Fi model scope

Free-space attenuation

ITU-R P.525-5, §2. Used under declared distance/frequency/antenna assumptions; it does not provide a furnished-house propagation model.

ITU · free-space attenuation

Actual material experiment, image and fitted coefficients

William C. Stone (1997), NISTIR 6055. Figures 2.3.1–2.3.2, 4.4 and 4.13d/Table 4.13d. D50H, 13 mm drywall, is distinct from the photographed 305 mm concrete specimen C112H. Original report bands are 0.5–2 and 3–8 GHz.

NIST · construction-material experiment

Report scan provenance

Internet Archive scan of the original NIST report, identified by exact source hash in the evidence manifest. Its digitization date is not the experiment date. Complete report pages are converted to WebP without changing plotted values.

Internet Archive · original report scan

NIST republication terms

Technical Series Publications policy supports the selected employee-authored report figures with attribution. Other manufacturer-supplied report material is not bundled; NIST endorsement is not implied.

NIST · technical-publication reuse

Multipath and field addition

Tse and Viswanath, author-hosted Fundamentals of Wireless Communication, chapter 2. Original lesson phasor/wave graphics; no textbook illustrations copied.

Tse & Viswanath · wireless channels

Standing queues and delay

RFC 8289 explains the motivation for Controlled Delay queue management. The prepared FIFO comparison is not an implementation of CoDel.

IETF · queue delay and CoDel

Response endpoints and measurement definitions

RFC 2681 defines round-trip metrics; endpoint/processing assumptions are part of the meaning of a result. A game reply differs from a router ICMP response.

IETF · round-trip measurement

Delay variation needs a definition

RFC 3393 distinguishes its formal one-way delay-variation metric. We report a small sample’s median and range, without relabeling it that standards metric.

IETF · delay variation

Local game prediction versus remote state

Yahn Bernier’s original Valve technical paper explains prediction and latency compensation. The lesson’s original robot is a selected illustration, not current universal engine defaults or copied game art.

Valve · game prediction and latency

A browser estimate is not an RF instrument

Network Information API draft values are connection estimates. The lesson deliberately does not turn these into signal power, router ping or a room scan.

WICG · Network Information API

Historical 5 GHz standards development

March 1999 IEEE 802.11 working-group report connects OFDM and multiple data rates. Selected contemporary development record; no unsupported single-inventor or first-MIMO claim.

IEEE · March 1999 development record

Exact vacuum light-speed constant

c = 299,792,458 m/s. Air is approximated as vacuum for the room-flight comparison.

NIST · SI constants

Independent subject review is pending.

Read the sources and model assumptions