| 1234567891011121314151617181920212223242526 |
- /* WiFi station (Intel 7265D/3165, 6200/6300, Realtek RTL8821AU USB): 802.11
- * MLME, Ethernet <-> 802.11 data path, EAPOL queue for the ring-3
- * supplicant, and the `wifi` netdev. The device layer is reached through
- * wifi_fw.h (iwl_mvm.c / iwl_dvm.c over iwl_trans.c, or rtl8821au.c). */
- #ifndef WIFI_H
- #define WIFI_H
- #include "netdev.h"
- extern const struct netdev wifi_netdev;
- /* SYS_WIFI dispatcher (syscall.c). */
- int sys_wifi(int op, int a2, int a3);
- /* Stop the card's DMA before a kexec, even when it is not the active
- * netdev (its RX ring would otherwise keep writing into freed pages). */
- void wifi_shutdown(void);
- /* Upcalls from the device drivers. `status` is the Intel RX status word
- * (IWL_RX_*); 0 means "not decrypted", so CCMP frames go through the
- * software path. */
- void wifi_rx_frame(const unsigned char *frame, unsigned int len, int rssi,
- unsigned int status, unsigned int channel);
- void wifi_scan_done(int ok);
- #endif
|