Import 2.3.18pre1
[davej-history.git] / drivers / net / pcmcia / ray_cs.h
blob28502954eb0ec1185e637510bd10ae171e47ccbc
1 /* Raytheon wireless LAN PCMCIA card driver for Linux
2 A PCMCIA client driver for the Raylink wireless network card
3 Written by Corey Thomas
4 */
6 #ifndef RAYLINK_H
8 struct beacon_rx {
9 struct mac_header mac;
10 UCHAR timestamp[8];
11 UCHAR beacon_intvl[2];
12 UCHAR capability[2];
13 UCHAR elements[sizeof(struct essid_element)
14 + sizeof(struct rates_element)
15 + sizeof(struct freq_hop_element)
16 + sizeof(struct japan_call_sign_element)
17 + sizeof(struct tim_element)];
20 typedef struct ray_dev_t {
21 int card_status;
22 int authentication_state;
23 dev_node_t node;
24 window_handle_t amem_handle; /* handle to window for attribute memory */
25 window_handle_t rmem_handle; /* handle to window for rx buffer on card */
26 UCHAR *sram; /* pointer to beginning of shared RAM */
27 UCHAR *amem; /* pointer to attribute mem window */
28 UCHAR *rmem; /* pointer to receive buffer window */
29 dev_link_t *finder; /* pointer back to dev_link_t for card */
30 struct timer_list timer;
31 int dl_param_ccs;
32 union {
33 struct b4_startup_params b4;
34 struct b5_startup_params b5;
35 } sparm;
36 int timeout_flag;
37 UCHAR supported_rates[8];
38 UCHAR japan_call_sign[12];
39 struct startup_res_6 startup_res;
40 int num_multi;
41 /* Network parameters from start/join */
42 UCHAR bss_id[6];
43 UCHAR auth_id[6];
44 UCHAR net_default_tx_rate;
45 UCHAR encryption;
46 struct enet_statistics stats;
48 UCHAR net_type;
49 UCHAR sta_type;
50 UCHAR fw_ver;
51 UCHAR fw_bld;
52 UCHAR fw_var;
53 UCHAR ASIC_version;
54 UCHAR assoc_id[2];
55 UCHAR tib_length;
56 struct beacon_rx last_bcn;
57 } ray_dev_t;
58 /*****************************************************************************/
60 #endif /* RAYLINK_H */