wifi: update wifi.h header
This commit is contained in:
parent
0b8851ddb6
commit
0ac260b18a
1 changed files with 7 additions and 6 deletions
|
@ -15,10 +15,10 @@ enum {
|
||||||
|
|
||||||
struct Wkey
|
struct Wkey
|
||||||
{
|
{
|
||||||
int cipher;
|
int cipher;
|
||||||
int len;
|
int len;
|
||||||
uchar key[32];
|
uvlong tsc;
|
||||||
uvlong tsc;
|
uchar key[];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct Wnode
|
struct Wnode
|
||||||
|
@ -30,8 +30,8 @@ struct Wnode
|
||||||
|
|
||||||
int rsnelen;
|
int rsnelen;
|
||||||
uchar rsne[258];
|
uchar rsne[258];
|
||||||
Wkey txkey[1];
|
Wkey *txkey[1];
|
||||||
Wkey rxkey[5];
|
Wkey *rxkey[5];
|
||||||
|
|
||||||
int aid; /* association id */
|
int aid; /* association id */
|
||||||
ulong lastsend;
|
ulong lastsend;
|
||||||
|
@ -58,6 +58,7 @@ struct Wifi
|
||||||
|
|
||||||
int debug;
|
int debug;
|
||||||
|
|
||||||
|
RWlock crypt;
|
||||||
Queue *iq;
|
Queue *iq;
|
||||||
ulong watchdog;
|
ulong watchdog;
|
||||||
ulong lastauth;
|
ulong lastauth;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue