mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
Kick if rssi is not strong enough
This commit is contained in:
parent
5110bcfab6
commit
70749ab488
6 changed files with 63 additions and 6 deletions
|
|
@ -1,12 +1,11 @@
|
|||
#ifndef __DAWN_UBUS_H
|
||||
#define __DAWN_UBUS_H
|
||||
|
||||
#include <libubox/blobmsg_json.h>
|
||||
#include "datastorage.h"
|
||||
|
||||
#define MIN_PROBE_REQ 2 // TODO: Parse from config file...
|
||||
|
||||
#define TIME_THRESHOLD_KICK_CLIENT 30
|
||||
|
||||
int dawn_init_ubus(const char *ubus_socket, char *hostapd_dir);
|
||||
int parse_to_probe_req(struct blob_attr *msg, probe_entry *prob_req);
|
||||
int parse_to_clients(struct blob_attr *msg);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue