#pragma once // ============================================================================== // MT76 chip protocol (MediaTek MT76xx radio in the dongle) // ============================================================================== // Port target: medusalix/xone transport/mt76.c + mt76.h + mt76_defs.h. // Firmware load (0x3800-byte chunks), EFUSE read, radio init (~80 register // writes), channel evaluation, beacon transmission, pairing mode, client // association and WCID/AES-CCMP key setup (encryption runs on-chip). // ============================================================================== #include namespace xone::mt76 { // Load the firmware image for the given dongle PID into the chip. // TODO(phase 3): port from xone_mt76_load_firmware(). auto load_firmware(std::uint16_t pid, char const *firmware_path) -> bool; } // namespace xone::mt76