1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Raytheon wireless LAN PCMCIA card driver for Linux
3 A PCMCIA client driver for the Raylink wireless network card
4 Written by Corey Thomas
11 struct mac_header mac
;
13 UCHAR beacon_intvl
[2];
15 UCHAR elements
[sizeof(struct essid_element
)
16 + sizeof(struct rates_element
)
17 + sizeof(struct freq_hop_element
)
18 + sizeof(struct japan_call_sign_element
)
19 + sizeof(struct tim_element
)];
22 /* Return values for get_free{,_tx}_ccs */
25 #define ECARDGONE (-3)
27 typedef struct ray_dev_t
{
29 int authentication_state
;
30 void __iomem
*sram
; /* pointer to beginning of shared RAM */
31 void __iomem
*amem
; /* pointer to attribute mem window */
32 void __iomem
*rmem
; /* pointer to receive buffer window */
33 struct pcmcia_device
*finder
; /* pointer back to struct pcmcia_device for card */
34 struct timer_list timer
;
35 unsigned long tx_ccs_lock
;
36 unsigned long ccs_lock
;
39 struct b4_startup_params b4
;
40 struct b5_startup_params b5
;
43 UCHAR supported_rates
[8];
44 UCHAR japan_call_sign
[12];
45 struct startup_res_6 startup_res
;
47 /* Network parameters from start/join */
50 UCHAR net_default_tx_rate
;
52 struct net_device_stats stats
;
64 struct beacon_rx last_bcn
;
65 iw_stats wstats
; /* Wireless specific stats */
67 struct iw_spy_data spy_data
;
68 struct iw_public_data wireless_data
;
69 #endif /* WIRELESS_SPY */
72 /*****************************************************************************/
74 #endif /* _RAY_CS_H_ */