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
20 #define OR_ENVVAR "ORETH"
21 #define OR_NAME "orinoco#n"
23 #define IEEE802_11_HLEN 30
24 #define IEEE802_11_DATA_LEN (2304)
25 #define IEEE802_11_FRAME_LEN (IEEE802_11_DATA_LEN + IEEE802_11_HLEN + 3)
63 u16_t rxfid
[NR_RX_BUFS
];
64 int rx_length
[NR_RX_BUFS
];
65 u8_t rx_buf
[NR_RX_BUFS
][IEEE802_11_FRAME_LEN
];
66 u8_t rx_offset
[NR_RX_BUFS
];
73 vir_bytes or_transm_s
;
96 ether_addr_t or_address
;
97 iovec_t or_iovec
[IOVEC_NR
];
98 iovec_s_t or_iovec_s
[IOVEC_NR
];
99 char or_name
[sizeof (OR_NAME
)];
101 char nick
[IW_ESSID_MAX_SIZE
+ 1];