0001
0002
0003
0004
0005
0006
0007 #ifndef _RAY_CS_H_
0008 #define _RAY_CS_H_
0009
0010 struct beacon_rx {
0011 struct mac_header mac;
0012 UCHAR timestamp[8];
0013 UCHAR beacon_intvl[2];
0014 UCHAR capability[2];
0015 UCHAR elements[sizeof(struct essid_element)
0016 + sizeof(struct rates_element)
0017 + sizeof(struct freq_hop_element)
0018 + sizeof(struct japan_call_sign_element)
0019 + sizeof(struct tim_element)];
0020 };
0021
0022
0023 #define ECCSFULL (-1)
0024 #define ECCSBUSY (-2)
0025 #define ECARDGONE (-3)
0026
0027 typedef struct ray_dev_t {
0028 int card_status;
0029 int authentication_state;
0030 void __iomem *sram;
0031 void __iomem *amem;
0032 void __iomem *rmem;
0033 struct pcmcia_device *finder;
0034 struct timer_list timer;
0035 unsigned long tx_ccs_lock;
0036 unsigned long ccs_lock;
0037 int dl_param_ccs;
0038 union {
0039 struct b4_startup_params b4;
0040 struct b5_startup_params b5;
0041 } sparm;
0042 int timeout_flag;
0043 UCHAR supported_rates[8];
0044 UCHAR japan_call_sign[12];
0045 struct startup_res_6 startup_res;
0046 int num_multi;
0047
0048 UCHAR bss_id[6];
0049 UCHAR auth_id[6];
0050 UCHAR net_default_tx_rate;
0051 UCHAR encryption;
0052 struct net_device_stats stats;
0053
0054 UCHAR net_type;
0055 UCHAR sta_type;
0056 UCHAR fw_ver;
0057 UCHAR fw_bld;
0058 UCHAR fw_var;
0059 UCHAR ASIC_version;
0060 UCHAR assoc_id[2];
0061 UCHAR tib_length;
0062 UCHAR last_rsl;
0063 int beacon_rxed;
0064 struct beacon_rx last_bcn;
0065 iw_stats wstats;
0066 #ifdef WIRELESS_SPY
0067 struct iw_spy_data spy_data;
0068 struct iw_public_data wireless_data;
0069 #endif
0070
0071 } ray_dev_t;
0072
0073
0074 #endif