spaxel/mothership/internal/apdetector
jedarden 14c69ad3a3 feat: implement OUI lookup function
Create mothership/internal/oui/oui.go with LookupOUI function:
- Accepts net.HardwareAddr (MAC address)
- Extracts first 3 bytes as uint32 in big-endian order (OUI)
- Returns manufacturer name from ouiMap or empty string if not found
- Handles edge cases gracefully (short MAC returns "", no panic)

Acceptance criteria met:
- LookupOUI returns correct vendor for known OUIs
- Unknown OUI returns empty string (no panic)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-09 06:27:26 -04:00
..
detector.go feat: implement OUI lookup function 2026-04-09 06:27:26 -04:00