diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-08-27 20:36:08 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-08-27 20:36:08 +0200 |
commit | 0ac260b18a9a41ba944e6dadec5d15c058af23fd (patch) | |
tree | ee0b605812f381d3cd9e98bb5d6b85d340b61e6d /sys/src/9/pc | |
parent | 0b8851ddb688e8de813196b7cd62f113edde2e3a (diff) |
wifi: update wifi.h header
Diffstat (limited to 'sys/src/9/pc')
-rw-r--r-- | sys/src/9/pc/wifi.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/sys/src/9/pc/wifi.h b/sys/src/9/pc/wifi.h index bca2e07e9..2171afd21 100644 --- a/sys/src/9/pc/wifi.h +++ b/sys/src/9/pc/wifi.h @@ -15,10 +15,10 @@ enum { struct Wkey { - int cipher; - int len; - uchar key[32]; - uvlong tsc; + int cipher; + int len; + uvlong tsc; + uchar key[]; }; struct Wnode @@ -30,8 +30,8 @@ struct Wnode int rsnelen; uchar rsne[258]; - Wkey txkey[1]; - Wkey rxkey[5]; + Wkey *txkey[1]; + Wkey *rxkey[5]; int aid; /* association id */ ulong lastsend; @@ -58,6 +58,7 @@ struct Wifi int debug; + RWlock crypt; Queue *iq; ulong watchdog; ulong lastauth; |