Root/drivers/staging/csr/csr_wifi_hip_signals.c

1/*****************************************************************************
2
3            (c) Cambridge Silicon Radio Limited 2011
4            All rights reserved and confidential information of CSR
5
6            Refer to LICENSE.txt included with this source for details
7            on the license terms.
8
9*****************************************************************************/
10
11/* Note: this is an auto-generated file. */
12
13
14/* Generated by hip_dd_l_c_gen.pl */
15
16#include "csr_wifi_hip_signals.h"
17
18#include "csr_wifi_hip_unifi.h"
19
20s32 SigGetSize(const CSR_SIGNAL *aSignal)
21{
22    switch (aSignal->SignalPrimitiveHeader.SignalId)
23    {
24        case CSR_MA_PACKET_REQUEST_ID:
25            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MA_PACKET_REQUEST);
26        case CSR_MA_PACKET_CONFIRM_ID:
27            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MA_PACKET_CONFIRM);
28        case CSR_MA_PACKET_INDICATION_ID:
29            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MA_PACKET_INDICATION);
30        case CSR_MA_PACKET_CANCEL_REQUEST_ID:
31            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MA_PACKET_CANCEL_REQUEST);
32        case CSR_MA_VIF_AVAILABILITY_RESPONSE_ID:
33            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MA_VIF_AVAILABILITY_RESPONSE);
34        case CSR_MA_VIF_AVAILABILITY_INDICATION_ID:
35            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MA_VIF_AVAILABILITY_INDICATION);
36        case CSR_MA_PACKET_ERROR_INDICATION_ID:
37            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MA_PACKET_ERROR_INDICATION);
38#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
39        case CSR_MLME_RESET_REQUEST_ID:
40            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_RESET_REQUEST);
41#endif
42#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
43        case CSR_MLME_RESET_CONFIRM_ID:
44            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_RESET_CONFIRM);
45#endif
46#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
47        case CSR_MLME_GET_REQUEST_ID:
48            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_GET_REQUEST);
49#endif
50#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
51        case CSR_MLME_GET_CONFIRM_ID:
52            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_GET_CONFIRM);
53#endif
54#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
55        case CSR_MLME_SET_REQUEST_ID:
56            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_SET_REQUEST);
57#endif
58#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
59        case CSR_MLME_SET_CONFIRM_ID:
60            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_SET_CONFIRM);
61#endif
62#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
63        case CSR_MLME_GET_NEXT_REQUEST_ID:
64            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_GET_NEXT_REQUEST);
65#endif
66#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
67        case CSR_MLME_GET_NEXT_CONFIRM_ID:
68            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_GET_NEXT_CONFIRM);
69#endif
70#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
71        case CSR_MLME_POWERMGT_REQUEST_ID:
72            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_POWERMGT_REQUEST);
73#endif
74#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
75        case CSR_MLME_POWERMGT_CONFIRM_ID:
76            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_POWERMGT_CONFIRM);
77#endif
78#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
79        case CSR_MLME_SCAN_REQUEST_ID:
80            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_SCAN_REQUEST);
81#endif
82#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
83        case CSR_MLME_SCAN_CONFIRM_ID:
84            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_SCAN_CONFIRM);
85#endif
86#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
87        case CSR_MLME_HL_SYNC_REQUEST_ID:
88            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_HL_SYNC_REQUEST);
89#endif
90#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
91        case CSR_MLME_HL_SYNC_CONFIRM_ID:
92            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_HL_SYNC_CONFIRM);
93#endif
94#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
95        case CSR_MLME_MEASURE_REQUEST_ID:
96            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_MEASURE_REQUEST);
97#endif
98#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
99        case CSR_MLME_MEASURE_CONFIRM_ID:
100            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_MEASURE_CONFIRM);
101#endif
102#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
103        case CSR_MLME_MEASURE_INDICATION_ID:
104            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_MEASURE_INDICATION);
105#endif
106#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
107        case CSR_MLME_SETKEYS_REQUEST_ID:
108            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_SETKEYS_REQUEST);
109#endif
110#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
111        case CSR_MLME_SETKEYS_CONFIRM_ID:
112            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_SETKEYS_CONFIRM);
113#endif
114#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
115        case CSR_MLME_DELETEKEYS_REQUEST_ID:
116            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_DELETEKEYS_REQUEST);
117#endif
118#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
119        case CSR_MLME_DELETEKEYS_CONFIRM_ID:
120            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_DELETEKEYS_CONFIRM);
121#endif
122#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
123        case CSR_MLME_AUTONOMOUS_SCAN_LOSS_INDICATION_ID:
124            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_AUTONOMOUS_SCAN_LOSS_INDICATION);
125#endif
126#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
127        case CSR_MLME_CONNECTED_INDICATION_ID:
128            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_CONNECTED_INDICATION);
129#endif
130#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
131        case CSR_MLME_SCAN_CANCEL_REQUEST_ID:
132            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_SCAN_CANCEL_REQUEST);
133#endif
134#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
135        case CSR_MLME_HL_SYNC_CANCEL_REQUEST_ID:
136            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_HL_SYNC_CANCEL_REQUEST);
137#endif
138#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
139        case CSR_MLME_HL_SYNC_CANCEL_CONFIRM_ID:
140            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_HL_SYNC_CANCEL_CONFIRM);
141#endif
142#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
143        case CSR_MLME_ADD_PERIODIC_REQUEST_ID:
144            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_ADD_PERIODIC_REQUEST);
145#endif
146#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
147        case CSR_MLME_ADD_PERIODIC_CONFIRM_ID:
148            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_ADD_PERIODIC_CONFIRM);
149#endif
150#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
151        case CSR_MLME_DEL_PERIODIC_REQUEST_ID:
152            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_DEL_PERIODIC_REQUEST);
153#endif
154#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
155        case CSR_MLME_DEL_PERIODIC_CONFIRM_ID:
156            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_DEL_PERIODIC_CONFIRM);
157#endif
158#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
159        case CSR_MLME_ADD_AUTONOMOUS_SCAN_REQUEST_ID:
160            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_ADD_AUTONOMOUS_SCAN_REQUEST);
161#endif
162#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
163        case CSR_MLME_ADD_AUTONOMOUS_SCAN_CONFIRM_ID:
164            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_ADD_AUTONOMOUS_SCAN_CONFIRM);
165#endif
166#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
167        case CSR_MLME_DEL_AUTONOMOUS_SCAN_REQUEST_ID:
168            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_DEL_AUTONOMOUS_SCAN_REQUEST);
169#endif
170#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
171        case CSR_MLME_DEL_AUTONOMOUS_SCAN_CONFIRM_ID:
172            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_DEL_AUTONOMOUS_SCAN_CONFIRM);
173#endif
174#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
175        case CSR_MLME_SET_PACKET_FILTER_REQUEST_ID:
176            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_SET_PACKET_FILTER_REQUEST);
177#endif
178#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
179        case CSR_MLME_SET_PACKET_FILTER_CONFIRM_ID:
180            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_SET_PACKET_FILTER_CONFIRM);
181#endif
182#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
183        case CSR_MLME_STOP_MEASURE_REQUEST_ID:
184            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_STOP_MEASURE_REQUEST);
185#endif
186#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
187        case CSR_MLME_STOP_MEASURE_CONFIRM_ID:
188            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_STOP_MEASURE_CONFIRM);
189#endif
190#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
191        case CSR_MLME_PAUSE_AUTONOMOUS_SCAN_REQUEST_ID:
192            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_PAUSE_AUTONOMOUS_SCAN_REQUEST);
193#endif
194#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
195        case CSR_MLME_PAUSE_AUTONOMOUS_SCAN_CONFIRM_ID:
196            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_PAUSE_AUTONOMOUS_SCAN_CONFIRM);
197#endif
198#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
199        case CSR_MLME_AUTONOMOUS_SCAN_DONE_INDICATION_ID:
200            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_AUTONOMOUS_SCAN_DONE_INDICATION);
201#endif
202#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
203        case CSR_MLME_ADD_TRIGGERED_GET_REQUEST_ID:
204            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_ADD_TRIGGERED_GET_REQUEST);
205#endif
206#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
207        case CSR_MLME_ADD_TRIGGERED_GET_CONFIRM_ID:
208            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_ADD_TRIGGERED_GET_CONFIRM);
209#endif
210#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
211        case CSR_MLME_DEL_TRIGGERED_GET_REQUEST_ID:
212            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_DEL_TRIGGERED_GET_REQUEST);
213#endif
214#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
215        case CSR_MLME_DEL_TRIGGERED_GET_CONFIRM_ID:
216            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_DEL_TRIGGERED_GET_CONFIRM);
217#endif
218#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
219        case CSR_MLME_TRIGGERED_GET_INDICATION_ID:
220            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_TRIGGERED_GET_INDICATION);
221#endif
222#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
223        case CSR_MLME_ADD_BLACKOUT_REQUEST_ID:
224            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_ADD_BLACKOUT_REQUEST);
225#endif
226#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
227        case CSR_MLME_ADD_BLACKOUT_CONFIRM_ID:
228            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_ADD_BLACKOUT_CONFIRM);
229#endif
230#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
231        case CSR_MLME_BLACKOUT_ENDED_INDICATION_ID:
232            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_BLACKOUT_ENDED_INDICATION);
233#endif
234#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
235        case CSR_MLME_DEL_BLACKOUT_REQUEST_ID:
236            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_DEL_BLACKOUT_REQUEST);
237#endif
238#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
239        case CSR_MLME_DEL_BLACKOUT_CONFIRM_ID:
240            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_DEL_BLACKOUT_CONFIRM);
241#endif
242#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
243        case CSR_MLME_ADD_RX_TRIGGER_REQUEST_ID:
244            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_ADD_RX_TRIGGER_REQUEST);
245#endif
246#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
247        case CSR_MLME_ADD_RX_TRIGGER_CONFIRM_ID:
248            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_ADD_RX_TRIGGER_CONFIRM);
249#endif
250#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
251        case CSR_MLME_DEL_RX_TRIGGER_REQUEST_ID:
252            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_DEL_RX_TRIGGER_REQUEST);
253#endif
254#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
255        case CSR_MLME_DEL_RX_TRIGGER_CONFIRM_ID:
256            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_DEL_RX_TRIGGER_CONFIRM);
257#endif
258#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
259        case CSR_MLME_CONNECT_STATUS_REQUEST_ID:
260            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_CONNECT_STATUS_REQUEST);
261#endif
262#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
263        case CSR_MLME_CONNECT_STATUS_CONFIRM_ID:
264            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_CONNECT_STATUS_CONFIRM);
265#endif
266#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
267        case CSR_MLME_MODIFY_BSS_PARAMETER_REQUEST_ID:
268            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_MODIFY_BSS_PARAMETER_REQUEST);
269#endif
270#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
271        case CSR_MLME_MODIFY_BSS_PARAMETER_CONFIRM_ID:
272            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_MODIFY_BSS_PARAMETER_CONFIRM);
273#endif
274#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
275        case CSR_MLME_ADD_TEMPLATE_REQUEST_ID:
276            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_ADD_TEMPLATE_REQUEST);
277#endif
278#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
279        case CSR_MLME_ADD_TEMPLATE_CONFIRM_ID:
280            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_ADD_TEMPLATE_CONFIRM);
281#endif
282#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
283        case CSR_MLME_CONFIG_QUEUE_REQUEST_ID:
284            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_CONFIG_QUEUE_REQUEST);
285#endif
286#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
287        case CSR_MLME_CONFIG_QUEUE_CONFIRM_ID:
288            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_CONFIG_QUEUE_CONFIRM);
289#endif
290#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
291        case CSR_MLME_ADD_TSPEC_REQUEST_ID:
292            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_ADD_TSPEC_REQUEST);
293#endif
294#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
295        case CSR_MLME_ADD_TSPEC_CONFIRM_ID:
296            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_ADD_TSPEC_CONFIRM);
297#endif
298#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
299        case CSR_MLME_DEL_TSPEC_REQUEST_ID:
300            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_DEL_TSPEC_REQUEST);
301#endif
302#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
303        case CSR_MLME_DEL_TSPEC_CONFIRM_ID:
304            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_DEL_TSPEC_CONFIRM);
305#endif
306#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
307        case CSR_MLME_START_AGGREGATION_REQUEST_ID:
308            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_START_AGGREGATION_REQUEST);
309#endif
310#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
311        case CSR_MLME_START_AGGREGATION_CONFIRM_ID:
312            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_START_AGGREGATION_CONFIRM);
313#endif
314#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
315        case CSR_MLME_BLOCKACK_ERROR_INDICATION_ID:
316            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_BLOCKACK_ERROR_INDICATION);
317#endif
318#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
319        case CSR_MLME_STOP_AGGREGATION_REQUEST_ID:
320            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_STOP_AGGREGATION_REQUEST);
321#endif
322#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
323        case CSR_MLME_STOP_AGGREGATION_CONFIRM_ID:
324            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_STOP_AGGREGATION_CONFIRM);
325#endif
326#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
327        case CSR_MLME_SM_START_REQUEST_ID:
328            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_SM_START_REQUEST);
329#endif
330#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
331        case CSR_MLME_SM_START_CONFIRM_ID:
332            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_SM_START_CONFIRM);
333#endif
334#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
335        case CSR_MLME_LEAVE_REQUEST_ID:
336            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_LEAVE_REQUEST);
337#endif
338#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
339        case CSR_MLME_LEAVE_CONFIRM_ID:
340            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_LEAVE_CONFIRM);
341#endif
342        case CSR_MLME_SET_TIM_REQUEST_ID:
343            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_SET_TIM_REQUEST);
344        case CSR_MLME_SET_TIM_CONFIRM_ID:
345            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_SET_TIM_CONFIRM);
346#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
347        case CSR_MLME_GET_KEY_SEQUENCE_REQUEST_ID:
348            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_GET_KEY_SEQUENCE_REQUEST);
349#endif
350#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
351        case CSR_MLME_GET_KEY_SEQUENCE_CONFIRM_ID:
352            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_GET_KEY_SEQUENCE_CONFIRM);
353#endif
354#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
355        case CSR_MLME_SET_CHANNEL_REQUEST_ID:
356            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_SET_CHANNEL_REQUEST);
357#endif
358#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
359        case CSR_MLME_SET_CHANNEL_CONFIRM_ID:
360            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_SET_CHANNEL_CONFIRM);
361#endif
362#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
363        case CSR_MLME_ADD_MULTICAST_ADDRESS_REQUEST_ID:
364            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_ADD_MULTICAST_ADDRESS_REQUEST);
365#endif
366#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
367        case CSR_MLME_ADD_MULTICAST_ADDRESS_CONFIRM_ID:
368            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_MLME_ADD_MULTICAST_ADDRESS_CONFIRM);
369#endif
370        case CSR_DEBUG_STRING_INDICATION_ID:
371            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_DEBUG_STRING_INDICATION);
372        case CSR_DEBUG_WORD16_INDICATION_ID:
373            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_DEBUG_WORD16_INDICATION);
374        case CSR_DEBUG_GENERIC_REQUEST_ID:
375            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_DEBUG_GENERIC_REQUEST);
376        case CSR_DEBUG_GENERIC_CONFIRM_ID:
377            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_DEBUG_GENERIC_CONFIRM);
378        case CSR_DEBUG_GENERIC_INDICATION_ID:
379            return offsetof(struct CSR_SIGNAL_PRIMITIVE, u) + sizeof(CSR_DEBUG_GENERIC_INDICATION);
380        default:
381            return 0;
382    }
383}
384
385
386s32 SigGetDataRefs(CSR_SIGNAL *aSignal, CSR_DATAREF **aDataRef)
387{
388    s32 numRefs = 0;
389
390    switch (aSignal->SignalPrimitiveHeader.SignalId)
391    {
392        case CSR_MA_PACKET_REQUEST_ID:
393            aDataRef[numRefs++] = &aSignal->u.MaPacketRequest.Data;
394            aDataRef[numRefs++] = &aSignal->u.MaPacketRequest.Dummydataref2;
395            break;
396        case CSR_MA_PACKET_CONFIRM_ID:
397            aDataRef[numRefs++] = &aSignal->u.MaPacketConfirm.Dummydataref1;
398            aDataRef[numRefs++] = &aSignal->u.MaPacketConfirm.Dummydataref2;
399            break;
400        case CSR_MA_PACKET_INDICATION_ID:
401            aDataRef[numRefs++] = &aSignal->u.MaPacketIndication.Data;
402            aDataRef[numRefs++] = &aSignal->u.MaPacketIndication.Dummydataref2;
403            break;
404        case CSR_MA_PACKET_CANCEL_REQUEST_ID:
405            aDataRef[numRefs++] = &aSignal->u.MaPacketCancelRequest.Dummydataref1;
406            aDataRef[numRefs++] = &aSignal->u.MaPacketCancelRequest.Dummydataref2;
407            break;
408        case CSR_MA_VIF_AVAILABILITY_RESPONSE_ID:
409            aDataRef[numRefs++] = &aSignal->u.MaVifAvailabilityResponse.Dummydataref1;
410            aDataRef[numRefs++] = &aSignal->u.MaVifAvailabilityResponse.Dummydataref2;
411            break;
412        case CSR_MA_VIF_AVAILABILITY_INDICATION_ID:
413            aDataRef[numRefs++] = &aSignal->u.MaVifAvailabilityIndication.Dummydataref1;
414            aDataRef[numRefs++] = &aSignal->u.MaVifAvailabilityIndication.Dummydataref2;
415            break;
416        case CSR_MA_PACKET_ERROR_INDICATION_ID:
417            aDataRef[numRefs++] = &aSignal->u.MaPacketErrorIndication.Dummydataref1;
418            aDataRef[numRefs++] = &aSignal->u.MaPacketErrorIndication.Dummydataref2;
419            break;
420#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
421        case CSR_MLME_RESET_REQUEST_ID:
422            aDataRef[numRefs++] = &aSignal->u.MlmeResetRequest.Dummydataref1;
423            aDataRef[numRefs++] = &aSignal->u.MlmeResetRequest.Dummydataref2;
424            break;
425#endif
426#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
427        case CSR_MLME_RESET_CONFIRM_ID:
428            aDataRef[numRefs++] = &aSignal->u.MlmeResetConfirm.Dummydataref1;
429            aDataRef[numRefs++] = &aSignal->u.MlmeResetConfirm.Dummydataref2;
430            break;
431#endif
432#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
433        case CSR_MLME_GET_REQUEST_ID:
434            aDataRef[numRefs++] = &aSignal->u.MlmeGetRequest.MibAttribute;
435            aDataRef[numRefs++] = &aSignal->u.MlmeGetRequest.Dummydataref2;
436            break;
437#endif
438#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
439        case CSR_MLME_GET_CONFIRM_ID:
440            aDataRef[numRefs++] = &aSignal->u.MlmeGetConfirm.MibAttributeValue;
441            aDataRef[numRefs++] = &aSignal->u.MlmeGetConfirm.Dummydataref2;
442            break;
443#endif
444#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
445        case CSR_MLME_SET_REQUEST_ID:
446            aDataRef[numRefs++] = &aSignal->u.MlmeSetRequest.MibAttributeValue;
447            aDataRef[numRefs++] = &aSignal->u.MlmeSetRequest.Dummydataref2;
448            break;
449#endif
450#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
451        case CSR_MLME_SET_CONFIRM_ID:
452            aDataRef[numRefs++] = &aSignal->u.MlmeSetConfirm.MibAttributeValue;
453            aDataRef[numRefs++] = &aSignal->u.MlmeSetConfirm.Dummydataref2;
454            break;
455#endif
456#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
457        case CSR_MLME_GET_NEXT_REQUEST_ID:
458            aDataRef[numRefs++] = &aSignal->u.MlmeGetNextRequest.MibAttribute;
459            aDataRef[numRefs++] = &aSignal->u.MlmeGetNextRequest.Dummydataref2;
460            break;
461#endif
462#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
463        case CSR_MLME_GET_NEXT_CONFIRM_ID:
464            aDataRef[numRefs++] = &aSignal->u.MlmeGetNextConfirm.MibAttributeValue;
465            aDataRef[numRefs++] = &aSignal->u.MlmeGetNextConfirm.Dummydataref2;
466            break;
467#endif
468#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
469        case CSR_MLME_POWERMGT_REQUEST_ID:
470            aDataRef[numRefs++] = &aSignal->u.MlmePowermgtRequest.Dummydataref1;
471            aDataRef[numRefs++] = &aSignal->u.MlmePowermgtRequest.Dummydataref2;
472            break;
473#endif
474#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
475        case CSR_MLME_POWERMGT_CONFIRM_ID:
476            aDataRef[numRefs++] = &aSignal->u.MlmePowermgtConfirm.Dummydataref1;
477            aDataRef[numRefs++] = &aSignal->u.MlmePowermgtConfirm.Dummydataref2;
478            break;
479#endif
480#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
481        case CSR_MLME_SCAN_REQUEST_ID:
482            aDataRef[numRefs++] = &aSignal->u.MlmeScanRequest.ChannelList;
483            aDataRef[numRefs++] = &aSignal->u.MlmeScanRequest.InformationElements;
484            break;
485#endif
486#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
487        case CSR_MLME_SCAN_CONFIRM_ID:
488            aDataRef[numRefs++] = &aSignal->u.MlmeScanConfirm.Dummydataref1;
489            aDataRef[numRefs++] = &aSignal->u.MlmeScanConfirm.Dummydataref2;
490            break;
491#endif
492#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
493        case CSR_MLME_HL_SYNC_REQUEST_ID:
494            aDataRef[numRefs++] = &aSignal->u.MlmeHlSyncRequest.Dummydataref1;
495            aDataRef[numRefs++] = &aSignal->u.MlmeHlSyncRequest.Dummydataref2;
496            break;
497#endif
498#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
499        case CSR_MLME_HL_SYNC_CONFIRM_ID:
500            aDataRef[numRefs++] = &aSignal->u.MlmeHlSyncConfirm.Dummydataref1;
501            aDataRef[numRefs++] = &aSignal->u.MlmeHlSyncConfirm.Dummydataref2;
502            break;
503#endif
504#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
505        case CSR_MLME_MEASURE_REQUEST_ID:
506            aDataRef[numRefs++] = &aSignal->u.MlmeMeasureRequest.MeasurementRequestSet;
507            aDataRef[numRefs++] = &aSignal->u.MlmeMeasureRequest.Dummydataref2;
508            break;
509#endif
510#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
511        case CSR_MLME_MEASURE_CONFIRM_ID:
512            aDataRef[numRefs++] = &aSignal->u.MlmeMeasureConfirm.Dummydataref1;
513            aDataRef[numRefs++] = &aSignal->u.MlmeMeasureConfirm.Dummydataref2;
514            break;
515#endif
516#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
517        case CSR_MLME_MEASURE_INDICATION_ID:
518            aDataRef[numRefs++] = &aSignal->u.MlmeMeasureIndication.MeasurementReportSet;
519            aDataRef[numRefs++] = &aSignal->u.MlmeMeasureIndication.Dummydataref2;
520            break;
521#endif
522#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
523        case CSR_MLME_SETKEYS_REQUEST_ID:
524            aDataRef[numRefs++] = &aSignal->u.MlmeSetkeysRequest.Key;
525            aDataRef[numRefs++] = &aSignal->u.MlmeSetkeysRequest.Dummydataref2;
526            break;
527#endif
528#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
529        case CSR_MLME_SETKEYS_CONFIRM_ID:
530            aDataRef[numRefs++] = &aSignal->u.MlmeSetkeysConfirm.Dummydataref1;
531            aDataRef[numRefs++] = &aSignal->u.MlmeSetkeysConfirm.Dummydataref2;
532            break;
533#endif
534#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
535        case CSR_MLME_DELETEKEYS_REQUEST_ID:
536            aDataRef[numRefs++] = &aSignal->u.MlmeDeletekeysRequest.Dummydataref1;
537            aDataRef[numRefs++] = &aSignal->u.MlmeDeletekeysRequest.Dummydataref2;
538            break;
539#endif
540#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
541        case CSR_MLME_DELETEKEYS_CONFIRM_ID:
542            aDataRef[numRefs++] = &aSignal->u.MlmeDeletekeysConfirm.Dummydataref1;
543            aDataRef[numRefs++] = &aSignal->u.MlmeDeletekeysConfirm.Dummydataref2;
544            break;
545#endif
546#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
547        case CSR_MLME_AUTONOMOUS_SCAN_LOSS_INDICATION_ID:
548            aDataRef[numRefs++] = &aSignal->u.MlmeAutonomousScanLossIndication.Dummydataref1;
549            aDataRef[numRefs++] = &aSignal->u.MlmeAutonomousScanLossIndication.Dummydataref2;
550            break;
551#endif
552#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
553        case CSR_MLME_CONNECTED_INDICATION_ID:
554            aDataRef[numRefs++] = &aSignal->u.MlmeConnectedIndication.Dummydataref1;
555            aDataRef[numRefs++] = &aSignal->u.MlmeConnectedIndication.Dummydataref2;
556            break;
557#endif
558#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
559        case CSR_MLME_SCAN_CANCEL_REQUEST_ID:
560            aDataRef[numRefs++] = &aSignal->u.MlmeScanCancelRequest.Dummydataref1;
561            aDataRef[numRefs++] = &aSignal->u.MlmeScanCancelRequest.Dummydataref2;
562            break;
563#endif
564#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
565        case CSR_MLME_HL_SYNC_CANCEL_REQUEST_ID:
566            aDataRef[numRefs++] = &aSignal->u.MlmeHlSyncCancelRequest.Dummydataref1;
567            aDataRef[numRefs++] = &aSignal->u.MlmeHlSyncCancelRequest.Dummydataref2;
568            break;
569#endif
570#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
571        case CSR_MLME_HL_SYNC_CANCEL_CONFIRM_ID:
572            aDataRef[numRefs++] = &aSignal->u.MlmeHlSyncCancelConfirm.Dummydataref1;
573            aDataRef[numRefs++] = &aSignal->u.MlmeHlSyncCancelConfirm.Dummydataref2;
574            break;
575#endif
576#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
577        case CSR_MLME_ADD_PERIODIC_REQUEST_ID:
578            aDataRef[numRefs++] = &aSignal->u.MlmeAddPeriodicRequest.Dummydataref1;
579            aDataRef[numRefs++] = &aSignal->u.MlmeAddPeriodicRequest.Dummydataref2;
580            break;
581#endif
582#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
583        case CSR_MLME_ADD_PERIODIC_CONFIRM_ID:
584            aDataRef[numRefs++] = &aSignal->u.MlmeAddPeriodicConfirm.Dummydataref1;
585            aDataRef[numRefs++] = &aSignal->u.MlmeAddPeriodicConfirm.Dummydataref2;
586            break;
587#endif
588#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
589        case CSR_MLME_DEL_PERIODIC_REQUEST_ID:
590            aDataRef[numRefs++] = &aSignal->u.MlmeDelPeriodicRequest.Dummydataref1;
591            aDataRef[numRefs++] = &aSignal->u.MlmeDelPeriodicRequest.Dummydataref2;
592            break;
593#endif
594#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
595        case CSR_MLME_DEL_PERIODIC_CONFIRM_ID:
596            aDataRef[numRefs++] = &aSignal->u.MlmeDelPeriodicConfirm.Dummydataref1;
597            aDataRef[numRefs++] = &aSignal->u.MlmeDelPeriodicConfirm.Dummydataref2;
598            break;
599#endif
600#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
601        case CSR_MLME_ADD_AUTONOMOUS_SCAN_REQUEST_ID:
602            aDataRef[numRefs++] = &aSignal->u.MlmeAddAutonomousScanRequest.ChannelList;
603            aDataRef[numRefs++] = &aSignal->u.MlmeAddAutonomousScanRequest.InformationElements;
604            break;
605#endif
606#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
607        case CSR_MLME_ADD_AUTONOMOUS_SCAN_CONFIRM_ID:
608            aDataRef[numRefs++] = &aSignal->u.MlmeAddAutonomousScanConfirm.Dummydataref1;
609            aDataRef[numRefs++] = &aSignal->u.MlmeAddAutonomousScanConfirm.Dummydataref2;
610            break;
611#endif
612#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
613        case CSR_MLME_DEL_AUTONOMOUS_SCAN_REQUEST_ID:
614            aDataRef[numRefs++] = &aSignal->u.MlmeDelAutonomousScanRequest.Dummydataref1;
615            aDataRef[numRefs++] = &aSignal->u.MlmeDelAutonomousScanRequest.Dummydataref2;
616            break;
617#endif
618#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
619        case CSR_MLME_DEL_AUTONOMOUS_SCAN_CONFIRM_ID:
620            aDataRef[numRefs++] = &aSignal->u.MlmeDelAutonomousScanConfirm.Dummydataref1;
621            aDataRef[numRefs++] = &aSignal->u.MlmeDelAutonomousScanConfirm.Dummydataref2;
622            break;
623#endif
624#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
625        case CSR_MLME_SET_PACKET_FILTER_REQUEST_ID:
626            aDataRef[numRefs++] = &aSignal->u.MlmeSetPacketFilterRequest.InformationElements;
627            aDataRef[numRefs++] = &aSignal->u.MlmeSetPacketFilterRequest.Dummydataref2;
628            break;
629#endif
630#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
631        case CSR_MLME_SET_PACKET_FILTER_CONFIRM_ID:
632            aDataRef[numRefs++] = &aSignal->u.MlmeSetPacketFilterConfirm.Dummydataref1;
633            aDataRef[numRefs++] = &aSignal->u.MlmeSetPacketFilterConfirm.Dummydataref2;
634            break;
635#endif
636#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
637        case CSR_MLME_STOP_MEASURE_REQUEST_ID:
638            aDataRef[numRefs++] = &aSignal->u.MlmeStopMeasureRequest.Dummydataref1;
639            aDataRef[numRefs++] = &aSignal->u.MlmeStopMeasureRequest.Dummydataref2;
640            break;
641#endif
642#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
643        case CSR_MLME_STOP_MEASURE_CONFIRM_ID:
644            aDataRef[numRefs++] = &aSignal->u.MlmeStopMeasureConfirm.Dummydataref1;
645            aDataRef[numRefs++] = &aSignal->u.MlmeStopMeasureConfirm.Dummydataref2;
646            break;
647#endif
648#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
649        case CSR_MLME_PAUSE_AUTONOMOUS_SCAN_REQUEST_ID:
650            aDataRef[numRefs++] = &aSignal->u.MlmePauseAutonomousScanRequest.Dummydataref1;
651            aDataRef[numRefs++] = &aSignal->u.MlmePauseAutonomousScanRequest.Dummydataref2;
652            break;
653#endif
654#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
655        case CSR_MLME_PAUSE_AUTONOMOUS_SCAN_CONFIRM_ID:
656            aDataRef[numRefs++] = &aSignal->u.MlmePauseAutonomousScanConfirm.Dummydataref1;
657            aDataRef[numRefs++] = &aSignal->u.MlmePauseAutonomousScanConfirm.Dummydataref2;
658            break;
659#endif
660#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
661        case CSR_MLME_AUTONOMOUS_SCAN_DONE_INDICATION_ID:
662            aDataRef[numRefs++] = &aSignal->u.MlmeAutonomousScanDoneIndication.Dummydataref1;
663            aDataRef[numRefs++] = &aSignal->u.MlmeAutonomousScanDoneIndication.Dummydataref2;
664            break;
665#endif
666#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
667        case CSR_MLME_ADD_TRIGGERED_GET_REQUEST_ID:
668            aDataRef[numRefs++] = &aSignal->u.MlmeAddTriggeredGetRequest.MibAttribute;
669            aDataRef[numRefs++] = &aSignal->u.MlmeAddTriggeredGetRequest.Dummydataref2;
670            break;
671#endif
672#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
673        case CSR_MLME_ADD_TRIGGERED_GET_CONFIRM_ID:
674            aDataRef[numRefs++] = &aSignal->u.MlmeAddTriggeredGetConfirm.Dummydataref1;
675            aDataRef[numRefs++] = &aSignal->u.MlmeAddTriggeredGetConfirm.Dummydataref2;
676            break;
677#endif
678#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
679        case CSR_MLME_DEL_TRIGGERED_GET_REQUEST_ID:
680            aDataRef[numRefs++] = &aSignal->u.MlmeDelTriggeredGetRequest.Dummydataref1;
681            aDataRef[numRefs++] = &aSignal->u.MlmeDelTriggeredGetRequest.Dummydataref2;
682            break;
683#endif
684#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
685        case CSR_MLME_DEL_TRIGGERED_GET_CONFIRM_ID:
686            aDataRef[numRefs++] = &aSignal->u.MlmeDelTriggeredGetConfirm.Dummydataref1;
687            aDataRef[numRefs++] = &aSignal->u.MlmeDelTriggeredGetConfirm.Dummydataref2;
688            break;
689#endif
690#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
691        case CSR_MLME_TRIGGERED_GET_INDICATION_ID:
692            aDataRef[numRefs++] = &aSignal->u.MlmeTriggeredGetIndication.MibAttributeValue;
693            aDataRef[numRefs++] = &aSignal->u.MlmeTriggeredGetIndication.Dummydataref2;
694            break;
695#endif
696#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
697        case CSR_MLME_ADD_BLACKOUT_REQUEST_ID:
698            aDataRef[numRefs++] = &aSignal->u.MlmeAddBlackoutRequest.Dummydataref1;
699            aDataRef[numRefs++] = &aSignal->u.MlmeAddBlackoutRequest.Dummydataref2;
700            break;
701#endif
702#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
703        case CSR_MLME_ADD_BLACKOUT_CONFIRM_ID:
704            aDataRef[numRefs++] = &aSignal->u.MlmeAddBlackoutConfirm.Dummydataref1;
705            aDataRef[numRefs++] = &aSignal->u.MlmeAddBlackoutConfirm.Dummydataref2;
706            break;
707#endif
708#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
709        case CSR_MLME_BLACKOUT_ENDED_INDICATION_ID:
710            aDataRef[numRefs++] = &aSignal->u.MlmeBlackoutEndedIndication.Dummydataref1;
711            aDataRef[numRefs++] = &aSignal->u.MlmeBlackoutEndedIndication.Dummydataref2;
712            break;
713#endif
714#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
715        case CSR_MLME_DEL_BLACKOUT_REQUEST_ID:
716            aDataRef[numRefs++] = &aSignal->u.MlmeDelBlackoutRequest.Dummydataref1;
717            aDataRef[numRefs++] = &aSignal->u.MlmeDelBlackoutRequest.Dummydataref2;
718            break;
719#endif
720#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
721        case CSR_MLME_DEL_BLACKOUT_CONFIRM_ID:
722            aDataRef[numRefs++] = &aSignal->u.MlmeDelBlackoutConfirm.Dummydataref1;
723            aDataRef[numRefs++] = &aSignal->u.MlmeDelBlackoutConfirm.Dummydataref2;
724            break;
725#endif
726#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
727        case CSR_MLME_ADD_RX_TRIGGER_REQUEST_ID:
728            aDataRef[numRefs++] = &aSignal->u.MlmeAddRxTriggerRequest.InformationElements;
729            aDataRef[numRefs++] = &aSignal->u.MlmeAddRxTriggerRequest.Dummydataref2;
730            break;
731#endif
732#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
733        case CSR_MLME_ADD_RX_TRIGGER_CONFIRM_ID:
734            aDataRef[numRefs++] = &aSignal->u.MlmeAddRxTriggerConfirm.Dummydataref1;
735            aDataRef[numRefs++] = &aSignal->u.MlmeAddRxTriggerConfirm.Dummydataref2;
736            break;
737#endif
738#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
739        case CSR_MLME_DEL_RX_TRIGGER_REQUEST_ID:
740            aDataRef[numRefs++] = &aSignal->u.MlmeDelRxTriggerRequest.Dummydataref1;
741            aDataRef[numRefs++] = &aSignal->u.MlmeDelRxTriggerRequest.Dummydataref2;
742            break;
743#endif
744#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
745        case CSR_MLME_DEL_RX_TRIGGER_CONFIRM_ID:
746            aDataRef[numRefs++] = &aSignal->u.MlmeDelRxTriggerConfirm.Dummydataref1;
747            aDataRef[numRefs++] = &aSignal->u.MlmeDelRxTriggerConfirm.Dummydataref2;
748            break;
749#endif
750#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
751        case CSR_MLME_CONNECT_STATUS_REQUEST_ID:
752            aDataRef[numRefs++] = &aSignal->u.MlmeConnectStatusRequest.InformationElements;
753            aDataRef[numRefs++] = &aSignal->u.MlmeConnectStatusRequest.Dummydataref2;
754            break;
755#endif
756#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
757        case CSR_MLME_CONNECT_STATUS_CONFIRM_ID:
758            aDataRef[numRefs++] = &aSignal->u.MlmeConnectStatusConfirm.Dummydataref1;
759            aDataRef[numRefs++] = &aSignal->u.MlmeConnectStatusConfirm.Dummydataref2;
760            break;
761#endif
762#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
763        case CSR_MLME_MODIFY_BSS_PARAMETER_REQUEST_ID:
764            aDataRef[numRefs++] = &aSignal->u.MlmeModifyBssParameterRequest.Data;
765            aDataRef[numRefs++] = &aSignal->u.MlmeModifyBssParameterRequest.Dummydataref2;
766            break;
767#endif
768#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
769        case CSR_MLME_MODIFY_BSS_PARAMETER_CONFIRM_ID:
770            aDataRef[numRefs++] = &aSignal->u.MlmeModifyBssParameterConfirm.Dummydataref1;
771            aDataRef[numRefs++] = &aSignal->u.MlmeModifyBssParameterConfirm.Dummydataref2;
772            break;
773#endif
774#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
775        case CSR_MLME_ADD_TEMPLATE_REQUEST_ID:
776            aDataRef[numRefs++] = &aSignal->u.MlmeAddTemplateRequest.Data1;
777            aDataRef[numRefs++] = &aSignal->u.MlmeAddTemplateRequest.Data2;
778            break;
779#endif
780#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
781        case CSR_MLME_ADD_TEMPLATE_CONFIRM_ID:
782            aDataRef[numRefs++] = &aSignal->u.MlmeAddTemplateConfirm.Dummydataref1;
783            aDataRef[numRefs++] = &aSignal->u.MlmeAddTemplateConfirm.Dummydataref2;
784            break;
785#endif
786#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
787        case CSR_MLME_CONFIG_QUEUE_REQUEST_ID:
788            aDataRef[numRefs++] = &aSignal->u.MlmeConfigQueueRequest.Dummydataref1;
789            aDataRef[numRefs++] = &aSignal->u.MlmeConfigQueueRequest.Dummydataref2;
790            break;
791#endif
792#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
793        case CSR_MLME_CONFIG_QUEUE_CONFIRM_ID:
794            aDataRef[numRefs++] = &aSignal->u.MlmeConfigQueueConfirm.Dummydataref1;
795            aDataRef[numRefs++] = &aSignal->u.MlmeConfigQueueConfirm.Dummydataref2;
796            break;
797#endif
798#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
799        case CSR_MLME_ADD_TSPEC_REQUEST_ID:
800            aDataRef[numRefs++] = &aSignal->u.MlmeAddTspecRequest.Dummydataref1;
801            aDataRef[numRefs++] = &aSignal->u.MlmeAddTspecRequest.Dummydataref2;
802            break;
803#endif
804#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
805        case CSR_MLME_ADD_TSPEC_CONFIRM_ID:
806            aDataRef[numRefs++] = &aSignal->u.MlmeAddTspecConfirm.Dummydataref1;
807            aDataRef[numRefs++] = &aSignal->u.MlmeAddTspecConfirm.Dummydataref2;
808            break;
809#endif
810#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
811        case CSR_MLME_DEL_TSPEC_REQUEST_ID:
812            aDataRef[numRefs++] = &aSignal->u.MlmeDelTspecRequest.Dummydataref1;
813            aDataRef[numRefs++] = &aSignal->u.MlmeDelTspecRequest.Dummydataref2;
814            break;
815#endif
816#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
817        case CSR_MLME_DEL_TSPEC_CONFIRM_ID:
818            aDataRef[numRefs++] = &aSignal->u.MlmeDelTspecConfirm.Dummydataref1;
819            aDataRef[numRefs++] = &aSignal->u.MlmeDelTspecConfirm.Dummydataref2;
820            break;
821#endif
822#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
823        case CSR_MLME_START_AGGREGATION_REQUEST_ID:
824            aDataRef[numRefs++] = &aSignal->u.MlmeStartAggregationRequest.Dummydataref1;
825            aDataRef[numRefs++] = &aSignal->u.MlmeStartAggregationRequest.Dummydataref2;
826            break;
827#endif
828#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
829        case CSR_MLME_START_AGGREGATION_CONFIRM_ID:
830            aDataRef[numRefs++] = &aSignal->u.MlmeStartAggregationConfirm.Dummydataref1;
831            aDataRef[numRefs++] = &aSignal->u.MlmeStartAggregationConfirm.Dummydataref2;
832            break;
833#endif
834#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
835        case CSR_MLME_BLOCKACK_ERROR_INDICATION_ID:
836            aDataRef[numRefs++] = &aSignal->u.MlmeBlockackErrorIndication.Dummydataref1;
837            aDataRef[numRefs++] = &aSignal->u.MlmeBlockackErrorIndication.Dummydataref2;
838            break;
839#endif
840#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
841        case CSR_MLME_STOP_AGGREGATION_REQUEST_ID:
842            aDataRef[numRefs++] = &aSignal->u.MlmeStopAggregationRequest.Dummydataref1;
843            aDataRef[numRefs++] = &aSignal->u.MlmeStopAggregationRequest.Dummydataref2;
844            break;
845#endif
846#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
847        case CSR_MLME_STOP_AGGREGATION_CONFIRM_ID:
848            aDataRef[numRefs++] = &aSignal->u.MlmeStopAggregationConfirm.Dummydataref1;
849            aDataRef[numRefs++] = &aSignal->u.MlmeStopAggregationConfirm.Dummydataref2;
850            break;
851#endif
852#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
853        case CSR_MLME_SM_START_REQUEST_ID:
854            aDataRef[numRefs++] = &aSignal->u.MlmeSmStartRequest.Beacon;
855            aDataRef[numRefs++] = &aSignal->u.MlmeSmStartRequest.BssParameters;
856            break;
857#endif
858#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
859        case CSR_MLME_SM_START_CONFIRM_ID:
860            aDataRef[numRefs++] = &aSignal->u.MlmeSmStartConfirm.Dummydataref1;
861            aDataRef[numRefs++] = &aSignal->u.MlmeSmStartConfirm.Dummydataref2;
862            break;
863#endif
864#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
865        case CSR_MLME_LEAVE_REQUEST_ID:
866            aDataRef[numRefs++] = &aSignal->u.MlmeLeaveRequest.Dummydataref1;
867            aDataRef[numRefs++] = &aSignal->u.MlmeLeaveRequest.Dummydataref2;
868            break;
869#endif
870#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
871        case CSR_MLME_LEAVE_CONFIRM_ID:
872            aDataRef[numRefs++] = &aSignal->u.MlmeLeaveConfirm.Dummydataref1;
873            aDataRef[numRefs++] = &aSignal->u.MlmeLeaveConfirm.Dummydataref2;
874            break;
875#endif
876        case CSR_MLME_SET_TIM_REQUEST_ID:
877            aDataRef[numRefs++] = &aSignal->u.MlmeSetTimRequest.Dummydataref1;
878            aDataRef[numRefs++] = &aSignal->u.MlmeSetTimRequest.Dummydataref2;
879            break;
880        case CSR_MLME_SET_TIM_CONFIRM_ID:
881            aDataRef[numRefs++] = &aSignal->u.MlmeSetTimConfirm.Dummydataref1;
882            aDataRef[numRefs++] = &aSignal->u.MlmeSetTimConfirm.Dummydataref2;
883            break;
884#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
885        case CSR_MLME_GET_KEY_SEQUENCE_REQUEST_ID:
886            aDataRef[numRefs++] = &aSignal->u.MlmeGetKeySequenceRequest.Dummydataref1;
887            aDataRef[numRefs++] = &aSignal->u.MlmeGetKeySequenceRequest.Dummydataref2;
888            break;
889#endif
890#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
891        case CSR_MLME_GET_KEY_SEQUENCE_CONFIRM_ID:
892            aDataRef[numRefs++] = &aSignal->u.MlmeGetKeySequenceConfirm.Dummydataref1;
893            aDataRef[numRefs++] = &aSignal->u.MlmeGetKeySequenceConfirm.Dummydataref2;
894            break;
895#endif
896#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
897        case CSR_MLME_SET_CHANNEL_REQUEST_ID:
898            aDataRef[numRefs++] = &aSignal->u.MlmeSetChannelRequest.Dummydataref1;
899            aDataRef[numRefs++] = &aSignal->u.MlmeSetChannelRequest.Dummydataref2;
900            break;
901#endif
902#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
903        case CSR_MLME_SET_CHANNEL_CONFIRM_ID:
904            aDataRef[numRefs++] = &aSignal->u.MlmeSetChannelConfirm.Dummydataref1;
905            aDataRef[numRefs++] = &aSignal->u.MlmeSetChannelConfirm.Dummydataref2;
906            break;
907#endif
908#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
909        case CSR_MLME_ADD_MULTICAST_ADDRESS_REQUEST_ID:
910            aDataRef[numRefs++] = &aSignal->u.MlmeAddMulticastAddressRequest.Data;
911            aDataRef[numRefs++] = &aSignal->u.MlmeAddMulticastAddressRequest.Dummydataref2;
912            break;
913#endif
914#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
915        case CSR_MLME_ADD_MULTICAST_ADDRESS_CONFIRM_ID:
916            aDataRef[numRefs++] = &aSignal->u.MlmeAddMulticastAddressConfirm.Dummydataref1;
917            aDataRef[numRefs++] = &aSignal->u.MlmeAddMulticastAddressConfirm.Dummydataref2;
918            break;
919#endif
920        case CSR_DEBUG_STRING_INDICATION_ID:
921            aDataRef[numRefs++] = &aSignal->u.DebugStringIndication.DebugMessage;
922            aDataRef[numRefs++] = &aSignal->u.DebugStringIndication.Dummydataref2;
923            break;
924        case CSR_DEBUG_WORD16_INDICATION_ID:
925            aDataRef[numRefs++] = &aSignal->u.DebugWord16Indication.Dummydataref1;
926            aDataRef[numRefs++] = &aSignal->u.DebugWord16Indication.Dummydataref2;
927            break;
928        case CSR_DEBUG_GENERIC_REQUEST_ID:
929            aDataRef[numRefs++] = &aSignal->u.DebugGenericRequest.DebugVariable;
930            aDataRef[numRefs++] = &aSignal->u.DebugGenericRequest.Dummydataref2;
931            break;
932        case CSR_DEBUG_GENERIC_CONFIRM_ID:
933            aDataRef[numRefs++] = &aSignal->u.DebugGenericConfirm.DebugVariable;
934            aDataRef[numRefs++] = &aSignal->u.DebugGenericConfirm.Dummydataref2;
935            break;
936        case CSR_DEBUG_GENERIC_INDICATION_ID:
937            aDataRef[numRefs++] = &aSignal->u.DebugGenericIndication.DebugVariable;
938            aDataRef[numRefs++] = &aSignal->u.DebugGenericIndication.Dummydataref2;
939            break;
940        default:
941            return 0;
942    }
943    return numRefs;
944}
945
946
947u32 SigGetFilterPos(u16 aSigID)
948{
949    switch (aSigID)
950    {
951        case CSR_MA_PACKET_REQUEST_ID:
952            return 0x00000001;
953        case CSR_MA_PACKET_CONFIRM_ID:
954            return 0x00000002;
955        case CSR_MA_PACKET_INDICATION_ID:
956            return 0x00000004;
957        case CSR_MA_PACKET_CANCEL_REQUEST_ID:
958            return 0x00000008;
959        case CSR_MA_VIF_AVAILABILITY_RESPONSE_ID:
960            return 0x00000010;
961        case CSR_MA_VIF_AVAILABILITY_INDICATION_ID:
962            return 0x00000020;
963        case CSR_MA_PACKET_ERROR_INDICATION_ID:
964            return 0x00000040;
965#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
966        case CSR_MLME_RESET_REQUEST_ID:
967            return 0x00000080;
968#endif
969#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
970        case CSR_MLME_RESET_CONFIRM_ID:
971            return 0x00000100;
972#endif
973#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
974        case CSR_MLME_GET_REQUEST_ID:
975            return 0x00000200;
976#endif
977#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
978        case CSR_MLME_GET_CONFIRM_ID:
979            return 0x00000400;
980#endif
981#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
982        case CSR_MLME_SET_REQUEST_ID:
983            return 0x00000800;
984#endif
985#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
986        case CSR_MLME_SET_CONFIRM_ID:
987            return 0x00001000;
988#endif
989#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
990        case CSR_MLME_GET_NEXT_REQUEST_ID:
991            return 0x00002000;
992#endif
993#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
994        case CSR_MLME_GET_NEXT_CONFIRM_ID:
995            return 0x00004000;
996#endif
997#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
998        case CSR_MLME_POWERMGT_REQUEST_ID:
999            return 0x00008000;
1000#endif
1001#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1002        case CSR_MLME_POWERMGT_CONFIRM_ID:
1003            return 0x00010001;
1004#endif
1005#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1006        case CSR_MLME_SCAN_REQUEST_ID:
1007            return 0x00010002;
1008#endif
1009#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1010        case CSR_MLME_SCAN_CONFIRM_ID:
1011            return 0x00010004;
1012#endif
1013#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1014        case CSR_MLME_HL_SYNC_REQUEST_ID:
1015            return 0x00010008;
1016#endif
1017#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1018        case CSR_MLME_HL_SYNC_CONFIRM_ID:
1019            return 0x00010010;
1020#endif
1021#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1022        case CSR_MLME_MEASURE_REQUEST_ID:
1023            return 0x00010020;
1024#endif
1025#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1026        case CSR_MLME_MEASURE_CONFIRM_ID:
1027            return 0x00010040;
1028#endif
1029#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1030        case CSR_MLME_MEASURE_INDICATION_ID:
1031            return 0x00010080;
1032#endif
1033#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1034        case CSR_MLME_SETKEYS_REQUEST_ID:
1035            return 0x00010100;
1036#endif
1037#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1038        case CSR_MLME_SETKEYS_CONFIRM_ID:
1039            return 0x00010200;
1040#endif
1041#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1042        case CSR_MLME_DELETEKEYS_REQUEST_ID:
1043            return 0x00010400;
1044#endif
1045#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1046        case CSR_MLME_DELETEKEYS_CONFIRM_ID:
1047            return 0x00010800;
1048#endif
1049#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1050        case CSR_MLME_AUTONOMOUS_SCAN_LOSS_INDICATION_ID:
1051            return 0x00011000;
1052#endif
1053#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1054        case CSR_MLME_CONNECTED_INDICATION_ID:
1055            return 0x00012000;
1056#endif
1057#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1058        case CSR_MLME_SCAN_CANCEL_REQUEST_ID:
1059            return 0x00014000;
1060#endif
1061#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1062        case CSR_MLME_HL_SYNC_CANCEL_REQUEST_ID:
1063            return 0x00018000;
1064#endif
1065#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1066        case CSR_MLME_HL_SYNC_CANCEL_CONFIRM_ID:
1067            return 0x00020001;
1068#endif
1069#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1070        case CSR_MLME_ADD_PERIODIC_REQUEST_ID:
1071            return 0x00020002;
1072#endif
1073#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1074        case CSR_MLME_ADD_PERIODIC_CONFIRM_ID:
1075            return 0x00020004;
1076#endif
1077#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1078        case CSR_MLME_DEL_PERIODIC_REQUEST_ID:
1079            return 0x00020008;
1080#endif
1081#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1082        case CSR_MLME_DEL_PERIODIC_CONFIRM_ID:
1083            return 0x00020010;
1084#endif
1085#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1086        case CSR_MLME_ADD_AUTONOMOUS_SCAN_REQUEST_ID:
1087            return 0x00020020;
1088#endif
1089#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1090        case CSR_MLME_ADD_AUTONOMOUS_SCAN_CONFIRM_ID:
1091            return 0x00020040;
1092#endif
1093#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1094        case CSR_MLME_DEL_AUTONOMOUS_SCAN_REQUEST_ID:
1095            return 0x00020080;
1096#endif
1097#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1098        case CSR_MLME_DEL_AUTONOMOUS_SCAN_CONFIRM_ID:
1099            return 0x00020100;
1100#endif
1101#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1102        case CSR_MLME_SET_PACKET_FILTER_REQUEST_ID:
1103            return 0x00020200;
1104#endif
1105#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1106        case CSR_MLME_SET_PACKET_FILTER_CONFIRM_ID:
1107            return 0x00020400;
1108#endif
1109#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1110        case CSR_MLME_STOP_MEASURE_REQUEST_ID:
1111            return 0x00020800;
1112#endif
1113#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1114        case CSR_MLME_STOP_MEASURE_CONFIRM_ID:
1115            return 0x00021000;
1116#endif
1117#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1118        case CSR_MLME_PAUSE_AUTONOMOUS_SCAN_REQUEST_ID:
1119            return 0x00022000;
1120#endif
1121#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1122        case CSR_MLME_PAUSE_AUTONOMOUS_SCAN_CONFIRM_ID:
1123            return 0x00024000;
1124#endif
1125#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1126        case CSR_MLME_AUTONOMOUS_SCAN_DONE_INDICATION_ID:
1127            return 0x00028000;
1128#endif
1129#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1130        case CSR_MLME_ADD_TRIGGERED_GET_REQUEST_ID:
1131            return 0x00030001;
1132#endif
1133#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1134        case CSR_MLME_ADD_TRIGGERED_GET_CONFIRM_ID:
1135            return 0x00030002;
1136#endif
1137#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1138        case CSR_MLME_DEL_TRIGGERED_GET_REQUEST_ID:
1139            return 0x00030004;
1140#endif
1141#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1142        case CSR_MLME_DEL_TRIGGERED_GET_CONFIRM_ID:
1143            return 0x00030008;
1144#endif
1145#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1146        case CSR_MLME_TRIGGERED_GET_INDICATION_ID:
1147            return 0x00030010;
1148#endif
1149#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1150        case CSR_MLME_ADD_BLACKOUT_REQUEST_ID:
1151            return 0x00030020;
1152#endif
1153#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1154        case CSR_MLME_ADD_BLACKOUT_CONFIRM_ID:
1155            return 0x00030040;
1156#endif
1157#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1158        case CSR_MLME_BLACKOUT_ENDED_INDICATION_ID:
1159            return 0x00030080;
1160#endif
1161#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1162        case CSR_MLME_DEL_BLACKOUT_REQUEST_ID:
1163            return 0x00030100;
1164#endif
1165#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1166        case CSR_MLME_DEL_BLACKOUT_CONFIRM_ID:
1167            return 0x00030200;
1168#endif
1169#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1170        case CSR_MLME_ADD_RX_TRIGGER_REQUEST_ID:
1171            return 0x00030400;
1172#endif
1173#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1174        case CSR_MLME_ADD_RX_TRIGGER_CONFIRM_ID:
1175            return 0x00030800;
1176#endif
1177#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1178        case CSR_MLME_DEL_RX_TRIGGER_REQUEST_ID:
1179            return 0x00031000;
1180#endif
1181#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1182        case CSR_MLME_DEL_RX_TRIGGER_CONFIRM_ID:
1183            return 0x00032000;
1184#endif
1185#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1186        case CSR_MLME_CONNECT_STATUS_REQUEST_ID:
1187            return 0x00034000;
1188#endif
1189#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1190        case CSR_MLME_CONNECT_STATUS_CONFIRM_ID:
1191            return 0x00038000;
1192#endif
1193#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1194        case CSR_MLME_MODIFY_BSS_PARAMETER_REQUEST_ID:
1195            return 0x00040001;
1196#endif
1197#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1198        case CSR_MLME_MODIFY_BSS_PARAMETER_CONFIRM_ID:
1199            return 0x00040002;
1200#endif
1201#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1202        case CSR_MLME_ADD_TEMPLATE_REQUEST_ID:
1203            return 0x00040004;
1204#endif
1205#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1206        case CSR_MLME_ADD_TEMPLATE_CONFIRM_ID:
1207            return 0x00040008;
1208#endif
1209#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1210        case CSR_MLME_CONFIG_QUEUE_REQUEST_ID:
1211            return 0x00040010;
1212#endif
1213#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1214        case CSR_MLME_CONFIG_QUEUE_CONFIRM_ID:
1215            return 0x00040020;
1216#endif
1217#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1218        case CSR_MLME_ADD_TSPEC_REQUEST_ID:
1219            return 0x00040040;
1220#endif
1221#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1222        case CSR_MLME_ADD_TSPEC_CONFIRM_ID:
1223            return 0x00040080;
1224#endif
1225#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1226        case CSR_MLME_DEL_TSPEC_REQUEST_ID:
1227            return 0x00040100;
1228#endif
1229#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1230        case CSR_MLME_DEL_TSPEC_CONFIRM_ID:
1231            return 0x00040200;
1232#endif
1233#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1234        case CSR_MLME_START_AGGREGATION_REQUEST_ID:
1235            return 0x00040400;
1236#endif
1237#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1238        case CSR_MLME_START_AGGREGATION_CONFIRM_ID:
1239            return 0x00040800;
1240#endif
1241#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1242        case CSR_MLME_BLOCKACK_ERROR_INDICATION_ID:
1243            return 0x00041000;
1244#endif
1245#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1246        case CSR_MLME_STOP_AGGREGATION_REQUEST_ID:
1247            return 0x00042000;
1248#endif
1249#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1250        case CSR_MLME_STOP_AGGREGATION_CONFIRM_ID:
1251            return 0x00044000;
1252#endif
1253#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1254        case CSR_MLME_SM_START_REQUEST_ID:
1255            return 0x00048000;
1256#endif
1257#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1258        case CSR_MLME_SM_START_CONFIRM_ID:
1259            return 0x00050001;
1260#endif
1261#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1262        case CSR_MLME_LEAVE_REQUEST_ID:
1263            return 0x00050002;
1264#endif
1265#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1266        case CSR_MLME_LEAVE_CONFIRM_ID:
1267            return 0x00050004;
1268#endif
1269        case CSR_MLME_SET_TIM_REQUEST_ID:
1270            return 0x00050008;
1271        case CSR_MLME_SET_TIM_CONFIRM_ID:
1272            return 0x00050010;
1273#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1274        case CSR_MLME_GET_KEY_SEQUENCE_REQUEST_ID:
1275            return 0x00050020;
1276#endif
1277#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1278        case CSR_MLME_GET_KEY_SEQUENCE_CONFIRM_ID:
1279            return 0x00050040;
1280#endif
1281#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1282        case CSR_MLME_SET_CHANNEL_REQUEST_ID:
1283            return 0x00050080;
1284#endif
1285#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1286        case CSR_MLME_SET_CHANNEL_CONFIRM_ID:
1287            return 0x00050100;
1288#endif
1289#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1290        case CSR_MLME_ADD_MULTICAST_ADDRESS_REQUEST_ID:
1291            return 0x00050200;
1292#endif
1293#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1294        case CSR_MLME_ADD_MULTICAST_ADDRESS_CONFIRM_ID:
1295            return 0x00050400;
1296#endif
1297        case CSR_DEBUG_STRING_INDICATION_ID:
1298            return 0x00050800;
1299        case CSR_DEBUG_WORD16_INDICATION_ID:
1300            return 0x00051000;
1301        case CSR_DEBUG_GENERIC_REQUEST_ID:
1302            return 0x00052000;
1303        case CSR_DEBUG_GENERIC_CONFIRM_ID:
1304            return 0x00054000;
1305        case CSR_DEBUG_GENERIC_INDICATION_ID:
1306            return 0x00058000;
1307        default:
1308            break;
1309    }
1310    return 0xffffffff;
1311}
1312
1313
1314

Archive Download this file



interactive