aironet4500_rid.c
上传用户:lgb322
上传日期:2013-02-24
资源大小:30529k
文件大小:183k
源码类别:

嵌入式Linux

开发平台:

Unix_Linux

  1. awc_RID_gen_BasicRate_2Mbps,
  2. awc_RID_gen_BasicRate_4Mbps,
  3. awc_RID_gen_BasicRate_5Mbps,
  4. awc_RID_gen_BasicRate_10Mbps,
  5. awc_RID_gen_BasicRate_11Mbps,
  6. awc_RID_gen_Long_retry_limit,
  7. awc_RID_gen_Short_retry_limit,
  8. awc_RID_gen_Tx_MSDU_lifetime,
  9. awc_RID_gen_Rx_MSDU_lifetime,
  10. awc_RID_gen_Stationary,
  11. awc_RID_gen_BC_MC_Ordering,
  12. awc_RID_gen_Device_type,
  13. awc_RID_gen_Reserved_0x0026,
  14. awc_RID_gen_ScanMode,
  15. awc_RID_gen_ScanMode_Active,
  16. awc_RID_gen_ScanMode_Passive,
  17. awc_RID_gen_ScanMode_Aironet_ext,
  18. awc_RID_gen_ProbeDelay,
  19. awc_RID_gen_ProbeEnergyTimeout,
  20. awc_RID_gen_ProbeResponseTimeout,
  21. awc_RID_gen_BeaconListenTimeout,
  22. awc_RID_gen_IbssJoinNetTimeout,
  23. awc_RID_gen_AuthenticationTimeout,
  24. awc_RID_gen_AuthenticationType,
  25. awc_RID_gen_AuthenticationType_None,
  26. awc_RID_gen_AuthenticationType_Open,
  27. awc_RID_gen_AuthenticationType_Shared,
  28. awc_RID_gen_AuthenticationType_Exclude_Open,
  29. awc_RID_gen_AssociationTimeout,
  30. awc_RID_gen_SpecifiedAPtimeout,
  31. awc_RID_gen_OfflineScanInterval,
  32. awc_RID_gen_OfflineScanDuration,
  33. awc_RID_gen_LinkLossDelay,
  34. awc_RID_gen_MaxBeaconLostTime,
  35. awc_RID_gen_RefreshInterval,
  36. awc_RID_gen_PowerSaveMode,
  37. awc_RID_gen_PowerSaveMode_CAM,
  38. awc_RID_gen_PowerSaveMode_PSP,
  39. awc_RID_gen_PowerSaveMode_Fast_PSP,
  40. awc_RID_gen_SleepForDTIMs,
  41. awc_RID_gen_ListenInterval,
  42. awc_RID_gen_FastListenInterval,
  43. awc_RID_gen_ListenDecay,
  44. awc_RID_gen_FastListenDelay,
  45. awc_RID_gen_Reserved0x005C,
  46. awc_RID_gen_BeaconPeriod,
  47. awc_RID_gen_AtimDuration,
  48. awc_RID_gen_Reserved0x0064,
  49. awc_RID_gen_DSChannel,
  50. awc_RID_gen_Reserved0x0068,
  51. awc_RID_gen_DTIM_Period,
  52. awc_RID_gen_Reserved0x0006C,
  53. awc_RID_gen_RadioSpreadType,
  54. awc_RID_gen_RadioSpreadType_FH,
  55. awc_RID_gen_RadioSpreadType_DS,
  56. awc_RID_gen_RadioSpreadType_LM,
  57. awc_RID_gen_TX_antenna_Diversity,
  58. awc_RID_gen_TX_antenna_Diversity_default,
  59. awc_RID_gen_TX_antenna_Diversity_1,
  60. awc_RID_gen_TX_antenna_Diversity_2,
  61. awc_RID_gen_TX_antenna_Diversity_both,
  62. awc_RID_gen_RX_antenna_Diversity,
  63. awc_RID_gen_RX_antenna_Diversity_default,
  64. awc_RID_gen_RX_antenna_Diversity_1,
  65. awc_RID_gen_RX_antenna_Diversity_2,
  66. awc_RID_gen_RX_antenna_Diversity_both,
  67. awc_RID_gen_TransmitPower,
  68. awc_RID_gen_RSSIthreshold,
  69. awc_RID_gen_Modulation,
  70. awc_RID_gen_Reserved0x0079,
  71. awc_RID_gen_NodeName,
  72. awc_RID_gen_ARLThreshold,
  73. awc_RID_gen_ARLDecay,
  74. awc_RID_gen_ARLDelay,
  75. awc_RID_gen_Unused0x0096,
  76. awc_RID_gen_MagicPacketAction,
  77. awc_RID_gen_MagicPacketControl,
  78. {0}
  79. };
  80. struct aironet4500_RID awc_act_RID[]={
  81. awc_RID_act_RidLen,
  82. awc_RID_act_OperatingMode_adhoc,
  83. awc_RID_act_OperatingMode_Infrastructure,
  84. awc_RID_act_OperatingMode_AP,
  85. awc_RID_act_OperatingMode_AP_and_repeater,
  86. awc_RID_act_OperatingMode_No_payload_modify,
  87. awc_RID_act_OperatingMode_LLC_802_3_convert,
  88. awc_RID_act_OperatingMode_proprietary_ext,
  89. awc_RID_act_OperatingMode_no_proprietary_ext,
  90. awc_RID_act_OperatingMode_AP_ext,
  91. awc_RID_act_OperatingMode_no_AP_ext,
  92. awc_RID_act_ReceiveMode,
  93. awc_RID_act_ReceiveMode_BMA,
  94. awc_RID_act_ReceiveMode_BA,
  95. awc_RID_act_ReceiveMode_A,
  96. awc_RID_act_ReceiveMode_802_11_monitor,
  97. awc_RID_act_ReceiveMode_802_11_any_monitor,
  98. awc_RID_act_ReceiveMode_LAN_monitor,
  99. awc_RID_act_ReceiveMode_802_3_hdr_disable,
  100. awc_RID_act_ReceiveMode_802_3_hdr_enable,
  101. awc_RID_act_Fragmentation_threshold,
  102. awc_RID_act_RTS_threshold,
  103. awc_RID_act_Station_Mac_Id,
  104. awc_RID_act_Supported_rates,
  105. awc_RID_act_Basic_Rate,
  106. awc_RID_act_Rate_500kbps,
  107. awc_RID_act_Rate_1Mbps,
  108. awc_RID_act_Rate_2Mbps,
  109. awc_RID_act_Rate_4Mbps,
  110. awc_RID_act_Rate_5Mbps,
  111. awc_RID_act_Rate_10Mbps,
  112. awc_RID_act_Rate_11Mbps,
  113. awc_RID_act_BasicRate_500kbps,
  114. awc_RID_act_BasicRate_1Mbps,
  115. awc_RID_act_BasicRate_2Mbps,
  116. awc_RID_act_BasicRate_4Mbps,
  117. awc_RID_act_BasicRate_5Mbps,
  118. awc_RID_act_BasicRate_10Mbps,
  119. awc_RID_act_BasicRate_11Mbps,
  120. awc_RID_act_Long_retry_limit,
  121. awc_RID_act_Short_retry_limit,
  122. awc_RID_act_Tx_MSDU_lifetime,
  123. awc_RID_act_Rx_MSDU_lifetime,
  124. awc_RID_act_Stationary,
  125. awc_RID_act_BC_MC_Ordering,
  126. awc_RID_act_Device_type,
  127. awc_RID_act_Reserved_0x0026,
  128. awc_RID_act_ScanMode,
  129. awc_RID_act_ScanMode_Active,
  130. awc_RID_act_ScanMode_Passive,
  131. awc_RID_act_ScanMode_Aironet_ext,
  132. awc_RID_act_ProbeDelay,
  133. awc_RID_act_ProbeEnergyTimeout,
  134. awc_RID_act_ProbeResponseTimeout,
  135. awc_RID_act_BeaconListenTimeout,
  136. awc_RID_act_IbssJoinNetTimeout,
  137. awc_RID_act_AuthenticationTimeout,
  138. awc_RID_act_AuthenticationType,
  139. awc_RID_act_AuthenticationType_None,
  140. awc_RID_act_AuthenticationType_Open,
  141. awc_RID_act_AuthenticationType_Shared,
  142. awc_RID_act_AuthenticationType_Exclude_Open,
  143. awc_RID_act_AssociationTimeout,
  144. awc_RID_act_SpecifiedAPtimeout,
  145. awc_RID_act_OfflineScanInterval,
  146. awc_RID_act_OfflineScanDuration,
  147. awc_RID_act_LinkLossDelay,
  148. awc_RID_act_MaxBeaconLostTime,
  149. awc_RID_act_RefreshInterval,
  150. awc_RID_act_PowerSaveMode,
  151. awc_RID_act_PowerSaveMode_CAM,
  152. awc_RID_act_PowerSaveMode_PSP,
  153. awc_RID_act_PowerSaveMode_Fast_PSP,
  154. awc_RID_act_SleepForDTIMs,
  155. awc_RID_act_ListenInterval,
  156. awc_RID_act_FastListenInterval,
  157. awc_RID_act_ListenDecay,
  158. awc_RID_act_FastListenDelay,
  159. awc_RID_act_Reserved0x005C,
  160. awc_RID_act_BeaconPeriod,
  161. awc_RID_act_AtimDuration,
  162. awc_RID_act_Reserved0x0064,
  163. awc_RID_act_DSChannel,
  164. awc_RID_act_Reserved0x0068,
  165. awc_RID_act_DTIM_Period,
  166. awc_RID_act_Reserved0x0006C,
  167. awc_RID_act_RadioSpreadType,
  168. awc_RID_act_RadioSpreadType_FH,
  169. awc_RID_act_RadioSpreadType_DS,
  170. awc_RID_act_RadioSpreadType_LM,
  171. awc_RID_act_TX_antenna_Diversity,
  172. awc_RID_act_TX_antenna_Diversity_default,
  173. awc_RID_act_TX_antenna_Diversity_1,
  174. awc_RID_act_TX_antenna_Diversity_2,
  175. awc_RID_act_TX_antenna_Diversity_both,
  176. awc_RID_act_RX_antenna_Diversity,
  177. awc_RID_act_RX_antenna_Diversity_default,
  178. awc_RID_act_RX_antenna_Diversity_1,
  179. awc_RID_act_RX_antenna_Diversity_2,
  180. awc_RID_act_RX_antenna_Diversity_both,
  181. awc_RID_act_TransmitPower,
  182. awc_RID_act_RSSIthreshold,
  183. awc_RID_act_Modulation,
  184. awc_RID_act_Reserved0x0079,
  185. awc_RID_act_NodeName,
  186. awc_RID_act_ARLThreshold,
  187. awc_RID_act_ARLDecay,
  188. awc_RID_act_ARLDelay,
  189. awc_RID_act_Unused0x0096,
  190. awc_RID_act_MagicPacketAction,
  191. awc_RID_act_MagicPacketControl,
  192. {0}
  193. };
  194. struct aironet4500_RID awc_SSID_RID[]={
  195. awc_RID_SSID_RidLen,
  196. awc_RID_SSID_Accept_any,
  197. awc_RID_SSIDlen1,
  198. awc_RID_SSID1,
  199. awc_RID_SSIDlen2,
  200. awc_RID_SSID2,
  201. awc_RID_SSIDlen3,
  202. awc_RID_SSID3,
  203. awc_RID_SSID1hex,
  204. awc_RID_SSID2hex,
  205. awc_RID_SSID3hex,
  206. {0}
  207. };
  208. struct aironet4500_RID awc_AP_List_RID[]={
  209. awc_RID_AP_List_RidLen,
  210. awc_RID_AP_List_SpecifiedAP1,
  211. awc_RID_AP_List_SpecifiedAP2,
  212. awc_RID_AP_List_SpecifiedAP3,
  213. awc_RID_AP_List_SpecifiedAP4,
  214. {0}
  215. };
  216. struct aironet4500_RID awc_Dname_RID[]={
  217. awc_RID_Dname_RidLen,
  218. awc_RID_Dname_DriverName,
  219. {0}
  220. };
  221. struct aironet4500_RID awc_enc_RID[]={
  222. awc_RID_Enc_RidLen,
  223. awc_RID_Enc_EtherType1,
  224. awc_RID_Enc_Action_RX_1,
  225. awc_RID_Enc_Action_RX_1_RFC_1042,
  226. awc_RID_Enc_Action_RX_1_802_11,
  227. awc_RID_Enc_Action_TX_1,
  228. awc_RID_Enc_Action_TX_1_RFC_1042,
  229. awc_RID_Enc_Action_TX_1_802_11,
  230. awc_RID_Enc_EtherType2,
  231. awc_RID_Enc_Action_RX_2,
  232. awc_RID_Enc_Action_RX_2_RFC_1042,
  233. awc_RID_Enc_Action_RX_2_802_11,
  234. awc_RID_Enc_Action_TX_2,
  235. awc_RID_Enc_Action_TX_2_RFC_1042,
  236. awc_RID_Enc_Action_TX_2_802_11,
  237. awc_RID_Enc_EtherType3,
  238. awc_RID_Enc_Action_RX_3,
  239. awc_RID_Enc_Action_RX_3_RFC_1042,
  240. awc_RID_Enc_Action_RX_3_802_11,
  241. awc_RID_Enc_Action_TX_3_,
  242. awc_RID_Enc_Action_TX_3_RFC_1042,
  243. awc_RID_Enc_Action_TX_3_802_11,
  244. awc_RID_Enc_EtherType4,
  245. awc_RID_Enc_Action_RX_4,
  246. awc_RID_Enc_Action_RX_4_RFC_1042,
  247. awc_RID_Enc_Action_RX_4_802_11,
  248. awc_RID_Enc_Action_TX_4,
  249. awc_RID_Enc_Action_TX_4_RFC_1042,
  250. awc_RID_Enc_Action_TX_4_802_11,
  251. awc_RID_Enc_EtherType5,
  252. awc_RID_Enc_Action_RX_5,
  253. awc_RID_Enc_Action_RX_5_RFC_1042,
  254. awc_RID_Enc_Action_RX_5_802_11,
  255. awc_RID_Enc_Action_TX_5,
  256. awc_RID_Enc_Action_TX_5_RFC_1042,
  257. awc_RID_Enc_Action_TX_5_802_11,
  258. awc_RID_Enc_EtherType6,
  259. awc_RID_Enc_Action_RX_6,
  260. awc_RID_Enc_Action_RX_6_RFC_1042,
  261. awc_RID_Enc_Action_RX_6_802_11,
  262. awc_RID_Enc_Action_TX_6,
  263. awc_RID_Enc_Action_TX_6_RFC_1042,
  264. awc_RID_Enc_Action_TX_6_802_11,
  265. awc_RID_Enc_EtherType7,
  266. awc_RID_Enc_Action_RX_7,
  267. awc_RID_Enc_Action_RX_7_RFC_1042,
  268. awc_RID_Enc_Action_RX_7_802_11,
  269. awc_RID_Enc_Action_TX_7,
  270. awc_RID_Enc_Action_TX_7_RFC_1042,
  271. awc_RID_Enc_Action_TX_7_802_11,
  272. awc_RID_Enc_EtherType8,
  273. awc_RID_Enc_Action_RX_8,
  274. awc_RID_Enc_Action_RX_8_RFC_1042,
  275. awc_RID_Enc_Action_RX_8_802_11,
  276. awc_RID_Enc_Action_TX_8,
  277. awc_RID_Enc_Action_TX_8_RFC_1042,
  278. awc_RID_Enc_Action_TX_8_802_11,
  279. {0}
  280. };
  281. struct aironet4500_RID awc_WEPv_RID[]={
  282. awc_RID_WEPv_RidLen,
  283. awc_RID_WEPv_KeyIndex,
  284. awc_RID_WEPv_Address,
  285. awc_RID_WEPv_KeyLen,
  286. awc_RID_WEPv_Key,
  287. awc_RID_WEPv_KeyAscii,
  288. {0}
  289. };
  290. struct aironet4500_RID awc_WEPnv_RID[]={
  291. awc_RID_WEPnv_RidLen,
  292. awc_RID_WEPnv_KeyIndex,
  293. awc_RID_WEPnv_Address,
  294. awc_RID_WEPnv_KeyLen,
  295. awc_RID_WEPnv_Key,
  296. awc_RID_WEPnv_KeyAscii,
  297. {0}
  298. };
  299. struct aironet4500_RID awc_Modulation_RID[]={
  300. awc_RID_Modulation_RidLen,
  301. awc_RID_Modulation_Modulation,
  302. {0}
  303. };
  304. struct aironet4500_RID awc_Cap_RID[]={
  305. awc_RID_Cap_RidLen,
  306. awc_RID_Cap_OUI,
  307. awc_RID_Cap_ProductNum,
  308. awc_RID_Cap_ManufacturerName,
  309. awc_RID_Cap_ProductName,
  310. awc_RID_Cap_ProductVersion,
  311. awc_RID_Cap_FactoryAddress,
  312. awc_RID_Cap_AironetAddress,
  313. awc_RID_Cap_RadioSpreadType_DS,
  314. awc_RID_Cap_RadioSpreadType_FH,
  315. awc_RID_Cap_RadioSpreadType_Legacy,
  316. awc_RID_Cap_RegDomain,
  317. awc_RID_Cap_Callid,
  318. awc_RID_Cap_SupportedRates,
  319. awc_RID_Cap_RxDiversity,
  320. awc_RID_Cap_TxDiversity,
  321. awc_RID_Cap_TxPowerLevels,
  322. awc_RID_Cap_HardwareVersion,
  323. awc_RID_Cap_HardwareCapabilit,
  324. awc_RID_Cap_TemperatureRange,
  325. awc_RID_Cap_SoftwareVersion,
  326. awc_RID_Cap_SoftwareVersion_major,
  327. awc_RID_Cap_SoftwareVersion_minor,
  328. awc_RID_Cap_SoftwareSubVersion,
  329. awc_RID_Cap_InterfaceVersion,
  330. awc_RID_Cap_SoftwareCapabilities,
  331. awc_RID_Cap_BootBlockVersion,
  332. {0}
  333. };
  334. struct aironet4500_RID awc_Status_RID[]={
  335. awc_RID_Status_RidLen,
  336. awc_RID_Status_MacAddress,
  337. awc_RID_Status_OperationalMode,
  338. awc_RID_Status_Configured,
  339. awc_RID_Status_MAC_Enabled,
  340. awc_RID_Status_Receive_Enabled,
  341. awc_RID_Status_In_Sync,
  342. awc_RID_Status_Associated,
  343. awc_RID_Status_Error,
  344. awc_RID_Status_ErrorCode,
  345. awc_RID_Status_CurrentSignalQuality,
  346. awc_RID_Status_SSIDlength,
  347. awc_RID_Status_SSID,
  348. awc_RID_Status_ApName,
  349. awc_RID_Status_CurrentBssid,
  350. awc_RID_Status_PreviousBssid1,
  351. awc_RID_Status_PreviousBssid2,
  352. awc_RID_Status_PreviousBssid3,
  353. awc_RID_Status_BeaconPeriod,
  354. awc_RID_Status_DtimPeriod,
  355. awc_RID_Status_AtimDuration,
  356. awc_RID_Status_HopPeriod,
  357. awc_RID_Status_ChannelSet,
  358. awc_RID_Status_Channel,
  359. awc_RID_Status_HopsToBackbone,
  360. awc_RID_Status_ApTotalLoad,
  361. awc_RID_Status_OurGeneratedLoad,
  362. awc_RID_Status_AccumulatedArl,
  363. {0}
  364. };
  365. struct aironet4500_RID awc_AP_RID[]={
  366. awc_RID_AP_16RidLen,
  367. awc_RID_AP_TIM_addr,
  368. awc_RID_AP_Airo_addr,
  369. {0}
  370. };
  371. struct aironet4500_RID awc_Stats_RID[]={
  372. awc_RID_Stats_RidLen,
  373. awc_RID_Stats_RxOverrunErr,
  374. awc_RID_Stats_RxPlcpCrcErr,
  375. awc_RID_Stats_RxPlcpFormat,
  376. awc_RID_Stats_RxPlcpLength,
  377. awc_RID_Stats_RxMacCrcErr,
  378. awc_RID_Stats_RxMacCrcOk,
  379. awc_RID_Stats_RxWepErr,
  380. awc_RID_Stats_RxWepOk,
  381. awc_RID_Stats_RetryLong,
  382. awc_RID_Stats_RetryShort,
  383. awc_RID_Stats_MaxRetries,
  384. awc_RID_Stats_NoAck,
  385. awc_RID_Stats_NoCts,
  386. awc_RID_Stats_RxAck,
  387. awc_RID_Stats_RxCts,
  388. awc_RID_Stats_TxAck,
  389. awc_RID_Stats_TxRts,
  390. awc_RID_Stats_TxCts,
  391. awc_RID_Stats_TxMc,
  392. awc_RID_Stats_TxBc,
  393. awc_RID_Stats_TxUcFrags,
  394. awc_RID_Stats_TxUcPackets,
  395. awc_RID_Stats_TxBeacon,
  396. awc_RID_Stats_RxBeacon,
  397. awc_RID_Stats_TxSinColl,
  398. awc_RID_Stats_TxMulColl,
  399. awc_RID_Stats_DefersNo,
  400. awc_RID_Stats_DefersProt,
  401. awc_RID_Stats_DefersEngy,
  402. awc_RID_Stats_DupFram,
  403. awc_RID_Stats_RxFragDisc,
  404. awc_RID_Stats_TxAged,
  405. awc_RID_Stats_RxAged,
  406. awc_RID_Stats_LostSync_Max,
  407. awc_RID_Stats_LostSync_Mis,
  408. awc_RID_Stats_LostSync_Arl,
  409. awc_RID_Stats_LostSync_Dea,
  410. awc_RID_Stats_LostSync_Disa,
  411. awc_RID_Stats_LostSync_Tsf,
  412. awc_RID_Stats_HostTxMc,
  413. awc_RID_Stats_HostTxBc,
  414. awc_RID_Stats_HostTxUc,
  415. awc_RID_Stats_HostTxFail,
  416. awc_RID_Stats_HostRxMc,
  417. awc_RID_Stats_HostRxBc,
  418. awc_RID_Stats_HostRxUc,
  419. awc_RID_Stats_HostRxDiscar,
  420. awc_RID_Stats_HmacTxMc,
  421. awc_RID_Stats_HmacTxBc,
  422. awc_RID_Stats_HmacTxUc,
  423. awc_RID_Stats_HmacTxFail,
  424. awc_RID_Stats_HmacRxMc,
  425. awc_RID_Stats_HmacRxBc,
  426. awc_RID_Stats_HmacRxUc,
  427. awc_RID_Stats_HmacRxDisca,
  428. awc_RID_Stats_HmacRxAcce,
  429. awc_RID_Stats_SsidMismatch,
  430. awc_RID_Stats_ApMismatch,
  431. awc_RID_Stats_RatesMismatc,
  432. awc_RID_Stats_AuthReject,
  433. awc_RID_Stats_AuthTimeout,
  434. awc_RID_Stats_AssocReject,
  435. awc_RID_Stats_AssocTimeout,
  436. awc_RID_Stats_NewReason,
  437. awc_RID_Stats_AuthFail_1,
  438. awc_RID_Stats_AuthFail_2,
  439. awc_RID_Stats_AuthFail_3,
  440. awc_RID_Stats_AuthFail_4,
  441. awc_RID_Stats_AuthFail_5,
  442. awc_RID_Stats_AuthFail_6,
  443. awc_RID_Stats_AuthFail_7,
  444. awc_RID_Stats_AuthFail_8,
  445. awc_RID_Stats_AuthFail_9,
  446. awc_RID_Stats_AuthFail_10,
  447. awc_RID_Stats_AuthFail_11,
  448. awc_RID_Stats_AuthFail_12,
  449. awc_RID_Stats_AuthFail_13,
  450. awc_RID_Stats_AuthFail_14,
  451. awc_RID_Stats_AuthFail_15,
  452. awc_RID_Stats_AuthFail_16,
  453. awc_RID_Stats_AuthFail_17,
  454. awc_RID_Stats_AuthFail_18,
  455. awc_RID_Stats_AuthFail_19,
  456. awc_RID_Stats_RxMan,
  457. awc_RID_Stats_TxMan,
  458. awc_RID_Stats_RxRefresh,
  459. awc_RID_Stats_TxRefresh,
  460. awc_RID_Stats_RxPoll,
  461. awc_RID_Stats_TxPoll,
  462. awc_RID_Stats_HostRetries,
  463. awc_RID_Stats_LostSync_HostReq,
  464. awc_RID_Stats_HostTxBytes,
  465. awc_RID_Stats_HostRxBytes,
  466. awc_RID_Stats_ElapsedUsec,
  467. awc_RID_Stats_ElapsedSec,
  468. awc_RID_Stats_LostSyncBett,
  469. {0}
  470. };
  471. struct aironet4500_RID awc_Stats_delta_RID[]={
  472. awc_RID_Stats_delta_RidLen,
  473. awc_RID_Stats_delta_RxOverrunErr,
  474. awc_RID_Stats_delta_RxPlcpCrcErr,
  475. awc_RID_Stats_delta_RxPlcpFormat,
  476. awc_RID_Stats_delta_RxPlcpLength,
  477. awc_RID_Stats_delta_RxMacCrcErr,
  478. awc_RID_Stats_delta_RxMacCrcOk,
  479. awc_RID_Stats_delta_RxWepErr,
  480. awc_RID_Stats_delta_RxWepOk,
  481. awc_RID_Stats_delta_RetryLong,
  482. awc_RID_Stats_delta_RetryShort,
  483. awc_RID_Stats_delta_MaxRetries,
  484. awc_RID_Stats_delta_NoAck,
  485. awc_RID_Stats_delta_NoCts,
  486. awc_RID_Stats_delta_RxAck,
  487. awc_RID_Stats_delta_RxCts,
  488. awc_RID_Stats_delta_TxAck,
  489. awc_RID_Stats_delta_TxRts,
  490. awc_RID_Stats_delta_TxCts,
  491. awc_RID_Stats_delta_TxMc,
  492. awc_RID_Stats_delta_TxBc,
  493. awc_RID_Stats_delta_TxUcFrags,
  494. awc_RID_Stats_delta_TxUcPackets,
  495. awc_RID_Stats_delta_TxBeacon,
  496. awc_RID_Stats_delta_RxBeacon,
  497. awc_RID_Stats_delta_TxSinColl,
  498. awc_RID_Stats_delta_TxMulColl,
  499. awc_RID_Stats_delta_DefersNo,
  500. awc_RID_Stats_delta_DefersProt,
  501. awc_RID_Stats_delta_DefersEngy,
  502. awc_RID_Stats_delta_DupFram,
  503. awc_RID_Stats_delta_RxFragDisc,
  504. awc_RID_Stats_delta_TxAged,
  505. awc_RID_Stats_delta_RxAged,
  506. awc_RID_Stats_delta_LostSync_Max,
  507. awc_RID_Stats_delta_LostSync_Mis,
  508. awc_RID_Stats_delta_LostSync_Arl,
  509. awc_RID_Stats_delta_LostSync_Dea,
  510. awc_RID_Stats_delta_LostSync_Disa,
  511. awc_RID_Stats_delta_LostSync_Tsf,
  512. awc_RID_Stats_delta_HostTxMc,
  513. awc_RID_Stats_delta_HostTxBc,
  514. awc_RID_Stats_delta_HostTxUc,
  515. awc_RID_Stats_delta_HostTxFail,
  516. awc_RID_Stats_delta_HostRxMc,
  517. awc_RID_Stats_delta_HostRxBc,
  518. awc_RID_Stats_delta_HostRxUc,
  519. awc_RID_Stats_delta_HostRxDiscar,
  520. awc_RID_Stats_delta_HmacTxMc,
  521. awc_RID_Stats_delta_HmacTxBc,
  522. awc_RID_Stats_delta_HmacTxUc,
  523. awc_RID_Stats_delta_HmacTxFail,
  524. awc_RID_Stats_delta_HmacRxMc,
  525. awc_RID_Stats_delta_HmacRxBc,
  526. awc_RID_Stats_delta_HmacRxUc,
  527. awc_RID_Stats_delta_HmacRxDisca,
  528. awc_RID_Stats_delta_HmacRxAcce,
  529. awc_RID_Stats_delta_SsidMismatch,
  530. awc_RID_Stats_delta_ApMismatch,
  531. awc_RID_Stats_delta_RatesMismatc,
  532. awc_RID_Stats_delta_AuthReject,
  533. awc_RID_Stats_delta_AuthTimeout,
  534. awc_RID_Stats_delta_AssocReject,
  535. awc_RID_Stats_delta_AssocTimeout,
  536. awc_RID_Stats_delta_NewReason,
  537. awc_RID_Stats_delta_AuthFail_1,
  538. awc_RID_Stats_delta_AuthFail_2,
  539. awc_RID_Stats_delta_AuthFail_3,
  540. awc_RID_Stats_delta_AuthFail_4,
  541. awc_RID_Stats_delta_AuthFail_5,
  542. awc_RID_Stats_delta_AuthFail_6,
  543. awc_RID_Stats_delta_AuthFail_7,
  544. awc_RID_Stats_delta_AuthFail_8,
  545. awc_RID_Stats_delta_AuthFail_9,
  546. awc_RID_Stats_delta_AuthFail_10,
  547. awc_RID_Stats_delta_AuthFail_11,
  548. awc_RID_Stats_delta_AuthFail_12,
  549. awc_RID_Stats_delta_AuthFail_13,
  550. awc_RID_Stats_delta_AuthFail_14,
  551. awc_RID_Stats_delta_AuthFail_15,
  552. awc_RID_Stats_delta_AuthFail_16,
  553. awc_RID_Stats_delta_AuthFail_17,
  554. awc_RID_Stats_delta_AuthFail_18,
  555. awc_RID_Stats_delta_AuthFail_19,
  556. awc_RID_Stats_delta_RxMan,
  557. awc_RID_Stats_delta_TxMan,
  558. awc_RID_Stats_delta_RxRefresh,
  559. awc_RID_Stats_delta_TxRefresh,
  560. awc_RID_Stats_delta_RxPoll,
  561. awc_RID_Stats_delta_TxPoll,
  562. awc_RID_Stats_delta_HostRetries,
  563. awc_RID_Stats_delta_LostSync_HostReq,
  564. awc_RID_Stats_delta_HostTxBytes,
  565. awc_RID_Stats_delta_HostRxBytes,
  566. awc_RID_Stats_delta_ElapsedUsec,
  567. awc_RID_Stats_delta_ElapsedSec,
  568. awc_RID_Stats_delta_LostSyncBett,
  569. {0}
  570. };
  571. struct aironet4500_RID awc_Stats_clear_RID[]={
  572. awc_RID_Stats_clear_RidLen,
  573. awc_RID_Stats_clear_RxOverrunErr,
  574. awc_RID_Stats_clear_RxPlcpCrcErr,
  575. awc_RID_Stats_clear_RxPlcpFormat,
  576. awc_RID_Stats_clear_RxPlcpLength,
  577. awc_RID_Stats_clear_RxMacCrcErr,
  578. awc_RID_Stats_clear_RxMacCrcOk,
  579. awc_RID_Stats_clear_RxWepErr,
  580. awc_RID_Stats_clear_RxWepOk,
  581. awc_RID_Stats_clear_RetryLong,
  582. awc_RID_Stats_clear_RetryShort,
  583. awc_RID_Stats_clear_MaxRetries,
  584. awc_RID_Stats_clear_NoAck,
  585. awc_RID_Stats_clear_NoCts,
  586. awc_RID_Stats_clear_RxAck,
  587. awc_RID_Stats_clear_RxCts,
  588. awc_RID_Stats_clear_TxAck,
  589. awc_RID_Stats_clear_TxRts,
  590. awc_RID_Stats_clear_TxCts,
  591. awc_RID_Stats_clear_TxMc,
  592. awc_RID_Stats_clear_TxBc,
  593. awc_RID_Stats_clear_TxUcFrags,
  594. awc_RID_Stats_clear_TxUcPackets,
  595. awc_RID_Stats_clear_TxBeacon,
  596. awc_RID_Stats_clear_RxBeacon,
  597. awc_RID_Stats_clear_TxSinColl,
  598. awc_RID_Stats_clear_TxMulColl,
  599. awc_RID_Stats_clear_DefersNo,
  600. awc_RID_Stats_clear_DefersProt,
  601. awc_RID_Stats_clear_DefersEngy,
  602. awc_RID_Stats_clear_DupFram,
  603. awc_RID_Stats_clear_RxFragDisc,
  604. awc_RID_Stats_clear_TxAged,
  605. awc_RID_Stats_clear_RxAged,
  606. awc_RID_Stats_clear_LostSync_Max,
  607. awc_RID_Stats_clear_LostSync_Mis,
  608. awc_RID_Stats_clear_LostSync_Arl,
  609. awc_RID_Stats_clear_LostSync_Dea,
  610. awc_RID_Stats_clear_LostSync_Disa,
  611. awc_RID_Stats_clear_LostSync_Tsf,
  612. awc_RID_Stats_clear_HostTxMc,
  613. awc_RID_Stats_clear_HostTxBc,
  614. awc_RID_Stats_clear_HostTxUc,
  615. awc_RID_Stats_clear_HostTxFail,
  616. awc_RID_Stats_clear_HostRxMc,
  617. awc_RID_Stats_clear_HostRxBc,
  618. awc_RID_Stats_clear_HostRxUc,
  619. awc_RID_Stats_clear_HostRxDiscar,
  620. awc_RID_Stats_clear_HmacTxMc,
  621. awc_RID_Stats_clear_HmacTxBc,
  622. awc_RID_Stats_clear_HmacTxUc,
  623. awc_RID_Stats_clear_HmacTxFail,
  624. awc_RID_Stats_clear_HmacRxMc,
  625. awc_RID_Stats_clear_HmacRxBc,
  626. awc_RID_Stats_clear_HmacRxUc,
  627. awc_RID_Stats_clear_HmacRxDisca,
  628. awc_RID_Stats_clear_HmacRxAcce,
  629. awc_RID_Stats_clear_SsidMismatch,
  630. awc_RID_Stats_clear_ApMismatch,
  631. awc_RID_Stats_clear_RatesMismatc,
  632. awc_RID_Stats_clear_AuthReject,
  633. awc_RID_Stats_clear_AuthTimeout,
  634. awc_RID_Stats_clear_AssocReject,
  635. awc_RID_Stats_clear_AssocTimeout,
  636. awc_RID_Stats_clear_NewReason,
  637. awc_RID_Stats_clear_AuthFail_1,
  638. awc_RID_Stats_clear_AuthFail_2,
  639. awc_RID_Stats_clear_AuthFail_3,
  640. awc_RID_Stats_clear_AuthFail_4,
  641. awc_RID_Stats_clear_AuthFail_5,
  642. awc_RID_Stats_clear_AuthFail_6,
  643. awc_RID_Stats_clear_AuthFail_7,
  644. awc_RID_Stats_clear_AuthFail_8,
  645. awc_RID_Stats_clear_AuthFail_9,
  646. awc_RID_Stats_clear_AuthFail_10,
  647. awc_RID_Stats_clear_AuthFail_11,
  648. awc_RID_Stats_clear_AuthFail_12,
  649. awc_RID_Stats_clear_AuthFail_13,
  650. awc_RID_Stats_clear_AuthFail_14,
  651. awc_RID_Stats_clear_AuthFail_15,
  652. awc_RID_Stats_clear_AuthFail_16,
  653. awc_RID_Stats_clear_AuthFail_17,
  654. awc_RID_Stats_clear_AuthFail_18,
  655. awc_RID_Stats_clear_AuthFail_19,
  656. awc_RID_Stats_clear_RxMan,
  657. awc_RID_Stats_clear_TxMan,
  658. awc_RID_Stats_clear_RxRefresh,
  659. awc_RID_Stats_clear_TxRefresh,
  660. awc_RID_Stats_clear_RxPoll,
  661. awc_RID_Stats_clear_TxPoll,
  662. awc_RID_Stats_clear_HostRetries,
  663. awc_RID_Stats_clear_LostSync_HostReq,
  664. awc_RID_Stats_clear_HostTxBytes,
  665. awc_RID_Stats_clear_HostRxBytes,
  666. awc_RID_Stats_clear_ElapsedUsec,
  667. awc_RID_Stats_clear_ElapsedSec,
  668. awc_RID_Stats_clear_LostSyncBett,
  669. {0}
  670. };
  671. #ifdef AWC_USE_16BIT_STATS
  672. struct aironet4500_RID awc_Stats16_RID[]={
  673. awc_RID_Stats16_RidLen,
  674. awc_RID_Stats16_RxOverrunErr,
  675. awc_RID_Stats16_RxPlcpCrcErr,
  676. awc_RID_Stats16_RxPlcpFormat,
  677. awc_RID_Stats16_RxPlcpLength,
  678. awc_RID_Stats16_RxMacCrcErr,
  679. awc_RID_Stats16_RxMacCrcOk,
  680. awc_RID_Stats16_RxWepErr,
  681. awc_RID_Stats16_RxWepOk,
  682. awc_RID_Stats16_RetryLong,
  683. awc_RID_Stats16_RetryShort,
  684. awc_RID_Stats16_MaxRetries,
  685. awc_RID_Stats16_NoAck,
  686. awc_RID_Stats16_NoCts,
  687. awc_RID_Stats16_RxAck,
  688. awc_RID_Stats16_RxCts,
  689. awc_RID_Stats16_TxAck,
  690. awc_RID_Stats16_TxRts,
  691. awc_RID_Stats16_TxCts,
  692. awc_RID_Stats16_TxMc,
  693. awc_RID_Stats16_TxBc,
  694. awc_RID_Stats16_TxUcFrags,
  695. awc_RID_Stats16_TxUcPackets,
  696. awc_RID_Stats16_TxBeacon,
  697. awc_RID_Stats16_RxBeacon,
  698. awc_RID_Stats16_TxSinColl,
  699. awc_RID_Stats16_TxMulColl,
  700. awc_RID_Stats16_DefersNo,
  701. awc_RID_Stats16_DefersProt,
  702. awc_RID_Stats16_DefersEngy,
  703. awc_RID_Stats16_DupFram,
  704. awc_RID_Stats16_RxFragDisc,
  705. awc_RID_Stats16_TxAged,
  706. awc_RID_Stats16_RxAged,
  707. awc_RID_Stats16_LostSync_Max,
  708. awc_RID_Stats16_LostSync_Mis,
  709. awc_RID_Stats16_LostSync_Arl,
  710. awc_RID_Stats16_LostSync_Dea,
  711. awc_RID_Stats16_LostSync_Disa,
  712. awc_RID_Stats16_LostSync_Tsf,
  713. awc_RID_Stats16_HostTxMc,
  714. awc_RID_Stats16_HostTxBc,
  715. awc_RID_Stats16_HostTxUc,
  716. awc_RID_Stats16_HostTxFail,
  717. awc_RID_Stats16_HostRxMc,
  718. awc_RID_Stats16_HostRxBc,
  719. awc_RID_Stats16_HostRxUc,
  720. awc_RID_Stats16_HostRxDiscar,
  721. awc_RID_Stats16_HmacTxMc,
  722. awc_RID_Stats16_HmacTxBc,
  723. awc_RID_Stats16_HmacTxUc,
  724. awc_RID_Stats16_HmacTxFail,
  725. awc_RID_Stats16_HmacRxMc,
  726. awc_RID_Stats16_HmacRxBc,
  727. awc_RID_Stats16_HmacRxUc,
  728. awc_RID_Stats16_HmacRxDisca,
  729. awc_RID_Stats16_HmacRxAcce,
  730. awc_RID_Stats16_SsidMismatch,
  731. awc_RID_Stats16_ApMismatch,
  732. awc_RID_Stats16_RatesMismatc,
  733. awc_RID_Stats16_AuthReject,
  734. awc_RID_Stats16_AuthTimeout,
  735. awc_RID_Stats16_AssocReject,
  736. awc_RID_Stats16_AssocTimeout,
  737. awc_RID_Stats16_NewReason,
  738. awc_RID_Stats16_AuthFail_1,
  739. awc_RID_Stats16_AuthFail_2,
  740. awc_RID_Stats16_AuthFail_3,
  741. awc_RID_Stats16_AuthFail_4,
  742. awc_RID_Stats16_AuthFail_5,
  743. awc_RID_Stats16_AuthFail_6,
  744. awc_RID_Stats16_AuthFail_7,
  745. awc_RID_Stats16_AuthFail_8,
  746. awc_RID_Stats16_AuthFail_9,
  747. awc_RID_Stats16_AuthFail_10,
  748. awc_RID_Stats16_AuthFail_11,
  749. awc_RID_Stats16_AuthFail_12,
  750. awc_RID_Stats16_AuthFail_13,
  751. awc_RID_Stats16_AuthFail_14,
  752. awc_RID_Stats16_AuthFail_15,
  753. awc_RID_Stats16_AuthFail_16,
  754. awc_RID_Stats16_AuthFail_17,
  755. awc_RID_Stats16_AuthFail_18,
  756. awc_RID_Stats16_AuthFail_19,
  757. awc_RID_Stats16_RxMan,
  758. awc_RID_Stats16_TxMan,
  759. awc_RID_Stats16_RxRefresh,
  760. awc_RID_Stats16_TxRefresh,
  761. awc_RID_Stats16_RxPoll,
  762. awc_RID_Stats16_TxPoll,
  763. awc_RID_Stats16_HostRetries,
  764. awc_RID_Stats16_LostSync_HostReq,
  765. awc_RID_Stats16_HostTxBytes,
  766. awc_RID_Stats16_HostRxBytes,
  767. awc_RID_Stats16_ElapsedUsec,
  768. awc_RID_Stats16_ElapsedSec,
  769. awc_RID_Stats16_LostSyncBett,
  770. {0}
  771. };
  772. struct aironet4500_RID awc_Stats16_delta_RID[]={
  773. awc_RID_Stats16_delta_RidLen,
  774. awc_RID_Stats16_delta_RxOverrunErr,
  775. awc_RID_Stats16_delta_RxPlcpCrcErr,
  776. awc_RID_Stats16_delta_RxPlcpFormat,
  777. awc_RID_Stats16_delta_RxPlcpLength,
  778. awc_RID_Stats16_delta_RxMacCrcErr,
  779. awc_RID_Stats16_delta_RxMacCrcOk,
  780. awc_RID_Stats16_delta_RxWepErr,
  781. awc_RID_Stats16_delta_RxWepOk,
  782. awc_RID_Stats16_delta_RetryLong,
  783. awc_RID_Stats16_delta_RetryShort,
  784. awc_RID_Stats16_delta_MaxRetries,
  785. awc_RID_Stats16_delta_NoAck,
  786. awc_RID_Stats16_delta_NoCts,
  787. awc_RID_Stats16_delta_RxAck,
  788. awc_RID_Stats16_delta_RxCts,
  789. awc_RID_Stats16_delta_TxAck,
  790. awc_RID_Stats16_delta_TxRts,
  791. awc_RID_Stats16_delta_TxCts,
  792. awc_RID_Stats16_delta_TxMc,
  793. awc_RID_Stats16_delta_TxBc,
  794. awc_RID_Stats16_delta_TxUcFrags,
  795. awc_RID_Stats16_delta_TxUcPackets,
  796. awc_RID_Stats16_delta_TxBeacon,
  797. awc_RID_Stats16_delta_RxBeacon,
  798. awc_RID_Stats16_delta_TxSinColl,
  799. awc_RID_Stats16_delta_TxMulColl,
  800. awc_RID_Stats16_delta_DefersNo,
  801. awc_RID_Stats16_delta_DefersProt,
  802. awc_RID_Stats16_delta_DefersEngy,
  803. awc_RID_Stats16_delta_DupFram,
  804. awc_RID_Stats16_delta_RxFragDisc,
  805. awc_RID_Stats16_delta_TxAged,
  806. awc_RID_Stats16_delta_RxAged,
  807. awc_RID_Stats16_delta_LostSync_Max,
  808. awc_RID_Stats16_delta_LostSync_Mis,
  809. awc_RID_Stats16_delta_LostSync_Arl,
  810. awc_RID_Stats16_delta_LostSync_Dea,
  811. awc_RID_Stats16_delta_LostSync_Disa,
  812. awc_RID_Stats16_delta_LostSync_Tsf,
  813. awc_RID_Stats16_delta_HostTxMc,
  814. awc_RID_Stats16_delta_HostTxBc,
  815. awc_RID_Stats16_delta_HostTxUc,
  816. awc_RID_Stats16_delta_HostTxFail,
  817. awc_RID_Stats16_delta_HostRxMc,
  818. awc_RID_Stats16_delta_HostRxBc,
  819. awc_RID_Stats16_delta_HostRxUc,
  820. awc_RID_Stats16_delta_HostRxDiscar,
  821. awc_RID_Stats16_delta_HmacTxMc,
  822. awc_RID_Stats16_delta_HmacTxBc,
  823. awc_RID_Stats16_delta_HmacTxUc,
  824. awc_RID_Stats16_delta_HmacTxFail,
  825. awc_RID_Stats16_delta_HmacRxMc,
  826. awc_RID_Stats16_delta_HmacRxBc,
  827. awc_RID_Stats16_delta_HmacRxUc,
  828. awc_RID_Stats16_delta_HmacRxDisca,
  829. awc_RID_Stats16_delta_HmacRxAcce,
  830. awc_RID_Stats16_delta_SsidMismatch,
  831. awc_RID_Stats16_delta_ApMismatch,
  832. awc_RID_Stats16_delta_RatesMismatc,
  833. awc_RID_Stats16_delta_AuthReject,
  834. awc_RID_Stats16_delta_AuthTimeout,
  835. awc_RID_Stats16_delta_AssocReject,
  836. awc_RID_Stats16_delta_AssocTimeout,
  837. awc_RID_Stats16_delta_NewReason,
  838. awc_RID_Stats16_delta_AuthFail_1,
  839. awc_RID_Stats16_delta_AuthFail_2,
  840. awc_RID_Stats16_delta_AuthFail_3,
  841. awc_RID_Stats16_delta_AuthFail_4,
  842. awc_RID_Stats16_delta_AuthFail_5,
  843. awc_RID_Stats16_delta_AuthFail_6,
  844. awc_RID_Stats16_delta_AuthFail_7,
  845. awc_RID_Stats16_delta_AuthFail_8,
  846. awc_RID_Stats16_delta_AuthFail_9,
  847. awc_RID_Stats16_delta_AuthFail_10,
  848. awc_RID_Stats16_delta_AuthFail_11,
  849. awc_RID_Stats16_delta_AuthFail_12,
  850. awc_RID_Stats16_delta_AuthFail_13,
  851. awc_RID_Stats16_delta_AuthFail_14,
  852. awc_RID_Stats16_delta_AuthFail_15,
  853. awc_RID_Stats16_delta_AuthFail_16,
  854. awc_RID_Stats16_delta_AuthFail_17,
  855. awc_RID_Stats16_delta_AuthFail_18,
  856. awc_RID_Stats16_delta_AuthFail_19,
  857. awc_RID_Stats16_delta_RxMan,
  858. awc_RID_Stats16_delta_TxMan,
  859. awc_RID_Stats16_delta_RxRefresh,
  860. awc_RID_Stats16_delta_TxRefresh,
  861. awc_RID_Stats16_delta_RxPoll,
  862. awc_RID_Stats16_delta_TxPoll,
  863. awc_RID_Stats16_delta_HostRetries,
  864. awc_RID_Stats16_delta_LostSync_HostReq,
  865. awc_RID_Stats16_delta_HostTxBytes,
  866. awc_RID_Stats16_delta_HostRxBytes,
  867. awc_RID_Stats16_delta_ElapsedUsec,
  868. awc_RID_Stats16_delta_ElapsedSec,
  869. awc_RID_Stats16_delta_LostSyncBett,
  870. {0}
  871. };
  872. struct aironet4500_RID awc_Stats16_clear_RID[]={
  873. awc_RID_Stats16_clear_RidLen,
  874. awc_RID_Stats16_clear_RxOverrunErr,
  875. awc_RID_Stats16_clear_RxPlcpCrcErr,
  876. awc_RID_Stats16_clear_RxPlcpFormat,
  877. awc_RID_Stats16_clear_RxPlcpLength,
  878. awc_RID_Stats16_clear_RxMacCrcErr,
  879. awc_RID_Stats16_clear_RxMacCrcOk,
  880. awc_RID_Stats16_clear_RxWepErr,
  881. awc_RID_Stats16_clear_RxWepOk,
  882. awc_RID_Stats16_clear_RetryLong,
  883. awc_RID_Stats16_clear_RetryShort,
  884. awc_RID_Stats16_clear_MaxRetries,
  885. awc_RID_Stats16_clear_NoAck,
  886. awc_RID_Stats16_clear_NoCts,
  887. awc_RID_Stats16_clear_RxAck,
  888. awc_RID_Stats16_clear_RxCts,
  889. awc_RID_Stats16_clear_TxAck,
  890. awc_RID_Stats16_clear_TxRts,
  891. awc_RID_Stats16_clear_TxCts,
  892. awc_RID_Stats16_clear_TxMc,
  893. awc_RID_Stats16_clear_TxBc,
  894. awc_RID_Stats16_clear_TxUcFrags,
  895. awc_RID_Stats16_clear_TxUcPackets,
  896. awc_RID_Stats16_clear_TxBeacon,
  897. awc_RID_Stats16_clear_RxBeacon,
  898. awc_RID_Stats16_clear_TxSinColl,
  899. awc_RID_Stats16_clear_TxMulColl,
  900. awc_RID_Stats16_clear_DefersNo,
  901. awc_RID_Stats16_clear_DefersProt,
  902. awc_RID_Stats16_clear_DefersEngy,
  903. awc_RID_Stats16_clear_DupFram,
  904. awc_RID_Stats16_clear_RxFragDisc,
  905. awc_RID_Stats16_clear_TxAged,
  906. awc_RID_Stats16_clear_RxAged,
  907. awc_RID_Stats16_clear_LostSync_Max,
  908. awc_RID_Stats16_clear_LostSync_Mis,
  909. awc_RID_Stats16_clear_LostSync_Arl,
  910. awc_RID_Stats16_clear_LostSync_Dea,
  911. awc_RID_Stats16_clear_LostSync_Disa,
  912. awc_RID_Stats16_clear_LostSync_Tsf,
  913. awc_RID_Stats16_clear_HostTxMc,
  914. awc_RID_Stats16_clear_HostTxBc,
  915. awc_RID_Stats16_clear_HostTxUc,
  916. awc_RID_Stats16_clear_HostTxFail,
  917. awc_RID_Stats16_clear_HostRxMc,
  918. awc_RID_Stats16_clear_HostRxBc,
  919. awc_RID_Stats16_clear_HostRxUc,
  920. awc_RID_Stats16_clear_HostRxDiscar,
  921. awc_RID_Stats16_clear_HmacTxMc,
  922. awc_RID_Stats16_clear_HmacTxBc,
  923. awc_RID_Stats16_clear_HmacTxUc,
  924. awc_RID_Stats16_clear_HmacTxFail,
  925. awc_RID_Stats16_clear_HmacRxMc,
  926. awc_RID_Stats16_clear_HmacRxBc,
  927. awc_RID_Stats16_clear_HmacRxUc,
  928. awc_RID_Stats16_clear_HmacRxDisca,
  929. awc_RID_Stats16_clear_HmacRxAcce,
  930. awc_RID_Stats16_clear_SsidMismatch,
  931. awc_RID_Stats16_clear_ApMismatch,
  932. awc_RID_Stats16_clear_RatesMismatc,
  933. awc_RID_Stats16_clear_AuthReject,
  934. awc_RID_Stats16_clear_AuthTimeout,
  935. awc_RID_Stats16_clear_AssocReject,
  936. awc_RID_Stats16_clear_AssocTimeout,
  937. awc_RID_Stats16_clear_NewReason,
  938. awc_RID_Stats16_clear_AuthFail_1,
  939. awc_RID_Stats16_clear_AuthFail_2,
  940. awc_RID_Stats16_clear_AuthFail_3,
  941. awc_RID_Stats16_clear_AuthFail_4,
  942. awc_RID_Stats16_clear_AuthFail_5,
  943. awc_RID_Stats16_clear_AuthFail_6,
  944. awc_RID_Stats16_clear_AuthFail_7,
  945. awc_RID_Stats16_clear_AuthFail_8,
  946. awc_RID_Stats16_clear_AuthFail_9,
  947. awc_RID_Stats16_clear_AuthFail_10,
  948. awc_RID_Stats16_clear_AuthFail_11,
  949. awc_RID_Stats16_clear_AuthFail_12,
  950. awc_RID_Stats16_clear_AuthFail_13,
  951. awc_RID_Stats16_clear_AuthFail_14,
  952. awc_RID_Stats16_clear_AuthFail_15,
  953. awc_RID_Stats16_clear_AuthFail_16,
  954. awc_RID_Stats16_clear_AuthFail_17,
  955. awc_RID_Stats16_clear_AuthFail_18,
  956. awc_RID_Stats16_clear_AuthFail_19,
  957. awc_RID_Stats16_clear_RxMan,
  958. awc_RID_Stats16_clear_TxMan,
  959. awc_RID_Stats16_clear_RxRefresh,
  960. awc_RID_Stats16_clear_TxRefresh,
  961. awc_RID_Stats16_clear_RxPoll,
  962. awc_RID_Stats16_clear_TxPoll,
  963. awc_RID_Stats16_clear_HostRetries,
  964. awc_RID_Stats16_clear_LostSync_HostReq,
  965. awc_RID_Stats16_clear_HostTxBytes,
  966. awc_RID_Stats16_clear_HostRxBytes,
  967. awc_RID_Stats16_clear_ElapsedUsec,
  968. awc_RID_Stats16_clear_ElapsedSec,
  969. awc_RID_Stats16_clear_LostSyncBett,
  970. {0}
  971. };
  972. #endif
  973. struct awc_rid_dir awc_rids[]={
  974. // following MUST be consistent with awc_rids_setup !!!
  975.    {&aironet4500_RID_Select_General_Config,sizeof(awc_gen_RID) / sizeof(struct aironet4500_RID)  ,awc_gen_RID , NULL, NULL,0 },
  976.    {&aironet4500_RID_Select_SSID_list, sizeof(awc_SSID_RID) / sizeof(struct aironet4500_RID) , awc_SSID_RID , NULL, NULL,0 },
  977.    {&aironet4500_RID_Select_AP_list, sizeof(awc_AP_List_RID) / sizeof(struct aironet4500_RID) , awc_AP_List_RID , NULL, NULL,0 },
  978.    {&aironet4500_RID_Select_Driver_name, sizeof(awc_Dname_RID) / sizeof(struct aironet4500_RID) , awc_Dname_RID , NULL, NULL,0 },
  979.    {&aironet4500_RID_Select_Encapsulation, sizeof(awc_enc_RID) / sizeof(struct aironet4500_RID) , awc_enc_RID , NULL, NULL,0 },
  980.    {&aironet4500_RID_Select_Active_Config, sizeof(awc_act_RID) / sizeof(struct aironet4500_RID) , awc_act_RID , NULL, NULL,0 },
  981.    {&aironet4500_RID_Select_Capabilities, sizeof(awc_Cap_RID) / sizeof(struct aironet4500_RID) , awc_Cap_RID , NULL, NULL,0 },
  982.    {&aironet4500_RID_Select_Status, sizeof(awc_Status_RID) / sizeof(struct aironet4500_RID) , awc_Status_RID , NULL, NULL,0 },
  983.    {&aironet4500_RID_Select_AP_Info, sizeof(awc_AP_RID) / sizeof(struct aironet4500_RID) , awc_AP_RID , NULL, NULL,0 },
  984.    {&aironet4500_RID_Select_32_stats, sizeof(awc_Stats_RID) / sizeof(struct aironet4500_RID) , awc_Stats_RID , NULL, NULL,0 },
  985.    {&aironet4500_RID_Select_32_stats_delta, sizeof(awc_Stats_delta_RID) / sizeof(struct aironet4500_RID) , awc_Stats_delta_RID , NULL, NULL,0 },
  986.    {&aironet4500_RID_Select_32_stats_clear, sizeof(awc_Stats_clear_RID) / sizeof(struct aironet4500_RID) , awc_Stats_clear_RID , NULL, NULL,0 },
  987.    {&aironet4500_RID_Select_WEP_volatile, sizeof(awc_WEPv_RID) / sizeof(struct aironet4500_RID) , awc_WEPv_RID , NULL, NULL,0 },
  988.    {&aironet4500_RID_Select_WEP_nonvolatile, sizeof(awc_WEPnv_RID) / sizeof(struct aironet4500_RID) , awc_WEPnv_RID , NULL, NULL,0 },
  989.    {&aironet4500_RID_Select_Modulation, sizeof(awc_Modulation_RID) / sizeof(struct aironet4500_RID) , awc_Modulation_RID , NULL, NULL,0 },
  990. #ifdef AWC_USE_16BIT_STATS
  991.    {&aironet4500_RID_Select_16_stats, sizeof(awc_Stats16_RID) / sizeof(struct aironet4500_RID) , awc_Stats16_RID , NULL, NULL,0 },
  992.    {&aironet4500_RID_Select_16_stats_delta, sizeof(awc_Stats16_delta_RID) / sizeof(struct aironet4500_RID) , awc_Stats16_delta_RID , NULL, NULL,0 },
  993.    {&aironet4500_RID_Select_16_stats_clear, sizeof(awc_Stats16_clear_RID) / sizeof(struct aironet4500_RID) , awc_Stats16_clear_RID , NULL, NULL,0 },
  994. #else 
  995.    {NULL},{NULL},{NULL},
  996. #endif
  997.  
  998.    {0} 
  999. };
  1000. int awc_nof_rids = (sizeof(awc_rids) / sizeof(struct awc_rid_dir)) -1;
  1001. int awc_rids_setup(struct net_device * dev){
  1002. struct awc_private * priv = (struct awc_private *) dev->priv;
  1003. int i=0;
  1004. while ( i < AWC_NOF_RIDS){
  1005. if (awc_rids[i].selector)
  1006. memcpy(&priv->rid_dir[i],&awc_rids[i],sizeof(priv->rid_dir[0]) );
  1007. else priv->rid_dir[i].selector = NULL;
  1008. i++;
  1009. }
  1010. for (i=0; i< AWC_NOF_RIDS && i < awc_nof_rids; i++){
  1011. priv->rid_dir[i].dev = dev;
  1012. };
  1013. // following MUST be consistent with awc_rids !!!
  1014.   priv->rid_dir[0].buff = &priv->config; // card RID mirrors
  1015. priv->rid_dir[1].buff = &priv->SSIDs;
  1016. priv->rid_dir[2].buff = &priv->fixed_APs;
  1017.       priv->rid_dir[3].buff = &priv->driver_name;
  1018.        priv->rid_dir[4].buff = &priv->enc_trans;
  1019. priv->rid_dir[5].buff = &priv->general_config; //      
  1020. priv->rid_dir[6].buff = &priv->capabilities;
  1021.   priv->rid_dir[7].buff = &priv->status;
  1022.    priv->rid_dir[8].buff = &priv->AP;
  1023.     priv->rid_dir[9].buff = &priv->statistics;
  1024.      priv->rid_dir[10].buff = &priv->statistics_delta;
  1025.       priv->rid_dir[11].buff = &priv->statistics_delta_clear;
  1026. priv->rid_dir[12].buff = &priv->wep_volatile;
  1027. priv->rid_dir[13].buff = &priv->wep_nonvolatile;
  1028. priv->rid_dir[14].buff = &priv->modulation;
  1029.        priv->rid_dir[15].buff = &priv->statistics16;
  1030. priv->rid_dir[16].buff = &priv->statistics16_delta;
  1031.   priv->rid_dir[17].buff = &priv->statistics16_delta_clear;
  1032.                        
  1033.   priv->rid_dir[0].bufflen = sizeof(priv->config); // card RID mirrors
  1034. priv->rid_dir[1].bufflen = sizeof(priv->SSIDs);
  1035. priv->rid_dir[2].bufflen = sizeof(priv->fixed_APs);
  1036.       priv->rid_dir[3].bufflen = sizeof(priv->driver_name);
  1037.        priv->rid_dir[4].bufflen = sizeof(priv->enc_trans);
  1038. priv->rid_dir[5].bufflen = sizeof(priv->general_config); //
  1039. priv->rid_dir[6].bufflen = sizeof(priv->capabilities);
  1040.   priv->rid_dir[7].bufflen = sizeof(priv->status);
  1041.    priv->rid_dir[8].bufflen = sizeof(priv->AP);
  1042.     priv->rid_dir[9].bufflen = sizeof(priv->statistics);
  1043.      priv->rid_dir[10].bufflen = sizeof(priv->statistics_delta);
  1044.       priv->rid_dir[11].bufflen = sizeof(priv->statistics_delta_clear);
  1045. priv->rid_dir[12].bufflen = sizeof(priv->wep_volatile);
  1046. priv->rid_dir[13].bufflen = sizeof(priv->wep_nonvolatile);
  1047. priv->rid_dir[14].bufflen = sizeof(priv->modulation);
  1048.        priv->rid_dir[15].bufflen = sizeof(priv->statistics16);
  1049. priv->rid_dir[16].bufflen = sizeof(priv->statistics16_delta);
  1050.   priv->rid_dir[17].bufflen = sizeof(priv->statistics16_delta_clear);
  1051. return 0;
  1052. };