15 * 09 03 2010 kevin.huang
17 * Refine #include sequence and solve recursive/nested #include issue
21 * [WPD00003833] [MT6620 and MT5931] Driver migration - move to new repository.
24 * [WPD00003833][MT6620 and MT5931] Driver migration
25 * remove unused definitions.
28 * [WPD00003833][MT6620 and MT5931] Driver migration
29 * implementation of DRV-SCN and related mailbox message handling.
32 * [WPD00003833][MT6620 and MT5931] Driver migration
33 * merge cnm_scan.h and hem_mbox.h
35 * 05 12 2010 kevin.huang
36 * [BORA00000794][WIFISYS][New Feature]Power Management Support
37 * Add Power Management - Legacy PS-POLL support.
40 * [BORA00000018]Integrate WIFI part into BORA for the 1st time
41 * Support 2.4G OBSS scan
43 * 03 16 2010 kevin.huang
44 * [BORA00000663][WIFISYS][New Feature] AdHoc Mode Support
47 * 03 10 2010 kevin.huang
48 * [BORA00000654][WIFISYS][New Feature] CNM Module - Ch Manager Support
50 * * * * Add Channel Manager for arbitration of JOIN and SCAN Req
52 * 02 23 2010 kevin.huang
53 * [BORA00000603][WIFISYS] [New Feature] AAA Module Support
54 * Add support scan channel 1~14 and update scan result's frequency infou1rwduu`wvpghlqg|n`slk+mpdkb
56 * 02 04 2010 kevin.huang
57 * [BORA00000603][WIFISYS] [New Feature] AAA Module Support
58 * Add AAA Module Support, Revise Net Type to Net Type Index for array lookup
60 * Nov 18 2009 mtk01104
61 * [BORA00000018] Integrate WIFI part into BORA for the 1st time
62 * Add function prototype of cnmScanInit()
65 * [BORA00000018] Integrate WIFI part into BORA for the 1st time
73 /*******************************************************************************
74 * C O M P I L E R F L A G S
75 ********************************************************************************
78 /*******************************************************************************
79 * E X T E R N A L R E F E R E N C E S
80 ********************************************************************************
83 /*******************************************************************************
85 ********************************************************************************
87 #define SCN_CHANNEL_DWELL_TIME_MIN_MSEC 12
88 #define SCN_CHANNEL_DWELL_TIME_EXT_MSEC 98
90 #define SCN_TOTAL_PROBEREQ_NUM_FOR_FULL 3
91 #define SCN_SPECIFIC_PROBEREQ_NUM_FOR_FULL 1
93 #define SCN_TOTAL_PROBEREQ_NUM_FOR_PARTIAL 2
94 #define SCN_SPECIFIC_PROBEREQ_NUM_FOR_PARTIAL 1
97 #define SCN_INTERLACED_CHANNEL_GROUPS_NUM 3 /* Used by partial scan */
99 #define SCN_PARTIAL_SCAN_NUM 3
101 #define SCN_PARTIAL_SCAN_IDLE_MSEC 100
103 #define MAXIMUM_OPERATION_CHANNEL_LIST 32
105 /*******************************************************************************
107 ********************************************************************************
109 /* The type of Scan Source */
110 typedef enum _ENUM_SCN_REQ_SOURCE_T {
111 SCN_REQ_SOURCE_HEM = 0,
112 SCN_REQ_SOURCE_NET_FSM,
113 SCN_REQ_SOURCE_ROAMING, /* ROAMING Module is independent of AIS FSM */
114 SCN_REQ_SOURCE_OBSS, /* 2.4G OBSS scan */
116 } ENUM_SCN_REQ_SOURCE_T, *P_ENUM_SCN_REQ_SOURCE_T;
118 typedef enum _ENUM_SCAN_PROFILE_T {
119 SCAN_PROFILE_FULL = 0,
120 SCAN_PROFILE_PARTIAL,
122 SCAN_PROFILE_FULL_2G4,
124 } ENUM_SCAN_PROFILE_T, *P_ENUM_SCAN_PROFILE_T;
126 /*******************************************************************************
127 * P U B L I C D A T A
128 ********************************************************************************
131 /*******************************************************************************
132 * P R I V A T E D A T A
133 ********************************************************************************
136 /*******************************************************************************
138 ********************************************************************************
141 /*******************************************************************************
142 * F U N C T I O N D E C L A R A T I O N S
143 ********************************************************************************
146 /*******************************************************************************
148 ********************************************************************************
157 cnmScanRunEventScanRequest (
158 IN P_MSG_HDR_T prMsgHdr
162 cnmScanRunEventScanAbort (
163 IN P_MSG_HDR_T prMsgHdr
167 cnmScanProfileSelection (
172 cnmScanProcessStart (
182 cnmScanRunEventReqAISAbsDone (
183 IN P_MSG_HDR_T prMsgHdr
187 cnmScanRunEventCancelAISAbsDone (
188 IN P_MSG_HDR_T prMsgHdr
192 cnmScanPartialScanTimeout (
197 cnmScanRunEventScnFsmComplete (
198 IN P_MSG_HDR_T prMsgHdr
204 #endif /* _CNM_SCAN_H */