Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 1 | /* |
| 2 | * This file contains the function prototypes, data structure |
| 3 | * and defines for all the host/station commands |
| 4 | */ |
Holger Schurig | 1007832 | 2007-11-15 18:05:47 -0500 | [diff] [blame^] | 5 | #ifndef _LBS_HOSTCMD_H |
| 6 | #define _LBS_HOSTCMD_H |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 7 | |
| 8 | #include <linux/wireless.h> |
| 9 | #include "11d.h" |
| 10 | #include "types.h" |
| 11 | |
| 12 | /* 802.11-related definitions */ |
| 13 | |
| 14 | /* TxPD descriptor */ |
| 15 | struct txpd { |
| 16 | /* Current Tx packet status */ |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 17 | __le32 tx_status; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 18 | /* Tx control */ |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 19 | __le32 tx_control; |
| 20 | __le32 tx_packet_location; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 21 | /* Tx packet length */ |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 22 | __le16 tx_packet_length; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 23 | /* First 2 byte of destination MAC address */ |
| 24 | u8 tx_dest_addr_high[2]; |
| 25 | /* Last 4 byte of destination MAC address */ |
| 26 | u8 tx_dest_addr_low[4]; |
| 27 | /* Pkt Priority */ |
| 28 | u8 priority; |
| 29 | /* Pkt Trasnit Power control */ |
| 30 | u8 powermgmt; |
| 31 | /* Amount of time the packet has been queued in the driver (units = 2ms) */ |
| 32 | u8 pktdelay_2ms; |
| 33 | /* reserved */ |
| 34 | u8 reserved1; |
| 35 | }; |
| 36 | |
| 37 | /* RxPD Descriptor */ |
| 38 | struct rxpd { |
| 39 | /* Current Rx packet status */ |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 40 | __le16 status; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 41 | |
| 42 | /* SNR */ |
| 43 | u8 snr; |
| 44 | |
| 45 | /* Tx control */ |
| 46 | u8 rx_control; |
| 47 | |
| 48 | /* Pkt length */ |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 49 | __le16 pkt_len; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 50 | |
| 51 | /* Noise Floor */ |
| 52 | u8 nf; |
| 53 | |
| 54 | /* Rx Packet Rate */ |
| 55 | u8 rx_rate; |
| 56 | |
| 57 | /* Pkt addr */ |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 58 | __le32 pkt_ptr; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 59 | |
| 60 | /* Next Rx RxPD addr */ |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 61 | __le32 next_rxpd_ptr; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 62 | |
| 63 | /* Pkt Priority */ |
| 64 | u8 priority; |
| 65 | u8 reserved[3]; |
| 66 | }; |
| 67 | |
| 68 | struct cmd_ctrl_node { |
| 69 | /* CMD link list */ |
| 70 | struct list_head list; |
| 71 | u32 status; |
| 72 | /* CMD ID */ |
| 73 | u32 cmd_oid; |
| 74 | /*CMD wait option: wait for finish or no wait */ |
| 75 | u16 wait_option; |
| 76 | /* command parameter */ |
| 77 | void *pdata_buf; |
| 78 | /*command data */ |
| 79 | u8 *bufvirtualaddr; |
| 80 | u16 cmdflags; |
| 81 | /* wait queue */ |
| 82 | u16 cmdwaitqwoken; |
| 83 | wait_queue_head_t cmdwait_q; |
| 84 | }; |
| 85 | |
Dan Williams | 1443b65 | 2007-08-02 10:45:55 -0400 | [diff] [blame] | 86 | /* Generic structure to hold all key types. */ |
| 87 | struct enc_key { |
| 88 | u16 len; |
Holger Schurig | 1007832 | 2007-11-15 18:05:47 -0500 | [diff] [blame^] | 89 | u16 flags; /* KEY_INFO_* from defs.h */ |
| 90 | u16 type; /* KEY_TYPE_* from defs.h */ |
Dan Williams | 1443b65 | 2007-08-02 10:45:55 -0400 | [diff] [blame] | 91 | u8 key[32]; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 92 | }; |
| 93 | |
Holger Schurig | 1007832 | 2007-11-15 18:05:47 -0500 | [diff] [blame^] | 94 | /* lbs_offset_value */ |
| 95 | struct lbs_offset_value { |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 96 | u32 offset; |
| 97 | u32 value; |
| 98 | }; |
| 99 | |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 100 | /* Define general data structure */ |
| 101 | /* cmd_DS_GEN */ |
| 102 | struct cmd_ds_gen { |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 103 | __le16 command; |
| 104 | __le16 size; |
| 105 | __le16 seqnum; |
| 106 | __le16 result; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 107 | }; |
| 108 | |
| 109 | #define S_DS_GEN sizeof(struct cmd_ds_gen) |
| 110 | /* |
Dan Williams | 0aef64d | 2007-08-02 11:31:18 -0400 | [diff] [blame] | 111 | * Define data structure for CMD_GET_HW_SPEC |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 112 | * This structure defines the response for the GET_HW_SPEC command |
| 113 | */ |
| 114 | struct cmd_ds_get_hw_spec { |
| 115 | /* HW Interface version number */ |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 116 | __le16 hwifversion; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 117 | /* HW version number */ |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 118 | __le16 version; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 119 | /* Max number of TxPD FW can handle */ |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 120 | __le16 nr_txpd; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 121 | /* Max no of Multicast address */ |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 122 | __le16 nr_mcast_adr; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 123 | /* MAC address */ |
| 124 | u8 permanentaddr[6]; |
| 125 | |
| 126 | /* region Code */ |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 127 | __le16 regioncode; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 128 | |
| 129 | /* Number of antenna used */ |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 130 | __le16 nr_antenna; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 131 | |
David Woodhouse | e5b3d47 | 2007-05-25 23:40:21 -0400 | [diff] [blame] | 132 | /* FW release number, example 1,2,3,4 = 3.2.1p4 */ |
| 133 | u8 fwreleasenumber[4]; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 134 | |
| 135 | /* Base Address of TxPD queue */ |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 136 | __le32 wcb_base; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 137 | /* Read Pointer of RxPd queue */ |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 138 | __le32 rxpd_rdptr; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 139 | |
| 140 | /* Write Pointer of RxPd queue */ |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 141 | __le32 rxpd_wrptr; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 142 | |
| 143 | /*FW/HW capability */ |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 144 | __le32 fwcapinfo; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 145 | } __attribute__ ((packed)); |
| 146 | |
| 147 | struct cmd_ds_802_11_reset { |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 148 | __le16 action; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 149 | }; |
| 150 | |
| 151 | struct cmd_ds_802_11_subscribe_event { |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 152 | __le16 action; |
| 153 | __le16 events; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 154 | }; |
| 155 | |
| 156 | /* |
| 157 | * This scan handle Country Information IE(802.11d compliant) |
Dan Williams | 0aef64d | 2007-08-02 11:31:18 -0400 | [diff] [blame] | 158 | * Define data structure for CMD_802_11_SCAN |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 159 | */ |
| 160 | struct cmd_ds_802_11_scan { |
| 161 | u8 bsstype; |
Dan Williams | 492b6da | 2007-08-02 11:16:07 -0400 | [diff] [blame] | 162 | u8 bssid[ETH_ALEN]; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 163 | u8 tlvbuffer[1]; |
| 164 | #if 0 |
| 165 | mrvlietypes_ssidparamset_t ssidParamSet; |
| 166 | mrvlietypes_chanlistparamset_t ChanListParamSet; |
| 167 | mrvlietypes_ratesparamset_t OpRateSet; |
| 168 | #endif |
| 169 | }; |
| 170 | |
| 171 | struct cmd_ds_802_11_scan_rsp { |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 172 | __le16 bssdescriptsize; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 173 | u8 nr_sets; |
| 174 | u8 bssdesc_and_tlvbuffer[1]; |
| 175 | }; |
| 176 | |
| 177 | struct cmd_ds_802_11_get_log { |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 178 | __le32 mcasttxframe; |
| 179 | __le32 failed; |
| 180 | __le32 retry; |
| 181 | __le32 multiretry; |
| 182 | __le32 framedup; |
| 183 | __le32 rtssuccess; |
| 184 | __le32 rtsfailure; |
| 185 | __le32 ackfailure; |
| 186 | __le32 rxfrag; |
| 187 | __le32 mcastrxframe; |
| 188 | __le32 fcserror; |
| 189 | __le32 txframe; |
| 190 | __le32 wepundecryptable; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 191 | }; |
| 192 | |
| 193 | struct cmd_ds_mac_control { |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 194 | __le16 action; |
| 195 | __le16 reserved; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 196 | }; |
| 197 | |
| 198 | struct cmd_ds_mac_multicast_adr { |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 199 | __le16 action; |
| 200 | __le16 nr_of_adrs; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 201 | u8 maclist[ETH_ALEN * MRVDRV_MAX_MULTICAST_LIST_SIZE]; |
| 202 | }; |
| 203 | |
| 204 | struct cmd_ds_802_11_authenticate { |
| 205 | u8 macaddr[ETH_ALEN]; |
| 206 | u8 authtype; |
| 207 | u8 reserved[10]; |
| 208 | }; |
| 209 | |
| 210 | struct cmd_ds_802_11_deauthenticate { |
| 211 | u8 macaddr[6]; |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 212 | __le16 reasoncode; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 213 | }; |
| 214 | |
| 215 | struct cmd_ds_802_11_associate { |
| 216 | u8 peerstaaddr[6]; |
Dan Williams | 0c9ca690 | 2007-08-02 10:43:44 -0400 | [diff] [blame] | 217 | __le16 capability; |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 218 | __le16 listeninterval; |
| 219 | __le16 bcnperiod; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 220 | u8 dtimperiod; |
| 221 | |
| 222 | #if 0 |
| 223 | mrvlietypes_ssidparamset_t ssidParamSet; |
| 224 | mrvlietypes_phyparamset_t phyparamset; |
| 225 | mrvlietypes_ssparamset_t ssparamset; |
| 226 | mrvlietypes_ratesparamset_t ratesParamSet; |
| 227 | #endif |
| 228 | } __attribute__ ((packed)); |
| 229 | |
| 230 | struct cmd_ds_802_11_disassociate { |
| 231 | u8 destmacaddr[6]; |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 232 | __le16 reasoncode; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 233 | }; |
| 234 | |
| 235 | struct cmd_ds_802_11_associate_rsp { |
| 236 | struct ieeetypes_assocrsp assocRsp; |
| 237 | }; |
| 238 | |
| 239 | struct cmd_ds_802_11_ad_hoc_result { |
Dan Williams | ea8da92 | 2007-08-02 11:18:23 -0400 | [diff] [blame] | 240 | u8 pad[3]; |
| 241 | u8 bssid[ETH_ALEN]; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 242 | }; |
| 243 | |
| 244 | struct cmd_ds_802_11_set_wep { |
| 245 | /* ACT_ADD, ACT_REMOVE or ACT_ENABLE */ |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 246 | __le16 action; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 247 | |
| 248 | /* key Index selected for Tx */ |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 249 | __le16 keyindex; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 250 | |
| 251 | /* 40, 128bit or TXWEP */ |
| 252 | u8 keytype[4]; |
| 253 | u8 keymaterial[4][16]; |
| 254 | }; |
| 255 | |
| 256 | struct cmd_ds_802_3_get_stat { |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 257 | __le32 xmitok; |
| 258 | __le32 rcvok; |
| 259 | __le32 xmiterror; |
| 260 | __le32 rcverror; |
| 261 | __le32 rcvnobuffer; |
| 262 | __le32 rcvcrcerror; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 263 | }; |
| 264 | |
| 265 | struct cmd_ds_802_11_get_stat { |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 266 | __le32 txfragmentcnt; |
| 267 | __le32 mcasttxframecnt; |
| 268 | __le32 failedcnt; |
| 269 | __le32 retrycnt; |
| 270 | __le32 Multipleretrycnt; |
| 271 | __le32 rtssuccesscnt; |
| 272 | __le32 rtsfailurecnt; |
| 273 | __le32 ackfailurecnt; |
| 274 | __le32 frameduplicatecnt; |
| 275 | __le32 rxfragmentcnt; |
| 276 | __le32 mcastrxframecnt; |
| 277 | __le32 fcserrorcnt; |
| 278 | __le32 bcasttxframecnt; |
| 279 | __le32 bcastrxframecnt; |
| 280 | __le32 txbeacon; |
| 281 | __le32 rxbeacon; |
| 282 | __le32 wepundecryptable; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 283 | }; |
| 284 | |
| 285 | struct cmd_ds_802_11_snmp_mib { |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 286 | __le16 querytype; |
| 287 | __le16 oid; |
| 288 | __le16 bufsize; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 289 | u8 value[128]; |
| 290 | }; |
| 291 | |
| 292 | struct cmd_ds_mac_reg_map { |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 293 | __le16 buffersize; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 294 | u8 regmap[128]; |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 295 | __le16 reserved; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 296 | }; |
| 297 | |
| 298 | struct cmd_ds_bbp_reg_map { |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 299 | __le16 buffersize; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 300 | u8 regmap[128]; |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 301 | __le16 reserved; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 302 | }; |
| 303 | |
| 304 | struct cmd_ds_rf_reg_map { |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 305 | __le16 buffersize; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 306 | u8 regmap[64]; |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 307 | __le16 reserved; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 308 | }; |
| 309 | |
| 310 | struct cmd_ds_mac_reg_access { |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 311 | __le16 action; |
| 312 | __le16 offset; |
| 313 | __le32 value; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 314 | }; |
| 315 | |
| 316 | struct cmd_ds_bbp_reg_access { |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 317 | __le16 action; |
| 318 | __le16 offset; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 319 | u8 value; |
| 320 | u8 reserved[3]; |
| 321 | }; |
| 322 | |
| 323 | struct cmd_ds_rf_reg_access { |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 324 | __le16 action; |
| 325 | __le16 offset; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 326 | u8 value; |
| 327 | u8 reserved[3]; |
| 328 | }; |
| 329 | |
| 330 | struct cmd_ds_802_11_radio_control { |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 331 | __le16 action; |
| 332 | __le16 control; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 333 | }; |
| 334 | |
| 335 | struct cmd_ds_802_11_sleep_params { |
| 336 | /* ACT_GET/ACT_SET */ |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 337 | __le16 action; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 338 | |
| 339 | /* Sleep clock error in ppm */ |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 340 | __le16 error; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 341 | |
| 342 | /* Wakeup offset in usec */ |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 343 | __le16 offset; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 344 | |
| 345 | /* Clock stabilization time in usec */ |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 346 | __le16 stabletime; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 347 | |
| 348 | /* control periodic calibration */ |
| 349 | u8 calcontrol; |
| 350 | |
| 351 | /* control the use of external sleep clock */ |
| 352 | u8 externalsleepclk; |
| 353 | |
| 354 | /* reserved field, should be set to zero */ |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 355 | __le16 reserved; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 356 | }; |
| 357 | |
| 358 | struct cmd_ds_802_11_inactivity_timeout { |
| 359 | /* ACT_GET/ACT_SET */ |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 360 | __le16 action; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 361 | |
| 362 | /* Inactivity timeout in msec */ |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 363 | __le16 timeout; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 364 | }; |
| 365 | |
| 366 | struct cmd_ds_802_11_rf_channel { |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 367 | __le16 action; |
| 368 | __le16 currentchannel; |
| 369 | __le16 rftype; |
| 370 | __le16 reserved; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 371 | u8 channellist[32]; |
| 372 | }; |
| 373 | |
| 374 | struct cmd_ds_802_11_rssi { |
| 375 | /* weighting factor */ |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 376 | __le16 N; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 377 | |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 378 | __le16 reserved_0; |
| 379 | __le16 reserved_1; |
| 380 | __le16 reserved_2; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 381 | }; |
| 382 | |
| 383 | struct cmd_ds_802_11_rssi_rsp { |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 384 | __le16 SNR; |
| 385 | __le16 noisefloor; |
| 386 | __le16 avgSNR; |
| 387 | __le16 avgnoisefloor; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 388 | }; |
| 389 | |
| 390 | struct cmd_ds_802_11_mac_address { |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 391 | __le16 action; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 392 | u8 macadd[ETH_ALEN]; |
| 393 | }; |
| 394 | |
| 395 | struct cmd_ds_802_11_rf_tx_power { |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 396 | __le16 action; |
| 397 | __le16 currentlevel; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 398 | }; |
| 399 | |
| 400 | struct cmd_ds_802_11_rf_antenna { |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 401 | __le16 action; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 402 | |
| 403 | /* Number of antennas or 0xffff(diversity) */ |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 404 | __le16 antennamode; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 405 | |
| 406 | }; |
| 407 | |
Luis Carlos Cobo | 965f8bbc | 2007-08-02 13:16:55 -0400 | [diff] [blame] | 408 | struct cmd_ds_802_11_monitor_mode { |
| 409 | u16 action; |
| 410 | u16 mode; |
| 411 | }; |
| 412 | |
Luis Carlos Cobo | 63f0023 | 2007-08-02 13:19:24 -0400 | [diff] [blame] | 413 | struct cmd_ds_set_boot2_ver { |
| 414 | u16 action; |
| 415 | u16 version; |
| 416 | }; |
| 417 | |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 418 | struct cmd_ds_802_11_ps_mode { |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 419 | __le16 action; |
| 420 | __le16 nullpktinterval; |
| 421 | __le16 multipledtim; |
| 422 | __le16 reserved; |
| 423 | __le16 locallisteninterval; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 424 | }; |
| 425 | |
| 426 | struct PS_CMD_ConfirmSleep { |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 427 | __le16 command; |
| 428 | __le16 size; |
| 429 | __le16 seqnum; |
| 430 | __le16 result; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 431 | |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 432 | __le16 action; |
| 433 | __le16 reserved1; |
| 434 | __le16 multipledtim; |
| 435 | __le16 reserved; |
| 436 | __le16 locallisteninterval; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 437 | }; |
| 438 | |
| 439 | struct cmd_ds_802_11_data_rate { |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 440 | __le16 action; |
Dan Williams | 8c51276 | 2007-08-02 11:40:45 -0400 | [diff] [blame] | 441 | __le16 reserved; |
| 442 | u8 rates[MAX_RATES]; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 443 | }; |
| 444 | |
| 445 | struct cmd_ds_802_11_rate_adapt_rateset { |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 446 | __le16 action; |
| 447 | __le16 enablehwauto; |
| 448 | __le16 bitmap; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 449 | }; |
| 450 | |
| 451 | struct cmd_ds_802_11_ad_hoc_start { |
Dan Williams | b44898e | 2007-08-02 11:18:40 -0400 | [diff] [blame] | 452 | u8 ssid[IW_ESSID_MAX_SIZE]; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 453 | u8 bsstype; |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 454 | __le16 beaconperiod; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 455 | u8 dtimperiod; |
| 456 | union IEEEtypes_ssparamset ssparamset; |
| 457 | union ieeetypes_phyparamset phyparamset; |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 458 | __le16 probedelay; |
Dan Williams | 0c9ca690 | 2007-08-02 10:43:44 -0400 | [diff] [blame] | 459 | __le16 capability; |
Dan Williams | 8c51276 | 2007-08-02 11:40:45 -0400 | [diff] [blame] | 460 | u8 rates[MAX_RATES]; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 461 | u8 tlv_memory_size_pad[100]; |
| 462 | } __attribute__ ((packed)); |
| 463 | |
| 464 | struct adhoc_bssdesc { |
Dan Williams | 0c9ca690 | 2007-08-02 10:43:44 -0400 | [diff] [blame] | 465 | u8 bssid[6]; |
| 466 | u8 ssid[32]; |
| 467 | u8 type; |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 468 | __le16 beaconperiod; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 469 | u8 dtimperiod; |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 470 | __le64 timestamp; |
| 471 | __le64 localtime; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 472 | union ieeetypes_phyparamset phyparamset; |
| 473 | union IEEEtypes_ssparamset ssparamset; |
Dan Williams | 0c9ca690 | 2007-08-02 10:43:44 -0400 | [diff] [blame] | 474 | __le16 capability; |
Dan Williams | 8c51276 | 2007-08-02 11:40:45 -0400 | [diff] [blame] | 475 | u8 rates[MAX_RATES]; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 476 | |
| 477 | /* DO NOT ADD ANY FIELDS TO THIS STRUCTURE. It is used below in the |
| 478 | * Adhoc join command and will cause a binary layout mismatch with |
| 479 | * the firmware |
| 480 | */ |
| 481 | } __attribute__ ((packed)); |
| 482 | |
| 483 | struct cmd_ds_802_11_ad_hoc_join { |
Dan Williams | 0c9ca690 | 2007-08-02 10:43:44 -0400 | [diff] [blame] | 484 | struct adhoc_bssdesc bss; |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 485 | __le16 failtimeout; |
| 486 | __le16 probedelay; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 487 | |
| 488 | } __attribute__ ((packed)); |
| 489 | |
| 490 | struct cmd_ds_802_11_enable_rsn { |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 491 | __le16 action; |
| 492 | __le16 enable; |
Dan Williams | 18c96c34 | 2007-06-18 12:01:12 -0400 | [diff] [blame] | 493 | } __attribute__ ((packed)); |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 494 | |
| 495 | struct MrvlIEtype_keyParamSet { |
| 496 | /* type ID */ |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 497 | __le16 type; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 498 | |
| 499 | /* length of Payload */ |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 500 | __le16 length; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 501 | |
| 502 | /* type of key: WEP=0, TKIP=1, AES=2 */ |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 503 | __le16 keytypeid; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 504 | |
| 505 | /* key control Info specific to a keytypeid */ |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 506 | __le16 keyinfo; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 507 | |
| 508 | /* length of key */ |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 509 | __le16 keylen; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 510 | |
| 511 | /* key material of size keylen */ |
| 512 | u8 key[32]; |
| 513 | }; |
| 514 | |
| 515 | struct cmd_ds_802_11_key_material { |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 516 | __le16 action; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 517 | struct MrvlIEtype_keyParamSet keyParamSet[2]; |
| 518 | } __attribute__ ((packed)); |
| 519 | |
| 520 | struct cmd_ds_802_11_eeprom_access { |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 521 | __le16 action; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 522 | |
| 523 | /* multiple 4 */ |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 524 | __le16 offset; |
| 525 | __le16 bytecount; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 526 | u8 value; |
| 527 | } __attribute__ ((packed)); |
| 528 | |
| 529 | struct cmd_ds_802_11_tpc_cfg { |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 530 | __le16 action; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 531 | u8 enable; |
| 532 | s8 P0; |
| 533 | s8 P1; |
| 534 | s8 P2; |
| 535 | u8 usesnr; |
| 536 | } __attribute__ ((packed)); |
| 537 | |
| 538 | struct cmd_ds_802_11_led_ctrl { |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 539 | __le16 action; |
| 540 | __le16 numled; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 541 | u8 data[256]; |
| 542 | } __attribute__ ((packed)); |
| 543 | |
| 544 | struct cmd_ds_802_11_pwr_cfg { |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 545 | __le16 action; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 546 | u8 enable; |
| 547 | s8 PA_P0; |
| 548 | s8 PA_P1; |
| 549 | s8 PA_P2; |
| 550 | } __attribute__ ((packed)); |
| 551 | |
| 552 | struct cmd_ds_802_11_afc { |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 553 | __le16 afc_auto; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 554 | union { |
| 555 | struct { |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 556 | __le16 threshold; |
| 557 | __le16 period; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 558 | }; |
| 559 | struct { |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 560 | __le16 timing_offset; /* signed */ |
| 561 | __le16 carrier_offset; /* signed */ |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 562 | }; |
| 563 | }; |
| 564 | } __attribute__ ((packed)); |
| 565 | |
| 566 | struct cmd_tx_rate_query { |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 567 | __le16 txrate; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 568 | } __attribute__ ((packed)); |
| 569 | |
| 570 | struct cmd_ds_get_tsf { |
| 571 | __le64 tsfvalue; |
| 572 | } __attribute__ ((packed)); |
| 573 | |
| 574 | struct cmd_ds_bt_access { |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 575 | __le16 action; |
| 576 | __le32 id; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 577 | u8 addr1[ETH_ALEN]; |
| 578 | u8 addr2[ETH_ALEN]; |
| 579 | } __attribute__ ((packed)); |
| 580 | |
| 581 | struct cmd_ds_fwt_access { |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 582 | __le16 action; |
| 583 | __le32 id; |
Luis Carlos Cobo | 90e8eaf | 2007-05-25 13:53:26 -0400 | [diff] [blame] | 584 | u8 valid; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 585 | u8 da[ETH_ALEN]; |
| 586 | u8 dir; |
| 587 | u8 ra[ETH_ALEN]; |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 588 | __le32 ssn; |
| 589 | __le32 dsn; |
| 590 | __le32 metric; |
Luis Carlos Cobo | 90e8eaf | 2007-05-25 13:53:26 -0400 | [diff] [blame] | 591 | u8 rate; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 592 | u8 hopcount; |
| 593 | u8 ttl; |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 594 | __le32 expiration; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 595 | u8 sleepmode; |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 596 | __le32 snr; |
| 597 | __le32 references; |
Luis Carlos Cobo | 90e8eaf | 2007-05-25 13:53:26 -0400 | [diff] [blame] | 598 | u8 prec[ETH_ALEN]; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 599 | } __attribute__ ((packed)); |
| 600 | |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 601 | struct cmd_ds_mesh_access { |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 602 | __le16 action; |
| 603 | __le32 data[32]; /* last position reserved */ |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 604 | } __attribute__ ((packed)); |
| 605 | |
Javier Cardona | 0601e7e | 2007-05-25 12:12:06 -0400 | [diff] [blame] | 606 | /* Number of stats counters returned by the firmware */ |
| 607 | #define MESH_STATS_NUM 8 |
| 608 | |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 609 | struct cmd_ds_command { |
| 610 | /* command header */ |
David Woodhouse | 981f187 | 2007-05-25 23:36:54 -0400 | [diff] [blame] | 611 | __le16 command; |
| 612 | __le16 size; |
| 613 | __le16 seqnum; |
| 614 | __le16 result; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 615 | |
| 616 | /* command Body */ |
| 617 | union { |
| 618 | struct cmd_ds_get_hw_spec hwspec; |
| 619 | struct cmd_ds_802_11_ps_mode psmode; |
| 620 | struct cmd_ds_802_11_scan scan; |
| 621 | struct cmd_ds_802_11_scan_rsp scanresp; |
| 622 | struct cmd_ds_mac_control macctrl; |
| 623 | struct cmd_ds_802_11_associate associate; |
| 624 | struct cmd_ds_802_11_deauthenticate deauth; |
| 625 | struct cmd_ds_802_11_set_wep wep; |
| 626 | struct cmd_ds_802_11_ad_hoc_start ads; |
| 627 | struct cmd_ds_802_11_reset reset; |
| 628 | struct cmd_ds_802_11_ad_hoc_result result; |
| 629 | struct cmd_ds_802_11_get_log glog; |
| 630 | struct cmd_ds_802_11_authenticate auth; |
| 631 | struct cmd_ds_802_11_get_stat gstat; |
| 632 | struct cmd_ds_802_3_get_stat gstat_8023; |
| 633 | struct cmd_ds_802_11_snmp_mib smib; |
| 634 | struct cmd_ds_802_11_rf_tx_power txp; |
| 635 | struct cmd_ds_802_11_rf_antenna rant; |
Luis Carlos Cobo | 965f8bbc | 2007-08-02 13:16:55 -0400 | [diff] [blame] | 636 | struct cmd_ds_802_11_monitor_mode monitor; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 637 | struct cmd_ds_802_11_data_rate drate; |
| 638 | struct cmd_ds_802_11_rate_adapt_rateset rateset; |
| 639 | struct cmd_ds_mac_multicast_adr madr; |
| 640 | struct cmd_ds_802_11_ad_hoc_join adj; |
| 641 | struct cmd_ds_802_11_radio_control radio; |
| 642 | struct cmd_ds_802_11_rf_channel rfchannel; |
| 643 | struct cmd_ds_802_11_rssi rssi; |
| 644 | struct cmd_ds_802_11_rssi_rsp rssirsp; |
| 645 | struct cmd_ds_802_11_disassociate dassociate; |
| 646 | struct cmd_ds_802_11_mac_address macadd; |
| 647 | struct cmd_ds_802_11_enable_rsn enbrsn; |
| 648 | struct cmd_ds_802_11_key_material keymaterial; |
| 649 | struct cmd_ds_mac_reg_access macreg; |
| 650 | struct cmd_ds_bbp_reg_access bbpreg; |
| 651 | struct cmd_ds_rf_reg_access rfreg; |
| 652 | struct cmd_ds_802_11_eeprom_access rdeeprom; |
| 653 | |
| 654 | struct cmd_ds_802_11d_domain_info domaininfo; |
| 655 | struct cmd_ds_802_11d_domain_info domaininforesp; |
| 656 | |
| 657 | struct cmd_ds_802_11_sleep_params sleep_params; |
| 658 | struct cmd_ds_802_11_inactivity_timeout inactivity_timeout; |
| 659 | struct cmd_ds_802_11_tpc_cfg tpccfg; |
| 660 | struct cmd_ds_802_11_pwr_cfg pwrcfg; |
| 661 | struct cmd_ds_802_11_afc afc; |
| 662 | struct cmd_ds_802_11_led_ctrl ledgpio; |
| 663 | |
| 664 | struct cmd_tx_rate_query txrate; |
| 665 | struct cmd_ds_bt_access bt; |
| 666 | struct cmd_ds_fwt_access fwt; |
| 667 | struct cmd_ds_mesh_access mesh; |
Luis Carlos Cobo | 63f0023 | 2007-08-02 13:19:24 -0400 | [diff] [blame] | 668 | struct cmd_ds_set_boot2_ver boot2_ver; |
Marcelo Tosatti | 876c9d3 | 2007-02-10 12:25:27 -0200 | [diff] [blame] | 669 | struct cmd_ds_get_tsf gettsf; |
| 670 | struct cmd_ds_802_11_subscribe_event subscribe_event; |
| 671 | } params; |
| 672 | } __attribute__ ((packed)); |
| 673 | |
| 674 | #endif |