assoc.h 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. /*
  2. ** Id: //Department/DaVinci/BRANCHES/MT6620_WIFI_DRIVER_V2_3/include/mgmt/assoc.h#1
  3. */
  4. /*! \file assoc.h
  5. \brief This file contains the ASSOC REQ/RESP of
  6. IEEE 802.11 family for MediaTek 802.11 Wireless LAN Adapters.
  7. */
  8. /*
  9. ** Log: assoc.h
  10. **
  11. ** 09 17 2012 cm.chang
  12. ** [BORA00002149] [MT6630 Wi-Fi] Initial software development
  13. ** Duplicate source from MT6620 v2.3 driver branch
  14. ** (Davinci label: MT6620_WIFI_Driver_V2_3_120913_1942_As_MT6630_Base)
  15. *
  16. * 09 03 2010 kevin.huang
  17. * NULL
  18. * Refine #include sequence and solve recursive/nested #include issue
  19. *
  20. * 07 08 2010 cp.wu
  21. *
  22. * [WPD00003833] [MT6620 and MT5931] Driver migration - move to new repository.
  23. *
  24. * 06 17 2010 yuche.tsai
  25. * [WPD00003839][MT6620 5931][P2P] Feature migration
  26. * Add assocCheckTxReAssocRespFrame() proto type for P2P usage.
  27. *
  28. * 06 11 2010 cp.wu
  29. * [WPD00003833][MT6620 and MT5931] Driver migration
  30. * 1) migrate assoc.c.
  31. * 2) add ucTxSeqNum for tracking frames which needs TX-DONE awareness
  32. * 3) add configuration options for CNM_MEM and RSN modules
  33. * 4) add data path for management frames
  34. * 5) eliminate rPacketInfo of MSDU_INFO_T
  35. *
  36. * 06 10 2010 cp.wu
  37. * [WPD00003833][MT6620 and MT5931] Driver migration
  38. * add buildable & linkable ais_fsm.c
  39. *
  40. * related reference are still waiting to be resolved
  41. *
  42. */
  43. #ifndef _ASSOC_H
  44. #define _ASSOC_H
  45. /*******************************************************************************
  46. * C O M P I L E R F L A G S
  47. ********************************************************************************
  48. */
  49. /*******************************************************************************
  50. * E X T E R N A L R E F E R E N C E S
  51. ********************************************************************************
  52. */
  53. /*******************************************************************************
  54. * C O N S T A N T S
  55. ********************************************************************************
  56. */
  57. /*******************************************************************************
  58. * D A T A T Y P E S
  59. ********************************************************************************
  60. */
  61. /*******************************************************************************
  62. * P U B L I C D A T A
  63. ********************************************************************************
  64. */
  65. /*******************************************************************************
  66. * P R I V A T E D A T A
  67. ********************************************************************************
  68. */
  69. /*******************************************************************************
  70. * M A C R O S
  71. ********************************************************************************
  72. */
  73. /*******************************************************************************
  74. * F U N C T I O N D E C L A R A T I O N S
  75. ********************************************************************************
  76. */
  77. /*----------------------------------------------------------------------------*/
  78. /* Routines in assoc.c */
  79. /*----------------------------------------------------------------------------*/
  80. WLAN_STATUS assocSendReAssocReqFrame(IN P_ADAPTER_T prAdapter, IN P_STA_RECORD_T prStaRec);
  81. WLAN_STATUS assocCheckTxReAssocReqFrame(IN P_ADAPTER_T prAdapter, IN P_MSDU_INFO_T prMsduInfo);
  82. WLAN_STATUS assocCheckTxReAssocRespFrame(IN P_ADAPTER_T prAdapter, IN P_MSDU_INFO_T prMsduInfo);
  83. WLAN_STATUS
  84. assocCheckRxReAssocRspFrameStatus(IN P_ADAPTER_T prAdapter, IN P_SW_RFB_T prSwRfb, OUT PUINT_16 pu2StatusCode);
  85. WLAN_STATUS assocSendDisAssocFrame(IN P_ADAPTER_T prAdapter, IN P_STA_RECORD_T prStaRec, IN UINT_16 u2ReasonCode);
  86. WLAN_STATUS
  87. assocProcessRxDisassocFrame(IN P_ADAPTER_T prAdapter,
  88. IN P_SW_RFB_T prSwRfb, IN UINT_8 aucBSSID[], OUT PUINT_16 pu2ReasonCode);
  89. WLAN_STATUS assocProcessRxAssocReqFrame(IN P_ADAPTER_T prAdapter, IN P_SW_RFB_T prSwRfb, OUT PUINT_16 pu2StatusCode);
  90. WLAN_STATUS assocSendReAssocRespFrame(IN P_ADAPTER_T prAdapter, IN P_STA_RECORD_T prStaRec);
  91. UINT_16 assocBuildCapabilityInfo(IN P_ADAPTER_T prAdapter, IN P_STA_RECORD_T prStaRec);
  92. /*******************************************************************************
  93. * F U N C T I O N S
  94. ********************************************************************************
  95. */
  96. #endif /* _ASSOC_H */