mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
wlan: registration of devices
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user