PageRenderTime 73ms CodeModel.GetById 46ms RepoModel.GetById 1ms app.codeStats 0ms

/drivers/net/wireless/tiwlan1251/CUDK/Inc/TI_AdapterGWSI.h

http://github.com/CyanogenMod/cm-kernel
C Header | 99 lines | 19 code | 10 blank | 70 comment | 0 complexity | ba48eb3bc29a564fd0e523f4fe98b721 MD5 | raw file
Possible License(s): AGPL-1.0, GPL-2.0, LGPL-2.0
  1. /*******************************************************************************
  2. **+--------------------------------------------------------------------------+**
  3. **| |**
  4. **| Copyright 1998-2008 Texas Instruments, Inc. - http://www.ti.com/ |**
  5. **| |**
  6. **| Licensed under the Apache License, Version 2.0 (the "License"); |**
  7. **| you may not use this file except in compliance with the License. |**
  8. **| You may obtain a copy of the License at |**
  9. **| |**
  10. **| http://www.apache.org/licenses/LICENSE-2.0 |**
  11. **| |**
  12. **| Unless required by applicable law or agreed to in writing, software |**
  13. **| distributed under the License is distributed on an "AS IS" BASIS, |**
  14. **| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |**
  15. **| See the License for the specific language governing permissions and |**
  16. **| limitations under the License. |**
  17. **| |**
  18. **+--------------------------------------------------------------------------+**
  19. *******************************************************************************/
  20. /*--------------------------------------------------------------------------*/
  21. /* Module: TI_AdapterGWSI.h*/
  22. /**/
  23. /* Purpose: */
  24. /**/
  25. /*--------------------------------------------------------------------------*/
  26. #ifndef TI_ADAPTER_GWSI_H
  27. #define TI_ADAPTER_GWSI_H
  28. #ifdef __cplusplus
  29. extern "C" {
  30. #endif
  31. /******************************************************************************
  32. Name: TI_GWSICommand
  33. Desc:
  34. Params: hAdapter - The Adapter handle returned by TI_AdapterInit().
  35. pGWSICommand - .
  36. Return: TI_RESULT_OK on success. Any other value indicates an error.
  37. ******************************************************************************/
  38. tiINT32 TI_GWSICommand (TI_HANDLE hAdapter,
  39. tiUINT32* pGWSICommand );
  40. /******************************************************************************
  41. Name: TI_GWSIInitialize
  42. Desc:
  43. Params: hAdapter - The Adapter handle returned by TI_AdapterInit().
  44. pGWSICommand - .
  45. Return: TI_RESULT_OK on success. Any other value indicates an error.
  46. ******************************************************************************/
  47. tiINT32 TI_GWSIInitialize (TI_HANDLE hAdapter,
  48. tiUINT32* pGWSICommand );
  49. /******************************************************************************
  50. Name: TI_GWSIConfig
  51. Desc:
  52. Params: hAdapter - The Adapter handle returned by TI_AdapterInit().
  53. pGWSICommand - .
  54. Return: TI_RESULT_OK on success. Any other value indicates an error.
  55. ******************************************************************************/
  56. tiINT32 TI_GWSIConfig (TI_HANDLE hAdapter,
  57. tiUINT32* pGWSICommand );
  58. /******************************************************************************
  59. Name: TI_GWSIGetInitTable
  60. Desc:
  61. Params: hAdapter - The Adapter handle returned by TI_AdapterInit().
  62. pGWSICommand - .
  63. Return: TI_RESULT_OK on success. Any other value indicates an error.
  64. ******************************************************************************/
  65. tiINT32 TI_GWSIGetInitTable (TI_HANDLE hAdapter,
  66. tiUINT32* pGWSICommand );
  67. /******************************************************************************
  68. Name: TI_GWSIRelease
  69. Desc:
  70. Params: hAdapter - The Adapter handle returned by TI_AdapterInit().
  71. pGWSICommand - .
  72. Return: TI_RESULT_OK on success. Any other value indicates an error.
  73. ******************************************************************************/
  74. tiINT32 TI_GWSIRelease (TI_HANDLE hAdapter,
  75. tiUINT32* pGWSICommand );
  76. #ifdef __cplusplus
  77. }
  78. #endif
  79. #endif /* TI_ADAPTER_GWSI_H*/