wlan: registration of devices

This commit is contained in:
Matheus
2026-09-09 22:06:20 -03:00
parent 84ad92b475
commit 8134c00b69
4 changed files with 150 additions and 2 deletions
+1
View File
@@ -33,6 +33,7 @@ typedef struct {
#define NETDEV_FLAGS_DEBUG 0x4
#define NETDEV_FLAGS_LOOPBACK 0x8
#define NETDEV_FLAGS_RUNNING 0x40
#define NETDEV_FLAGS_WLAN 0x80
typedef struct netdev_t {
mac_t mac;
+8
View File
@@ -0,0 +1,8 @@
#ifndef _WLAN_H
#define _WLAN_H
#include <u80211_drv/kernel_interface.h>
int wlan_register(void *handle, const u80211_drv_device_metadata_t *metadata, const u80211_drv_device_ops_t *ops, u80211_drv_network_device_handle_t *network_device);
#endif