~/talk

Android Wifi Under the Hood

Talkat droidcon Berlin 2025 · 2025-09-24..09-26· [android, networking]
slides:none on file

Tracing a call from ConnectivityManager.requestNetwork to kernel reveals that a 0.1% race in driver and country‑code loading makes a car hotspot fall back to 2.4 GHz. Debugging uses logcat filtering for supplicant and hostapd, cs.android.com, adb root, and Wi‑Fi APIs like getUsableChannels. The fix is pragmatic: toggle station mode early to load the driver, poll getUsableChannels with retries to avoid a HAL crash, and then start the 5 GHz local only hotspot — solution works reliably at scale.

AI-written summary · about

  1. 0:00Android Wi-Fi intro
  2. 3:34Why Android Wi-Fi matters
  3. 4:14Wi-Fi types and modes
  4. 8:53Wi-Fi frequencies explained
  5. 12:06Android Wi-Fi stack breakdown
  6. 15:16App to framework Wi-Fi
  7. 19:29Framework to HAL to kernel
  8. 23:28Country rules and Wi-Fi drivers
  9. 25:13Android Wi-Fi resources
  10. 25:34Wi-Fi AP startup issues
  11. 31:35Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.