repeater/internal/station
Pierre-Olivier Mercier 70140bc289 station: Identify devices by MAC OUI vendor lookup
Embed the IEEE OUI registry (~1MB pre-processed text file) and resolve
the vendor for every station MAC. Locally administered MACs (U/L bit
set, used by iOS/Android private addresses and virtual interfaces) are
skipped so we don't return spurious matches against randomized prefixes.

The vendor name shows up in the device card as a secondary line, and
falls back to the title position when no DHCP hostname is available —
"Apple" with the IP and MAC is far more useful than "Sans nom".

The lookup table loads lazily (sync.Once) on the first call so the
~40k-entry parse only runs when the station discovery code is exercised.
2026-05-01 22:32:57 +08:00
..
arp station: Identify devices by MAC OUI vendor lookup 2026-05-01 22:32:57 +08:00
backend station: Identify devices by MAC OUI vendor lookup 2026-05-01 22:32:57 +08:00
dhcp station: Identify devices by MAC OUI vendor lookup 2026-05-01 22:32:57 +08:00
hostapd station: Identify devices by MAC OUI vendor lookup 2026-05-01 22:32:57 +08:00
factory.go Refactor stations discovery and add hostapd discovery 2026-01-01 23:31:01 +07:00
station.go station: Identify devices by MAC OUI vendor lookup 2026-05-01 22:32:57 +08:00