PageRenderTime 38ms CodeModel.GetById 13ms RepoModel.GetById 0ms app.codeStats 0ms

/drivers/net/wireless/tiwlan1251/common/src/Management/AirLink/inc/measurementMgrApi.h

http://github.com/CyanogenMod/cm-kernel
C Header | 113 lines | 39 code | 34 blank | 40 comment | 0 complexity | 20fc05036d57149408769479d0c0ac84 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: measurementMgrApi.h */
  38. /* PURPOSE: Measurement Manager module interface header file */
  39. /* */
  40. /***************************************************************************/
  41. #ifndef __MEASUREMENTMGR_API_H__
  42. #define __MEASUREMENTMGR_API_H__
  43. #include "measurementTypes.h"
  44. #include "scrApi.h"
  45. #include "mlmeApi.h"
  46. TI_HANDLE measurementMgr_create(TI_HANDLE hOs);
  47. TI_STATUS measurementMgr_config(TI_HANDLE hMeasurementMgr,
  48. TI_HANDLE hMacServices,
  49. TI_HANDLE hRegulatoryDomain,
  50. TI_HANDLE hExcMngr,
  51. TI_HANDLE hSiteMgr,
  52. TI_HANDLE hHalCtrl,
  53. TI_HANDLE hMlme,
  54. TI_HANDLE hTrafficMonitor,
  55. TI_HANDLE hReport,
  56. TI_HANDLE hOs,
  57. TI_HANDLE hScr,
  58. TI_HANDLE hHealthMonitor,
  59. TI_HANDLE hApConn,
  60. TI_HANDLE hTx,
  61. measurementInitParams_t * pMeasurementInitParams);
  62. TI_STATUS measurementMgr_destroy(TI_HANDLE hMeasurementMgr);
  63. TI_STATUS measurementMgr_setParam(TI_HANDLE hMeasurementMgr, paramInfo_t * pParam);
  64. TI_STATUS measurementMgr_getParam(TI_HANDLE hMeasurementMgr, paramInfo_t * pParam);
  65. TI_STATUS measurementMgr_connected(TI_HANDLE hMeasurementMgr);
  66. TI_STATUS measurementMgr_disconnected(TI_HANDLE hMeasurementMgr);
  67. TI_STATUS measurementMgr_enable(TI_HANDLE hMeasurementMgr);
  68. TI_STATUS measurementMgr_disable(TI_HANDLE hMeasurementMgr);
  69. TI_STATUS measurementMgr_setMeasurementMode(TI_HANDLE hMeasurementMgr, UINT16 capabilities,
  70. UINT8 * pIeBuffer, UINT16 length);
  71. TI_STATUS measurementMgr_receiveFrameRequest(TI_HANDLE hMeasurementMgr, measurement_frameType_e frameType,
  72. INT32 dataLen, UINT8 * pData);
  73. void measurementMgr_rejectPendingRequests(TI_HANDLE hMeasurementMgr, measurement_rejectReason_e rejectReason);
  74. void measurementMgr_MeasurementCompleteCB(TI_HANDLE clientObj, measurement_reply_t * msrReply);
  75. void measurementMgr_scrResponseCB(TI_HANDLE hClient, scr_clientRequestStatus_e requestStatus,
  76. scr_pendReason_e pendReason);
  77. void measurementMgr_mlmeResultCB(TI_HANDLE hMeasurementMgr, macAddress_t * bssid, mlmeFrameInfo_t * frameInfo,
  78. Rx_attr_t * pRxAttr, UINT8 * buffer, UINT16 bufferLength);
  79. #endif /* __MEASUREMENTMGR_API_H__ */