4 * This file contains the most important structure for the driver: t_or
5 * and some configurable definitions
7 * Created by Stevens Le Blond <slblond@few.vu.nl>
8 * and Michael Valkering <mjvalker@cs.vu.nl>
11 #include <net/gen/ether.h>
12 #include <net/gen/eth_io.h>
16 #define LARGE_KEY_LENGTH 13
17 #define IW_ESSID_MAX_SIZE 32
19 #define OR_NAME "orinoco#n"
21 #define IEEE802_11_HLEN 30
22 #define IEEE802_11_DATA_LEN (2304)
23 #define IEEE802_11_FRAME_LEN (IEEE802_11_DATA_LEN + IEEE802_11_HLEN + 3)
61 u16_t rxfid
[NR_RX_BUFS
];
62 int rx_length
[NR_RX_BUFS
];
63 u8_t rx_buf
[NR_RX_BUFS
][IEEE802_11_FRAME_LEN
];
64 u8_t rx_offset
[NR_RX_BUFS
];
71 vir_bytes or_transm_s
;
91 ether_addr_t or_address
;
92 iovec_t or_iovec
[IOVEC_NR
];
93 iovec_s_t or_iovec_s
[IOVEC_NR
];
94 char or_name
[sizeof (OR_NAME
)];
96 char nick
[IW_ESSID_MAX_SIZE
+ 1];