summaryrefslogtreecommitdiff
path: root/sys/src/9/pc/wifi.h
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2013-07-01 23:32:21 +0200
committercinap_lenrek <cinap_lenrek@gmx.de>2013-07-01 23:32:21 +0200
commit6c2e9a98e217e95d75c511561e1198e2d926adfd (patch)
tree02350ba83528894413fbc593076452bc3804a341 /sys/src/9/pc/wifi.h
parent0542f08d10334abfe92d23484379563bb6f2b31e (diff)
wifi: handle authentication independent of current bss to allow multiple ap's (roaming)
Diffstat (limited to 'sys/src/9/pc/wifi.h')
-rw-r--r--sys/src/9/pc/wifi.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/sys/src/9/pc/wifi.h b/sys/src/9/pc/wifi.h
index 047f80a92..1fbdd7ece 100644
--- a/sys/src/9/pc/wifi.h
+++ b/sys/src/9/pc/wifi.h
@@ -26,17 +26,21 @@ struct Wnode
uchar bssid[Eaddrlen];
char ssid[Essidlen+2];
+ char *status;
+
int rsnelen;
uchar rsne[258];
Wkey txkey[1];
Wkey rxkey[5];
+ int aid; /* association id */
+ ulong lastsend;
+ ulong lastseen;
+
/* stuff from beacon */
int ival;
int cap;
- int aid;
int channel;
- long lastseen;
int brsnelen;
uchar brsne[258];
};
@@ -48,7 +52,6 @@ struct Wifi
int debug;
Queue *iq;
- char *status;
ulong watchdog;
Ref txseq;
void (*transmit)(Wifi*, Wnode*, Block*);
@@ -78,3 +81,5 @@ void wifiiq(Wifi*, Block*);
long wifistat(Wifi*, void*, long, ulong);
long wifictl(Wifi*, void*, long);
+
+int wifichecklink(Wifi*);