make neigh detection more stable and remove wifi handling

Signed-off-by: John Crispin <[email protected]>
This commit is contained in:
John Crispin
2021-02-01 16:08:56 +01:00
parent d93583f7c8
commit 5ca087499e
6 changed files with 1 additions and 592 deletions
-26
View File
@@ -57,7 +57,6 @@ struct mac {
struct timespec ts;
struct list_head neigh4;
struct list_head neigh6;
struct list_head wifi;
struct list_head dhcpv4;
struct list_head bridge_mac;
};
@@ -74,29 +73,6 @@ struct neigh {
struct uloop_timeout ageing;
};
struct wifi_iface {
struct avl_node avl;
uint8_t addr[6];
struct blob_attr *info;
int noise;
char ifname[IF_NAMESIZE];
struct list_head stas;
struct uloop_timeout assoc;
};
struct wifi_station {
struct avl_node avl;
uint8_t addr[6];
struct blob_attr *info;
struct wifi_iface *wif;
struct list_head mac;
struct list_head iface;
};
struct dhcpv4 {
struct avl_node avl;
struct list_head mac;
@@ -167,5 +143,3 @@ extern char *interface_resolve(char *device);
extern void ethers_init(void);
extern void iface_dump(void);
extern struct wifi_iface *wifi_get_interface(char *name);