PageRenderTime 116ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 1ms

/drivers/net/wireless/tiwlan1251/common/src/hal/hl_ctrl/whalParams.h

http://github.com/CyanogenMod/cm-kernel
C Header | 522 lines | 282 code | 96 blank | 144 comment | 0 complexity | 1e8d4a78634202fee0b2f864a3c79aef MD5 | raw file
Possible License(s): AGPL-1.0, GPL-2.0, LGPL-2.0
  1. /****************************************************************************
  2. **+-----------------------------------------------------------------------+**
  3. **| |**
  4. **| Copyright(c) 1998 - 2008 Texas Instruments. All rights reserved. |**
  5. **| All rights reserved. |**
  6. **| |**
  7. **| Redistribution and use in source and binary forms, with or without |**
  8. **| modification, are permitted provided that the following conditions |**
  9. **| are met: |**
  10. **| |**
  11. **| * Redistributions of source code must retain the above copyright |**
  12. **| notice, this list of conditions and the following disclaimer. |**
  13. **| * Redistributions in binary form must reproduce the above copyright |**
  14. **| notice, this list of conditions and the following disclaimer in |**
  15. **| the documentation and/or other materials provided with the |**
  16. **| distribution. |**
  17. **| * Neither the name Texas Instruments nor the names of its |**
  18. **| contributors may be used to endorse or promote products derived |**
  19. **| from this software without specific prior written permission. |**
  20. **| |**
  21. **| THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |**
  22. **| "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |**
  23. **| LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |**
  24. **| A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |**
  25. **| OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |**
  26. **| SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |**
  27. **| LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |**
  28. **| DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |**
  29. **| THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |**
  30. **| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |**
  31. **| OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |**
  32. **| |**
  33. **+-----------------------------------------------------------------------+**
  34. ****************************************************************************/
  35. /****************************************************************************
  36. *
  37. * MODULE: whalParams.h
  38. * PURPOSE: Holds all the whal parameters
  39. *
  40. ****************************************************************************/
  41. #ifndef _WHAL_PARAMS_H
  42. #define _WHAL_PARAMS_H
  43. #include "802_11Defs.h"
  44. #include "whalHwDefs.h"
  45. #include "whalCtrl_api.h"
  46. #include "whalBus_Defs.h"
  47. #include "commonTypes.h"
  48. #define MAX_FRAGMENTATION_THRESHOLD 2312
  49. #define MAX_SSID_SIZE 32
  50. /* Trace Buffer Size (DebugTraceXfer Buffer)
  51. Mote : The Trace Buffer Size are in UINT32 (1024 bytes,and 2048 for both buffers) */
  52. #define TRACE_BUFFER_MAX_SIZE 256
  53. #define DEFAULT_HW_RADIO_CHANNEL 11
  54. /* Constants */
  55. /* RSSI roaming trigger configuration */
  56. /* minimal amount of packets to count in average RSSI before actually reporting trigger */
  57. #define RSSI_DEFAULT_DEPTH (10)
  58. /* the weight in % of the new packet relative to the previous average value of RSSI */
  59. #define RSSI_DEFAULT_WEIGHT (10)
  60. #define RSSI_DEFAULT_THRESHOLD (-80)
  61. /* SNR roaming trigger configuration */
  62. /* minimal amount of packets to count in average SNR before actually reporting trigger */
  63. #define SNR_DEFAULT_DEPTH (10)
  64. /* the weight in % of the new packet relative to the previous average value of SNR */
  65. #define SNR_DEFAULT_WEIGHT (10)
  66. #define SNR_DEFAULT_THRESHOLD (0)
  67. /* 'No beacon' roaming trigger configuration */
  68. /* Number of consecutive beacons (or DTIM periods) missed before
  69. 'Out of Sync' event is raised */
  70. #define OUT_OF_SYNC_DEFAULT_THRESHOLD (10)
  71. /* IBSS - Number of consecutive beacons (or DTIM periods) missed before
  72. 'Out of Sync' event is raised */
  73. #define OUT_OF_SYNC_IBSS_THRESHOLD (200)
  74. /* period of time between 'Out of sync' and 'No beacon' events */
  75. #define NO_BEACON_DEFAULT_TIMEOUT (100) /* in tu-s*/
  76. /* Consecutive NACK roaming trigger configuration */
  77. #define NO_ACK_DEFAULT_THRESHOLD (20)
  78. /* Low Rx rate roaming trigger configuration */
  79. #define LOW_RATE_DEFAULT_THRESHOLD (2)
  80. typedef struct
  81. {
  82. UINT8 rxFilterCommand;
  83. filter_e rxFilterAction;
  84. UINT8 rxFilterNumFieldPatterns;
  85. UINT8 rxFilterLenFieldPatterns;
  86. UINT8 rxFilterFieldPatterns[MAX_DATA_FILTER_SIZE];
  87. }RxFilterConfig_t;
  88. /*
  89. * Dot11 params
  90. * ------------
  91. */
  92. typedef struct
  93. {
  94. UINT16 RtsThreshold;
  95. UINT8 CtsToSelf;
  96. rxTimeOut_t rxTimeOut;
  97. UINT16 FragmentThreshold;
  98. UINT8 ListenInterval;
  99. UINT16 Capabilities;
  100. UINT32 MaxTxMsduLifetime;
  101. UINT32 MaxRxMsduLifetime;
  102. UINT8 calibrationChannel2_4;
  103. UINT8 calibrationChannel5_0;
  104. UINT16 Aid;
  105. UINT8 CurrAntenna;
  106. UINT8 TxAntenna;
  107. UINT8 RxAntenna;
  108. UINT8 Hw_TxAntenna;
  109. UINT8 Hw_RxAntenna;
  110. UINT16 CwMin;
  111. UINT8 RateFallback;
  112. UINT32 RxConfigOption;
  113. UINT32 RxFilterOption;
  114. UINT8 BetEnable;
  115. UINT8 MaximumConsecutiveET;
  116. UINT8 TxCompleteThreshold;
  117. BOOL WiFiWmmPS;
  118. /* ARP IP Addr table*/
  119. UINT32 arp_IP_ver;
  120. UINT32 isArpIpFilteringEnabled ;
  121. IpAddress_t arp_IP_addr;
  122. /*mac addresses filter*/
  123. UINT8 isMacAddrFilteringnabled ;
  124. UINT8 numGroupAddrs;
  125. macAddress_t Group_addr[MAX_MULTICAST_GROUP_ADDRS];
  126. UINT32 FeatureOptions;
  127. UINT32 FeatureDataFlowOptions;
  128. UINT8 SlotTime;
  129. UINT8 preamble;
  130. UINT8 RadioBand;
  131. UINT8 MacClock;
  132. UINT8 ArmClock;
  133. UINT8 Enable4x;
  134. UINT8 CurrPowerSaveState;
  135. SoftGeminiEnableModes_e SoftGeminiEnable;
  136. SoftGeminiParam_t SoftGeminiParams;
  137. UINT8 maxSitesFragCollect;
  138. UINT8 hwAccessMethod;
  139. UINT8 FragmentationOnHal;
  140. UINT32 nullTemplateSize;
  141. UINT32 beaconTemplateSize;
  142. UINT32 probeRequestTemplateSize;
  143. UINT32 probeResponseTemplateSize;
  144. UINT32 PsPollTemplateSize;
  145. UINT32 qosNullDataTemplateSize;
  146. BOOL RxEnergyDetection;
  147. BOOL TxEnergyDetection;
  148. UINT8 PacketDetectionThreshold;
  149. UINT8 FcsErrThrsh;
  150. UINT8 UseDeviceErrorInterrupt;
  151. BOOL RetryPreemption;
  152. UINT32 radioType;
  153. UINT32 minorE2Ver;
  154. UINT32 majorE2Ver;
  155. UINT32 bugfixE2Ver;
  156. BOOL RxDisableBroadcast; /* this flag indicate if to discards all broadcast frames */
  157. BOOL RecoveryEnable; /* Indicate if the recovery process is enabled */
  158. BOOL bJoin; /* Indicate if the station is joined */
  159. /* hardware ACI parameters */
  160. UINT8 ACIMode;
  161. UINT8 inputCCA;
  162. UINT8 qualifiedCCA;
  163. UINT8 stompForRx;
  164. UINT8 stompForTx;
  165. UINT8 txCCA;
  166. UINT8 AntDiversity ;
  167. acQueuesParams_t acQueuesParams[MAX_NUM_OF_AC];
  168. /* Parameters for roaming triggers configuration */
  169. whalCtrl_roamingTriggerCmd_t roamTriggers;
  170. /* antenna diversity parameters */
  171. whalCtrl_antennaDiversityOptions_t antennaDiversityOptions;
  172. /* power control param */
  173. powerAutho_PowerPolicy_e minPowerLevel;
  174. BcnBrcOptions_t BcnBrcOptions;
  175. UINT8 ConsecutivePsPollDeliveryFailureThreshold;
  176. beaconFilterIETable_t beaconFilterIETable;
  177. beaconFilterParams_t beaconFilterParams;
  178. queueTrafficParams_t QtrafficParams;
  179. acQosParams_t acQosParams;
  180. /*mac preamble*/
  181. UINT8 earlyWakeUp;
  182. /* Rx Data Filter */
  183. BOOL rxFilterDefaultAction;
  184. filter_e rxFilterDefaultEnable;
  185. RxFilterConfig_t rxFilterCgf[MAX_DATA_FILTERS];
  186. } WlanParams_T;
  187. /*
  188. * BssInfo params
  189. * --------------
  190. */
  191. typedef struct
  192. {
  193. UINT8 ReqBssType;
  194. UINT8 BssType;
  195. UINT16 BeaconInterval;
  196. UINT8 DtimInterval;
  197. UINT8 RadioChannel;
  198. UINT8 BssId[MAC_ADDR_SIZE];
  199. dot11_SSID_t WlanElm_Ssid;
  200. txRatePolicy_t TxRateClassParams; /* Policy for recovery */
  201. UINT16 BasicRateSet;
  202. UINT16 SupportedRateSet;
  203. rate_e txCtrlFrmRateDriverFormat;
  204. UINT8 txCtrlFrmRate;
  205. UINT8 txCtrlFrmModulation;
  206. UINT8 Ctrl; /* Only bit 7 is currently in use , bit 7 indicates if to flash the Tx queues */
  207. UINT8 txMgmtFrmRate;
  208. UINT8 txMgmtFrmModulation;
  209. UINT16 ATimWindow; /* ATIM window of IBSS*/
  210. /* Note that when ATIM window is zero the*/
  211. /* initiated IBSS does not support powersave*/
  212. UINT8 DefaultPreamble;/* Specifies the PLCP preamble type used*/
  213. /* 0 for long preamble*/
  214. /* 1 for short preamble*/
  215. } BssInfoParams_T;
  216. /*
  217. * General params
  218. * --------------
  219. */
  220. typedef struct
  221. {
  222. int UseTxDataInterrupt;
  223. UINT8 TraceEnable;
  224. UINT8 TraceOut;
  225. UINT32 PbccDynamicEnable;
  226. UINT32 PbccDynamicInterval;
  227. UINT32 PbccDynamicIgnoreMcast;
  228. } GenParams_T;
  229. /*
  230. * General counters
  231. * ----------------
  232. */
  233. typedef struct
  234. {
  235. UINT32 FcsErrCnt;
  236. } GenCounters_T;
  237. /*
  238. * HwInfoParams_t - wlan hardware info
  239. * -----------------------------------
  240. */
  241. typedef struct
  242. {
  243. UINT8 SrcMacAddr[MAC_ADDR_SIZE];
  244. UINT32 Pad0;
  245. UINT32 Pad1;
  246. ACXRevision_t AcxVersion; /* Fw version (read from the wlan hardware) */
  247. } HwInfo_T;
  248. /*
  249. * queuesParam_T - Queue params for Quality Of Service
  250. * ------------------------------------------
  251. */
  252. typedef struct
  253. {
  254. queueTrafficParams_t queues[MAX_NUM_OF_TX_QUEUES];
  255. BOOL isQueueConfigured[MAX_NUM_OF_TX_QUEUES];
  256. } QueuesParam_t;
  257. typedef struct
  258. {
  259. acQosParams_t ac[MAX_NUM_OF_AC];
  260. BOOL isAcConfigured[MAX_NUM_OF_AC];
  261. }AcConfParam_t;
  262. typedef struct
  263. {
  264. /* Tx Parameters */
  265. UINT8 TxPowerDbm;
  266. UINT16 txCompleteTimeout;
  267. UINT8 txCompleteThreshold;
  268. UINT8 QidToAcTable[MAX_NUM_OF_TX_QUEUES];
  269. BOOL AckPolicy[MAX_NUM_OF_AC];
  270. /* Information Elements */
  271. acQueuesParams_t halAcQueueParams[MAX_NUM_OF_AC];
  272. whaCtrl_acTrafficParams_t halTrafficParams[MAX_NUM_OF_AC];
  273. } TxParam_t;
  274. /*
  275. * Templates params
  276. * ----------------
  277. */
  278. typedef struct
  279. {
  280. TemplateParams_T Beacon;
  281. TemplateParams_T ProbeReq;
  282. TemplateParams_T ProbeResp;
  283. TemplateParams_T NullData;
  284. TemplateParams_T PsPoll;
  285. TemplateParams_T QosNullData;
  286. } TemplateListParams_T;
  287. /*
  288. * ----------------------------------------------------------------
  289. * MAIN PARAMETERS STRUCTURE
  290. * ----------------------------------------------------------------
  291. */
  292. typedef struct _WhalParams_T
  293. {
  294. DmaParams_T DmaParams; /* Rx/Tx queue parameters */
  295. QueuesParam_t QueuesParams; /* Queues params for QOS */
  296. AcConfParam_t AcParams; /* AC params for QoS */
  297. TxParam_t TxParams; /* Tx params for QOS */
  298. WlanParams_T WlanParams; /* Wlan parameters */
  299. BssInfoParams_T BssInfoParams; /* Bss information */
  300. GenParams_T GenParams; /* General parameters */
  301. HwInfo_T HwInfoParams; /* Hw eeprom, hw versions */
  302. GenCounters_T GenCounters; /* General counters */
  303. TemplateListParams_T TemplateList; /* templates for recovery */
  304. TI_HANDLE hOs;
  305. TI_HANDLE hReport;
  306. } WhalParams_T;
  307. /*
  308. * ----------------------------------------------------------------
  309. * WHAL pARAMS OBJECT API
  310. * ----------------------------------------------------------------
  311. */
  312. WhalParams_T *whal_params_Create(TI_HANDLE hOs, BOOL TxFlashEnable);
  313. int whal_params_Destroy(WhalParams_T *pWhalParams);
  314. int whal_params_Config (WhalParams_T *pWhalParams, TI_HANDLE hReport);
  315. /*
  316. * DmaParams - Rx/Tx queue parameters
  317. */
  318. DmaParams_T *whal_ParamsGetDmaParams(WhalParams_T *pWhalParams);
  319. int whal_ParamsSetDmaParams(WhalParams_T *pWhalParams);
  320. /*
  321. * WlanParams api
  322. */
  323. int whal_ParamsSetRoamingParams(WhalParams_T *pWhalParams) ;
  324. WlanParams_T *whal_ParamsGetWlanParams(WhalParams_T *pWhalParams);
  325. void whal_ParamsSetFragmentThreshold (WhalParams_T *pWhalParams, int FragSize);
  326. UINT32 whal_ParamsGetFragmentThreshold (WhalParams_T *pWhalParams);
  327. UINT8 whal_ParamsIsFragmentOnHal (WhalParams_T *pWhalParams);
  328. void whal_ParamsPrintFragmentThreshold(WhalParams_T *pWhalParams);
  329. UINT8 whal_ParamsGetMaxSitesFragCollect(WhalParams_T *pWhalParams);
  330. void whal_ParamsSetRtsThreshold (WhalParams_T *pWhalParams, int RtsSize);
  331. void whal_ParamsSetListenInterval (WhalParams_T *pWhalParams, UINT8 Val);
  332. UINT8 whal_ParamsGetListenInterval (WhalParams_T *pWhalParams);
  333. void whal_ParamsSetRxFilter (WhalParams_T *pWhalParams, UINT32 RxConfigOption, UINT32 RxFilterOption);
  334. void whal_ParamsGetRxFilter (WhalParams_T *pWhalParams, UINT32* pRxConfigOption, UINT32* pRxFilterOption);
  335. void whal_ParamsSetarpIpAddressesTable(WhalParams_T *pWhalParams, IpAddress_t * IP_addr, IPver_e IP_ver);
  336. void whal_ParamsGetarpIpAddressesTable(WhalParams_T * pWhalParams, IpAddress_t * IP_addr, IPver_e* pIP_ver);
  337. void whal_ParamsSetarpIpFilterEnabled(WhalParams_T *pWhalParams, UINT8 isEnabled);
  338. void whal_ParamsGetarpIpFilterEnabled(WhalParams_T *pWhalParams, UINT8* pisEnabled);
  339. void whal_ParamsSetGroupAddressesTable(WhalParams_T *pWhalParams, UINT8 isEnabled, UINT8 numGroupAddrs, macAddress_t *Group_addr);
  340. void whal_ParamsGetGroupAddressesTable(WhalParams_T *pWhalParams, UINT8* pisEnabled, UINT8* pnumGroupAddrs, macAddress_t *Group_addr);
  341. UINT8 whal_ParamsGetCurrAntenna (WhalParams_T *pWhalParams);
  342. void whal_ParamsSetPowerSaveState(WhalParams_T *pWhalParams, UINT8 CurrPowerSaveState);
  343. UINT8 whal_ParamsGetPowerSaveState(WhalParams_T *pWhalParams);
  344. /*
  345. * Bss Info Params api
  346. */
  347. BssInfoParams_T *whal_ParamsGetBssInfoParams(WhalParams_T *pWhalParams);
  348. UINT8 *whal_ParamsGetBssId (WhalParams_T *pWhalParams);
  349. void whal_ParamsSetBssId (WhalParams_T *pWhalParams, char *BssId);
  350. void whal_ParamsSetSsid (WhalParams_T *pWhalParams, char *Ssid, UINT8 SsidLength);
  351. dot11_SSID_t *whal_ParamsGetElm_Ssid(WhalParams_T *pWhalParams);
  352. void whal_ParamsSetReqBssType (WhalParams_T *pWhalParams, int Val);
  353. UINT8 whal_ParamsGetReqBssType(WhalParams_T *pWhalParams);
  354. void whal_ParamsSetBssType (WhalParams_T *pWhalParams, int Val);
  355. void whal_ParamsSetRadioBand(WhalParams_T *pWhalParams, int RadioBand);
  356. UINT8 whal_ParamsGetRadioBand(WhalParams_T *pWhalParams);
  357. UINT8 whal_ParamsGetBssType (WhalParams_T *pWhalParams);
  358. void whal_ParamsSetBeaconInterval (WhalParams_T *pWhalParams, UINT16 Val);
  359. UINT16 whal_ParamsGetBeaconInterval (WhalParams_T *pWhalParams);
  360. void whal_ParamsSetDtimCount (WhalParams_T *pWhalParams, UINT8 Val);
  361. UINT8 whal_ParamsGetDtimCount (WhalParams_T *pWhalParams);
  362. UINT8 whal_ParamsGetRadioChannel (WhalParams_T *pWhalParams);
  363. void whal_ParamsSetRadioChannel (WhalParams_T *pWhalParams, int Channel);
  364. void whal_ParamsSetBasicRatesSet (WhalParams_T *pWhalParams, UINT16 BasicRateSet);
  365. void whal_ParamsSetSupportedRatesSet(WhalParams_T *pWhalParams, UINT16 SupportedRateSet);
  366. void whal_ParamsSetHwGenTxParams (WhalParams_T *pWhalParams, rate_e TxRate, BOOL bCtrlFrame);
  367. UINT8 whal_ParamsGetDefaultChannel (WhalParams_T *pWhalParams);
  368. void whal_ParamsSetTxRateClassParams(WhalParams_T *pWhalParams,txRatePolicy_t *pTxRatePolicy);
  369. txRatePolicy_t* whal_ParamsGetTxRateClassParams(WhalParams_T *pWhalParams);
  370. void whal_ParamsSetAtimWindow (WhalParams_T *pWhalParams, UINT16 ATimWindow);
  371. UINT16 whal_ParamsGetAtimWindow (WhalParams_T *pWhalParams);
  372. void whal_ParamsSetDefaultPreamble(WhalParams_T *pWhalParams, UINT8 DefaultPreamble);
  373. UINT8 whal_ParamsGetDefaultPreamble(WhalParams_T *pWhalParams);
  374. UINT32 whal_ParamsGetTraceBufferSize(WhalParams_T *pWhalParams);
  375. void whal_ParamsGetMacPreambleParams(WhalParams_T *pWhalParams, UINT8* earlyWakeUp);
  376. /*
  377. * general AP parameters
  378. */
  379. GenParams_T *whal_ParamsGetGenParams (WhalParams_T *pWhalParams);
  380. UINT32 whal_ParamsGetPbccDynamicEnableVal(WhalParams_T *pWhalParams);
  381. void whal_ParamsSetPbccDynamicEnableVal(WhalParams_T *pWhalParams, int Val);
  382. /*
  383. * Wlan hardware info params
  384. */
  385. UINT8 *whal_ParamsGetSrcMac (WhalParams_T *pWhalParams);
  386. void whal_ParamsSetSrcMac (WhalParams_T *pWhalParams, char *SrcMac);
  387. char whal_ParamsGetRadioType (WhalParams_T *pWhalParams);
  388. void whal_ParamsHwNvramPrint (WhalParams_T *pWhalParams);
  389. ACXRevision_t *whal_ParamsGetAcxVersion(WhalParams_T *pWhalParams);
  390. void whal_ParamsPrintFwVersion (WhalParams_T *pWhalParams);
  391. UINT8 *whal_ParamsGetFwVersion (WhalParams_T *pWhalParams);
  392. UINT8 whal_ParamsGetE2MajorVersion (WhalParams_T *pWhalParams);
  393. UINT8 whal_ParamsGetE2MinorVersion (WhalParams_T *pWhalParams);
  394. UINT8 whal_ParamsGetE2LastVersion (WhalParams_T *pWhalParams);
  395. UINT8 whal_ParamsGetTiInternalVer (WhalParams_T *pWhalParams);
  396. /*
  397. * ----------------------------------------------------------------
  398. * WME TX PARAMETERS
  399. * ----------------------------------------------------------------
  400. */
  401. int whal_ParamsSetQueueParams(WhalParams_T *pWhalParams,queueTrafficParams_t *pQtrafficParams) ;
  402. void whal_ParamsSetAcParams(WhalParams_T *pWhalParams,acQosParams_t *pAcQosParams);
  403. TxParam_t* whal_ParamsGetTxParams (WhalParams_T *pWhalParams);
  404. /*
  405. * Traffic Parameters: (IE ACX_TID_CFG)
  406. */
  407. int whal_ParamsSetTrafficParams(WhalParams_T *pWhalParams,whaCtrl_acTrafficParams_t* pTconfParams) ;
  408. whaCtrl_acTrafficParams_t* whal_ParamsGetTrafficParams(WhalParams_T *pWhalParams, UINT8 AcID);
  409. /*
  410. * Access Category Parameters :(IE ACX_AC_CFG)
  411. */
  412. int whal_ParamsSetAccessCategoryParams(WhalParams_T *pWhalParams,acQueuesParams_t* pTconfParams) ;
  413. /*
  414. * Qos Type : use in the Tx Descriptor
  415. */
  416. BOOL whal_ParamsGetQosMode(WhalParams_T *pWhalParams);
  417. int whal_ParamsSetQosMode(WhalParams_T *pWhalParams,qosProtocols_e QosType);
  418. /*
  419. * Ack Policy Parameters: use in the Tx Descriptor
  420. */
  421. int whal_ParamsSetAccessCategoryAckPolicy(WhalParams_T *pWhalParams,BOOL AckPolicy, UINT8 Qid);
  422. /*
  423. *
  424. */
  425. UINT8 whal_ParamsGetAcIdFromQid(WhalParams_T *pWhalParams,UINT8 Qid);
  426. #endif /*_WHAL_PARAMS_H*/