First steps to handling stations timeout

This commit is contained in:
vemax78
2014-03-20 20:32:49 +01:00
parent 1a3e02ac50
commit b48f7793cf
2 changed files with 227 additions and 70 deletions

View File

@ -143,11 +143,23 @@ struct nl80211_virtdevice_item {
#define NL80211_STATION_FLAGS_NO_SHORT_SLOT_TIME 0x00000008
#define NL80211_STATION_FLAGS_NO_SHORT_PREAMBLE 0x00000010
/* */
#define NL80211_STATION_TIMEOUT_ASSOCIATION_COMPLETE 30000
#define NL80211_STATION_TIMEOUT_AFTER_DEAUTHENTICATED 5000
/* */
#define NL80211_STATION_TIMEOUT_ACTION_DELETE 0x00000001
#define NL80211_STATION_TIMEOUT_ACTION_DEAUTHENTICATE 0x00000002
/* */
struct nl80211_station {
uint8_t address[ETH_ALEN];
/* */
unsigned long flags;
/* Timers */
int timeoutaction;
unsigned long idtimeout;
/* */