Root/drivers/staging/csr/csr_wifi_hip_packing.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#include "csr_wifi_hip_signals.h"
14#include "csr_wifi_hip_unifi.h"
15#include "csr_wifi_hip_conversions.h"
16
17
18/*
19 * ---------------------------------------------------------------------------
20 * get_packed_struct_size
21 *
22 * Examine a buffer containing a UniFi signal in wire-format.
23 * The first two bytes contain the signal ID, decode the signal ID and
24 * return the size, in bytes, of the signal, not including any bulk
25 * data.
26 *
27 * WARNING: This function is auto-generated, DO NOT EDIT!
28 *
29 * Arguments:
30 * buf Pointer to buffer to decode.
31 *
32 * Returns:
33 * 0 if the signal ID is not recognised (i.e. zero length),
34 * otherwise the number of bytes occupied by the signal in the buffer.
35 * This is useful for stepping past the signal to the object in the buffer.
36 * ---------------------------------------------------------------------------
37 */
38s32 get_packed_struct_size(const u8 *buf)
39{
40    s32 size = 0;
41    u16 sig_id;
42
43    sig_id = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(buf);
44
45    size += SIZEOF_UINT16;
46    size += SIZEOF_UINT16;
47    size += SIZEOF_UINT16;
48    switch (sig_id)
49    {
50#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
51        case CSR_MLME_SET_PACKET_FILTER_CONFIRM_ID:
52            size += SIZEOF_UINT16;
53            size += SIZEOF_UINT16;
54            size += SIZEOF_UINT16;
55            size += SIZEOF_UINT16;
56            size += SIZEOF_UINT16;
57            size += SIZEOF_UINT16;
58            break;
59#endif
60#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
61        case CSR_MLME_SETKEYS_CONFIRM_ID:
62            size += SIZEOF_UINT16;
63            size += SIZEOF_UINT16;
64            size += SIZEOF_UINT16;
65            size += SIZEOF_UINT16;
66            size += SIZEOF_UINT16;
67            size += SIZEOF_UINT16;
68            break;
69#endif
70#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
71        case CSR_MLME_CONFIG_QUEUE_CONFIRM_ID:
72            size += SIZEOF_UINT16;
73            size += SIZEOF_UINT16;
74            size += SIZEOF_UINT16;
75            size += SIZEOF_UINT16;
76            size += SIZEOF_UINT16;
77            break;
78#endif
79#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
80        case CSR_MLME_ADD_AUTONOMOUS_SCAN_CONFIRM_ID:
81            size += SIZEOF_UINT16;
82            size += SIZEOF_UINT16;
83            size += SIZEOF_UINT16;
84            size += SIZEOF_UINT16;
85            size += SIZEOF_UINT16;
86            size += SIZEOF_UINT16;
87            size += SIZEOF_UINT16;
88            break;
89#endif
90#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
91        case CSR_MLME_ADD_BLACKOUT_CONFIRM_ID:
92            size += SIZEOF_UINT16;
93            size += SIZEOF_UINT16;
94            size += SIZEOF_UINT16;
95            size += SIZEOF_UINT16;
96            size += SIZEOF_UINT16;
97            size += SIZEOF_UINT16;
98            size += SIZEOF_UINT16;
99            break;
100#endif
101#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
102        case CSR_MLME_DEL_BLACKOUT_REQUEST_ID:
103            size += SIZEOF_UINT16;
104            size += SIZEOF_UINT16;
105            size += SIZEOF_UINT16;
106            size += SIZEOF_UINT16;
107            size += SIZEOF_UINT16;
108            size += SIZEOF_UINT16;
109            break;
110#endif
111#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
112        case CSR_MLME_GET_KEY_SEQUENCE_CONFIRM_ID:
113            size += SIZEOF_UINT16;
114            size += SIZEOF_UINT16;
115            size += SIZEOF_UINT16;
116            size += SIZEOF_UINT16;
117            size += SIZEOF_UINT16;
118            size += SIZEOF_UINT16;
119            size += SIZEOF_UINT16;
120            size += SIZEOF_UINT16;
121            size += SIZEOF_UINT16;
122            size += SIZEOF_UINT16;
123            size += SIZEOF_UINT16;
124            size += SIZEOF_UINT16;
125            size += SIZEOF_UINT16;
126            size += SIZEOF_UINT16;
127            break;
128#endif
129#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
130        case CSR_MLME_SM_START_CONFIRM_ID:
131            size += SIZEOF_UINT16;
132            size += SIZEOF_UINT16;
133            size += SIZEOF_UINT16;
134            size += SIZEOF_UINT16;
135            size += SIZEOF_UINT16;
136            size += SIZEOF_UINT16;
137            break;
138#endif
139#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
140        case CSR_MLME_STOP_AGGREGATION_CONFIRM_ID:
141            size += SIZEOF_UINT16;
142            size += SIZEOF_UINT16;
143            size += SIZEOF_UINT16;
144            size += SIZEOF_UINT16;
145            size += SIZEOF_UINT16;
146            size += 48 / 8;
147            size += SIZEOF_UINT16;
148            size += SIZEOF_UINT16;
149            size += SIZEOF_UINT16;
150            break;
151#endif
152#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
153        case CSR_MLME_DEL_TSPEC_REQUEST_ID:
154            size += SIZEOF_UINT16;
155            size += SIZEOF_UINT16;
156            size += SIZEOF_UINT16;
157            size += SIZEOF_UINT16;
158            size += SIZEOF_UINT16;
159            size += SIZEOF_UINT16;
160            size += SIZEOF_UINT16;
161            break;
162#endif
163        case CSR_DEBUG_WORD16_INDICATION_ID:
164            size += SIZEOF_UINT16;
165            size += SIZEOF_UINT16;
166            size += SIZEOF_UINT16;
167            size += SIZEOF_UINT16;
168            size += SIZEOF_UINT16;
169            size += SIZEOF_UINT16;
170            size += SIZEOF_UINT16;
171            size += SIZEOF_UINT16;
172            size += SIZEOF_UINT16;
173            size += SIZEOF_UINT16;
174            size += SIZEOF_UINT16;
175            size += SIZEOF_UINT16;
176            size += SIZEOF_UINT16;
177            size += SIZEOF_UINT16;
178            size += SIZEOF_UINT16;
179            size += SIZEOF_UINT16;
180            size += SIZEOF_UINT16;
181            size += SIZEOF_UINT16;
182            size += SIZEOF_UINT16;
183            size += SIZEOF_UINT16;
184            break;
185        case CSR_DEBUG_GENERIC_CONFIRM_ID:
186            size += SIZEOF_UINT16;
187            size += SIZEOF_UINT16;
188            size += SIZEOF_UINT16;
189            size += SIZEOF_UINT16;
190            size += SIZEOF_UINT16;
191            size += SIZEOF_UINT16;
192            size += SIZEOF_UINT16;
193            size += SIZEOF_UINT16;
194            size += SIZEOF_UINT16;
195            size += SIZEOF_UINT16;
196            size += SIZEOF_UINT16;
197            size += SIZEOF_UINT16;
198            break;
199        case CSR_MA_PACKET_INDICATION_ID:
200            size += SIZEOF_UINT16;
201            size += SIZEOF_UINT16;
202            size += SIZEOF_UINT16;
203            size += SIZEOF_UINT16;
204            size += SIZEOF_UINT16;
205            size += SIZEOF_UINT64;
206            size += SIZEOF_UINT16;
207            size += SIZEOF_UINT16;
208            size += SIZEOF_UINT16;
209            size += SIZEOF_UINT16;
210            size += SIZEOF_UINT16;
211            size += SIZEOF_UINT16;
212            break;
213        case CSR_MLME_SET_TIM_REQUEST_ID:
214            size += SIZEOF_UINT16;
215            size += SIZEOF_UINT16;
216            size += SIZEOF_UINT16;
217            size += SIZEOF_UINT16;
218            size += SIZEOF_UINT16;
219            size += SIZEOF_UINT16;
220            size += SIZEOF_UINT16;
221            break;
222#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
223        case CSR_MLME_CONNECTED_INDICATION_ID:
224            size += SIZEOF_UINT16;
225            size += SIZEOF_UINT16;
226            size += SIZEOF_UINT16;
227            size += SIZEOF_UINT16;
228            size += SIZEOF_UINT16;
229            size += SIZEOF_UINT16;
230            size += 48 / 8;
231            break;
232#endif
233#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
234        case CSR_MLME_DEL_RX_TRIGGER_REQUEST_ID:
235            size += SIZEOF_UINT16;
236            size += SIZEOF_UINT16;
237            size += SIZEOF_UINT16;
238            size += SIZEOF_UINT16;
239            size += SIZEOF_UINT16;
240            size += SIZEOF_UINT16;
241            break;
242#endif
243#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
244        case CSR_MLME_TRIGGERED_GET_INDICATION_ID:
245            size += SIZEOF_UINT16;
246            size += SIZEOF_UINT16;
247            size += SIZEOF_UINT16;
248            size += SIZEOF_UINT16;
249            size += SIZEOF_UINT16;
250            size += SIZEOF_UINT16;
251            size += SIZEOF_UINT16;
252            size += SIZEOF_UINT16;
253            break;
254#endif
255#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
256        case CSR_MLME_SCAN_REQUEST_ID:
257            size += SIZEOF_UINT16;
258            size += SIZEOF_UINT16;
259            size += SIZEOF_UINT16;
260            size += SIZEOF_UINT16;
261            size += SIZEOF_UINT16;
262            size += SIZEOF_UINT16;
263            size += SIZEOF_UINT16;
264            size += SIZEOF_UINT32;
265            size += SIZEOF_UINT16;
266            size += SIZEOF_UINT16;
267            break;
268#endif
269#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
270        case CSR_MLME_DELETEKEYS_CONFIRM_ID:
271            size += SIZEOF_UINT16;
272            size += SIZEOF_UINT16;
273            size += SIZEOF_UINT16;
274            size += SIZEOF_UINT16;
275            size += SIZEOF_UINT16;
276            size += SIZEOF_UINT16;
277            break;
278#endif
279#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
280        case CSR_MLME_GET_NEXT_REQUEST_ID:
281            size += SIZEOF_UINT16;
282            size += SIZEOF_UINT16;
283            size += SIZEOF_UINT16;
284            size += SIZEOF_UINT16;
285            break;
286#endif
287#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
288        case CSR_MLME_SET_CHANNEL_CONFIRM_ID:
289            size += SIZEOF_UINT16;
290            size += SIZEOF_UINT16;
291            size += SIZEOF_UINT16;
292            size += SIZEOF_UINT16;
293            size += SIZEOF_UINT16;
294            size += SIZEOF_UINT16;
295            break;
296#endif
297#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
298        case CSR_MLME_START_AGGREGATION_REQUEST_ID:
299            size += SIZEOF_UINT16;
300            size += SIZEOF_UINT16;
301            size += SIZEOF_UINT16;
302            size += SIZEOF_UINT16;
303            size += SIZEOF_UINT16;
304            size += 48 / 8;
305            size += SIZEOF_UINT16;
306            size += SIZEOF_UINT16;
307            size += SIZEOF_UINT16;
308            size += SIZEOF_UINT16;
309            size += SIZEOF_UINT16;
310            break;
311#endif
312#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
313        case CSR_MLME_HL_SYNC_REQUEST_ID:
314            size += SIZEOF_UINT16;
315            size += SIZEOF_UINT16;
316            size += SIZEOF_UINT16;
317            size += SIZEOF_UINT16;
318            size += 48 / 8;
319            break;
320#endif
321        case CSR_DEBUG_GENERIC_REQUEST_ID:
322            size += SIZEOF_UINT16;
323            size += SIZEOF_UINT16;
324            size += SIZEOF_UINT16;
325            size += SIZEOF_UINT16;
326            size += SIZEOF_UINT16;
327            size += SIZEOF_UINT16;
328            size += SIZEOF_UINT16;
329            size += SIZEOF_UINT16;
330            size += SIZEOF_UINT16;
331            size += SIZEOF_UINT16;
332            size += SIZEOF_UINT16;
333            size += SIZEOF_UINT16;
334            break;
335#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
336        case CSR_MLME_LEAVE_CONFIRM_ID:
337            size += SIZEOF_UINT16;
338            size += SIZEOF_UINT16;
339            size += SIZEOF_UINT16;
340            size += SIZEOF_UINT16;
341            size += SIZEOF_UINT16;
342            size += SIZEOF_UINT16;
343            break;
344#endif
345#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
346        case CSR_MLME_DEL_TRIGGERED_GET_REQUEST_ID:
347            size += SIZEOF_UINT16;
348            size += SIZEOF_UINT16;
349            size += SIZEOF_UINT16;
350            size += SIZEOF_UINT16;
351            size += SIZEOF_UINT16;
352            size += SIZEOF_UINT16;
353            break;
354#endif
355#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
356        case CSR_MLME_ADD_MULTICAST_ADDRESS_REQUEST_ID:
357            size += SIZEOF_UINT16;
358            size += SIZEOF_UINT16;
359            size += SIZEOF_UINT16;
360            size += SIZEOF_UINT16;
361            size += SIZEOF_UINT16;
362            size += SIZEOF_UINT16;
363            break;
364#endif
365#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
366        case CSR_MLME_RESET_REQUEST_ID:
367            size += SIZEOF_UINT16;
368            size += SIZEOF_UINT16;
369            size += SIZEOF_UINT16;
370            size += SIZEOF_UINT16;
371            size += 48 / 8;
372            size += SIZEOF_UINT16;
373            break;
374#endif
375#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
376        case CSR_MLME_SCAN_CANCEL_REQUEST_ID:
377            size += SIZEOF_UINT16;
378            size += SIZEOF_UINT16;
379            size += SIZEOF_UINT16;
380            size += SIZEOF_UINT16;
381            size += SIZEOF_UINT16;
382            break;
383#endif
384#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
385        case CSR_MLME_ADD_TRIGGERED_GET_CONFIRM_ID:
386            size += SIZEOF_UINT16;
387            size += SIZEOF_UINT16;
388            size += SIZEOF_UINT16;
389            size += SIZEOF_UINT16;
390            size += SIZEOF_UINT16;
391            size += SIZEOF_UINT16;
392            size += SIZEOF_UINT16;
393            break;
394#endif
395#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
396        case CSR_MLME_SET_PACKET_FILTER_REQUEST_ID:
397            size += SIZEOF_UINT16;
398            size += SIZEOF_UINT16;
399            size += SIZEOF_UINT16;
400            size += SIZEOF_UINT16;
401            size += SIZEOF_UINT16;
402            size += SIZEOF_UINT16;
403            size += SIZEOF_UINT32;
404            break;
405#endif
406#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
407        case CSR_MLME_DEL_RX_TRIGGER_CONFIRM_ID:
408            size += SIZEOF_UINT16;
409            size += SIZEOF_UINT16;
410            size += SIZEOF_UINT16;
411            size += SIZEOF_UINT16;
412            size += SIZEOF_UINT16;
413            size += SIZEOF_UINT16;
414            size += SIZEOF_UINT16;
415            break;
416#endif
417#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
418        case CSR_MLME_CONNECT_STATUS_REQUEST_ID:
419            size += SIZEOF_UINT16;
420            size += SIZEOF_UINT16;
421            size += SIZEOF_UINT16;
422            size += SIZEOF_UINT16;
423            size += SIZEOF_UINT16;
424            size += SIZEOF_UINT16;
425            size += 48 / 8;
426            size += SIZEOF_UINT16;
427            size += SIZEOF_UINT16;
428            break;
429#endif
430#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
431        case CSR_MLME_LEAVE_REQUEST_ID:
432            size += SIZEOF_UINT16;
433            size += SIZEOF_UINT16;
434            size += SIZEOF_UINT16;
435            size += SIZEOF_UINT16;
436            size += SIZEOF_UINT16;
437            break;
438#endif
439#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
440        case CSR_MLME_CONFIG_QUEUE_REQUEST_ID:
441            size += SIZEOF_UINT16;
442            size += SIZEOF_UINT16;
443            size += SIZEOF_UINT16;
444            size += SIZEOF_UINT16;
445            size += SIZEOF_UINT16;
446            size += SIZEOF_UINT16;
447            size += SIZEOF_UINT16;
448            size += SIZEOF_UINT16;
449            size += SIZEOF_UINT16;
450            break;
451#endif
452#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
453        case CSR_MLME_DEL_TSPEC_CONFIRM_ID:
454            size += SIZEOF_UINT16;
455            size += SIZEOF_UINT16;
456            size += SIZEOF_UINT16;
457            size += SIZEOF_UINT16;
458            size += SIZEOF_UINT16;
459            size += SIZEOF_UINT16;
460            size += SIZEOF_UINT16;
461            break;
462#endif
463        case CSR_MLME_SET_TIM_CONFIRM_ID:
464            size += SIZEOF_UINT16;
465            size += SIZEOF_UINT16;
466            size += SIZEOF_UINT16;
467            size += SIZEOF_UINT16;
468            size += SIZEOF_UINT16;
469            size += SIZEOF_UINT16;
470            break;
471#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
472        case CSR_MLME_MEASURE_INDICATION_ID:
473            size += SIZEOF_UINT16;
474            size += SIZEOF_UINT16;
475            size += SIZEOF_UINT16;
476            size += SIZEOF_UINT16;
477            size += SIZEOF_UINT16;
478            break;
479#endif
480#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
481        case CSR_MLME_DEL_BLACKOUT_CONFIRM_ID:
482            size += SIZEOF_UINT16;
483            size += SIZEOF_UINT16;
484            size += SIZEOF_UINT16;
485            size += SIZEOF_UINT16;
486            size += SIZEOF_UINT16;
487            size += SIZEOF_UINT16;
488            size += SIZEOF_UINT16;
489            break;
490#endif
491#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
492        case CSR_MLME_DEL_TRIGGERED_GET_CONFIRM_ID:
493            size += SIZEOF_UINT16;
494            size += SIZEOF_UINT16;
495            size += SIZEOF_UINT16;
496            size += SIZEOF_UINT16;
497            size += SIZEOF_UINT16;
498            size += SIZEOF_UINT16;
499            size += SIZEOF_UINT16;
500            break;
501#endif
502        case CSR_DEBUG_GENERIC_INDICATION_ID:
503            size += SIZEOF_UINT16;
504            size += SIZEOF_UINT16;
505            size += SIZEOF_UINT16;
506            size += SIZEOF_UINT16;
507            size += SIZEOF_UINT16;
508            size += SIZEOF_UINT16;
509            size += SIZEOF_UINT16;
510            size += SIZEOF_UINT16;
511            size += SIZEOF_UINT16;
512            size += SIZEOF_UINT16;
513            size += SIZEOF_UINT16;
514            size += SIZEOF_UINT16;
515            break;
516        case CSR_MA_PACKET_CANCEL_REQUEST_ID:
517            size += SIZEOF_UINT16;
518            size += SIZEOF_UINT16;
519            size += SIZEOF_UINT16;
520            size += SIZEOF_UINT16;
521            size += SIZEOF_UINT16;
522            size += SIZEOF_UINT32;
523            break;
524#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
525        case CSR_MLME_MODIFY_BSS_PARAMETER_CONFIRM_ID:
526            size += SIZEOF_UINT16;
527            size += SIZEOF_UINT16;
528            size += SIZEOF_UINT16;
529            size += SIZEOF_UINT16;
530            size += SIZEOF_UINT16;
531            size += SIZEOF_UINT16;
532            break;
533#endif
534#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
535        case CSR_MLME_PAUSE_AUTONOMOUS_SCAN_CONFIRM_ID:
536            size += SIZEOF_UINT16;
537            size += SIZEOF_UINT16;
538            size += SIZEOF_UINT16;
539            size += SIZEOF_UINT16;
540            size += SIZEOF_UINT16;
541            size += SIZEOF_UINT16;
542            size += SIZEOF_UINT16;
543            break;
544#endif
545        case CSR_MA_PACKET_REQUEST_ID:
546            size += SIZEOF_UINT16;
547            size += SIZEOF_UINT16;
548            size += SIZEOF_UINT16;
549            size += SIZEOF_UINT16;
550            size += SIZEOF_UINT16;
551            size += SIZEOF_UINT16;
552            size += SIZEOF_UINT32;
553            size += SIZEOF_UINT16;
554            size += 48 / 8;
555            size += SIZEOF_UINT16;
556            break;
557#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
558        case CSR_MLME_MODIFY_BSS_PARAMETER_REQUEST_ID:
559            size += SIZEOF_UINT16;
560            size += SIZEOF_UINT16;
561            size += SIZEOF_UINT16;
562            size += SIZEOF_UINT16;
563            size += SIZEOF_UINT16;
564            size += SIZEOF_UINT16;
565            size += SIZEOF_UINT16;
566            size += SIZEOF_UINT16;
567            size += 48 / 8;
568            size += SIZEOF_UINT16;
569            break;
570#endif
571#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
572        case CSR_MLME_ADD_RX_TRIGGER_REQUEST_ID:
573            size += SIZEOF_UINT16;
574            size += SIZEOF_UINT16;
575            size += SIZEOF_UINT16;
576            size += SIZEOF_UINT16;
577            size += SIZEOF_UINT16;
578            size += SIZEOF_UINT16;
579            size += SIZEOF_UINT16;
580            break;
581#endif
582        case CSR_MA_VIF_AVAILABILITY_INDICATION_ID:
583            size += SIZEOF_UINT16;
584            size += SIZEOF_UINT16;
585            size += SIZEOF_UINT16;
586            size += SIZEOF_UINT16;
587            size += SIZEOF_UINT16;
588            size += SIZEOF_UINT16;
589            break;
590#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
591        case CSR_MLME_HL_SYNC_CANCEL_REQUEST_ID:
592            size += SIZEOF_UINT16;
593            size += SIZEOF_UINT16;
594            size += SIZEOF_UINT16;
595            size += SIZEOF_UINT16;
596            size += 48 / 8;
597            break;
598#endif
599#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
600        case CSR_MLME_DEL_AUTONOMOUS_SCAN_REQUEST_ID:
601            size += SIZEOF_UINT16;
602            size += SIZEOF_UINT16;
603            size += SIZEOF_UINT16;
604            size += SIZEOF_UINT16;
605            size += SIZEOF_UINT16;
606            size += SIZEOF_UINT16;
607            break;
608#endif
609#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
610        case CSR_MLME_BLACKOUT_ENDED_INDICATION_ID:
611            size += SIZEOF_UINT16;
612            size += SIZEOF_UINT16;
613            size += SIZEOF_UINT16;
614            size += SIZEOF_UINT16;
615            size += SIZEOF_UINT16;
616            size += SIZEOF_UINT16;
617            break;
618#endif
619#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
620        case CSR_MLME_AUTONOMOUS_SCAN_DONE_INDICATION_ID:
621            size += SIZEOF_UINT16;
622            size += SIZEOF_UINT16;
623            size += SIZEOF_UINT16;
624            size += SIZEOF_UINT16;
625            size += SIZEOF_UINT16;
626            size += SIZEOF_UINT16;
627            size += SIZEOF_UINT16;
628            break;
629#endif
630#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
631        case CSR_MLME_GET_KEY_SEQUENCE_REQUEST_ID:
632            size += SIZEOF_UINT16;
633            size += SIZEOF_UINT16;
634            size += SIZEOF_UINT16;
635            size += SIZEOF_UINT16;
636            size += SIZEOF_UINT16;
637            size += SIZEOF_UINT16;
638            size += SIZEOF_UINT16;
639            size += 48 / 8;
640            break;
641#endif
642#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
643        case CSR_MLME_SET_CHANNEL_REQUEST_ID:
644            size += SIZEOF_UINT16;
645            size += SIZEOF_UINT16;
646            size += SIZEOF_UINT16;
647            size += SIZEOF_UINT16;
648            size += SIZEOF_UINT16;
649            size += SIZEOF_UINT16;
650            size += SIZEOF_UINT16;
651            size += 48 / 8;
652            size += SIZEOF_UINT16;
653            size += SIZEOF_UINT16;
654            break;
655#endif
656#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
657        case CSR_MLME_MEASURE_CONFIRM_ID:
658            size += SIZEOF_UINT16;
659            size += SIZEOF_UINT16;
660            size += SIZEOF_UINT16;
661            size += SIZEOF_UINT16;
662            size += SIZEOF_UINT16;
663            size += SIZEOF_UINT16;
664            break;
665#endif
666#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
667        case CSR_MLME_ADD_TRIGGERED_GET_REQUEST_ID:
668            size += SIZEOF_UINT16;
669            size += SIZEOF_UINT16;
670            size += SIZEOF_UINT16;
671            size += SIZEOF_UINT16;
672            size += SIZEOF_UINT16;
673            size += SIZEOF_UINT16;
674            break;
675#endif
676#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
677        case CSR_MLME_AUTONOMOUS_SCAN_LOSS_INDICATION_ID:
678            size += SIZEOF_UINT16;
679            size += SIZEOF_UINT16;
680            size += SIZEOF_UINT16;
681            size += SIZEOF_UINT16;
682            size += SIZEOF_UINT16;
683            size += 48 / 8;
684            break;
685#endif
686        case CSR_MA_VIF_AVAILABILITY_RESPONSE_ID:
687            size += SIZEOF_UINT16;
688            size += SIZEOF_UINT16;
689            size += SIZEOF_UINT16;
690            size += SIZEOF_UINT16;
691            size += SIZEOF_UINT16;
692            size += SIZEOF_UINT16;
693            break;
694#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
695        case CSR_MLME_ADD_TEMPLATE_REQUEST_ID:
696            size += SIZEOF_UINT16;
697            size += SIZEOF_UINT16;
698            size += SIZEOF_UINT16;
699            size += SIZEOF_UINT16;
700            size += SIZEOF_UINT16;
701            size += SIZEOF_UINT16;
702            size += SIZEOF_UINT16;
703            break;
704#endif
705#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
706        case CSR_MLME_POWERMGT_CONFIRM_ID:
707            size += SIZEOF_UINT16;
708            size += SIZEOF_UINT16;
709            size += SIZEOF_UINT16;
710            size += SIZEOF_UINT16;
711            size += SIZEOF_UINT16;
712            size += SIZEOF_UINT16;
713            break;
714#endif
715#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
716        case CSR_MLME_ADD_PERIODIC_CONFIRM_ID:
717            size += SIZEOF_UINT16;
718            size += SIZEOF_UINT16;
719            size += SIZEOF_UINT16;
720            size += SIZEOF_UINT16;
721            size += SIZEOF_UINT16;
722            size += SIZEOF_UINT16;
723            size += SIZEOF_UINT16;
724            break;
725#endif
726#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
727        case CSR_MLME_GET_CONFIRM_ID:
728            size += SIZEOF_UINT16;
729            size += SIZEOF_UINT16;
730            size += SIZEOF_UINT16;
731            size += SIZEOF_UINT16;
732            size += SIZEOF_UINT16;
733            size += SIZEOF_UINT16;
734            break;
735#endif
736#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
737        case CSR_MLME_GET_NEXT_CONFIRM_ID:
738            size += SIZEOF_UINT16;
739            size += SIZEOF_UINT16;
740            size += SIZEOF_UINT16;
741            size += SIZEOF_UINT16;
742            size += SIZEOF_UINT16;
743            size += SIZEOF_UINT16;
744            break;
745#endif
746#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
747        case CSR_MLME_STOP_AGGREGATION_REQUEST_ID:
748            size += SIZEOF_UINT16;
749            size += SIZEOF_UINT16;
750            size += SIZEOF_UINT16;
751            size += SIZEOF_UINT16;
752            size += SIZEOF_UINT16;
753            size += 48 / 8;
754            size += SIZEOF_UINT16;
755            size += SIZEOF_UINT16;
756            break;
757#endif
758#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
759        case CSR_MLME_ADD_RX_TRIGGER_CONFIRM_ID:
760            size += SIZEOF_UINT16;
761            size += SIZEOF_UINT16;
762            size += SIZEOF_UINT16;
763            size += SIZEOF_UINT16;
764            size += SIZEOF_UINT16;
765            size += SIZEOF_UINT16;
766            size += SIZEOF_UINT16;
767            break;
768#endif
769#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
770        case CSR_MLME_ADD_BLACKOUT_REQUEST_ID:
771            size += SIZEOF_UINT16;
772            size += SIZEOF_UINT16;
773            size += SIZEOF_UINT16;
774            size += SIZEOF_UINT16;
775            size += SIZEOF_UINT16;
776            size += SIZEOF_UINT16;
777            size += SIZEOF_UINT16;
778            size += SIZEOF_UINT16;
779            size += SIZEOF_UINT32;
780            size += SIZEOF_UINT32;
781            size += SIZEOF_UINT32;
782            size += 48 / 8;
783            size += SIZEOF_UINT16;
784            break;
785#endif
786#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
787        case CSR_MLME_DELETEKEYS_REQUEST_ID:
788            size += SIZEOF_UINT16;
789            size += SIZEOF_UINT16;
790            size += SIZEOF_UINT16;
791            size += SIZEOF_UINT16;
792            size += SIZEOF_UINT16;
793            size += SIZEOF_UINT16;
794            size += SIZEOF_UINT16;
795            size += 48 / 8;
796            break;
797#endif
798#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
799        case CSR_MLME_RESET_CONFIRM_ID:
800            size += SIZEOF_UINT16;
801            size += SIZEOF_UINT16;
802            size += SIZEOF_UINT16;
803            size += SIZEOF_UINT16;
804            size += SIZEOF_UINT16;
805            break;
806#endif
807#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
808        case CSR_MLME_HL_SYNC_CONFIRM_ID:
809            size += SIZEOF_UINT16;
810            size += SIZEOF_UINT16;
811            size += SIZEOF_UINT16;
812            size += SIZEOF_UINT16;
813            size += 48 / 8;
814            size += SIZEOF_UINT16;
815            break;
816#endif
817#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
818        case CSR_MLME_ADD_AUTONOMOUS_SCAN_REQUEST_ID:
819            size += SIZEOF_UINT16;
820            size += SIZEOF_UINT16;
821            size += SIZEOF_UINT16;
822            size += SIZEOF_UINT16;
823            size += SIZEOF_UINT16;
824            size += SIZEOF_UINT16;
825            size += SIZEOF_UINT16;
826            size += SIZEOF_UINT16;
827            size += SIZEOF_UINT16;
828            size += SIZEOF_UINT32;
829            size += SIZEOF_UINT16;
830            size += SIZEOF_UINT16;
831            break;
832#endif
833#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
834        case CSR_MLME_SET_REQUEST_ID:
835            size += SIZEOF_UINT16;
836            size += SIZEOF_UINT16;
837            size += SIZEOF_UINT16;
838            size += SIZEOF_UINT16;
839            break;
840#endif
841#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
842        case CSR_MLME_SM_START_REQUEST_ID:
843            size += SIZEOF_UINT16;
844            size += SIZEOF_UINT16;
845            size += SIZEOF_UINT16;
846            size += SIZEOF_UINT16;
847            size += SIZEOF_UINT16;
848            size += SIZEOF_UINT16;
849            size += SIZEOF_UINT16;
850            size += 48 / 8;
851            size += 48 / 8;
852            size += SIZEOF_UINT16;
853            size += SIZEOF_UINT16;
854            size += SIZEOF_UINT16;
855            break;
856#endif
857#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
858        case CSR_MLME_CONNECT_STATUS_CONFIRM_ID:
859            size += SIZEOF_UINT16;
860            size += SIZEOF_UINT16;
861            size += SIZEOF_UINT16;
862            size += SIZEOF_UINT16;
863            size += SIZEOF_UINT16;
864            size += SIZEOF_UINT16;
865            break;
866#endif
867#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
868        case CSR_MLME_DEL_AUTONOMOUS_SCAN_CONFIRM_ID:
869            size += SIZEOF_UINT16;
870            size += SIZEOF_UINT16;
871            size += SIZEOF_UINT16;
872            size += SIZEOF_UINT16;
873            size += SIZEOF_UINT16;
874            size += SIZEOF_UINT16;
875            size += SIZEOF_UINT16;
876            break;
877#endif
878#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
879        case CSR_MLME_DEL_PERIODIC_REQUEST_ID:
880            size += SIZEOF_UINT16;
881            size += SIZEOF_UINT16;
882            size += SIZEOF_UINT16;
883            size += SIZEOF_UINT16;
884            size += SIZEOF_UINT16;
885            size += SIZEOF_UINT16;
886            break;
887#endif
888#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
889        case CSR_MLME_SETKEYS_REQUEST_ID:
890            size += SIZEOF_UINT16;
891            size += SIZEOF_UINT16;
892            size += SIZEOF_UINT16;
893            size += SIZEOF_UINT16;
894            size += SIZEOF_UINT16;
895            size += SIZEOF_UINT16;
896            size += SIZEOF_UINT16;
897            size += SIZEOF_UINT16;
898            size += 48 / 8;
899            size += SIZEOF_UINT16;
900            size += SIZEOF_UINT16;
901            size += SIZEOF_UINT16;
902            size += SIZEOF_UINT16;
903            size += SIZEOF_UINT16;
904            size += SIZEOF_UINT16;
905            size += SIZEOF_UINT16;
906            size += SIZEOF_UINT16;
907            size += 32 / 8;
908            break;
909#endif
910#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
911        case CSR_MLME_PAUSE_AUTONOMOUS_SCAN_REQUEST_ID:
912            size += SIZEOF_UINT16;
913            size += SIZEOF_UINT16;
914            size += SIZEOF_UINT16;
915            size += SIZEOF_UINT16;
916            size += SIZEOF_UINT16;
917            size += SIZEOF_UINT16;
918            size += SIZEOF_UINT16;
919            break;
920#endif
921#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
922        case CSR_MLME_GET_REQUEST_ID:
923            size += SIZEOF_UINT16;
924            size += SIZEOF_UINT16;
925            size += SIZEOF_UINT16;
926            size += SIZEOF_UINT16;
927            break;
928#endif
929#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
930        case CSR_MLME_POWERMGT_REQUEST_ID:
931            size += SIZEOF_UINT16;
932            size += SIZEOF_UINT16;
933            size += SIZEOF_UINT16;
934            size += SIZEOF_UINT16;
935            size += SIZEOF_UINT16;
936            size += SIZEOF_UINT16;
937            size += SIZEOF_UINT16;
938            size += SIZEOF_UINT16;
939            size += SIZEOF_UINT16;
940            break;
941#endif
942        case CSR_MA_PACKET_ERROR_INDICATION_ID:
943            size += SIZEOF_UINT16;
944            size += SIZEOF_UINT16;
945            size += SIZEOF_UINT16;
946            size += SIZEOF_UINT16;
947            size += SIZEOF_UINT16;
948            size += 48 / 8;
949            size += SIZEOF_UINT16;
950            size += SIZEOF_UINT16;
951            break;
952#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
953        case CSR_MLME_ADD_PERIODIC_REQUEST_ID:
954            size += SIZEOF_UINT16;
955            size += SIZEOF_UINT16;
956            size += SIZEOF_UINT16;
957            size += SIZEOF_UINT16;
958            size += SIZEOF_UINT16;
959            size += SIZEOF_UINT16;
960            size += SIZEOF_UINT32;
961            size += SIZEOF_UINT16;
962            size += SIZEOF_UINT16;
963            size += SIZEOF_UINT16;
964            break;
965#endif
966#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
967        case CSR_MLME_ADD_TSPEC_REQUEST_ID:
968            size += SIZEOF_UINT16;
969            size += SIZEOF_UINT16;
970            size += SIZEOF_UINT16;
971            size += SIZEOF_UINT16;
972            size += SIZEOF_UINT16;
973            size += SIZEOF_UINT16;
974            size += SIZEOF_UINT16;
975            size += SIZEOF_UINT16;
976            size += SIZEOF_UINT16;
977            size += SIZEOF_UINT32;
978            size += SIZEOF_UINT32;
979            size += SIZEOF_UINT16;
980            break;
981#endif
982#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
983        case CSR_MLME_ADD_MULTICAST_ADDRESS_CONFIRM_ID:
984            size += SIZEOF_UINT16;
985            size += SIZEOF_UINT16;
986            size += SIZEOF_UINT16;
987            size += SIZEOF_UINT16;
988            size += SIZEOF_UINT16;
989            size += SIZEOF_UINT16;
990            break;
991#endif
992#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
993        case CSR_MLME_ADD_TSPEC_CONFIRM_ID:
994            size += SIZEOF_UINT16;
995            size += SIZEOF_UINT16;
996            size += SIZEOF_UINT16;
997            size += SIZEOF_UINT16;
998            size += SIZEOF_UINT16;
999            size += SIZEOF_UINT16;
1000            size += SIZEOF_UINT16;
1001            break;
1002#endif
1003#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1004        case CSR_MLME_HL_SYNC_CANCEL_CONFIRM_ID:
1005            size += SIZEOF_UINT16;
1006            size += SIZEOF_UINT16;
1007            size += SIZEOF_UINT16;
1008            size += SIZEOF_UINT16;
1009            size += SIZEOF_UINT16;
1010            break;
1011#endif
1012#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1013        case CSR_MLME_SCAN_CONFIRM_ID:
1014            size += SIZEOF_UINT16;
1015            size += SIZEOF_UINT16;
1016            size += SIZEOF_UINT16;
1017            size += SIZEOF_UINT16;
1018            size += SIZEOF_UINT16;
1019            size += SIZEOF_UINT16;
1020            break;
1021#endif
1022        case CSR_DEBUG_STRING_INDICATION_ID:
1023            size += SIZEOF_UINT16;
1024            size += SIZEOF_UINT16;
1025            size += SIZEOF_UINT16;
1026            size += SIZEOF_UINT16;
1027            break;
1028#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1029        case CSR_MLME_ADD_TEMPLATE_CONFIRM_ID:
1030            size += SIZEOF_UINT16;
1031            size += SIZEOF_UINT16;
1032            size += SIZEOF_UINT16;
1033            size += SIZEOF_UINT16;
1034            size += SIZEOF_UINT16;
1035            size += SIZEOF_UINT16;
1036            size += SIZEOF_UINT16;
1037            break;
1038#endif
1039#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1040        case CSR_MLME_BLOCKACK_ERROR_INDICATION_ID:
1041            size += SIZEOF_UINT16;
1042            size += SIZEOF_UINT16;
1043            size += SIZEOF_UINT16;
1044            size += SIZEOF_UINT16;
1045            size += SIZEOF_UINT16;
1046            size += SIZEOF_UINT16;
1047            size += 48 / 8;
1048            break;
1049#endif
1050#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1051        case CSR_MLME_SET_CONFIRM_ID:
1052            size += SIZEOF_UINT16;
1053            size += SIZEOF_UINT16;
1054            size += SIZEOF_UINT16;
1055            size += SIZEOF_UINT16;
1056            size += SIZEOF_UINT16;
1057            size += SIZEOF_UINT16;
1058            break;
1059#endif
1060#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1061        case CSR_MLME_MEASURE_REQUEST_ID:
1062            size += SIZEOF_UINT16;
1063            size += SIZEOF_UINT16;
1064            size += SIZEOF_UINT16;
1065            size += SIZEOF_UINT16;
1066            size += SIZEOF_UINT16;
1067            break;
1068#endif
1069#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1070        case CSR_MLME_START_AGGREGATION_CONFIRM_ID:
1071            size += SIZEOF_UINT16;
1072            size += SIZEOF_UINT16;
1073            size += SIZEOF_UINT16;
1074            size += SIZEOF_UINT16;
1075            size += SIZEOF_UINT16;
1076            size += 48 / 8;
1077            size += SIZEOF_UINT16;
1078            size += SIZEOF_UINT16;
1079            size += SIZEOF_UINT16;
1080            size += SIZEOF_UINT16;
1081            break;
1082#endif
1083#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1084        case CSR_MLME_STOP_MEASURE_CONFIRM_ID:
1085            size += SIZEOF_UINT16;
1086            size += SIZEOF_UINT16;
1087            size += SIZEOF_UINT16;
1088            size += SIZEOF_UINT16;
1089            size += SIZEOF_UINT16;
1090            size += SIZEOF_UINT16;
1091            break;
1092#endif
1093        case CSR_MA_PACKET_CONFIRM_ID:
1094            size += SIZEOF_UINT16;
1095            size += SIZEOF_UINT16;
1096            size += SIZEOF_UINT16;
1097            size += SIZEOF_UINT16;
1098            size += SIZEOF_UINT16;
1099            size += SIZEOF_UINT16;
1100            size += SIZEOF_UINT16;
1101            size += SIZEOF_UINT16;
1102            size += SIZEOF_UINT32;
1103            break;
1104#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1105        case CSR_MLME_DEL_PERIODIC_CONFIRM_ID:
1106            size += SIZEOF_UINT16;
1107            size += SIZEOF_UINT16;
1108            size += SIZEOF_UINT16;
1109            size += SIZEOF_UINT16;
1110            size += SIZEOF_UINT16;
1111            size += SIZEOF_UINT16;
1112            size += SIZEOF_UINT16;
1113            break;
1114#endif
1115#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1116        case CSR_MLME_STOP_MEASURE_REQUEST_ID:
1117            size += SIZEOF_UINT16;
1118            size += SIZEOF_UINT16;
1119            size += SIZEOF_UINT16;
1120            size += SIZEOF_UINT16;
1121            size += SIZEOF_UINT16;
1122            break;
1123#endif
1124        default:
1125            size = 0;
1126    }
1127    return size;
1128} /* get_packed_struct_size() */
1129
1130
1131/*
1132 * ---------------------------------------------------------------------------
1133 * read_unpack_signal
1134 *
1135 * Unpack a wire-format signal into a host-native structure.
1136 * This function handles any necessary conversions for endianness and
1137 * places no restrictions on packing or alignment for the structure
1138 * definition.
1139 *
1140 * WARNING: This function is auto-generated, DO NOT EDIT!
1141 *
1142 * Arguments:
1143 * ptr Signal buffer to unpack.
1144 * sig Pointer to destination structure to populate.
1145 *
1146 * Returns:
1147 * CSR_RESULT_SUCCESS on success,
1148 * CSR_WIFI_HIP_RESULT_INVALID_VALUE if the ID of signal was not recognised.
1149 * ---------------------------------------------------------------------------
1150 */
1151CsrResult read_unpack_signal(const u8 *ptr, CSR_SIGNAL *sig)
1152{
1153    s32 index = 0;
1154
1155    sig->SignalPrimitiveHeader.SignalId = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1156    index += SIZEOF_UINT16;
1157
1158    sig->SignalPrimitiveHeader.ReceiverProcessId = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1159    index += SIZEOF_UINT16;
1160
1161    sig->SignalPrimitiveHeader.SenderProcessId = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1162    index += SIZEOF_UINT16;
1163
1164    switch (sig->SignalPrimitiveHeader.SignalId)
1165    {
1166#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1167        case CSR_MLME_SET_PACKET_FILTER_CONFIRM_ID:
1168            sig->u.MlmeSetPacketFilterConfirm.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1169            index += SIZEOF_UINT16;
1170            sig->u.MlmeSetPacketFilterConfirm.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1171            index += SIZEOF_UINT16;
1172            sig->u.MlmeSetPacketFilterConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1173            index += SIZEOF_UINT16;
1174            sig->u.MlmeSetPacketFilterConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1175            index += SIZEOF_UINT16;
1176            sig->u.MlmeSetPacketFilterConfirm.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1177            index += SIZEOF_UINT16;
1178            sig->u.MlmeSetPacketFilterConfirm.ResultCode = (CSR_RESULT_CODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1179            index += SIZEOF_UINT16;
1180            break;
1181#endif
1182#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1183        case CSR_MLME_SETKEYS_CONFIRM_ID:
1184            sig->u.MlmeSetkeysConfirm.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1185            index += SIZEOF_UINT16;
1186            sig->u.MlmeSetkeysConfirm.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1187            index += SIZEOF_UINT16;
1188            sig->u.MlmeSetkeysConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1189            index += SIZEOF_UINT16;
1190            sig->u.MlmeSetkeysConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1191            index += SIZEOF_UINT16;
1192            sig->u.MlmeSetkeysConfirm.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1193            index += SIZEOF_UINT16;
1194            sig->u.MlmeSetkeysConfirm.ResultCode = (CSR_RESULT_CODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1195            index += SIZEOF_UINT16;
1196            break;
1197#endif
1198#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1199        case CSR_MLME_CONFIG_QUEUE_CONFIRM_ID:
1200            sig->u.MlmeConfigQueueConfirm.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1201            index += SIZEOF_UINT16;
1202            sig->u.MlmeConfigQueueConfirm.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1203            index += SIZEOF_UINT16;
1204            sig->u.MlmeConfigQueueConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1205            index += SIZEOF_UINT16;
1206            sig->u.MlmeConfigQueueConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1207            index += SIZEOF_UINT16;
1208            sig->u.MlmeConfigQueueConfirm.ResultCode = (CSR_RESULT_CODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1209            index += SIZEOF_UINT16;
1210            break;
1211#endif
1212#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1213        case CSR_MLME_ADD_AUTONOMOUS_SCAN_CONFIRM_ID:
1214            sig->u.MlmeAddAutonomousScanConfirm.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1215            index += SIZEOF_UINT16;
1216            sig->u.MlmeAddAutonomousScanConfirm.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1217            index += SIZEOF_UINT16;
1218            sig->u.MlmeAddAutonomousScanConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1219            index += SIZEOF_UINT16;
1220            sig->u.MlmeAddAutonomousScanConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1221            index += SIZEOF_UINT16;
1222            sig->u.MlmeAddAutonomousScanConfirm.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1223            index += SIZEOF_UINT16;
1224            sig->u.MlmeAddAutonomousScanConfirm.ResultCode = (CSR_RESULT_CODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1225            index += SIZEOF_UINT16;
1226            sig->u.MlmeAddAutonomousScanConfirm.AutonomousScanId = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1227            index += SIZEOF_UINT16;
1228            break;
1229#endif
1230#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1231        case CSR_MLME_ADD_BLACKOUT_CONFIRM_ID:
1232            sig->u.MlmeAddBlackoutConfirm.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1233            index += SIZEOF_UINT16;
1234            sig->u.MlmeAddBlackoutConfirm.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1235            index += SIZEOF_UINT16;
1236            sig->u.MlmeAddBlackoutConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1237            index += SIZEOF_UINT16;
1238            sig->u.MlmeAddBlackoutConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1239            index += SIZEOF_UINT16;
1240            sig->u.MlmeAddBlackoutConfirm.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1241            index += SIZEOF_UINT16;
1242            sig->u.MlmeAddBlackoutConfirm.BlackoutId = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1243            index += SIZEOF_UINT16;
1244            sig->u.MlmeAddBlackoutConfirm.ResultCode = (CSR_RESULT_CODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1245            index += SIZEOF_UINT16;
1246            break;
1247#endif
1248#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1249        case CSR_MLME_DEL_BLACKOUT_REQUEST_ID:
1250            sig->u.MlmeDelBlackoutRequest.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1251            index += SIZEOF_UINT16;
1252            sig->u.MlmeDelBlackoutRequest.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1253            index += SIZEOF_UINT16;
1254            sig->u.MlmeDelBlackoutRequest.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1255            index += SIZEOF_UINT16;
1256            sig->u.MlmeDelBlackoutRequest.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1257            index += SIZEOF_UINT16;
1258            sig->u.MlmeDelBlackoutRequest.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1259            index += SIZEOF_UINT16;
1260            sig->u.MlmeDelBlackoutRequest.BlackoutId = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1261            index += SIZEOF_UINT16;
1262            break;
1263#endif
1264#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1265        case CSR_MLME_GET_KEY_SEQUENCE_CONFIRM_ID:
1266            sig->u.MlmeGetKeySequenceConfirm.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1267            index += SIZEOF_UINT16;
1268            sig->u.MlmeGetKeySequenceConfirm.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1269            index += SIZEOF_UINT16;
1270            sig->u.MlmeGetKeySequenceConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1271            index += SIZEOF_UINT16;
1272            sig->u.MlmeGetKeySequenceConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1273            index += SIZEOF_UINT16;
1274            sig->u.MlmeGetKeySequenceConfirm.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1275            index += SIZEOF_UINT16;
1276            sig->u.MlmeGetKeySequenceConfirm.ResultCode = (CSR_RESULT_CODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1277            index += SIZEOF_UINT16;
1278            sig->u.MlmeGetKeySequenceConfirm.SequenceNumber[0] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1279            index += SIZEOF_UINT16;
1280            sig->u.MlmeGetKeySequenceConfirm.SequenceNumber[1] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1281            index += SIZEOF_UINT16;
1282            sig->u.MlmeGetKeySequenceConfirm.SequenceNumber[2] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1283            index += SIZEOF_UINT16;
1284            sig->u.MlmeGetKeySequenceConfirm.SequenceNumber[3] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1285            index += SIZEOF_UINT16;
1286            sig->u.MlmeGetKeySequenceConfirm.SequenceNumber[4] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1287            index += SIZEOF_UINT16;
1288            sig->u.MlmeGetKeySequenceConfirm.SequenceNumber[5] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1289            index += SIZEOF_UINT16;
1290            sig->u.MlmeGetKeySequenceConfirm.SequenceNumber[6] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1291            index += SIZEOF_UINT16;
1292            sig->u.MlmeGetKeySequenceConfirm.SequenceNumber[7] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1293            index += SIZEOF_UINT16;
1294            break;
1295#endif
1296#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1297        case CSR_MLME_SM_START_CONFIRM_ID:
1298            sig->u.MlmeSmStartConfirm.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1299            index += SIZEOF_UINT16;
1300            sig->u.MlmeSmStartConfirm.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1301            index += SIZEOF_UINT16;
1302            sig->u.MlmeSmStartConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1303            index += SIZEOF_UINT16;
1304            sig->u.MlmeSmStartConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1305            index += SIZEOF_UINT16;
1306            sig->u.MlmeSmStartConfirm.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1307            index += SIZEOF_UINT16;
1308            sig->u.MlmeSmStartConfirm.ResultCode = (CSR_RESULT_CODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1309            index += SIZEOF_UINT16;
1310            break;
1311#endif
1312#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1313        case CSR_MLME_STOP_AGGREGATION_CONFIRM_ID:
1314            sig->u.MlmeStopAggregationConfirm.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1315            index += SIZEOF_UINT16;
1316            sig->u.MlmeStopAggregationConfirm.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1317            index += SIZEOF_UINT16;
1318            sig->u.MlmeStopAggregationConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1319            index += SIZEOF_UINT16;
1320            sig->u.MlmeStopAggregationConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1321            index += SIZEOF_UINT16;
1322            sig->u.MlmeStopAggregationConfirm.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1323            index += SIZEOF_UINT16;
1324            memcpy(sig->u.MlmeStopAggregationConfirm.PeerQstaAddress.x, &ptr[index], 48 / 8);
1325            index += 48 / 8;
1326            sig->u.MlmeStopAggregationConfirm.UserPriority = (CSR_PRIORITY) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1327            index += SIZEOF_UINT16;
1328            sig->u.MlmeStopAggregationConfirm.Direction = (CSR_DIRECTION) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1329            index += SIZEOF_UINT16;
1330            sig->u.MlmeStopAggregationConfirm.ResultCode = (CSR_RESULT_CODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1331            index += SIZEOF_UINT16;
1332            break;
1333#endif
1334#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1335        case CSR_MLME_DEL_TSPEC_REQUEST_ID:
1336            sig->u.MlmeDelTspecRequest.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1337            index += SIZEOF_UINT16;
1338            sig->u.MlmeDelTspecRequest.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1339            index += SIZEOF_UINT16;
1340            sig->u.MlmeDelTspecRequest.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1341            index += SIZEOF_UINT16;
1342            sig->u.MlmeDelTspecRequest.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1343            index += SIZEOF_UINT16;
1344            sig->u.MlmeDelTspecRequest.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1345            index += SIZEOF_UINT16;
1346            sig->u.MlmeDelTspecRequest.UserPriority = (CSR_PRIORITY) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1347            index += SIZEOF_UINT16;
1348            sig->u.MlmeDelTspecRequest.Direction = (CSR_DIRECTION) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1349            index += SIZEOF_UINT16;
1350            break;
1351#endif
1352        case CSR_DEBUG_WORD16_INDICATION_ID:
1353            sig->u.DebugWord16Indication.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1354            index += SIZEOF_UINT16;
1355            sig->u.DebugWord16Indication.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1356            index += SIZEOF_UINT16;
1357            sig->u.DebugWord16Indication.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1358            index += SIZEOF_UINT16;
1359            sig->u.DebugWord16Indication.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1360            index += SIZEOF_UINT16;
1361            sig->u.DebugWord16Indication.DebugWords[0] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1362            index += SIZEOF_UINT16;
1363            sig->u.DebugWord16Indication.DebugWords[1] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1364            index += SIZEOF_UINT16;
1365            sig->u.DebugWord16Indication.DebugWords[2] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1366            index += SIZEOF_UINT16;
1367            sig->u.DebugWord16Indication.DebugWords[3] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1368            index += SIZEOF_UINT16;
1369            sig->u.DebugWord16Indication.DebugWords[4] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1370            index += SIZEOF_UINT16;
1371            sig->u.DebugWord16Indication.DebugWords[5] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1372            index += SIZEOF_UINT16;
1373            sig->u.DebugWord16Indication.DebugWords[6] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1374            index += SIZEOF_UINT16;
1375            sig->u.DebugWord16Indication.DebugWords[7] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1376            index += SIZEOF_UINT16;
1377            sig->u.DebugWord16Indication.DebugWords[8] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1378            index += SIZEOF_UINT16;
1379            sig->u.DebugWord16Indication.DebugWords[9] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1380            index += SIZEOF_UINT16;
1381            sig->u.DebugWord16Indication.DebugWords[10] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1382            index += SIZEOF_UINT16;
1383            sig->u.DebugWord16Indication.DebugWords[11] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1384            index += SIZEOF_UINT16;
1385            sig->u.DebugWord16Indication.DebugWords[12] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1386            index += SIZEOF_UINT16;
1387            sig->u.DebugWord16Indication.DebugWords[13] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1388            index += SIZEOF_UINT16;
1389            sig->u.DebugWord16Indication.DebugWords[14] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1390            index += SIZEOF_UINT16;
1391            sig->u.DebugWord16Indication.DebugWords[15] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1392            index += SIZEOF_UINT16;
1393            break;
1394        case CSR_DEBUG_GENERIC_CONFIRM_ID:
1395            sig->u.DebugGenericConfirm.DebugVariable.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1396            index += SIZEOF_UINT16;
1397            sig->u.DebugGenericConfirm.DebugVariable.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1398            index += SIZEOF_UINT16;
1399            sig->u.DebugGenericConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1400            index += SIZEOF_UINT16;
1401            sig->u.DebugGenericConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1402            index += SIZEOF_UINT16;
1403            sig->u.DebugGenericConfirm.DebugWords[0] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1404            index += SIZEOF_UINT16;
1405            sig->u.DebugGenericConfirm.DebugWords[1] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1406            index += SIZEOF_UINT16;
1407            sig->u.DebugGenericConfirm.DebugWords[2] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1408            index += SIZEOF_UINT16;
1409            sig->u.DebugGenericConfirm.DebugWords[3] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1410            index += SIZEOF_UINT16;
1411            sig->u.DebugGenericConfirm.DebugWords[4] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1412            index += SIZEOF_UINT16;
1413            sig->u.DebugGenericConfirm.DebugWords[5] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1414            index += SIZEOF_UINT16;
1415            sig->u.DebugGenericConfirm.DebugWords[6] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1416            index += SIZEOF_UINT16;
1417            sig->u.DebugGenericConfirm.DebugWords[7] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1418            index += SIZEOF_UINT16;
1419            break;
1420        case CSR_MA_PACKET_INDICATION_ID:
1421            sig->u.MaPacketIndication.Data.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1422            index += SIZEOF_UINT16;
1423            sig->u.MaPacketIndication.Data.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1424            index += SIZEOF_UINT16;
1425            sig->u.MaPacketIndication.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1426            index += SIZEOF_UINT16;
1427            sig->u.MaPacketIndication.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1428            index += SIZEOF_UINT16;
1429            sig->u.MaPacketIndication.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1430            index += SIZEOF_UINT16;
1431            memcpy(sig->u.MaPacketIndication.LocalTime.x, &ptr[index], 64 / 8);
1432            index += 64 / 8;
1433            sig->u.MaPacketIndication.Ifindex = (CSR_IFINTERFACE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1434            index += SIZEOF_UINT16;
1435            sig->u.MaPacketIndication.Channel = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1436            index += SIZEOF_UINT16;
1437            sig->u.MaPacketIndication.ReceptionStatus = (CSR_RECEPTION_STATUS) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1438            index += SIZEOF_UINT16;
1439            sig->u.MaPacketIndication.Rssi = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1440            index += SIZEOF_UINT16;
1441            sig->u.MaPacketIndication.Snr = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1442            index += SIZEOF_UINT16;
1443            sig->u.MaPacketIndication.ReceivedRate = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1444            index += SIZEOF_UINT16;
1445            break;
1446        case CSR_MLME_SET_TIM_REQUEST_ID:
1447            sig->u.MlmeSetTimRequest.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1448            index += SIZEOF_UINT16;
1449            sig->u.MlmeSetTimRequest.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1450            index += SIZEOF_UINT16;
1451            sig->u.MlmeSetTimRequest.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1452            index += SIZEOF_UINT16;
1453            sig->u.MlmeSetTimRequest.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1454            index += SIZEOF_UINT16;
1455            sig->u.MlmeSetTimRequest.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1456            index += SIZEOF_UINT16;
1457            sig->u.MlmeSetTimRequest.AssociationId = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1458            index += SIZEOF_UINT16;
1459            sig->u.MlmeSetTimRequest.TimValue = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1460            index += SIZEOF_UINT16;
1461            break;
1462#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1463        case CSR_MLME_CONNECTED_INDICATION_ID:
1464            sig->u.MlmeConnectedIndication.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1465            index += SIZEOF_UINT16;
1466            sig->u.MlmeConnectedIndication.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1467            index += SIZEOF_UINT16;
1468            sig->u.MlmeConnectedIndication.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1469            index += SIZEOF_UINT16;
1470            sig->u.MlmeConnectedIndication.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1471            index += SIZEOF_UINT16;
1472            sig->u.MlmeConnectedIndication.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1473            index += SIZEOF_UINT16;
1474            sig->u.MlmeConnectedIndication.ConnectionStatus = (CSR_CONNECTION_STATUS) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1475            index += SIZEOF_UINT16;
1476            memcpy(sig->u.MlmeConnectedIndication.PeerMacAddress.x, &ptr[index], 48 / 8);
1477            index += 48 / 8;
1478            break;
1479#endif
1480#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1481        case CSR_MLME_DEL_RX_TRIGGER_REQUEST_ID:
1482            sig->u.MlmeDelRxTriggerRequest.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1483            index += SIZEOF_UINT16;
1484            sig->u.MlmeDelRxTriggerRequest.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1485            index += SIZEOF_UINT16;
1486            sig->u.MlmeDelRxTriggerRequest.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1487            index += SIZEOF_UINT16;
1488            sig->u.MlmeDelRxTriggerRequest.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1489            index += SIZEOF_UINT16;
1490            sig->u.MlmeDelRxTriggerRequest.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1491            index += SIZEOF_UINT16;
1492            sig->u.MlmeDelRxTriggerRequest.TriggerId = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1493            index += SIZEOF_UINT16;
1494            break;
1495#endif
1496#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1497        case CSR_MLME_TRIGGERED_GET_INDICATION_ID:
1498            sig->u.MlmeTriggeredGetIndication.MibAttributeValue.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1499            index += SIZEOF_UINT16;
1500            sig->u.MlmeTriggeredGetIndication.MibAttributeValue.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1501            index += SIZEOF_UINT16;
1502            sig->u.MlmeTriggeredGetIndication.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1503            index += SIZEOF_UINT16;
1504            sig->u.MlmeTriggeredGetIndication.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1505            index += SIZEOF_UINT16;
1506            sig->u.MlmeTriggeredGetIndication.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1507            index += SIZEOF_UINT16;
1508            sig->u.MlmeTriggeredGetIndication.Status = (CSR_MIB_STATUS) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1509            index += SIZEOF_UINT16;
1510            sig->u.MlmeTriggeredGetIndication.ErrorIndex = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1511            index += SIZEOF_UINT16;
1512            sig->u.MlmeTriggeredGetIndication.TriggeredId = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1513            index += SIZEOF_UINT16;
1514            break;
1515#endif
1516#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1517        case CSR_MLME_SCAN_REQUEST_ID:
1518            sig->u.MlmeScanRequest.ChannelList.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1519            index += SIZEOF_UINT16;
1520            sig->u.MlmeScanRequest.ChannelList.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1521            index += SIZEOF_UINT16;
1522            sig->u.MlmeScanRequest.InformationElements.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1523            index += SIZEOF_UINT16;
1524            sig->u.MlmeScanRequest.InformationElements.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1525            index += SIZEOF_UINT16;
1526            sig->u.MlmeScanRequest.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1527            index += SIZEOF_UINT16;
1528            sig->u.MlmeScanRequest.Ifindex = (CSR_IFINTERFACE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1529            index += SIZEOF_UINT16;
1530            sig->u.MlmeScanRequest.ScanType = (CSR_SCAN_TYPE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1531            index += SIZEOF_UINT16;
1532            sig->u.MlmeScanRequest.ProbeDelay = CSR_GET_UINT32_FROM_LITTLE_ENDIAN(ptr + index);
1533            index += SIZEOF_UINT32;
1534            sig->u.MlmeScanRequest.MinChannelTime = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1535            index += SIZEOF_UINT16;
1536            sig->u.MlmeScanRequest.MaxChannelTime = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1537            index += SIZEOF_UINT16;
1538            break;
1539#endif
1540#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1541        case CSR_MLME_DELETEKEYS_CONFIRM_ID:
1542            sig->u.MlmeDeletekeysConfirm.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1543            index += SIZEOF_UINT16;
1544            sig->u.MlmeDeletekeysConfirm.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1545            index += SIZEOF_UINT16;
1546            sig->u.MlmeDeletekeysConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1547            index += SIZEOF_UINT16;
1548            sig->u.MlmeDeletekeysConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1549            index += SIZEOF_UINT16;
1550            sig->u.MlmeDeletekeysConfirm.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1551            index += SIZEOF_UINT16;
1552            sig->u.MlmeDeletekeysConfirm.ResultCode = (CSR_RESULT_CODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1553            index += SIZEOF_UINT16;
1554            break;
1555#endif
1556#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1557        case CSR_MLME_GET_NEXT_REQUEST_ID:
1558            sig->u.MlmeGetNextRequest.MibAttribute.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1559            index += SIZEOF_UINT16;
1560            sig->u.MlmeGetNextRequest.MibAttribute.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1561            index += SIZEOF_UINT16;
1562            sig->u.MlmeGetNextRequest.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1563            index += SIZEOF_UINT16;
1564            sig->u.MlmeGetNextRequest.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1565            index += SIZEOF_UINT16;
1566            break;
1567#endif
1568#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1569        case CSR_MLME_SET_CHANNEL_CONFIRM_ID:
1570            sig->u.MlmeSetChannelConfirm.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1571            index += SIZEOF_UINT16;
1572            sig->u.MlmeSetChannelConfirm.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1573            index += SIZEOF_UINT16;
1574            sig->u.MlmeSetChannelConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1575            index += SIZEOF_UINT16;
1576            sig->u.MlmeSetChannelConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1577            index += SIZEOF_UINT16;
1578            sig->u.MlmeSetChannelConfirm.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1579            index += SIZEOF_UINT16;
1580            sig->u.MlmeSetChannelConfirm.ResultCode = (CSR_RESULT_CODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1581            index += SIZEOF_UINT16;
1582            break;
1583#endif
1584#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1585        case CSR_MLME_START_AGGREGATION_REQUEST_ID:
1586            sig->u.MlmeStartAggregationRequest.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1587            index += SIZEOF_UINT16;
1588            sig->u.MlmeStartAggregationRequest.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1589            index += SIZEOF_UINT16;
1590            sig->u.MlmeStartAggregationRequest.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1591            index += SIZEOF_UINT16;
1592            sig->u.MlmeStartAggregationRequest.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1593            index += SIZEOF_UINT16;
1594            sig->u.MlmeStartAggregationRequest.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1595            index += SIZEOF_UINT16;
1596            memcpy(sig->u.MlmeStartAggregationRequest.PeerQstaAddress.x, &ptr[index], 48 / 8);
1597            index += 48 / 8;
1598            sig->u.MlmeStartAggregationRequest.UserPriority = (CSR_PRIORITY) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1599            index += SIZEOF_UINT16;
1600            sig->u.MlmeStartAggregationRequest.Direction = (CSR_DIRECTION) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1601            index += SIZEOF_UINT16;
1602            sig->u.MlmeStartAggregationRequest.StartingSequenceNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1603            index += SIZEOF_UINT16;
1604            sig->u.MlmeStartAggregationRequest.BufferSize = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1605            index += SIZEOF_UINT16;
1606            sig->u.MlmeStartAggregationRequest.BlockAckTimeout = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1607            index += SIZEOF_UINT16;
1608            break;
1609#endif
1610#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1611        case CSR_MLME_HL_SYNC_REQUEST_ID:
1612            sig->u.MlmeHlSyncRequest.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1613            index += SIZEOF_UINT16;
1614            sig->u.MlmeHlSyncRequest.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1615            index += SIZEOF_UINT16;
1616            sig->u.MlmeHlSyncRequest.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1617            index += SIZEOF_UINT16;
1618            sig->u.MlmeHlSyncRequest.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1619            index += SIZEOF_UINT16;
1620            memcpy(sig->u.MlmeHlSyncRequest.GroupAddress.x, &ptr[index], 48 / 8);
1621            index += 48 / 8;
1622            break;
1623#endif
1624        case CSR_DEBUG_GENERIC_REQUEST_ID:
1625            sig->u.DebugGenericRequest.DebugVariable.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1626            index += SIZEOF_UINT16;
1627            sig->u.DebugGenericRequest.DebugVariable.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1628            index += SIZEOF_UINT16;
1629            sig->u.DebugGenericRequest.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1630            index += SIZEOF_UINT16;
1631            sig->u.DebugGenericRequest.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1632            index += SIZEOF_UINT16;
1633            sig->u.DebugGenericRequest.DebugWords[0] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1634            index += SIZEOF_UINT16;
1635            sig->u.DebugGenericRequest.DebugWords[1] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1636            index += SIZEOF_UINT16;
1637            sig->u.DebugGenericRequest.DebugWords[2] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1638            index += SIZEOF_UINT16;
1639            sig->u.DebugGenericRequest.DebugWords[3] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1640            index += SIZEOF_UINT16;
1641            sig->u.DebugGenericRequest.DebugWords[4] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1642            index += SIZEOF_UINT16;
1643            sig->u.DebugGenericRequest.DebugWords[5] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1644            index += SIZEOF_UINT16;
1645            sig->u.DebugGenericRequest.DebugWords[6] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1646            index += SIZEOF_UINT16;
1647            sig->u.DebugGenericRequest.DebugWords[7] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1648            index += SIZEOF_UINT16;
1649            break;
1650#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1651        case CSR_MLME_LEAVE_CONFIRM_ID:
1652            sig->u.MlmeLeaveConfirm.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1653            index += SIZEOF_UINT16;
1654            sig->u.MlmeLeaveConfirm.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1655            index += SIZEOF_UINT16;
1656            sig->u.MlmeLeaveConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1657            index += SIZEOF_UINT16;
1658            sig->u.MlmeLeaveConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1659            index += SIZEOF_UINT16;
1660            sig->u.MlmeLeaveConfirm.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1661            index += SIZEOF_UINT16;
1662            sig->u.MlmeLeaveConfirm.ResultCode = (CSR_RESULT_CODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1663            index += SIZEOF_UINT16;
1664            break;
1665#endif
1666#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1667        case CSR_MLME_DEL_TRIGGERED_GET_REQUEST_ID:
1668            sig->u.MlmeDelTriggeredGetRequest.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1669            index += SIZEOF_UINT16;
1670            sig->u.MlmeDelTriggeredGetRequest.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1671            index += SIZEOF_UINT16;
1672            sig->u.MlmeDelTriggeredGetRequest.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1673            index += SIZEOF_UINT16;
1674            sig->u.MlmeDelTriggeredGetRequest.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1675            index += SIZEOF_UINT16;
1676            sig->u.MlmeDelTriggeredGetRequest.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1677            index += SIZEOF_UINT16;
1678            sig->u.MlmeDelTriggeredGetRequest.TriggeredId = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1679            index += SIZEOF_UINT16;
1680            break;
1681#endif
1682#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1683        case CSR_MLME_ADD_MULTICAST_ADDRESS_REQUEST_ID:
1684            sig->u.MlmeAddMulticastAddressRequest.Data.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1685            index += SIZEOF_UINT16;
1686            sig->u.MlmeAddMulticastAddressRequest.Data.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1687            index += SIZEOF_UINT16;
1688            sig->u.MlmeAddMulticastAddressRequest.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1689            index += SIZEOF_UINT16;
1690            sig->u.MlmeAddMulticastAddressRequest.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1691            index += SIZEOF_UINT16;
1692            sig->u.MlmeAddMulticastAddressRequest.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1693            index += SIZEOF_UINT16;
1694            sig->u.MlmeAddMulticastAddressRequest.NumberOfMulticastGroupAddresses = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1695            index += SIZEOF_UINT16;
1696            break;
1697#endif
1698#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1699        case CSR_MLME_RESET_REQUEST_ID:
1700            sig->u.MlmeResetRequest.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1701            index += SIZEOF_UINT16;
1702            sig->u.MlmeResetRequest.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1703            index += SIZEOF_UINT16;
1704            sig->u.MlmeResetRequest.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1705            index += SIZEOF_UINT16;
1706            sig->u.MlmeResetRequest.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1707            index += SIZEOF_UINT16;
1708            memcpy(sig->u.MlmeResetRequest.StaAddress.x, &ptr[index], 48 / 8);
1709            index += 48 / 8;
1710            sig->u.MlmeResetRequest.SetDefaultMib = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1711            index += SIZEOF_UINT16;
1712            break;
1713#endif
1714#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1715        case CSR_MLME_SCAN_CANCEL_REQUEST_ID:
1716            sig->u.MlmeScanCancelRequest.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1717            index += SIZEOF_UINT16;
1718            sig->u.MlmeScanCancelRequest.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1719            index += SIZEOF_UINT16;
1720            sig->u.MlmeScanCancelRequest.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1721            index += SIZEOF_UINT16;
1722            sig->u.MlmeScanCancelRequest.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1723            index += SIZEOF_UINT16;
1724            sig->u.MlmeScanCancelRequest.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1725            index += SIZEOF_UINT16;
1726            break;
1727#endif
1728#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1729        case CSR_MLME_ADD_TRIGGERED_GET_CONFIRM_ID:
1730            sig->u.MlmeAddTriggeredGetConfirm.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1731            index += SIZEOF_UINT16;
1732            sig->u.MlmeAddTriggeredGetConfirm.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1733            index += SIZEOF_UINT16;
1734            sig->u.MlmeAddTriggeredGetConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1735            index += SIZEOF_UINT16;
1736            sig->u.MlmeAddTriggeredGetConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1737            index += SIZEOF_UINT16;
1738            sig->u.MlmeAddTriggeredGetConfirm.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1739            index += SIZEOF_UINT16;
1740            sig->u.MlmeAddTriggeredGetConfirm.ResultCode = (CSR_RESULT_CODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1741            index += SIZEOF_UINT16;
1742            sig->u.MlmeAddTriggeredGetConfirm.TriggeredId = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1743            index += SIZEOF_UINT16;
1744            break;
1745#endif
1746#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1747        case CSR_MLME_SET_PACKET_FILTER_REQUEST_ID:
1748            sig->u.MlmeSetPacketFilterRequest.InformationElements.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1749            index += SIZEOF_UINT16;
1750            sig->u.MlmeSetPacketFilterRequest.InformationElements.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1751            index += SIZEOF_UINT16;
1752            sig->u.MlmeSetPacketFilterRequest.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1753            index += SIZEOF_UINT16;
1754            sig->u.MlmeSetPacketFilterRequest.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1755            index += SIZEOF_UINT16;
1756            sig->u.MlmeSetPacketFilterRequest.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1757            index += SIZEOF_UINT16;
1758            sig->u.MlmeSetPacketFilterRequest.PacketFilterMode = (CSR_PACKET_FILTER_MODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1759            index += SIZEOF_UINT16;
1760            sig->u.MlmeSetPacketFilterRequest.ArpFilterAddress = CSR_GET_UINT32_FROM_LITTLE_ENDIAN(ptr + index);
1761            index += SIZEOF_UINT32;
1762            break;
1763#endif
1764#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1765        case CSR_MLME_DEL_RX_TRIGGER_CONFIRM_ID:
1766            sig->u.MlmeDelRxTriggerConfirm.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1767            index += SIZEOF_UINT16;
1768            sig->u.MlmeDelRxTriggerConfirm.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1769            index += SIZEOF_UINT16;
1770            sig->u.MlmeDelRxTriggerConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1771            index += SIZEOF_UINT16;
1772            sig->u.MlmeDelRxTriggerConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1773            index += SIZEOF_UINT16;
1774            sig->u.MlmeDelRxTriggerConfirm.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1775            index += SIZEOF_UINT16;
1776            sig->u.MlmeDelRxTriggerConfirm.TriggerId = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1777            index += SIZEOF_UINT16;
1778            sig->u.MlmeDelRxTriggerConfirm.ResultCode = (CSR_RESULT_CODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1779            index += SIZEOF_UINT16;
1780            break;
1781#endif
1782#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1783        case CSR_MLME_CONNECT_STATUS_REQUEST_ID:
1784            sig->u.MlmeConnectStatusRequest.InformationElements.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1785            index += SIZEOF_UINT16;
1786            sig->u.MlmeConnectStatusRequest.InformationElements.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1787            index += SIZEOF_UINT16;
1788            sig->u.MlmeConnectStatusRequest.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1789            index += SIZEOF_UINT16;
1790            sig->u.MlmeConnectStatusRequest.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1791            index += SIZEOF_UINT16;
1792            sig->u.MlmeConnectStatusRequest.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1793            index += SIZEOF_UINT16;
1794            sig->u.MlmeConnectStatusRequest.ConnectionStatus = (CSR_CONNECTION_STATUS) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1795            index += SIZEOF_UINT16;
1796            memcpy(sig->u.MlmeConnectStatusRequest.StaAddress.x, &ptr[index], 48 / 8);
1797            index += 48 / 8;
1798            sig->u.MlmeConnectStatusRequest.AssociationId = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1799            index += SIZEOF_UINT16;
1800            sig->u.MlmeConnectStatusRequest.AssociationCapabilityInformation = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1801            index += SIZEOF_UINT16;
1802            break;
1803#endif
1804#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1805        case CSR_MLME_LEAVE_REQUEST_ID:
1806            sig->u.MlmeLeaveRequest.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1807            index += SIZEOF_UINT16;
1808            sig->u.MlmeLeaveRequest.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1809            index += SIZEOF_UINT16;
1810            sig->u.MlmeLeaveRequest.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1811            index += SIZEOF_UINT16;
1812            sig->u.MlmeLeaveRequest.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1813            index += SIZEOF_UINT16;
1814            sig->u.MlmeLeaveRequest.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1815            index += SIZEOF_UINT16;
1816            break;
1817#endif
1818#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1819        case CSR_MLME_CONFIG_QUEUE_REQUEST_ID:
1820            sig->u.MlmeConfigQueueRequest.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1821            index += SIZEOF_UINT16;
1822            sig->u.MlmeConfigQueueRequest.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1823            index += SIZEOF_UINT16;
1824            sig->u.MlmeConfigQueueRequest.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1825            index += SIZEOF_UINT16;
1826            sig->u.MlmeConfigQueueRequest.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1827            index += SIZEOF_UINT16;
1828            sig->u.MlmeConfigQueueRequest.QueueIndex = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1829            index += SIZEOF_UINT16;
1830            sig->u.MlmeConfigQueueRequest.Aifs = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1831            index += SIZEOF_UINT16;
1832            sig->u.MlmeConfigQueueRequest.Cwmin = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1833            index += SIZEOF_UINT16;
1834            sig->u.MlmeConfigQueueRequest.Cwmax = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1835            index += SIZEOF_UINT16;
1836            sig->u.MlmeConfigQueueRequest.TxopLimit = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1837            index += SIZEOF_UINT16;
1838            break;
1839#endif
1840#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1841        case CSR_MLME_DEL_TSPEC_CONFIRM_ID:
1842            sig->u.MlmeDelTspecConfirm.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1843            index += SIZEOF_UINT16;
1844            sig->u.MlmeDelTspecConfirm.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1845            index += SIZEOF_UINT16;
1846            sig->u.MlmeDelTspecConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1847            index += SIZEOF_UINT16;
1848            sig->u.MlmeDelTspecConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1849            index += SIZEOF_UINT16;
1850            sig->u.MlmeDelTspecConfirm.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1851            index += SIZEOF_UINT16;
1852            sig->u.MlmeDelTspecConfirm.UserPriority = (CSR_PRIORITY) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1853            index += SIZEOF_UINT16;
1854            sig->u.MlmeDelTspecConfirm.ResultCode = (CSR_RESULT_CODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1855            index += SIZEOF_UINT16;
1856            break;
1857#endif
1858        case CSR_MLME_SET_TIM_CONFIRM_ID:
1859            sig->u.MlmeSetTimConfirm.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1860            index += SIZEOF_UINT16;
1861            sig->u.MlmeSetTimConfirm.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1862            index += SIZEOF_UINT16;
1863            sig->u.MlmeSetTimConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1864            index += SIZEOF_UINT16;
1865            sig->u.MlmeSetTimConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1866            index += SIZEOF_UINT16;
1867            sig->u.MlmeSetTimConfirm.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1868            index += SIZEOF_UINT16;
1869            sig->u.MlmeSetTimConfirm.ResultCode = (CSR_RESULT_CODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1870            index += SIZEOF_UINT16;
1871            break;
1872#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1873        case CSR_MLME_MEASURE_INDICATION_ID:
1874            sig->u.MlmeMeasureIndication.MeasurementReportSet.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1875            index += SIZEOF_UINT16;
1876            sig->u.MlmeMeasureIndication.MeasurementReportSet.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1877            index += SIZEOF_UINT16;
1878            sig->u.MlmeMeasureIndication.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1879            index += SIZEOF_UINT16;
1880            sig->u.MlmeMeasureIndication.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1881            index += SIZEOF_UINT16;
1882            sig->u.MlmeMeasureIndication.DialogToken = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1883            index += SIZEOF_UINT16;
1884            break;
1885#endif
1886#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1887        case CSR_MLME_DEL_BLACKOUT_CONFIRM_ID:
1888            sig->u.MlmeDelBlackoutConfirm.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1889            index += SIZEOF_UINT16;
1890            sig->u.MlmeDelBlackoutConfirm.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1891            index += SIZEOF_UINT16;
1892            sig->u.MlmeDelBlackoutConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1893            index += SIZEOF_UINT16;
1894            sig->u.MlmeDelBlackoutConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1895            index += SIZEOF_UINT16;
1896            sig->u.MlmeDelBlackoutConfirm.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1897            index += SIZEOF_UINT16;
1898            sig->u.MlmeDelBlackoutConfirm.BlackoutId = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1899            index += SIZEOF_UINT16;
1900            sig->u.MlmeDelBlackoutConfirm.ResultCode = (CSR_RESULT_CODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1901            index += SIZEOF_UINT16;
1902            break;
1903#endif
1904#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1905        case CSR_MLME_DEL_TRIGGERED_GET_CONFIRM_ID:
1906            sig->u.MlmeDelTriggeredGetConfirm.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1907            index += SIZEOF_UINT16;
1908            sig->u.MlmeDelTriggeredGetConfirm.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1909            index += SIZEOF_UINT16;
1910            sig->u.MlmeDelTriggeredGetConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1911            index += SIZEOF_UINT16;
1912            sig->u.MlmeDelTriggeredGetConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1913            index += SIZEOF_UINT16;
1914            sig->u.MlmeDelTriggeredGetConfirm.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1915            index += SIZEOF_UINT16;
1916            sig->u.MlmeDelTriggeredGetConfirm.ResultCode = (CSR_RESULT_CODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1917            index += SIZEOF_UINT16;
1918            sig->u.MlmeDelTriggeredGetConfirm.TriggeredId = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1919            index += SIZEOF_UINT16;
1920            break;
1921#endif
1922        case CSR_DEBUG_GENERIC_INDICATION_ID:
1923            sig->u.DebugGenericIndication.DebugVariable.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1924            index += SIZEOF_UINT16;
1925            sig->u.DebugGenericIndication.DebugVariable.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1926            index += SIZEOF_UINT16;
1927            sig->u.DebugGenericIndication.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1928            index += SIZEOF_UINT16;
1929            sig->u.DebugGenericIndication.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1930            index += SIZEOF_UINT16;
1931            sig->u.DebugGenericIndication.DebugWords[0] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1932            index += SIZEOF_UINT16;
1933            sig->u.DebugGenericIndication.DebugWords[1] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1934            index += SIZEOF_UINT16;
1935            sig->u.DebugGenericIndication.DebugWords[2] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1936            index += SIZEOF_UINT16;
1937            sig->u.DebugGenericIndication.DebugWords[3] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1938            index += SIZEOF_UINT16;
1939            sig->u.DebugGenericIndication.DebugWords[4] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1940            index += SIZEOF_UINT16;
1941            sig->u.DebugGenericIndication.DebugWords[5] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1942            index += SIZEOF_UINT16;
1943            sig->u.DebugGenericIndication.DebugWords[6] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1944            index += SIZEOF_UINT16;
1945            sig->u.DebugGenericIndication.DebugWords[7] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1946            index += SIZEOF_UINT16;
1947            break;
1948        case CSR_MA_PACKET_CANCEL_REQUEST_ID:
1949            sig->u.MaPacketCancelRequest.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1950            index += SIZEOF_UINT16;
1951            sig->u.MaPacketCancelRequest.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1952            index += SIZEOF_UINT16;
1953            sig->u.MaPacketCancelRequest.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1954            index += SIZEOF_UINT16;
1955            sig->u.MaPacketCancelRequest.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1956            index += SIZEOF_UINT16;
1957            sig->u.MaPacketCancelRequest.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1958            index += SIZEOF_UINT16;
1959            sig->u.MaPacketCancelRequest.HostTag = CSR_GET_UINT32_FROM_LITTLE_ENDIAN(ptr + index);
1960            index += SIZEOF_UINT32;
1961            break;
1962#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1963        case CSR_MLME_MODIFY_BSS_PARAMETER_CONFIRM_ID:
1964            sig->u.MlmeModifyBssParameterConfirm.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1965            index += SIZEOF_UINT16;
1966            sig->u.MlmeModifyBssParameterConfirm.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1967            index += SIZEOF_UINT16;
1968            sig->u.MlmeModifyBssParameterConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1969            index += SIZEOF_UINT16;
1970            sig->u.MlmeModifyBssParameterConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1971            index += SIZEOF_UINT16;
1972            sig->u.MlmeModifyBssParameterConfirm.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1973            index += SIZEOF_UINT16;
1974            sig->u.MlmeModifyBssParameterConfirm.ResultCode = (CSR_RESULT_CODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1975            index += SIZEOF_UINT16;
1976            break;
1977#endif
1978#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1979        case CSR_MLME_PAUSE_AUTONOMOUS_SCAN_CONFIRM_ID:
1980            sig->u.MlmePauseAutonomousScanConfirm.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1981            index += SIZEOF_UINT16;
1982            sig->u.MlmePauseAutonomousScanConfirm.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1983            index += SIZEOF_UINT16;
1984            sig->u.MlmePauseAutonomousScanConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1985            index += SIZEOF_UINT16;
1986            sig->u.MlmePauseAutonomousScanConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1987            index += SIZEOF_UINT16;
1988            sig->u.MlmePauseAutonomousScanConfirm.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1989            index += SIZEOF_UINT16;
1990            sig->u.MlmePauseAutonomousScanConfirm.ResultCode = (CSR_RESULT_CODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1991            index += SIZEOF_UINT16;
1992            sig->u.MlmePauseAutonomousScanConfirm.AutonomousScanId = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1993            index += SIZEOF_UINT16;
1994            break;
1995#endif
1996        case CSR_MA_PACKET_REQUEST_ID:
1997            sig->u.MaPacketRequest.Data.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
1998            index += SIZEOF_UINT16;
1999            sig->u.MaPacketRequest.Data.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2000            index += SIZEOF_UINT16;
2001            sig->u.MaPacketRequest.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2002            index += SIZEOF_UINT16;
2003            sig->u.MaPacketRequest.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2004            index += SIZEOF_UINT16;
2005            sig->u.MaPacketRequest.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2006            index += SIZEOF_UINT16;
2007            sig->u.MaPacketRequest.TransmitRate = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2008            index += SIZEOF_UINT16;
2009            sig->u.MaPacketRequest.HostTag = CSR_GET_UINT32_FROM_LITTLE_ENDIAN(ptr + index);
2010            index += SIZEOF_UINT32;
2011            sig->u.MaPacketRequest.Priority = (CSR_PRIORITY) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2012            index += SIZEOF_UINT16;
2013            memcpy(sig->u.MaPacketRequest.Ra.x, &ptr[index], 48 / 8);
2014            index += 48 / 8;
2015            sig->u.MaPacketRequest.TransmissionControl = (CSR_TRANSMISSION_CONTROL) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2016            index += SIZEOF_UINT16;
2017            break;
2018#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2019        case CSR_MLME_MODIFY_BSS_PARAMETER_REQUEST_ID:
2020            sig->u.MlmeModifyBssParameterRequest.Data.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2021            index += SIZEOF_UINT16;
2022            sig->u.MlmeModifyBssParameterRequest.Data.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2023            index += SIZEOF_UINT16;
2024            sig->u.MlmeModifyBssParameterRequest.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2025            index += SIZEOF_UINT16;
2026            sig->u.MlmeModifyBssParameterRequest.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2027            index += SIZEOF_UINT16;
2028            sig->u.MlmeModifyBssParameterRequest.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2029            index += SIZEOF_UINT16;
2030            sig->u.MlmeModifyBssParameterRequest.BeaconPeriod = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2031            index += SIZEOF_UINT16;
2032            sig->u.MlmeModifyBssParameterRequest.DtimPeriod = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2033            index += SIZEOF_UINT16;
2034            sig->u.MlmeModifyBssParameterRequest.CapabilityInformation = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2035            index += SIZEOF_UINT16;
2036            memcpy(sig->u.MlmeModifyBssParameterRequest.Bssid.x, &ptr[index], 48 / 8);
2037            index += 48 / 8;
2038            sig->u.MlmeModifyBssParameterRequest.RtsThreshold = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2039            index += SIZEOF_UINT16;
2040            break;
2041#endif
2042#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2043        case CSR_MLME_ADD_RX_TRIGGER_REQUEST_ID:
2044            sig->u.MlmeAddRxTriggerRequest.InformationElements.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2045            index += SIZEOF_UINT16;
2046            sig->u.MlmeAddRxTriggerRequest.InformationElements.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2047            index += SIZEOF_UINT16;
2048            sig->u.MlmeAddRxTriggerRequest.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2049            index += SIZEOF_UINT16;
2050            sig->u.MlmeAddRxTriggerRequest.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2051            index += SIZEOF_UINT16;
2052            sig->u.MlmeAddRxTriggerRequest.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2053            index += SIZEOF_UINT16;
2054            sig->u.MlmeAddRxTriggerRequest.TriggerId = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2055            index += SIZEOF_UINT16;
2056            sig->u.MlmeAddRxTriggerRequest.Priority = (CSR_PRIORITY) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2057            index += SIZEOF_UINT16;
2058            break;
2059#endif
2060        case CSR_MA_VIF_AVAILABILITY_INDICATION_ID:
2061            sig->u.MaVifAvailabilityIndication.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2062            index += SIZEOF_UINT16;
2063            sig->u.MaVifAvailabilityIndication.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2064            index += SIZEOF_UINT16;
2065            sig->u.MaVifAvailabilityIndication.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2066            index += SIZEOF_UINT16;
2067            sig->u.MaVifAvailabilityIndication.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2068            index += SIZEOF_UINT16;
2069            sig->u.MaVifAvailabilityIndication.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2070            index += SIZEOF_UINT16;
2071            sig->u.MaVifAvailabilityIndication.Multicast = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2072            index += SIZEOF_UINT16;
2073            break;
2074#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2075        case CSR_MLME_HL_SYNC_CANCEL_REQUEST_ID:
2076            sig->u.MlmeHlSyncCancelRequest.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2077            index += SIZEOF_UINT16;
2078            sig->u.MlmeHlSyncCancelRequest.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2079            index += SIZEOF_UINT16;
2080            sig->u.MlmeHlSyncCancelRequest.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2081            index += SIZEOF_UINT16;
2082            sig->u.MlmeHlSyncCancelRequest.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2083            index += SIZEOF_UINT16;
2084            memcpy(sig->u.MlmeHlSyncCancelRequest.GroupAddress.x, &ptr[index], 48 / 8);
2085            index += 48 / 8;
2086            break;
2087#endif
2088#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2089        case CSR_MLME_DEL_AUTONOMOUS_SCAN_REQUEST_ID:
2090            sig->u.MlmeDelAutonomousScanRequest.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2091            index += SIZEOF_UINT16;
2092            sig->u.MlmeDelAutonomousScanRequest.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2093            index += SIZEOF_UINT16;
2094            sig->u.MlmeDelAutonomousScanRequest.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2095            index += SIZEOF_UINT16;
2096            sig->u.MlmeDelAutonomousScanRequest.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2097            index += SIZEOF_UINT16;
2098            sig->u.MlmeDelAutonomousScanRequest.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2099            index += SIZEOF_UINT16;
2100            sig->u.MlmeDelAutonomousScanRequest.AutonomousScanId = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2101            index += SIZEOF_UINT16;
2102            break;
2103#endif
2104#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2105        case CSR_MLME_BLACKOUT_ENDED_INDICATION_ID:
2106            sig->u.MlmeBlackoutEndedIndication.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2107            index += SIZEOF_UINT16;
2108            sig->u.MlmeBlackoutEndedIndication.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2109            index += SIZEOF_UINT16;
2110            sig->u.MlmeBlackoutEndedIndication.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2111            index += SIZEOF_UINT16;
2112            sig->u.MlmeBlackoutEndedIndication.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2113            index += SIZEOF_UINT16;
2114            sig->u.MlmeBlackoutEndedIndication.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2115            index += SIZEOF_UINT16;
2116            sig->u.MlmeBlackoutEndedIndication.BlackoutId = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2117            index += SIZEOF_UINT16;
2118            break;
2119#endif
2120#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2121        case CSR_MLME_AUTONOMOUS_SCAN_DONE_INDICATION_ID:
2122            sig->u.MlmeAutonomousScanDoneIndication.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2123            index += SIZEOF_UINT16;
2124            sig->u.MlmeAutonomousScanDoneIndication.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2125            index += SIZEOF_UINT16;
2126            sig->u.MlmeAutonomousScanDoneIndication.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2127            index += SIZEOF_UINT16;
2128            sig->u.MlmeAutonomousScanDoneIndication.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2129            index += SIZEOF_UINT16;
2130            sig->u.MlmeAutonomousScanDoneIndication.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2131            index += SIZEOF_UINT16;
2132            sig->u.MlmeAutonomousScanDoneIndication.ResultCode = (CSR_RESULT_CODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2133            index += SIZEOF_UINT16;
2134            sig->u.MlmeAutonomousScanDoneIndication.AutonomousScanId = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2135            index += SIZEOF_UINT16;
2136            break;
2137#endif
2138#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2139        case CSR_MLME_GET_KEY_SEQUENCE_REQUEST_ID:
2140            sig->u.MlmeGetKeySequenceRequest.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2141            index += SIZEOF_UINT16;
2142            sig->u.MlmeGetKeySequenceRequest.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2143            index += SIZEOF_UINT16;
2144            sig->u.MlmeGetKeySequenceRequest.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2145            index += SIZEOF_UINT16;
2146            sig->u.MlmeGetKeySequenceRequest.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2147            index += SIZEOF_UINT16;
2148            sig->u.MlmeGetKeySequenceRequest.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2149            index += SIZEOF_UINT16;
2150            sig->u.MlmeGetKeySequenceRequest.KeyId = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2151            index += SIZEOF_UINT16;
2152            sig->u.MlmeGetKeySequenceRequest.KeyType = (CSR_KEY_TYPE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2153            index += SIZEOF_UINT16;
2154            memcpy(sig->u.MlmeGetKeySequenceRequest.Address.x, &ptr[index], 48 / 8);
2155            index += 48 / 8;
2156            break;
2157#endif
2158#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2159        case CSR_MLME_SET_CHANNEL_REQUEST_ID:
2160            sig->u.MlmeSetChannelRequest.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2161            index += SIZEOF_UINT16;
2162            sig->u.MlmeSetChannelRequest.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2163            index += SIZEOF_UINT16;
2164            sig->u.MlmeSetChannelRequest.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2165            index += SIZEOF_UINT16;
2166            sig->u.MlmeSetChannelRequest.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2167            index += SIZEOF_UINT16;
2168            sig->u.MlmeSetChannelRequest.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2169            index += SIZEOF_UINT16;
2170            sig->u.MlmeSetChannelRequest.Ifindex = (CSR_IFINTERFACE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2171            index += SIZEOF_UINT16;
2172            sig->u.MlmeSetChannelRequest.Channel = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2173            index += SIZEOF_UINT16;
2174            memcpy(sig->u.MlmeSetChannelRequest.Address.x, &ptr[index], 48 / 8);
2175            index += 48 / 8;
2176            sig->u.MlmeSetChannelRequest.AvailabilityDuration = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2177            index += SIZEOF_UINT16;
2178            sig->u.MlmeSetChannelRequest.AvailabilityInterval = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2179            index += SIZEOF_UINT16;
2180            break;
2181#endif
2182#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2183        case CSR_MLME_MEASURE_CONFIRM_ID:
2184            sig->u.MlmeMeasureConfirm.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2185            index += SIZEOF_UINT16;
2186            sig->u.MlmeMeasureConfirm.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2187            index += SIZEOF_UINT16;
2188            sig->u.MlmeMeasureConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2189            index += SIZEOF_UINT16;
2190            sig->u.MlmeMeasureConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2191            index += SIZEOF_UINT16;
2192            sig->u.MlmeMeasureConfirm.ResultCode = (CSR_RESULT_CODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2193            index += SIZEOF_UINT16;
2194            sig->u.MlmeMeasureConfirm.DialogToken = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2195            index += SIZEOF_UINT16;
2196            break;
2197#endif
2198#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2199        case CSR_MLME_ADD_TRIGGERED_GET_REQUEST_ID:
2200            sig->u.MlmeAddTriggeredGetRequest.MibAttribute.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2201            index += SIZEOF_UINT16;
2202            sig->u.MlmeAddTriggeredGetRequest.MibAttribute.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2203            index += SIZEOF_UINT16;
2204            sig->u.MlmeAddTriggeredGetRequest.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2205            index += SIZEOF_UINT16;
2206            sig->u.MlmeAddTriggeredGetRequest.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2207            index += SIZEOF_UINT16;
2208            sig->u.MlmeAddTriggeredGetRequest.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2209            index += SIZEOF_UINT16;
2210            sig->u.MlmeAddTriggeredGetRequest.TriggeredId = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2211            index += SIZEOF_UINT16;
2212            break;
2213#endif
2214#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2215        case CSR_MLME_AUTONOMOUS_SCAN_LOSS_INDICATION_ID:
2216            sig->u.MlmeAutonomousScanLossIndication.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2217            index += SIZEOF_UINT16;
2218            sig->u.MlmeAutonomousScanLossIndication.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2219            index += SIZEOF_UINT16;
2220            sig->u.MlmeAutonomousScanLossIndication.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2221            index += SIZEOF_UINT16;
2222            sig->u.MlmeAutonomousScanLossIndication.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2223            index += SIZEOF_UINT16;
2224            sig->u.MlmeAutonomousScanLossIndication.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2225            index += SIZEOF_UINT16;
2226            memcpy(sig->u.MlmeAutonomousScanLossIndication.Bssid.x, &ptr[index], 48 / 8);
2227            index += 48 / 8;
2228            break;
2229#endif
2230        case CSR_MA_VIF_AVAILABILITY_RESPONSE_ID:
2231            sig->u.MaVifAvailabilityResponse.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2232            index += SIZEOF_UINT16;
2233            sig->u.MaVifAvailabilityResponse.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2234            index += SIZEOF_UINT16;
2235            sig->u.MaVifAvailabilityResponse.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2236            index += SIZEOF_UINT16;
2237            sig->u.MaVifAvailabilityResponse.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2238            index += SIZEOF_UINT16;
2239            sig->u.MaVifAvailabilityResponse.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2240            index += SIZEOF_UINT16;
2241            sig->u.MaVifAvailabilityResponse.ResultCode = (CSR_RESULT_CODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2242            index += SIZEOF_UINT16;
2243            break;
2244#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2245        case CSR_MLME_ADD_TEMPLATE_REQUEST_ID:
2246            sig->u.MlmeAddTemplateRequest.Data1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2247            index += SIZEOF_UINT16;
2248            sig->u.MlmeAddTemplateRequest.Data1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2249            index += SIZEOF_UINT16;
2250            sig->u.MlmeAddTemplateRequest.Data2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2251            index += SIZEOF_UINT16;
2252            sig->u.MlmeAddTemplateRequest.Data2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2253            index += SIZEOF_UINT16;
2254            sig->u.MlmeAddTemplateRequest.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2255            index += SIZEOF_UINT16;
2256            sig->u.MlmeAddTemplateRequest.FrameType = (CSR_FRAME_TYPE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2257            index += SIZEOF_UINT16;
2258            sig->u.MlmeAddTemplateRequest.MinTransmitRate = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2259            index += SIZEOF_UINT16;
2260            break;
2261#endif
2262#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2263        case CSR_MLME_POWERMGT_CONFIRM_ID:
2264            sig->u.MlmePowermgtConfirm.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2265            index += SIZEOF_UINT16;
2266            sig->u.MlmePowermgtConfirm.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2267            index += SIZEOF_UINT16;
2268            sig->u.MlmePowermgtConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2269            index += SIZEOF_UINT16;
2270            sig->u.MlmePowermgtConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2271            index += SIZEOF_UINT16;
2272            sig->u.MlmePowermgtConfirm.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2273            index += SIZEOF_UINT16;
2274            sig->u.MlmePowermgtConfirm.ResultCode = (CSR_RESULT_CODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2275            index += SIZEOF_UINT16;
2276            break;
2277#endif
2278#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2279        case CSR_MLME_ADD_PERIODIC_CONFIRM_ID:
2280            sig->u.MlmeAddPeriodicConfirm.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2281            index += SIZEOF_UINT16;
2282            sig->u.MlmeAddPeriodicConfirm.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2283            index += SIZEOF_UINT16;
2284            sig->u.MlmeAddPeriodicConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2285            index += SIZEOF_UINT16;
2286            sig->u.MlmeAddPeriodicConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2287            index += SIZEOF_UINT16;
2288            sig->u.MlmeAddPeriodicConfirm.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2289            index += SIZEOF_UINT16;
2290            sig->u.MlmeAddPeriodicConfirm.PeriodicId = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2291            index += SIZEOF_UINT16;
2292            sig->u.MlmeAddPeriodicConfirm.ResultCode = (CSR_RESULT_CODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2293            index += SIZEOF_UINT16;
2294            break;
2295#endif
2296#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2297        case CSR_MLME_GET_CONFIRM_ID:
2298            sig->u.MlmeGetConfirm.MibAttributeValue.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2299            index += SIZEOF_UINT16;
2300            sig->u.MlmeGetConfirm.MibAttributeValue.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2301            index += SIZEOF_UINT16;
2302            sig->u.MlmeGetConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2303            index += SIZEOF_UINT16;
2304            sig->u.MlmeGetConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2305            index += SIZEOF_UINT16;
2306            sig->u.MlmeGetConfirm.Status = (CSR_MIB_STATUS) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2307            index += SIZEOF_UINT16;
2308            sig->u.MlmeGetConfirm.ErrorIndex = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2309            index += SIZEOF_UINT16;
2310            break;
2311#endif
2312#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2313        case CSR_MLME_GET_NEXT_CONFIRM_ID:
2314            sig->u.MlmeGetNextConfirm.MibAttributeValue.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2315            index += SIZEOF_UINT16;
2316            sig->u.MlmeGetNextConfirm.MibAttributeValue.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2317            index += SIZEOF_UINT16;
2318            sig->u.MlmeGetNextConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2319            index += SIZEOF_UINT16;
2320            sig->u.MlmeGetNextConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2321            index += SIZEOF_UINT16;
2322            sig->u.MlmeGetNextConfirm.Status = (CSR_MIB_STATUS) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2323            index += SIZEOF_UINT16;
2324            sig->u.MlmeGetNextConfirm.ErrorIndex = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2325            index += SIZEOF_UINT16;
2326            break;
2327#endif
2328#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2329        case CSR_MLME_STOP_AGGREGATION_REQUEST_ID:
2330            sig->u.MlmeStopAggregationRequest.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2331            index += SIZEOF_UINT16;
2332            sig->u.MlmeStopAggregationRequest.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2333            index += SIZEOF_UINT16;
2334            sig->u.MlmeStopAggregationRequest.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2335            index += SIZEOF_UINT16;
2336            sig->u.MlmeStopAggregationRequest.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2337            index += SIZEOF_UINT16;
2338            sig->u.MlmeStopAggregationRequest.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2339            index += SIZEOF_UINT16;
2340            memcpy(sig->u.MlmeStopAggregationRequest.PeerQstaAddress.x, &ptr[index], 48 / 8);
2341            index += 48 / 8;
2342            sig->u.MlmeStopAggregationRequest.UserPriority = (CSR_PRIORITY) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2343            index += SIZEOF_UINT16;
2344            sig->u.MlmeStopAggregationRequest.Direction = (CSR_DIRECTION) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2345            index += SIZEOF_UINT16;
2346            break;
2347#endif
2348#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2349        case CSR_MLME_ADD_RX_TRIGGER_CONFIRM_ID:
2350            sig->u.MlmeAddRxTriggerConfirm.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2351            index += SIZEOF_UINT16;
2352            sig->u.MlmeAddRxTriggerConfirm.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2353            index += SIZEOF_UINT16;
2354            sig->u.MlmeAddRxTriggerConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2355            index += SIZEOF_UINT16;
2356            sig->u.MlmeAddRxTriggerConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2357            index += SIZEOF_UINT16;
2358            sig->u.MlmeAddRxTriggerConfirm.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2359            index += SIZEOF_UINT16;
2360            sig->u.MlmeAddRxTriggerConfirm.TriggerId = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2361            index += SIZEOF_UINT16;
2362            sig->u.MlmeAddRxTriggerConfirm.ResultCode = (CSR_RESULT_CODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2363            index += SIZEOF_UINT16;
2364            break;
2365#endif
2366#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2367        case CSR_MLME_ADD_BLACKOUT_REQUEST_ID:
2368            sig->u.MlmeAddBlackoutRequest.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2369            index += SIZEOF_UINT16;
2370            sig->u.MlmeAddBlackoutRequest.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2371            index += SIZEOF_UINT16;
2372            sig->u.MlmeAddBlackoutRequest.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2373            index += SIZEOF_UINT16;
2374            sig->u.MlmeAddBlackoutRequest.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2375            index += SIZEOF_UINT16;
2376            sig->u.MlmeAddBlackoutRequest.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2377            index += SIZEOF_UINT16;
2378            sig->u.MlmeAddBlackoutRequest.BlackoutId = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2379            index += SIZEOF_UINT16;
2380            sig->u.MlmeAddBlackoutRequest.BlackoutType = (CSR_BLACKOUT_TYPE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2381            index += SIZEOF_UINT16;
2382            sig->u.MlmeAddBlackoutRequest.BlackoutSource = (CSR_BLACKOUT_SOURCE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2383            index += SIZEOF_UINT16;
2384            sig->u.MlmeAddBlackoutRequest.BlackoutStartReference = CSR_GET_UINT32_FROM_LITTLE_ENDIAN(ptr + index);
2385            index += SIZEOF_UINT32;
2386            sig->u.MlmeAddBlackoutRequest.BlackoutPeriod = CSR_GET_UINT32_FROM_LITTLE_ENDIAN(ptr + index);
2387            index += SIZEOF_UINT32;
2388            sig->u.MlmeAddBlackoutRequest.BlackoutDuration = CSR_GET_UINT32_FROM_LITTLE_ENDIAN(ptr + index);
2389            index += SIZEOF_UINT32;
2390            memcpy(sig->u.MlmeAddBlackoutRequest.PeerStaAddress.x, &ptr[index], 48 / 8);
2391            index += 48 / 8;
2392            sig->u.MlmeAddBlackoutRequest.BlackoutCount = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2393            index += SIZEOF_UINT16;
2394            break;
2395#endif
2396#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2397        case CSR_MLME_DELETEKEYS_REQUEST_ID:
2398            sig->u.MlmeDeletekeysRequest.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2399            index += SIZEOF_UINT16;
2400            sig->u.MlmeDeletekeysRequest.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2401            index += SIZEOF_UINT16;
2402            sig->u.MlmeDeletekeysRequest.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2403            index += SIZEOF_UINT16;
2404            sig->u.MlmeDeletekeysRequest.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2405            index += SIZEOF_UINT16;
2406            sig->u.MlmeDeletekeysRequest.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2407            index += SIZEOF_UINT16;
2408            sig->u.MlmeDeletekeysRequest.KeyId = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2409            index += SIZEOF_UINT16;
2410            sig->u.MlmeDeletekeysRequest.KeyType = (CSR_KEY_TYPE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2411            index += SIZEOF_UINT16;
2412            memcpy(sig->u.MlmeDeletekeysRequest.Address.x, &ptr[index], 48 / 8);
2413            index += 48 / 8;
2414            break;
2415#endif
2416#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2417        case CSR_MLME_RESET_CONFIRM_ID:
2418            sig->u.MlmeResetConfirm.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2419            index += SIZEOF_UINT16;
2420            sig->u.MlmeResetConfirm.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2421            index += SIZEOF_UINT16;
2422            sig->u.MlmeResetConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2423            index += SIZEOF_UINT16;
2424            sig->u.MlmeResetConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2425            index += SIZEOF_UINT16;
2426            sig->u.MlmeResetConfirm.ResultCode = (CSR_RESULT_CODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2427            index += SIZEOF_UINT16;
2428            break;
2429#endif
2430#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2431        case CSR_MLME_HL_SYNC_CONFIRM_ID:
2432            sig->u.MlmeHlSyncConfirm.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2433            index += SIZEOF_UINT16;
2434            sig->u.MlmeHlSyncConfirm.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2435            index += SIZEOF_UINT16;
2436            sig->u.MlmeHlSyncConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2437            index += SIZEOF_UINT16;
2438            sig->u.MlmeHlSyncConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2439            index += SIZEOF_UINT16;
2440            memcpy(sig->u.MlmeHlSyncConfirm.GroupAddress.x, &ptr[index], 48 / 8);
2441            index += 48 / 8;
2442            sig->u.MlmeHlSyncConfirm.ResultCode = (CSR_RESULT_CODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2443            index += SIZEOF_UINT16;
2444            break;
2445#endif
2446#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2447        case CSR_MLME_ADD_AUTONOMOUS_SCAN_REQUEST_ID:
2448            sig->u.MlmeAddAutonomousScanRequest.ChannelList.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2449            index += SIZEOF_UINT16;
2450            sig->u.MlmeAddAutonomousScanRequest.ChannelList.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2451            index += SIZEOF_UINT16;
2452            sig->u.MlmeAddAutonomousScanRequest.InformationElements.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2453            index += SIZEOF_UINT16;
2454            sig->u.MlmeAddAutonomousScanRequest.InformationElements.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2455            index += SIZEOF_UINT16;
2456            sig->u.MlmeAddAutonomousScanRequest.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2457            index += SIZEOF_UINT16;
2458            sig->u.MlmeAddAutonomousScanRequest.AutonomousScanId = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2459            index += SIZEOF_UINT16;
2460            sig->u.MlmeAddAutonomousScanRequest.Ifindex = (CSR_IFINTERFACE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2461            index += SIZEOF_UINT16;
2462            sig->u.MlmeAddAutonomousScanRequest.ChannelStartingFactor = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2463            index += SIZEOF_UINT16;
2464            sig->u.MlmeAddAutonomousScanRequest.ScanType = (CSR_SCAN_TYPE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2465            index += SIZEOF_UINT16;
2466            sig->u.MlmeAddAutonomousScanRequest.ProbeDelay = CSR_GET_UINT32_FROM_LITTLE_ENDIAN(ptr + index);
2467            index += SIZEOF_UINT32;
2468            sig->u.MlmeAddAutonomousScanRequest.MinChannelTime = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2469            index += SIZEOF_UINT16;
2470            sig->u.MlmeAddAutonomousScanRequest.MaxChannelTime = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2471            index += SIZEOF_UINT16;
2472            break;
2473#endif
2474#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2475        case CSR_MLME_SET_REQUEST_ID:
2476            sig->u.MlmeSetRequest.MibAttributeValue.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2477            index += SIZEOF_UINT16;
2478            sig->u.MlmeSetRequest.MibAttributeValue.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2479            index += SIZEOF_UINT16;
2480            sig->u.MlmeSetRequest.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2481            index += SIZEOF_UINT16;
2482            sig->u.MlmeSetRequest.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2483            index += SIZEOF_UINT16;
2484            break;
2485#endif
2486#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2487        case CSR_MLME_SM_START_REQUEST_ID:
2488            sig->u.MlmeSmStartRequest.Beacon.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2489            index += SIZEOF_UINT16;
2490            sig->u.MlmeSmStartRequest.Beacon.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2491            index += SIZEOF_UINT16;
2492            sig->u.MlmeSmStartRequest.BssParameters.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2493            index += SIZEOF_UINT16;
2494            sig->u.MlmeSmStartRequest.BssParameters.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2495            index += SIZEOF_UINT16;
2496            sig->u.MlmeSmStartRequest.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2497            index += SIZEOF_UINT16;
2498            sig->u.MlmeSmStartRequest.Ifindex = (CSR_IFINTERFACE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2499            index += SIZEOF_UINT16;
2500            sig->u.MlmeSmStartRequest.Channel = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2501            index += SIZEOF_UINT16;
2502            memcpy(sig->u.MlmeSmStartRequest.InterfaceAddress.x, &ptr[index], 48 / 8);
2503            index += 48 / 8;
2504            memcpy(sig->u.MlmeSmStartRequest.Bssid.x, &ptr[index], 48 / 8);
2505            index += 48 / 8;
2506            sig->u.MlmeSmStartRequest.BeaconPeriod = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2507            index += SIZEOF_UINT16;
2508            sig->u.MlmeSmStartRequest.DtimPeriod = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2509            index += SIZEOF_UINT16;
2510            sig->u.MlmeSmStartRequest.CapabilityInformation = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2511            index += SIZEOF_UINT16;
2512            break;
2513#endif
2514#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2515        case CSR_MLME_CONNECT_STATUS_CONFIRM_ID:
2516            sig->u.MlmeConnectStatusConfirm.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2517            index += SIZEOF_UINT16;
2518            sig->u.MlmeConnectStatusConfirm.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2519            index += SIZEOF_UINT16;
2520            sig->u.MlmeConnectStatusConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2521            index += SIZEOF_UINT16;
2522            sig->u.MlmeConnectStatusConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2523            index += SIZEOF_UINT16;
2524            sig->u.MlmeConnectStatusConfirm.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2525            index += SIZEOF_UINT16;
2526            sig->u.MlmeConnectStatusConfirm.ResultCode = (CSR_RESULT_CODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2527            index += SIZEOF_UINT16;
2528            break;
2529#endif
2530#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2531        case CSR_MLME_DEL_AUTONOMOUS_SCAN_CONFIRM_ID:
2532            sig->u.MlmeDelAutonomousScanConfirm.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2533            index += SIZEOF_UINT16;
2534            sig->u.MlmeDelAutonomousScanConfirm.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2535            index += SIZEOF_UINT16;
2536            sig->u.MlmeDelAutonomousScanConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2537            index += SIZEOF_UINT16;
2538            sig->u.MlmeDelAutonomousScanConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2539            index += SIZEOF_UINT16;
2540            sig->u.MlmeDelAutonomousScanConfirm.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2541            index += SIZEOF_UINT16;
2542            sig->u.MlmeDelAutonomousScanConfirm.ResultCode = (CSR_RESULT_CODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2543            index += SIZEOF_UINT16;
2544            sig->u.MlmeDelAutonomousScanConfirm.AutonomousScanId = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2545            index += SIZEOF_UINT16;
2546            break;
2547#endif
2548#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2549        case CSR_MLME_DEL_PERIODIC_REQUEST_ID:
2550            sig->u.MlmeDelPeriodicRequest.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2551            index += SIZEOF_UINT16;
2552            sig->u.MlmeDelPeriodicRequest.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2553            index += SIZEOF_UINT16;
2554            sig->u.MlmeDelPeriodicRequest.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2555            index += SIZEOF_UINT16;
2556            sig->u.MlmeDelPeriodicRequest.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2557            index += SIZEOF_UINT16;
2558            sig->u.MlmeDelPeriodicRequest.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2559            index += SIZEOF_UINT16;
2560            sig->u.MlmeDelPeriodicRequest.PeriodicId = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2561            index += SIZEOF_UINT16;
2562            break;
2563#endif
2564#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2565        case CSR_MLME_SETKEYS_REQUEST_ID:
2566            sig->u.MlmeSetkeysRequest.Key.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2567            index += SIZEOF_UINT16;
2568            sig->u.MlmeSetkeysRequest.Key.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2569            index += SIZEOF_UINT16;
2570            sig->u.MlmeSetkeysRequest.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2571            index += SIZEOF_UINT16;
2572            sig->u.MlmeSetkeysRequest.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2573            index += SIZEOF_UINT16;
2574            sig->u.MlmeSetkeysRequest.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2575            index += SIZEOF_UINT16;
2576            sig->u.MlmeSetkeysRequest.Length = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2577            index += SIZEOF_UINT16;
2578            sig->u.MlmeSetkeysRequest.KeyId = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2579            index += SIZEOF_UINT16;
2580            sig->u.MlmeSetkeysRequest.KeyType = (CSR_KEY_TYPE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2581            index += SIZEOF_UINT16;
2582            memcpy(sig->u.MlmeSetkeysRequest.Address.x, &ptr[index], 48 / 8);
2583            index += 48 / 8;
2584            sig->u.MlmeSetkeysRequest.SequenceNumber[0] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2585            index += SIZEOF_UINT16;
2586            sig->u.MlmeSetkeysRequest.SequenceNumber[1] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2587            index += SIZEOF_UINT16;
2588            sig->u.MlmeSetkeysRequest.SequenceNumber[2] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2589            index += SIZEOF_UINT16;
2590            sig->u.MlmeSetkeysRequest.SequenceNumber[3] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2591            index += SIZEOF_UINT16;
2592            sig->u.MlmeSetkeysRequest.SequenceNumber[4] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2593            index += SIZEOF_UINT16;
2594            sig->u.MlmeSetkeysRequest.SequenceNumber[5] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2595            index += SIZEOF_UINT16;
2596            sig->u.MlmeSetkeysRequest.SequenceNumber[6] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2597            index += SIZEOF_UINT16;
2598            sig->u.MlmeSetkeysRequest.SequenceNumber[7] = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2599            index += SIZEOF_UINT16;
2600            memcpy(&sig->u.MlmeSetkeysRequest.CipherSuiteSelector, &ptr[index], 32 / 8);
2601            index += 32 / 8;
2602            break;
2603#endif
2604#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2605        case CSR_MLME_PAUSE_AUTONOMOUS_SCAN_REQUEST_ID:
2606            sig->u.MlmePauseAutonomousScanRequest.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2607            index += SIZEOF_UINT16;
2608            sig->u.MlmePauseAutonomousScanRequest.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2609            index += SIZEOF_UINT16;
2610            sig->u.MlmePauseAutonomousScanRequest.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2611            index += SIZEOF_UINT16;
2612            sig->u.MlmePauseAutonomousScanRequest.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2613            index += SIZEOF_UINT16;
2614            sig->u.MlmePauseAutonomousScanRequest.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2615            index += SIZEOF_UINT16;
2616            sig->u.MlmePauseAutonomousScanRequest.AutonomousScanId = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2617            index += SIZEOF_UINT16;
2618            sig->u.MlmePauseAutonomousScanRequest.Pause = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2619            index += SIZEOF_UINT16;
2620            break;
2621#endif
2622#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2623        case CSR_MLME_GET_REQUEST_ID:
2624            sig->u.MlmeGetRequest.MibAttribute.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2625            index += SIZEOF_UINT16;
2626            sig->u.MlmeGetRequest.MibAttribute.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2627            index += SIZEOF_UINT16;
2628            sig->u.MlmeGetRequest.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2629            index += SIZEOF_UINT16;
2630            sig->u.MlmeGetRequest.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2631            index += SIZEOF_UINT16;
2632            break;
2633#endif
2634#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2635        case CSR_MLME_POWERMGT_REQUEST_ID:
2636            sig->u.MlmePowermgtRequest.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2637            index += SIZEOF_UINT16;
2638            sig->u.MlmePowermgtRequest.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2639            index += SIZEOF_UINT16;
2640            sig->u.MlmePowermgtRequest.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2641            index += SIZEOF_UINT16;
2642            sig->u.MlmePowermgtRequest.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2643            index += SIZEOF_UINT16;
2644            sig->u.MlmePowermgtRequest.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2645            index += SIZEOF_UINT16;
2646            sig->u.MlmePowermgtRequest.PowerManagementMode = (CSR_POWER_MANAGEMENT_MODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2647            index += SIZEOF_UINT16;
2648            sig->u.MlmePowermgtRequest.ReceiveDtims = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2649            index += SIZEOF_UINT16;
2650            sig->u.MlmePowermgtRequest.ListenInterval = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2651            index += SIZEOF_UINT16;
2652            sig->u.MlmePowermgtRequest.TrafficWindow = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2653            index += SIZEOF_UINT16;
2654            break;
2655#endif
2656        case CSR_MA_PACKET_ERROR_INDICATION_ID:
2657            sig->u.MaPacketErrorIndication.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2658            index += SIZEOF_UINT16;
2659            sig->u.MaPacketErrorIndication.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2660            index += SIZEOF_UINT16;
2661            sig->u.MaPacketErrorIndication.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2662            index += SIZEOF_UINT16;
2663            sig->u.MaPacketErrorIndication.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2664            index += SIZEOF_UINT16;
2665            sig->u.MaPacketErrorIndication.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2666            index += SIZEOF_UINT16;
2667            memcpy(sig->u.MaPacketErrorIndication.PeerQstaAddress.x, &ptr[index], 48 / 8);
2668            index += 48 / 8;
2669            sig->u.MaPacketErrorIndication.UserPriority = (CSR_PRIORITY) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2670            index += SIZEOF_UINT16;
2671            sig->u.MaPacketErrorIndication.SequenceNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2672            index += SIZEOF_UINT16;
2673            break;
2674#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2675        case CSR_MLME_ADD_PERIODIC_REQUEST_ID:
2676            sig->u.MlmeAddPeriodicRequest.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2677            index += SIZEOF_UINT16;
2678            sig->u.MlmeAddPeriodicRequest.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2679            index += SIZEOF_UINT16;
2680            sig->u.MlmeAddPeriodicRequest.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2681            index += SIZEOF_UINT16;
2682            sig->u.MlmeAddPeriodicRequest.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2683            index += SIZEOF_UINT16;
2684            sig->u.MlmeAddPeriodicRequest.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2685            index += SIZEOF_UINT16;
2686            sig->u.MlmeAddPeriodicRequest.PeriodicId = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2687            index += SIZEOF_UINT16;
2688            sig->u.MlmeAddPeriodicRequest.MaximumLatency = CSR_GET_UINT32_FROM_LITTLE_ENDIAN(ptr + index);
2689            index += SIZEOF_UINT32;
2690            sig->u.MlmeAddPeriodicRequest.PeriodicSchedulingMode = (CSR_PERIODIC_SCHEDULING_MODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2691            index += SIZEOF_UINT16;
2692            sig->u.MlmeAddPeriodicRequest.WakeHost = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2693            index += SIZEOF_UINT16;
2694            sig->u.MlmeAddPeriodicRequest.UserPriority = (CSR_PRIORITY) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2695            index += SIZEOF_UINT16;
2696            break;
2697#endif
2698#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2699        case CSR_MLME_ADD_TSPEC_REQUEST_ID:
2700            sig->u.MlmeAddTspecRequest.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2701            index += SIZEOF_UINT16;
2702            sig->u.MlmeAddTspecRequest.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2703            index += SIZEOF_UINT16;
2704            sig->u.MlmeAddTspecRequest.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2705            index += SIZEOF_UINT16;
2706            sig->u.MlmeAddTspecRequest.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2707            index += SIZEOF_UINT16;
2708            sig->u.MlmeAddTspecRequest.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2709            index += SIZEOF_UINT16;
2710            sig->u.MlmeAddTspecRequest.UserPriority = (CSR_PRIORITY) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2711            index += SIZEOF_UINT16;
2712            sig->u.MlmeAddTspecRequest.Direction = (CSR_DIRECTION) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2713            index += SIZEOF_UINT16;
2714            sig->u.MlmeAddTspecRequest.PsScheme = (CSR_PS_SCHEME) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2715            index += SIZEOF_UINT16;
2716            sig->u.MlmeAddTspecRequest.MediumTime = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2717            index += SIZEOF_UINT16;
2718            sig->u.MlmeAddTspecRequest.ServiceStartTime = CSR_GET_UINT32_FROM_LITTLE_ENDIAN(ptr + index);
2719            index += SIZEOF_UINT32;
2720            sig->u.MlmeAddTspecRequest.ServiceInterval = CSR_GET_UINT32_FROM_LITTLE_ENDIAN(ptr + index);
2721            index += SIZEOF_UINT32;
2722            sig->u.MlmeAddTspecRequest.MinimumDataRate = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2723            index += SIZEOF_UINT16;
2724            break;
2725#endif
2726#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2727        case CSR_MLME_ADD_MULTICAST_ADDRESS_CONFIRM_ID:
2728            sig->u.MlmeAddMulticastAddressConfirm.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2729            index += SIZEOF_UINT16;
2730            sig->u.MlmeAddMulticastAddressConfirm.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2731            index += SIZEOF_UINT16;
2732            sig->u.MlmeAddMulticastAddressConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2733            index += SIZEOF_UINT16;
2734            sig->u.MlmeAddMulticastAddressConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2735            index += SIZEOF_UINT16;
2736            sig->u.MlmeAddMulticastAddressConfirm.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2737            index += SIZEOF_UINT16;
2738            sig->u.MlmeAddMulticastAddressConfirm.ResultCode = (CSR_RESULT_CODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2739            index += SIZEOF_UINT16;
2740            break;
2741#endif
2742#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2743        case CSR_MLME_ADD_TSPEC_CONFIRM_ID:
2744            sig->u.MlmeAddTspecConfirm.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2745            index += SIZEOF_UINT16;
2746            sig->u.MlmeAddTspecConfirm.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2747            index += SIZEOF_UINT16;
2748            sig->u.MlmeAddTspecConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2749            index += SIZEOF_UINT16;
2750            sig->u.MlmeAddTspecConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2751            index += SIZEOF_UINT16;
2752            sig->u.MlmeAddTspecConfirm.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2753            index += SIZEOF_UINT16;
2754            sig->u.MlmeAddTspecConfirm.UserPriority = (CSR_PRIORITY) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2755            index += SIZEOF_UINT16;
2756            sig->u.MlmeAddTspecConfirm.ResultCode = (CSR_RESULT_CODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2757            index += SIZEOF_UINT16;
2758            break;
2759#endif
2760#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2761        case CSR_MLME_HL_SYNC_CANCEL_CONFIRM_ID:
2762            sig->u.MlmeHlSyncCancelConfirm.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2763            index += SIZEOF_UINT16;
2764            sig->u.MlmeHlSyncCancelConfirm.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2765            index += SIZEOF_UINT16;
2766            sig->u.MlmeHlSyncCancelConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2767            index += SIZEOF_UINT16;
2768            sig->u.MlmeHlSyncCancelConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2769            index += SIZEOF_UINT16;
2770            sig->u.MlmeHlSyncCancelConfirm.ResultCode = (CSR_RESULT_CODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2771            index += SIZEOF_UINT16;
2772            break;
2773#endif
2774#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2775        case CSR_MLME_SCAN_CONFIRM_ID:
2776            sig->u.MlmeScanConfirm.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2777            index += SIZEOF_UINT16;
2778            sig->u.MlmeScanConfirm.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2779            index += SIZEOF_UINT16;
2780            sig->u.MlmeScanConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2781            index += SIZEOF_UINT16;
2782            sig->u.MlmeScanConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2783            index += SIZEOF_UINT16;
2784            sig->u.MlmeScanConfirm.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2785            index += SIZEOF_UINT16;
2786            sig->u.MlmeScanConfirm.ResultCode = (CSR_RESULT_CODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2787            index += SIZEOF_UINT16;
2788            break;
2789#endif
2790        case CSR_DEBUG_STRING_INDICATION_ID:
2791            sig->u.DebugStringIndication.DebugMessage.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2792            index += SIZEOF_UINT16;
2793            sig->u.DebugStringIndication.DebugMessage.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2794            index += SIZEOF_UINT16;
2795            sig->u.DebugStringIndication.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2796            index += SIZEOF_UINT16;
2797            sig->u.DebugStringIndication.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2798            index += SIZEOF_UINT16;
2799            break;
2800#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2801        case CSR_MLME_ADD_TEMPLATE_CONFIRM_ID:
2802            sig->u.MlmeAddTemplateConfirm.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2803            index += SIZEOF_UINT16;
2804            sig->u.MlmeAddTemplateConfirm.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2805            index += SIZEOF_UINT16;
2806            sig->u.MlmeAddTemplateConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2807            index += SIZEOF_UINT16;
2808            sig->u.MlmeAddTemplateConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2809            index += SIZEOF_UINT16;
2810            sig->u.MlmeAddTemplateConfirm.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2811            index += SIZEOF_UINT16;
2812            sig->u.MlmeAddTemplateConfirm.FrameType = (CSR_FRAME_TYPE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2813            index += SIZEOF_UINT16;
2814            sig->u.MlmeAddTemplateConfirm.ResultCode = (CSR_RESULT_CODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2815            index += SIZEOF_UINT16;
2816            break;
2817#endif
2818#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2819        case CSR_MLME_BLOCKACK_ERROR_INDICATION_ID:
2820            sig->u.MlmeBlockackErrorIndication.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2821            index += SIZEOF_UINT16;
2822            sig->u.MlmeBlockackErrorIndication.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2823            index += SIZEOF_UINT16;
2824            sig->u.MlmeBlockackErrorIndication.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2825            index += SIZEOF_UINT16;
2826            sig->u.MlmeBlockackErrorIndication.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2827            index += SIZEOF_UINT16;
2828            sig->u.MlmeBlockackErrorIndication.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2829            index += SIZEOF_UINT16;
2830            sig->u.MlmeBlockackErrorIndication.ResultCode = (CSR_REASON_CODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2831            index += SIZEOF_UINT16;
2832            memcpy(sig->u.MlmeBlockackErrorIndication.PeerQstaAddress.x, &ptr[index], 48 / 8);
2833            index += 48 / 8;
2834            break;
2835#endif
2836#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2837        case CSR_MLME_SET_CONFIRM_ID:
2838            sig->u.MlmeSetConfirm.MibAttributeValue.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2839            index += SIZEOF_UINT16;
2840            sig->u.MlmeSetConfirm.MibAttributeValue.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2841            index += SIZEOF_UINT16;
2842            sig->u.MlmeSetConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2843            index += SIZEOF_UINT16;
2844            sig->u.MlmeSetConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2845            index += SIZEOF_UINT16;
2846            sig->u.MlmeSetConfirm.Status = (CSR_MIB_STATUS) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2847            index += SIZEOF_UINT16;
2848            sig->u.MlmeSetConfirm.ErrorIndex = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2849            index += SIZEOF_UINT16;
2850            break;
2851#endif
2852#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2853        case CSR_MLME_MEASURE_REQUEST_ID:
2854            sig->u.MlmeMeasureRequest.MeasurementRequestSet.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2855            index += SIZEOF_UINT16;
2856            sig->u.MlmeMeasureRequest.MeasurementRequestSet.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2857            index += SIZEOF_UINT16;
2858            sig->u.MlmeMeasureRequest.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2859            index += SIZEOF_UINT16;
2860            sig->u.MlmeMeasureRequest.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2861            index += SIZEOF_UINT16;
2862            sig->u.MlmeMeasureRequest.DialogToken = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2863            index += SIZEOF_UINT16;
2864            break;
2865#endif
2866#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2867        case CSR_MLME_START_AGGREGATION_CONFIRM_ID:
2868            sig->u.MlmeStartAggregationConfirm.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2869            index += SIZEOF_UINT16;
2870            sig->u.MlmeStartAggregationConfirm.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2871            index += SIZEOF_UINT16;
2872            sig->u.MlmeStartAggregationConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2873            index += SIZEOF_UINT16;
2874            sig->u.MlmeStartAggregationConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2875            index += SIZEOF_UINT16;
2876            sig->u.MlmeStartAggregationConfirm.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2877            index += SIZEOF_UINT16;
2878            memcpy(sig->u.MlmeStartAggregationConfirm.PeerQstaAddress.x, &ptr[index], 48 / 8);
2879            index += 48 / 8;
2880            sig->u.MlmeStartAggregationConfirm.UserPriority = (CSR_PRIORITY) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2881            index += SIZEOF_UINT16;
2882            sig->u.MlmeStartAggregationConfirm.Direction = (CSR_DIRECTION) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2883            index += SIZEOF_UINT16;
2884            sig->u.MlmeStartAggregationConfirm.ResultCode = (CSR_RESULT_CODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2885            index += SIZEOF_UINT16;
2886            sig->u.MlmeStartAggregationConfirm.SequenceNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2887            index += SIZEOF_UINT16;
2888            break;
2889#endif
2890#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2891        case CSR_MLME_STOP_MEASURE_CONFIRM_ID:
2892            sig->u.MlmeStopMeasureConfirm.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2893            index += SIZEOF_UINT16;
2894            sig->u.MlmeStopMeasureConfirm.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2895            index += SIZEOF_UINT16;
2896            sig->u.MlmeStopMeasureConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2897            index += SIZEOF_UINT16;
2898            sig->u.MlmeStopMeasureConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2899            index += SIZEOF_UINT16;
2900            sig->u.MlmeStopMeasureConfirm.ResultCode = (CSR_RESULT_CODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2901            index += SIZEOF_UINT16;
2902            sig->u.MlmeStopMeasureConfirm.DialogToken = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2903            index += SIZEOF_UINT16;
2904            break;
2905#endif
2906        case CSR_MA_PACKET_CONFIRM_ID:
2907            sig->u.MaPacketConfirm.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2908            index += SIZEOF_UINT16;
2909            sig->u.MaPacketConfirm.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2910            index += SIZEOF_UINT16;
2911            sig->u.MaPacketConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2912            index += SIZEOF_UINT16;
2913            sig->u.MaPacketConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2914            index += SIZEOF_UINT16;
2915            sig->u.MaPacketConfirm.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2916            index += SIZEOF_UINT16;
2917            sig->u.MaPacketConfirm.TransmissionStatus = (CSR_TRANSMISSION_STATUS) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2918            index += SIZEOF_UINT16;
2919            sig->u.MaPacketConfirm.RetryCount = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2920            index += SIZEOF_UINT16;
2921            sig->u.MaPacketConfirm.Rate = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2922            index += SIZEOF_UINT16;
2923            sig->u.MaPacketConfirm.HostTag = CSR_GET_UINT32_FROM_LITTLE_ENDIAN(ptr + index);
2924            index += SIZEOF_UINT32;
2925            break;
2926#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2927        case CSR_MLME_DEL_PERIODIC_CONFIRM_ID:
2928            sig->u.MlmeDelPeriodicConfirm.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2929            index += SIZEOF_UINT16;
2930            sig->u.MlmeDelPeriodicConfirm.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2931            index += SIZEOF_UINT16;
2932            sig->u.MlmeDelPeriodicConfirm.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2933            index += SIZEOF_UINT16;
2934            sig->u.MlmeDelPeriodicConfirm.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2935            index += SIZEOF_UINT16;
2936            sig->u.MlmeDelPeriodicConfirm.VirtualInterfaceIdentifier = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2937            index += SIZEOF_UINT16;
2938            sig->u.MlmeDelPeriodicConfirm.PeriodicId = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2939            index += SIZEOF_UINT16;
2940            sig->u.MlmeDelPeriodicConfirm.ResultCode = (CSR_RESULT_CODE) CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2941            index += SIZEOF_UINT16;
2942            break;
2943#endif
2944#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2945        case CSR_MLME_STOP_MEASURE_REQUEST_ID:
2946            sig->u.MlmeStopMeasureRequest.Dummydataref1.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2947            index += SIZEOF_UINT16;
2948            sig->u.MlmeStopMeasureRequest.Dummydataref1.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2949            index += SIZEOF_UINT16;
2950            sig->u.MlmeStopMeasureRequest.Dummydataref2.SlotNumber = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2951            index += SIZEOF_UINT16;
2952            sig->u.MlmeStopMeasureRequest.Dummydataref2.DataLength = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2953            index += SIZEOF_UINT16;
2954            sig->u.MlmeStopMeasureRequest.DialogToken = CSR_GET_UINT16_FROM_LITTLE_ENDIAN(ptr + index);
2955            index += SIZEOF_UINT16;
2956            break;
2957#endif
2958
2959        default:
2960            return CSR_WIFI_HIP_RESULT_INVALID_VALUE;
2961    }
2962    return CSR_RESULT_SUCCESS;
2963} /* read_unpack_signal() */
2964
2965
2966/*
2967 * ---------------------------------------------------------------------------
2968 * write_pack
2969 *
2970 * Convert a signal structure, in host-native format, to the
2971 * little-endian wire format specified in the UniFi Host Interface
2972 * Protocol Specification.
2973 *
2974 * WARNING: This function is auto-generated, DO NOT EDIT!
2975 *
2976 * Arguments:
2977 * sig Pointer to signal structure to pack.
2978 * ptr Destination buffer to pack into.
2979 * sig_len Returns the length of the packed signal, i.e. the
2980 * number of bytes written to ptr.
2981 *
2982 * Returns:
2983 * CSR_RESULT_SUCCESS on success,
2984 * CSR_WIFI_HIP_RESULT_INVALID_VALUE if the ID of signal was not recognised.
2985 * ---------------------------------------------------------------------------
2986 */
2987CsrResult write_pack(const CSR_SIGNAL *sig, u8 *ptr, u16 *sig_len)
2988{
2989    s16 index = 0;
2990
2991    CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->SignalPrimitiveHeader.SignalId, ptr + index);
2992    index += SIZEOF_UINT16;
2993
2994    CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->SignalPrimitiveHeader.ReceiverProcessId, ptr + index);
2995    index += SIZEOF_UINT16;
2996
2997    CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->SignalPrimitiveHeader.SenderProcessId, ptr + index);
2998    index += SIZEOF_UINT16;
2999
3000    switch (sig->SignalPrimitiveHeader.SignalId)
3001    {
3002#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3003        case CSR_MLME_SET_PACKET_FILTER_CONFIRM_ID:
3004            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetPacketFilterConfirm.Dummydataref1.SlotNumber, ptr + index);
3005            index += SIZEOF_UINT16;
3006            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetPacketFilterConfirm.Dummydataref1.DataLength, ptr + index);
3007            index += SIZEOF_UINT16;
3008            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetPacketFilterConfirm.Dummydataref2.SlotNumber, ptr + index);
3009            index += SIZEOF_UINT16;
3010            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetPacketFilterConfirm.Dummydataref2.DataLength, ptr + index);
3011            index += SIZEOF_UINT16;
3012            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetPacketFilterConfirm.VirtualInterfaceIdentifier, ptr + index);
3013            index += SIZEOF_UINT16;
3014            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetPacketFilterConfirm.ResultCode, ptr + index);
3015            index += SIZEOF_UINT16;
3016            break;
3017#endif
3018#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3019        case CSR_MLME_SETKEYS_CONFIRM_ID:
3020            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetkeysConfirm.Dummydataref1.SlotNumber, ptr + index);
3021            index += SIZEOF_UINT16;
3022            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetkeysConfirm.Dummydataref1.DataLength, ptr + index);
3023            index += SIZEOF_UINT16;
3024            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetkeysConfirm.Dummydataref2.SlotNumber, ptr + index);
3025            index += SIZEOF_UINT16;
3026            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetkeysConfirm.Dummydataref2.DataLength, ptr + index);
3027            index += SIZEOF_UINT16;
3028            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetkeysConfirm.VirtualInterfaceIdentifier, ptr + index);
3029            index += SIZEOF_UINT16;
3030            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetkeysConfirm.ResultCode, ptr + index);
3031            index += SIZEOF_UINT16;
3032            break;
3033#endif
3034#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3035        case CSR_MLME_CONFIG_QUEUE_CONFIRM_ID:
3036            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeConfigQueueConfirm.Dummydataref1.SlotNumber, ptr + index);
3037            index += SIZEOF_UINT16;
3038            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeConfigQueueConfirm.Dummydataref1.DataLength, ptr + index);
3039            index += SIZEOF_UINT16;
3040            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeConfigQueueConfirm.Dummydataref2.SlotNumber, ptr + index);
3041            index += SIZEOF_UINT16;
3042            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeConfigQueueConfirm.Dummydataref2.DataLength, ptr + index);
3043            index += SIZEOF_UINT16;
3044            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeConfigQueueConfirm.ResultCode, ptr + index);
3045            index += SIZEOF_UINT16;
3046            break;
3047#endif
3048#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3049        case CSR_MLME_ADD_AUTONOMOUS_SCAN_CONFIRM_ID:
3050            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddAutonomousScanConfirm.Dummydataref1.SlotNumber, ptr + index);
3051            index += SIZEOF_UINT16;
3052            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddAutonomousScanConfirm.Dummydataref1.DataLength, ptr + index);
3053            index += SIZEOF_UINT16;
3054            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddAutonomousScanConfirm.Dummydataref2.SlotNumber, ptr + index);
3055            index += SIZEOF_UINT16;
3056            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddAutonomousScanConfirm.Dummydataref2.DataLength, ptr + index);
3057            index += SIZEOF_UINT16;
3058            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddAutonomousScanConfirm.VirtualInterfaceIdentifier, ptr + index);
3059            index += SIZEOF_UINT16;
3060            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddAutonomousScanConfirm.ResultCode, ptr + index);
3061            index += SIZEOF_UINT16;
3062            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddAutonomousScanConfirm.AutonomousScanId, ptr + index);
3063            index += SIZEOF_UINT16;
3064            break;
3065#endif
3066#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3067        case CSR_MLME_ADD_BLACKOUT_CONFIRM_ID:
3068            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddBlackoutConfirm.Dummydataref1.SlotNumber, ptr + index);
3069            index += SIZEOF_UINT16;
3070            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddBlackoutConfirm.Dummydataref1.DataLength, ptr + index);
3071            index += SIZEOF_UINT16;
3072            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddBlackoutConfirm.Dummydataref2.SlotNumber, ptr + index);
3073            index += SIZEOF_UINT16;
3074            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddBlackoutConfirm.Dummydataref2.DataLength, ptr + index);
3075            index += SIZEOF_UINT16;
3076            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddBlackoutConfirm.VirtualInterfaceIdentifier, ptr + index);
3077            index += SIZEOF_UINT16;
3078            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddBlackoutConfirm.BlackoutId, ptr + index);
3079            index += SIZEOF_UINT16;
3080            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddBlackoutConfirm.ResultCode, ptr + index);
3081            index += SIZEOF_UINT16;
3082            break;
3083#endif
3084#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3085        case CSR_MLME_DEL_BLACKOUT_REQUEST_ID:
3086            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelBlackoutRequest.Dummydataref1.SlotNumber, ptr + index);
3087            index += SIZEOF_UINT16;
3088            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelBlackoutRequest.Dummydataref1.DataLength, ptr + index);
3089            index += SIZEOF_UINT16;
3090            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelBlackoutRequest.Dummydataref2.SlotNumber, ptr + index);
3091            index += SIZEOF_UINT16;
3092            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelBlackoutRequest.Dummydataref2.DataLength, ptr + index);
3093            index += SIZEOF_UINT16;
3094            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelBlackoutRequest.VirtualInterfaceIdentifier, ptr + index);
3095            index += SIZEOF_UINT16;
3096            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelBlackoutRequest.BlackoutId, ptr + index);
3097            index += SIZEOF_UINT16;
3098            break;
3099#endif
3100#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3101        case CSR_MLME_GET_KEY_SEQUENCE_CONFIRM_ID:
3102            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetKeySequenceConfirm.Dummydataref1.SlotNumber, ptr + index);
3103            index += SIZEOF_UINT16;
3104            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetKeySequenceConfirm.Dummydataref1.DataLength, ptr + index);
3105            index += SIZEOF_UINT16;
3106            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetKeySequenceConfirm.Dummydataref2.SlotNumber, ptr + index);
3107            index += SIZEOF_UINT16;
3108            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetKeySequenceConfirm.Dummydataref2.DataLength, ptr + index);
3109            index += SIZEOF_UINT16;
3110            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetKeySequenceConfirm.VirtualInterfaceIdentifier, ptr + index);
3111            index += SIZEOF_UINT16;
3112            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetKeySequenceConfirm.ResultCode, ptr + index);
3113            index += SIZEOF_UINT16;
3114            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetKeySequenceConfirm.SequenceNumber[0], ptr + index);
3115            index += SIZEOF_UINT16;
3116            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetKeySequenceConfirm.SequenceNumber[1], ptr + index);
3117            index += SIZEOF_UINT16;
3118            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetKeySequenceConfirm.SequenceNumber[2], ptr + index);
3119            index += SIZEOF_UINT16;
3120            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetKeySequenceConfirm.SequenceNumber[3], ptr + index);
3121            index += SIZEOF_UINT16;
3122            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetKeySequenceConfirm.SequenceNumber[4], ptr + index);
3123            index += SIZEOF_UINT16;
3124            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetKeySequenceConfirm.SequenceNumber[5], ptr + index);
3125            index += SIZEOF_UINT16;
3126            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetKeySequenceConfirm.SequenceNumber[6], ptr + index);
3127            index += SIZEOF_UINT16;
3128            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetKeySequenceConfirm.SequenceNumber[7], ptr + index);
3129            index += SIZEOF_UINT16;
3130            break;
3131#endif
3132#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3133        case CSR_MLME_SM_START_CONFIRM_ID:
3134            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSmStartConfirm.Dummydataref1.SlotNumber, ptr + index);
3135            index += SIZEOF_UINT16;
3136            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSmStartConfirm.Dummydataref1.DataLength, ptr + index);
3137            index += SIZEOF_UINT16;
3138            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSmStartConfirm.Dummydataref2.SlotNumber, ptr + index);
3139            index += SIZEOF_UINT16;
3140            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSmStartConfirm.Dummydataref2.DataLength, ptr + index);
3141            index += SIZEOF_UINT16;
3142            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSmStartConfirm.VirtualInterfaceIdentifier, ptr + index);
3143            index += SIZEOF_UINT16;
3144            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSmStartConfirm.ResultCode, ptr + index);
3145            index += SIZEOF_UINT16;
3146            break;
3147#endif
3148#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3149        case CSR_MLME_STOP_AGGREGATION_CONFIRM_ID:
3150            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeStopAggregationConfirm.Dummydataref1.SlotNumber, ptr + index);
3151            index += SIZEOF_UINT16;
3152            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeStopAggregationConfirm.Dummydataref1.DataLength, ptr + index);
3153            index += SIZEOF_UINT16;
3154            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeStopAggregationConfirm.Dummydataref2.SlotNumber, ptr + index);
3155            index += SIZEOF_UINT16;
3156            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeStopAggregationConfirm.Dummydataref2.DataLength, ptr + index);
3157            index += SIZEOF_UINT16;
3158            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeStopAggregationConfirm.VirtualInterfaceIdentifier, ptr + index);
3159            index += SIZEOF_UINT16;
3160            memcpy(ptr + index, sig->u.MlmeStopAggregationConfirm.PeerQstaAddress.x, 48 / 8);
3161            index += 48 / 8;
3162            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeStopAggregationConfirm.UserPriority, ptr + index);
3163            index += SIZEOF_UINT16;
3164            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeStopAggregationConfirm.Direction, ptr + index);
3165            index += SIZEOF_UINT16;
3166            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeStopAggregationConfirm.ResultCode, ptr + index);
3167            index += SIZEOF_UINT16;
3168            break;
3169#endif
3170#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3171        case CSR_MLME_DEL_TSPEC_REQUEST_ID:
3172            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelTspecRequest.Dummydataref1.SlotNumber, ptr + index);
3173            index += SIZEOF_UINT16;
3174            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelTspecRequest.Dummydataref1.DataLength, ptr + index);
3175            index += SIZEOF_UINT16;
3176            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelTspecRequest.Dummydataref2.SlotNumber, ptr + index);
3177            index += SIZEOF_UINT16;
3178            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelTspecRequest.Dummydataref2.DataLength, ptr + index);
3179            index += SIZEOF_UINT16;
3180            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelTspecRequest.VirtualInterfaceIdentifier, ptr + index);
3181            index += SIZEOF_UINT16;
3182            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelTspecRequest.UserPriority, ptr + index);
3183            index += SIZEOF_UINT16;
3184            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelTspecRequest.Direction, ptr + index);
3185            index += SIZEOF_UINT16;
3186            break;
3187#endif
3188        case CSR_DEBUG_WORD16_INDICATION_ID:
3189            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugWord16Indication.Dummydataref1.SlotNumber, ptr + index);
3190            index += SIZEOF_UINT16;
3191            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugWord16Indication.Dummydataref1.DataLength, ptr + index);
3192            index += SIZEOF_UINT16;
3193            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugWord16Indication.Dummydataref2.SlotNumber, ptr + index);
3194            index += SIZEOF_UINT16;
3195            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugWord16Indication.Dummydataref2.DataLength, ptr + index);
3196            index += SIZEOF_UINT16;
3197            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugWord16Indication.DebugWords[0], ptr + index);
3198            index += SIZEOF_UINT16;
3199            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugWord16Indication.DebugWords[1], ptr + index);
3200            index += SIZEOF_UINT16;
3201            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugWord16Indication.DebugWords[2], ptr + index);
3202            index += SIZEOF_UINT16;
3203            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugWord16Indication.DebugWords[3], ptr + index);
3204            index += SIZEOF_UINT16;
3205            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugWord16Indication.DebugWords[4], ptr + index);
3206            index += SIZEOF_UINT16;
3207            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugWord16Indication.DebugWords[5], ptr + index);
3208            index += SIZEOF_UINT16;
3209            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugWord16Indication.DebugWords[6], ptr + index);
3210            index += SIZEOF_UINT16;
3211            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugWord16Indication.DebugWords[7], ptr + index);
3212            index += SIZEOF_UINT16;
3213            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugWord16Indication.DebugWords[8], ptr + index);
3214            index += SIZEOF_UINT16;
3215            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugWord16Indication.DebugWords[9], ptr + index);
3216            index += SIZEOF_UINT16;
3217            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugWord16Indication.DebugWords[10], ptr + index);
3218            index += SIZEOF_UINT16;
3219            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugWord16Indication.DebugWords[11], ptr + index);
3220            index += SIZEOF_UINT16;
3221            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugWord16Indication.DebugWords[12], ptr + index);
3222            index += SIZEOF_UINT16;
3223            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugWord16Indication.DebugWords[13], ptr + index);
3224            index += SIZEOF_UINT16;
3225            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugWord16Indication.DebugWords[14], ptr + index);
3226            index += SIZEOF_UINT16;
3227            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugWord16Indication.DebugWords[15], ptr + index);
3228            index += SIZEOF_UINT16;
3229            break;
3230        case CSR_DEBUG_GENERIC_CONFIRM_ID:
3231            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugGenericConfirm.DebugVariable.SlotNumber, ptr + index);
3232            index += SIZEOF_UINT16;
3233            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugGenericConfirm.DebugVariable.DataLength, ptr + index);
3234            index += SIZEOF_UINT16;
3235            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugGenericConfirm.Dummydataref2.SlotNumber, ptr + index);
3236            index += SIZEOF_UINT16;
3237            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugGenericConfirm.Dummydataref2.DataLength, ptr + index);
3238            index += SIZEOF_UINT16;
3239            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugGenericConfirm.DebugWords[0], ptr + index);
3240            index += SIZEOF_UINT16;
3241            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugGenericConfirm.DebugWords[1], ptr + index);
3242            index += SIZEOF_UINT16;
3243            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugGenericConfirm.DebugWords[2], ptr + index);
3244            index += SIZEOF_UINT16;
3245            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugGenericConfirm.DebugWords[3], ptr + index);
3246            index += SIZEOF_UINT16;
3247            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugGenericConfirm.DebugWords[4], ptr + index);
3248            index += SIZEOF_UINT16;
3249            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugGenericConfirm.DebugWords[5], ptr + index);
3250            index += SIZEOF_UINT16;
3251            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugGenericConfirm.DebugWords[6], ptr + index);
3252            index += SIZEOF_UINT16;
3253            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugGenericConfirm.DebugWords[7], ptr + index);
3254            index += SIZEOF_UINT16;
3255            break;
3256        case CSR_MA_PACKET_INDICATION_ID:
3257            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaPacketIndication.Data.SlotNumber, ptr + index);
3258            index += SIZEOF_UINT16;
3259            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaPacketIndication.Data.DataLength, ptr + index);
3260            index += SIZEOF_UINT16;
3261            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaPacketIndication.Dummydataref2.SlotNumber, ptr + index);
3262            index += SIZEOF_UINT16;
3263            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaPacketIndication.Dummydataref2.DataLength, ptr + index);
3264            index += SIZEOF_UINT16;
3265            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaPacketIndication.VirtualInterfaceIdentifier, ptr + index);
3266            index += SIZEOF_UINT16;
3267            memcpy(ptr + index, sig->u.MaPacketIndication.LocalTime.x, 64 / 8);
3268            index += 64 / 8;
3269            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaPacketIndication.Ifindex, ptr + index);
3270            index += SIZEOF_UINT16;
3271            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaPacketIndication.Channel, ptr + index);
3272            index += SIZEOF_UINT16;
3273            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaPacketIndication.ReceptionStatus, ptr + index);
3274            index += SIZEOF_UINT16;
3275            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaPacketIndication.Rssi, ptr + index);
3276            index += SIZEOF_UINT16;
3277            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaPacketIndication.Snr, ptr + index);
3278            index += SIZEOF_UINT16;
3279            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaPacketIndication.ReceivedRate, ptr + index);
3280            index += SIZEOF_UINT16;
3281            break;
3282        case CSR_MLME_SET_TIM_REQUEST_ID:
3283            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetTimRequest.Dummydataref1.SlotNumber, ptr + index);
3284            index += SIZEOF_UINT16;
3285            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetTimRequest.Dummydataref1.DataLength, ptr + index);
3286            index += SIZEOF_UINT16;
3287            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetTimRequest.Dummydataref2.SlotNumber, ptr + index);
3288            index += SIZEOF_UINT16;
3289            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetTimRequest.Dummydataref2.DataLength, ptr + index);
3290            index += SIZEOF_UINT16;
3291            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetTimRequest.VirtualInterfaceIdentifier, ptr + index);
3292            index += SIZEOF_UINT16;
3293            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetTimRequest.AssociationId, ptr + index);
3294            index += SIZEOF_UINT16;
3295            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetTimRequest.TimValue, ptr + index);
3296            index += SIZEOF_UINT16;
3297            break;
3298#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3299        case CSR_MLME_CONNECTED_INDICATION_ID:
3300            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeConnectedIndication.Dummydataref1.SlotNumber, ptr + index);
3301            index += SIZEOF_UINT16;
3302            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeConnectedIndication.Dummydataref1.DataLength, ptr + index);
3303            index += SIZEOF_UINT16;
3304            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeConnectedIndication.Dummydataref2.SlotNumber, ptr + index);
3305            index += SIZEOF_UINT16;
3306            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeConnectedIndication.Dummydataref2.DataLength, ptr + index);
3307            index += SIZEOF_UINT16;
3308            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeConnectedIndication.VirtualInterfaceIdentifier, ptr + index);
3309            index += SIZEOF_UINT16;
3310            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeConnectedIndication.ConnectionStatus, ptr + index);
3311            index += SIZEOF_UINT16;
3312            memcpy(ptr + index, sig->u.MlmeConnectedIndication.PeerMacAddress.x, 48 / 8);
3313            index += 48 / 8;
3314            break;
3315#endif
3316#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3317        case CSR_MLME_DEL_RX_TRIGGER_REQUEST_ID:
3318            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelRxTriggerRequest.Dummydataref1.SlotNumber, ptr + index);
3319            index += SIZEOF_UINT16;
3320            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelRxTriggerRequest.Dummydataref1.DataLength, ptr + index);
3321            index += SIZEOF_UINT16;
3322            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelRxTriggerRequest.Dummydataref2.SlotNumber, ptr + index);
3323            index += SIZEOF_UINT16;
3324            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelRxTriggerRequest.Dummydataref2.DataLength, ptr + index);
3325            index += SIZEOF_UINT16;
3326            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelRxTriggerRequest.VirtualInterfaceIdentifier, ptr + index);
3327            index += SIZEOF_UINT16;
3328            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelRxTriggerRequest.TriggerId, ptr + index);
3329            index += SIZEOF_UINT16;
3330            break;
3331#endif
3332#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3333        case CSR_MLME_TRIGGERED_GET_INDICATION_ID:
3334            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeTriggeredGetIndication.MibAttributeValue.SlotNumber, ptr + index);
3335            index += SIZEOF_UINT16;
3336            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeTriggeredGetIndication.MibAttributeValue.DataLength, ptr + index);
3337            index += SIZEOF_UINT16;
3338            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeTriggeredGetIndication.Dummydataref2.SlotNumber, ptr + index);
3339            index += SIZEOF_UINT16;
3340            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeTriggeredGetIndication.Dummydataref2.DataLength, ptr + index);
3341            index += SIZEOF_UINT16;
3342            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeTriggeredGetIndication.VirtualInterfaceIdentifier, ptr + index);
3343            index += SIZEOF_UINT16;
3344            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeTriggeredGetIndication.Status, ptr + index);
3345            index += SIZEOF_UINT16;
3346            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeTriggeredGetIndication.ErrorIndex, ptr + index);
3347            index += SIZEOF_UINT16;
3348            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeTriggeredGetIndication.TriggeredId, ptr + index);
3349            index += SIZEOF_UINT16;
3350            break;
3351#endif
3352#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3353        case CSR_MLME_SCAN_REQUEST_ID:
3354            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeScanRequest.ChannelList.SlotNumber, ptr + index);
3355            index += SIZEOF_UINT16;
3356            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeScanRequest.ChannelList.DataLength, ptr + index);
3357            index += SIZEOF_UINT16;
3358            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeScanRequest.InformationElements.SlotNumber, ptr + index);
3359            index += SIZEOF_UINT16;
3360            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeScanRequest.InformationElements.DataLength, ptr + index);
3361            index += SIZEOF_UINT16;
3362            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeScanRequest.VirtualInterfaceIdentifier, ptr + index);
3363            index += SIZEOF_UINT16;
3364            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeScanRequest.Ifindex, ptr + index);
3365            index += SIZEOF_UINT16;
3366            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeScanRequest.ScanType, ptr + index);
3367            index += SIZEOF_UINT16;
3368            CSR_COPY_UINT32_TO_LITTLE_ENDIAN(sig->u.MlmeScanRequest.ProbeDelay, ptr + index);
3369            index += SIZEOF_UINT32;
3370            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeScanRequest.MinChannelTime, ptr + index);
3371            index += SIZEOF_UINT16;
3372            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeScanRequest.MaxChannelTime, ptr + index);
3373            index += SIZEOF_UINT16;
3374            break;
3375#endif
3376#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3377        case CSR_MLME_DELETEKEYS_CONFIRM_ID:
3378            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDeletekeysConfirm.Dummydataref1.SlotNumber, ptr + index);
3379            index += SIZEOF_UINT16;
3380            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDeletekeysConfirm.Dummydataref1.DataLength, ptr + index);
3381            index += SIZEOF_UINT16;
3382            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDeletekeysConfirm.Dummydataref2.SlotNumber, ptr + index);
3383            index += SIZEOF_UINT16;
3384            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDeletekeysConfirm.Dummydataref2.DataLength, ptr + index);
3385            index += SIZEOF_UINT16;
3386            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDeletekeysConfirm.VirtualInterfaceIdentifier, ptr + index);
3387            index += SIZEOF_UINT16;
3388            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDeletekeysConfirm.ResultCode, ptr + index);
3389            index += SIZEOF_UINT16;
3390            break;
3391#endif
3392#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3393        case CSR_MLME_GET_NEXT_REQUEST_ID:
3394            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetNextRequest.MibAttribute.SlotNumber, ptr + index);
3395            index += SIZEOF_UINT16;
3396            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetNextRequest.MibAttribute.DataLength, ptr + index);
3397            index += SIZEOF_UINT16;
3398            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetNextRequest.Dummydataref2.SlotNumber, ptr + index);
3399            index += SIZEOF_UINT16;
3400            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetNextRequest.Dummydataref2.DataLength, ptr + index);
3401            index += SIZEOF_UINT16;
3402            break;
3403#endif
3404#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3405        case CSR_MLME_SET_CHANNEL_CONFIRM_ID:
3406            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetChannelConfirm.Dummydataref1.SlotNumber, ptr + index);
3407            index += SIZEOF_UINT16;
3408            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetChannelConfirm.Dummydataref1.DataLength, ptr + index);
3409            index += SIZEOF_UINT16;
3410            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetChannelConfirm.Dummydataref2.SlotNumber, ptr + index);
3411            index += SIZEOF_UINT16;
3412            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetChannelConfirm.Dummydataref2.DataLength, ptr + index);
3413            index += SIZEOF_UINT16;
3414            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetChannelConfirm.VirtualInterfaceIdentifier, ptr + index);
3415            index += SIZEOF_UINT16;
3416            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetChannelConfirm.ResultCode, ptr + index);
3417            index += SIZEOF_UINT16;
3418            break;
3419#endif
3420#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3421        case CSR_MLME_START_AGGREGATION_REQUEST_ID:
3422            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeStartAggregationRequest.Dummydataref1.SlotNumber, ptr + index);
3423            index += SIZEOF_UINT16;
3424            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeStartAggregationRequest.Dummydataref1.DataLength, ptr + index);
3425            index += SIZEOF_UINT16;
3426            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeStartAggregationRequest.Dummydataref2.SlotNumber, ptr + index);
3427            index += SIZEOF_UINT16;
3428            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeStartAggregationRequest.Dummydataref2.DataLength, ptr + index);
3429            index += SIZEOF_UINT16;
3430            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeStartAggregationRequest.VirtualInterfaceIdentifier, ptr + index);
3431            index += SIZEOF_UINT16;
3432            memcpy(ptr + index, sig->u.MlmeStartAggregationRequest.PeerQstaAddress.x, 48 / 8);
3433            index += 48 / 8;
3434            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeStartAggregationRequest.UserPriority, ptr + index);
3435            index += SIZEOF_UINT16;
3436            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeStartAggregationRequest.Direction, ptr + index);
3437            index += SIZEOF_UINT16;
3438            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeStartAggregationRequest.StartingSequenceNumber, ptr + index);
3439            index += SIZEOF_UINT16;
3440            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeStartAggregationRequest.BufferSize, ptr + index);
3441            index += SIZEOF_UINT16;
3442            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeStartAggregationRequest.BlockAckTimeout, ptr + index);
3443            index += SIZEOF_UINT16;
3444            break;
3445#endif
3446#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3447        case CSR_MLME_HL_SYNC_REQUEST_ID:
3448            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeHlSyncRequest.Dummydataref1.SlotNumber, ptr + index);
3449            index += SIZEOF_UINT16;
3450            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeHlSyncRequest.Dummydataref1.DataLength, ptr + index);
3451            index += SIZEOF_UINT16;
3452            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeHlSyncRequest.Dummydataref2.SlotNumber, ptr + index);
3453            index += SIZEOF_UINT16;
3454            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeHlSyncRequest.Dummydataref2.DataLength, ptr + index);
3455            index += SIZEOF_UINT16;
3456            memcpy(ptr + index, sig->u.MlmeHlSyncRequest.GroupAddress.x, 48 / 8);
3457            index += 48 / 8;
3458            break;
3459#endif
3460        case CSR_DEBUG_GENERIC_REQUEST_ID:
3461            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugGenericRequest.DebugVariable.SlotNumber, ptr + index);
3462            index += SIZEOF_UINT16;
3463            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugGenericRequest.DebugVariable.DataLength, ptr + index);
3464            index += SIZEOF_UINT16;
3465            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugGenericRequest.Dummydataref2.SlotNumber, ptr + index);
3466            index += SIZEOF_UINT16;
3467            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugGenericRequest.Dummydataref2.DataLength, ptr + index);
3468            index += SIZEOF_UINT16;
3469            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugGenericRequest.DebugWords[0], ptr + index);
3470            index += SIZEOF_UINT16;
3471            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugGenericRequest.DebugWords[1], ptr + index);
3472            index += SIZEOF_UINT16;
3473            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugGenericRequest.DebugWords[2], ptr + index);
3474            index += SIZEOF_UINT16;
3475            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugGenericRequest.DebugWords[3], ptr + index);
3476            index += SIZEOF_UINT16;
3477            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugGenericRequest.DebugWords[4], ptr + index);
3478            index += SIZEOF_UINT16;
3479            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugGenericRequest.DebugWords[5], ptr + index);
3480            index += SIZEOF_UINT16;
3481            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugGenericRequest.DebugWords[6], ptr + index);
3482            index += SIZEOF_UINT16;
3483            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugGenericRequest.DebugWords[7], ptr + index);
3484            index += SIZEOF_UINT16;
3485            break;
3486#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3487        case CSR_MLME_LEAVE_CONFIRM_ID:
3488            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeLeaveConfirm.Dummydataref1.SlotNumber, ptr + index);
3489            index += SIZEOF_UINT16;
3490            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeLeaveConfirm.Dummydataref1.DataLength, ptr + index);
3491            index += SIZEOF_UINT16;
3492            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeLeaveConfirm.Dummydataref2.SlotNumber, ptr + index);
3493            index += SIZEOF_UINT16;
3494            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeLeaveConfirm.Dummydataref2.DataLength, ptr + index);
3495            index += SIZEOF_UINT16;
3496            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeLeaveConfirm.VirtualInterfaceIdentifier, ptr + index);
3497            index += SIZEOF_UINT16;
3498            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeLeaveConfirm.ResultCode, ptr + index);
3499            index += SIZEOF_UINT16;
3500            break;
3501#endif
3502#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3503        case CSR_MLME_DEL_TRIGGERED_GET_REQUEST_ID:
3504            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelTriggeredGetRequest.Dummydataref1.SlotNumber, ptr + index);
3505            index += SIZEOF_UINT16;
3506            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelTriggeredGetRequest.Dummydataref1.DataLength, ptr + index);
3507            index += SIZEOF_UINT16;
3508            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelTriggeredGetRequest.Dummydataref2.SlotNumber, ptr + index);
3509            index += SIZEOF_UINT16;
3510            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelTriggeredGetRequest.Dummydataref2.DataLength, ptr + index);
3511            index += SIZEOF_UINT16;
3512            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelTriggeredGetRequest.VirtualInterfaceIdentifier, ptr + index);
3513            index += SIZEOF_UINT16;
3514            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelTriggeredGetRequest.TriggeredId, ptr + index);
3515            index += SIZEOF_UINT16;
3516            break;
3517#endif
3518#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3519        case CSR_MLME_ADD_MULTICAST_ADDRESS_REQUEST_ID:
3520            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddMulticastAddressRequest.Data.SlotNumber, ptr + index);
3521            index += SIZEOF_UINT16;
3522            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddMulticastAddressRequest.Data.DataLength, ptr + index);
3523            index += SIZEOF_UINT16;
3524            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddMulticastAddressRequest.Dummydataref2.SlotNumber, ptr + index);
3525            index += SIZEOF_UINT16;
3526            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddMulticastAddressRequest.Dummydataref2.DataLength, ptr + index);
3527            index += SIZEOF_UINT16;
3528            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddMulticastAddressRequest.VirtualInterfaceIdentifier, ptr + index);
3529            index += SIZEOF_UINT16;
3530            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddMulticastAddressRequest.NumberOfMulticastGroupAddresses, ptr + index);
3531            index += SIZEOF_UINT16;
3532            break;
3533#endif
3534#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3535        case CSR_MLME_RESET_REQUEST_ID:
3536            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeResetRequest.Dummydataref1.SlotNumber, ptr + index);
3537            index += SIZEOF_UINT16;
3538            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeResetRequest.Dummydataref1.DataLength, ptr + index);
3539            index += SIZEOF_UINT16;
3540            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeResetRequest.Dummydataref2.SlotNumber, ptr + index);
3541            index += SIZEOF_UINT16;
3542            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeResetRequest.Dummydataref2.DataLength, ptr + index);
3543            index += SIZEOF_UINT16;
3544            memcpy(ptr + index, sig->u.MlmeResetRequest.StaAddress.x, 48 / 8);
3545            index += 48 / 8;
3546            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeResetRequest.SetDefaultMib, ptr + index);
3547            index += SIZEOF_UINT16;
3548            break;
3549#endif
3550#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3551        case CSR_MLME_SCAN_CANCEL_REQUEST_ID:
3552            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeScanCancelRequest.Dummydataref1.SlotNumber, ptr + index);
3553            index += SIZEOF_UINT16;
3554            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeScanCancelRequest.Dummydataref1.DataLength, ptr + index);
3555            index += SIZEOF_UINT16;
3556            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeScanCancelRequest.Dummydataref2.SlotNumber, ptr + index);
3557            index += SIZEOF_UINT16;
3558            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeScanCancelRequest.Dummydataref2.DataLength, ptr + index);
3559            index += SIZEOF_UINT16;
3560            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeScanCancelRequest.VirtualInterfaceIdentifier, ptr + index);
3561            index += SIZEOF_UINT16;
3562            break;
3563#endif
3564#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3565        case CSR_MLME_ADD_TRIGGERED_GET_CONFIRM_ID:
3566            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddTriggeredGetConfirm.Dummydataref1.SlotNumber, ptr + index);
3567            index += SIZEOF_UINT16;
3568            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddTriggeredGetConfirm.Dummydataref1.DataLength, ptr + index);
3569            index += SIZEOF_UINT16;
3570            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddTriggeredGetConfirm.Dummydataref2.SlotNumber, ptr + index);
3571            index += SIZEOF_UINT16;
3572            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddTriggeredGetConfirm.Dummydataref2.DataLength, ptr + index);
3573            index += SIZEOF_UINT16;
3574            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddTriggeredGetConfirm.VirtualInterfaceIdentifier, ptr + index);
3575            index += SIZEOF_UINT16;
3576            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddTriggeredGetConfirm.ResultCode, ptr + index);
3577            index += SIZEOF_UINT16;
3578            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddTriggeredGetConfirm.TriggeredId, ptr + index);
3579            index += SIZEOF_UINT16;
3580            break;
3581#endif
3582#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3583        case CSR_MLME_SET_PACKET_FILTER_REQUEST_ID:
3584            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetPacketFilterRequest.InformationElements.SlotNumber, ptr + index);
3585            index += SIZEOF_UINT16;
3586            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetPacketFilterRequest.InformationElements.DataLength, ptr + index);
3587            index += SIZEOF_UINT16;
3588            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetPacketFilterRequest.Dummydataref2.SlotNumber, ptr + index);
3589            index += SIZEOF_UINT16;
3590            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetPacketFilterRequest.Dummydataref2.DataLength, ptr + index);
3591            index += SIZEOF_UINT16;
3592            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetPacketFilterRequest.VirtualInterfaceIdentifier, ptr + index);
3593            index += SIZEOF_UINT16;
3594            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetPacketFilterRequest.PacketFilterMode, ptr + index);
3595            index += SIZEOF_UINT16;
3596            CSR_COPY_UINT32_TO_LITTLE_ENDIAN(sig->u.MlmeSetPacketFilterRequest.ArpFilterAddress, ptr + index);
3597            index += SIZEOF_UINT32;
3598            break;
3599#endif
3600#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3601        case CSR_MLME_DEL_RX_TRIGGER_CONFIRM_ID:
3602            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelRxTriggerConfirm.Dummydataref1.SlotNumber, ptr + index);
3603            index += SIZEOF_UINT16;
3604            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelRxTriggerConfirm.Dummydataref1.DataLength, ptr + index);
3605            index += SIZEOF_UINT16;
3606            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelRxTriggerConfirm.Dummydataref2.SlotNumber, ptr + index);
3607            index += SIZEOF_UINT16;
3608            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelRxTriggerConfirm.Dummydataref2.DataLength, ptr + index);
3609            index += SIZEOF_UINT16;
3610            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelRxTriggerConfirm.VirtualInterfaceIdentifier, ptr + index);
3611            index += SIZEOF_UINT16;
3612            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelRxTriggerConfirm.TriggerId, ptr + index);
3613            index += SIZEOF_UINT16;
3614            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelRxTriggerConfirm.ResultCode, ptr + index);
3615            index += SIZEOF_UINT16;
3616            break;
3617#endif
3618#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3619        case CSR_MLME_CONNECT_STATUS_REQUEST_ID:
3620            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeConnectStatusRequest.InformationElements.SlotNumber, ptr + index);
3621            index += SIZEOF_UINT16;
3622            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeConnectStatusRequest.InformationElements.DataLength, ptr + index);
3623            index += SIZEOF_UINT16;
3624            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeConnectStatusRequest.Dummydataref2.SlotNumber, ptr + index);
3625            index += SIZEOF_UINT16;
3626            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeConnectStatusRequest.Dummydataref2.DataLength, ptr + index);
3627            index += SIZEOF_UINT16;
3628            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeConnectStatusRequest.VirtualInterfaceIdentifier, ptr + index);
3629            index += SIZEOF_UINT16;
3630            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeConnectStatusRequest.ConnectionStatus, ptr + index);
3631            index += SIZEOF_UINT16;
3632            memcpy(ptr + index, sig->u.MlmeConnectStatusRequest.StaAddress.x, 48 / 8);
3633            index += 48 / 8;
3634            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeConnectStatusRequest.AssociationId, ptr + index);
3635            index += SIZEOF_UINT16;
3636            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeConnectStatusRequest.AssociationCapabilityInformation, ptr + index);
3637            index += SIZEOF_UINT16;
3638            break;
3639#endif
3640#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3641        case CSR_MLME_LEAVE_REQUEST_ID:
3642            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeLeaveRequest.Dummydataref1.SlotNumber, ptr + index);
3643            index += SIZEOF_UINT16;
3644            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeLeaveRequest.Dummydataref1.DataLength, ptr + index);
3645            index += SIZEOF_UINT16;
3646            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeLeaveRequest.Dummydataref2.SlotNumber, ptr + index);
3647            index += SIZEOF_UINT16;
3648            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeLeaveRequest.Dummydataref2.DataLength, ptr + index);
3649            index += SIZEOF_UINT16;
3650            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeLeaveRequest.VirtualInterfaceIdentifier, ptr + index);
3651            index += SIZEOF_UINT16;
3652            break;
3653#endif
3654#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3655        case CSR_MLME_CONFIG_QUEUE_REQUEST_ID:
3656            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeConfigQueueRequest.Dummydataref1.SlotNumber, ptr + index);
3657            index += SIZEOF_UINT16;
3658            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeConfigQueueRequest.Dummydataref1.DataLength, ptr + index);
3659            index += SIZEOF_UINT16;
3660            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeConfigQueueRequest.Dummydataref2.SlotNumber, ptr + index);
3661            index += SIZEOF_UINT16;
3662            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeConfigQueueRequest.Dummydataref2.DataLength, ptr + index);
3663            index += SIZEOF_UINT16;
3664            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeConfigQueueRequest.QueueIndex, ptr + index);
3665            index += SIZEOF_UINT16;
3666            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeConfigQueueRequest.Aifs, ptr + index);
3667            index += SIZEOF_UINT16;
3668            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeConfigQueueRequest.Cwmin, ptr + index);
3669            index += SIZEOF_UINT16;
3670            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeConfigQueueRequest.Cwmax, ptr + index);
3671            index += SIZEOF_UINT16;
3672            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeConfigQueueRequest.TxopLimit, ptr + index);
3673            index += SIZEOF_UINT16;
3674            break;
3675#endif
3676#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3677        case CSR_MLME_DEL_TSPEC_CONFIRM_ID:
3678            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelTspecConfirm.Dummydataref1.SlotNumber, ptr + index);
3679            index += SIZEOF_UINT16;
3680            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelTspecConfirm.Dummydataref1.DataLength, ptr + index);
3681            index += SIZEOF_UINT16;
3682            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelTspecConfirm.Dummydataref2.SlotNumber, ptr + index);
3683            index += SIZEOF_UINT16;
3684            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelTspecConfirm.Dummydataref2.DataLength, ptr + index);
3685            index += SIZEOF_UINT16;
3686            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelTspecConfirm.VirtualInterfaceIdentifier, ptr + index);
3687            index += SIZEOF_UINT16;
3688            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelTspecConfirm.UserPriority, ptr + index);
3689            index += SIZEOF_UINT16;
3690            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelTspecConfirm.ResultCode, ptr + index);
3691            index += SIZEOF_UINT16;
3692            break;
3693#endif
3694        case CSR_MLME_SET_TIM_CONFIRM_ID:
3695            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetTimConfirm.Dummydataref1.SlotNumber, ptr + index);
3696            index += SIZEOF_UINT16;
3697            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetTimConfirm.Dummydataref1.DataLength, ptr + index);
3698            index += SIZEOF_UINT16;
3699            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetTimConfirm.Dummydataref2.SlotNumber, ptr + index);
3700            index += SIZEOF_UINT16;
3701            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetTimConfirm.Dummydataref2.DataLength, ptr + index);
3702            index += SIZEOF_UINT16;
3703            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetTimConfirm.VirtualInterfaceIdentifier, ptr + index);
3704            index += SIZEOF_UINT16;
3705            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetTimConfirm.ResultCode, ptr + index);
3706            index += SIZEOF_UINT16;
3707            break;
3708#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3709        case CSR_MLME_MEASURE_INDICATION_ID:
3710            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeMeasureIndication.MeasurementReportSet.SlotNumber, ptr + index);
3711            index += SIZEOF_UINT16;
3712            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeMeasureIndication.MeasurementReportSet.DataLength, ptr + index);
3713            index += SIZEOF_UINT16;
3714            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeMeasureIndication.Dummydataref2.SlotNumber, ptr + index);
3715            index += SIZEOF_UINT16;
3716            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeMeasureIndication.Dummydataref2.DataLength, ptr + index);
3717            index += SIZEOF_UINT16;
3718            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeMeasureIndication.DialogToken, ptr + index);
3719            index += SIZEOF_UINT16;
3720            break;
3721#endif
3722#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3723        case CSR_MLME_DEL_BLACKOUT_CONFIRM_ID:
3724            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelBlackoutConfirm.Dummydataref1.SlotNumber, ptr + index);
3725            index += SIZEOF_UINT16;
3726            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelBlackoutConfirm.Dummydataref1.DataLength, ptr + index);
3727            index += SIZEOF_UINT16;
3728            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelBlackoutConfirm.Dummydataref2.SlotNumber, ptr + index);
3729            index += SIZEOF_UINT16;
3730            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelBlackoutConfirm.Dummydataref2.DataLength, ptr + index);
3731            index += SIZEOF_UINT16;
3732            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelBlackoutConfirm.VirtualInterfaceIdentifier, ptr + index);
3733            index += SIZEOF_UINT16;
3734            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelBlackoutConfirm.BlackoutId, ptr + index);
3735            index += SIZEOF_UINT16;
3736            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelBlackoutConfirm.ResultCode, ptr + index);
3737            index += SIZEOF_UINT16;
3738            break;
3739#endif
3740#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3741        case CSR_MLME_DEL_TRIGGERED_GET_CONFIRM_ID:
3742            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelTriggeredGetConfirm.Dummydataref1.SlotNumber, ptr + index);
3743            index += SIZEOF_UINT16;
3744            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelTriggeredGetConfirm.Dummydataref1.DataLength, ptr + index);
3745            index += SIZEOF_UINT16;
3746            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelTriggeredGetConfirm.Dummydataref2.SlotNumber, ptr + index);
3747            index += SIZEOF_UINT16;
3748            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelTriggeredGetConfirm.Dummydataref2.DataLength, ptr + index);
3749            index += SIZEOF_UINT16;
3750            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelTriggeredGetConfirm.VirtualInterfaceIdentifier, ptr + index);
3751            index += SIZEOF_UINT16;
3752            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelTriggeredGetConfirm.ResultCode, ptr + index);
3753            index += SIZEOF_UINT16;
3754            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelTriggeredGetConfirm.TriggeredId, ptr + index);
3755            index += SIZEOF_UINT16;
3756            break;
3757#endif
3758        case CSR_DEBUG_GENERIC_INDICATION_ID:
3759            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugGenericIndication.DebugVariable.SlotNumber, ptr + index);
3760            index += SIZEOF_UINT16;
3761            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugGenericIndication.DebugVariable.DataLength, ptr + index);
3762            index += SIZEOF_UINT16;
3763            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugGenericIndication.Dummydataref2.SlotNumber, ptr + index);
3764            index += SIZEOF_UINT16;
3765            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugGenericIndication.Dummydataref2.DataLength, ptr + index);
3766            index += SIZEOF_UINT16;
3767            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugGenericIndication.DebugWords[0], ptr + index);
3768            index += SIZEOF_UINT16;
3769            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugGenericIndication.DebugWords[1], ptr + index);
3770            index += SIZEOF_UINT16;
3771            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugGenericIndication.DebugWords[2], ptr + index);
3772            index += SIZEOF_UINT16;
3773            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugGenericIndication.DebugWords[3], ptr + index);
3774            index += SIZEOF_UINT16;
3775            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugGenericIndication.DebugWords[4], ptr + index);
3776            index += SIZEOF_UINT16;
3777            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugGenericIndication.DebugWords[5], ptr + index);
3778            index += SIZEOF_UINT16;
3779            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugGenericIndication.DebugWords[6], ptr + index);
3780            index += SIZEOF_UINT16;
3781            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.DebugGenericIndication.DebugWords[7], ptr + index);
3782            index += SIZEOF_UINT16;
3783            break;
3784        case CSR_MA_PACKET_CANCEL_REQUEST_ID:
3785            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaPacketCancelRequest.Dummydataref1.SlotNumber, ptr + index);
3786            index += SIZEOF_UINT16;
3787            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaPacketCancelRequest.Dummydataref1.DataLength, ptr + index);
3788            index += SIZEOF_UINT16;
3789            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaPacketCancelRequest.Dummydataref2.SlotNumber, ptr + index);
3790            index += SIZEOF_UINT16;
3791            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaPacketCancelRequest.Dummydataref2.DataLength, ptr + index);
3792            index += SIZEOF_UINT16;
3793            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaPacketCancelRequest.VirtualInterfaceIdentifier, ptr + index);
3794            index += SIZEOF_UINT16;
3795            CSR_COPY_UINT32_TO_LITTLE_ENDIAN(sig->u.MaPacketCancelRequest.HostTag, ptr + index);
3796            index += SIZEOF_UINT32;
3797            break;
3798#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3799        case CSR_MLME_MODIFY_BSS_PARAMETER_CONFIRM_ID:
3800            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeModifyBssParameterConfirm.Dummydataref1.SlotNumber, ptr + index);
3801            index += SIZEOF_UINT16;
3802            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeModifyBssParameterConfirm.Dummydataref1.DataLength, ptr + index);
3803            index += SIZEOF_UINT16;
3804            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeModifyBssParameterConfirm.Dummydataref2.SlotNumber, ptr + index);
3805            index += SIZEOF_UINT16;
3806            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeModifyBssParameterConfirm.Dummydataref2.DataLength, ptr + index);
3807            index += SIZEOF_UINT16;
3808            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeModifyBssParameterConfirm.VirtualInterfaceIdentifier, ptr + index);
3809            index += SIZEOF_UINT16;
3810            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeModifyBssParameterConfirm.ResultCode, ptr + index);
3811            index += SIZEOF_UINT16;
3812            break;
3813#endif
3814#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3815        case CSR_MLME_PAUSE_AUTONOMOUS_SCAN_CONFIRM_ID:
3816            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmePauseAutonomousScanConfirm.Dummydataref1.SlotNumber, ptr + index);
3817            index += SIZEOF_UINT16;
3818            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmePauseAutonomousScanConfirm.Dummydataref1.DataLength, ptr + index);
3819            index += SIZEOF_UINT16;
3820            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmePauseAutonomousScanConfirm.Dummydataref2.SlotNumber, ptr + index);
3821            index += SIZEOF_UINT16;
3822            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmePauseAutonomousScanConfirm.Dummydataref2.DataLength, ptr + index);
3823            index += SIZEOF_UINT16;
3824            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmePauseAutonomousScanConfirm.VirtualInterfaceIdentifier, ptr + index);
3825            index += SIZEOF_UINT16;
3826            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmePauseAutonomousScanConfirm.ResultCode, ptr + index);
3827            index += SIZEOF_UINT16;
3828            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmePauseAutonomousScanConfirm.AutonomousScanId, ptr + index);
3829            index += SIZEOF_UINT16;
3830            break;
3831#endif
3832        case CSR_MA_PACKET_REQUEST_ID:
3833            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaPacketRequest.Data.SlotNumber, ptr + index);
3834            index += SIZEOF_UINT16;
3835            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaPacketRequest.Data.DataLength, ptr + index);
3836            index += SIZEOF_UINT16;
3837            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaPacketRequest.Dummydataref2.SlotNumber, ptr + index);
3838            index += SIZEOF_UINT16;
3839            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaPacketRequest.Dummydataref2.DataLength, ptr + index);
3840            index += SIZEOF_UINT16;
3841            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaPacketRequest.VirtualInterfaceIdentifier, ptr + index);
3842            index += SIZEOF_UINT16;
3843            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaPacketRequest.TransmitRate, ptr + index);
3844            index += SIZEOF_UINT16;
3845            CSR_COPY_UINT32_TO_LITTLE_ENDIAN(sig->u.MaPacketRequest.HostTag, ptr + index);
3846            index += SIZEOF_UINT32;
3847            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaPacketRequest.Priority, ptr + index);
3848            index += SIZEOF_UINT16;
3849            memcpy(ptr + index, sig->u.MaPacketRequest.Ra.x, 48 / 8);
3850            index += 48 / 8;
3851            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaPacketRequest.TransmissionControl, ptr + index);
3852            index += SIZEOF_UINT16;
3853            break;
3854#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3855        case CSR_MLME_MODIFY_BSS_PARAMETER_REQUEST_ID:
3856            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeModifyBssParameterRequest.Data.SlotNumber, ptr + index);
3857            index += SIZEOF_UINT16;
3858            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeModifyBssParameterRequest.Data.DataLength, ptr + index);
3859            index += SIZEOF_UINT16;
3860            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeModifyBssParameterRequest.Dummydataref2.SlotNumber, ptr + index);
3861            index += SIZEOF_UINT16;
3862            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeModifyBssParameterRequest.Dummydataref2.DataLength, ptr + index);
3863            index += SIZEOF_UINT16;
3864            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeModifyBssParameterRequest.VirtualInterfaceIdentifier, ptr + index);
3865            index += SIZEOF_UINT16;
3866            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeModifyBssParameterRequest.BeaconPeriod, ptr + index);
3867            index += SIZEOF_UINT16;
3868            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeModifyBssParameterRequest.DtimPeriod, ptr + index);
3869            index += SIZEOF_UINT16;
3870            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeModifyBssParameterRequest.CapabilityInformation, ptr + index);
3871            index += SIZEOF_UINT16;
3872            memcpy(ptr + index, sig->u.MlmeModifyBssParameterRequest.Bssid.x, 48 / 8);
3873            index += 48 / 8;
3874            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeModifyBssParameterRequest.RtsThreshold, ptr + index);
3875            index += SIZEOF_UINT16;
3876            break;
3877#endif
3878#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3879        case CSR_MLME_ADD_RX_TRIGGER_REQUEST_ID:
3880            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddRxTriggerRequest.InformationElements.SlotNumber, ptr + index);
3881            index += SIZEOF_UINT16;
3882            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddRxTriggerRequest.InformationElements.DataLength, ptr + index);
3883            index += SIZEOF_UINT16;
3884            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddRxTriggerRequest.Dummydataref2.SlotNumber, ptr + index);
3885            index += SIZEOF_UINT16;
3886            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddRxTriggerRequest.Dummydataref2.DataLength, ptr + index);
3887            index += SIZEOF_UINT16;
3888            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddRxTriggerRequest.VirtualInterfaceIdentifier, ptr + index);
3889            index += SIZEOF_UINT16;
3890            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddRxTriggerRequest.TriggerId, ptr + index);
3891            index += SIZEOF_UINT16;
3892            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddRxTriggerRequest.Priority, ptr + index);
3893            index += SIZEOF_UINT16;
3894            break;
3895#endif
3896        case CSR_MA_VIF_AVAILABILITY_INDICATION_ID:
3897            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaVifAvailabilityIndication.Dummydataref1.SlotNumber, ptr + index);
3898            index += SIZEOF_UINT16;
3899            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaVifAvailabilityIndication.Dummydataref1.DataLength, ptr + index);
3900            index += SIZEOF_UINT16;
3901            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaVifAvailabilityIndication.Dummydataref2.SlotNumber, ptr + index);
3902            index += SIZEOF_UINT16;
3903            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaVifAvailabilityIndication.Dummydataref2.DataLength, ptr + index);
3904            index += SIZEOF_UINT16;
3905            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaVifAvailabilityIndication.VirtualInterfaceIdentifier, ptr + index);
3906            index += SIZEOF_UINT16;
3907            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaVifAvailabilityIndication.Multicast, ptr + index);
3908            index += SIZEOF_UINT16;
3909            break;
3910#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3911        case CSR_MLME_HL_SYNC_CANCEL_REQUEST_ID:
3912            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeHlSyncCancelRequest.Dummydataref1.SlotNumber, ptr + index);
3913            index += SIZEOF_UINT16;
3914            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeHlSyncCancelRequest.Dummydataref1.DataLength, ptr + index);
3915            index += SIZEOF_UINT16;
3916            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeHlSyncCancelRequest.Dummydataref2.SlotNumber, ptr + index);
3917            index += SIZEOF_UINT16;
3918            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeHlSyncCancelRequest.Dummydataref2.DataLength, ptr + index);
3919            index += SIZEOF_UINT16;
3920            memcpy(ptr + index, sig->u.MlmeHlSyncCancelRequest.GroupAddress.x, 48 / 8);
3921            index += 48 / 8;
3922            break;
3923#endif
3924#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3925        case CSR_MLME_DEL_AUTONOMOUS_SCAN_REQUEST_ID:
3926            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelAutonomousScanRequest.Dummydataref1.SlotNumber, ptr + index);
3927            index += SIZEOF_UINT16;
3928            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelAutonomousScanRequest.Dummydataref1.DataLength, ptr + index);
3929            index += SIZEOF_UINT16;
3930            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelAutonomousScanRequest.Dummydataref2.SlotNumber, ptr + index);
3931            index += SIZEOF_UINT16;
3932            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelAutonomousScanRequest.Dummydataref2.DataLength, ptr + index);
3933            index += SIZEOF_UINT16;
3934            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelAutonomousScanRequest.VirtualInterfaceIdentifier, ptr + index);
3935            index += SIZEOF_UINT16;
3936            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelAutonomousScanRequest.AutonomousScanId, ptr + index);
3937            index += SIZEOF_UINT16;
3938            break;
3939#endif
3940#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3941        case CSR_MLME_BLACKOUT_ENDED_INDICATION_ID:
3942            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeBlackoutEndedIndication.Dummydataref1.SlotNumber, ptr + index);
3943            index += SIZEOF_UINT16;
3944            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeBlackoutEndedIndication.Dummydataref1.DataLength, ptr + index);
3945            index += SIZEOF_UINT16;
3946            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeBlackoutEndedIndication.Dummydataref2.SlotNumber, ptr + index);
3947            index += SIZEOF_UINT16;
3948            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeBlackoutEndedIndication.Dummydataref2.DataLength, ptr + index);
3949            index += SIZEOF_UINT16;
3950            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeBlackoutEndedIndication.VirtualInterfaceIdentifier, ptr + index);
3951            index += SIZEOF_UINT16;
3952            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeBlackoutEndedIndication.BlackoutId, ptr + index);
3953            index += SIZEOF_UINT16;
3954            break;
3955#endif
3956#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3957        case CSR_MLME_AUTONOMOUS_SCAN_DONE_INDICATION_ID:
3958            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAutonomousScanDoneIndication.Dummydataref1.SlotNumber, ptr + index);
3959            index += SIZEOF_UINT16;
3960            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAutonomousScanDoneIndication.Dummydataref1.DataLength, ptr + index);
3961            index += SIZEOF_UINT16;
3962            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAutonomousScanDoneIndication.Dummydataref2.SlotNumber, ptr + index);
3963            index += SIZEOF_UINT16;
3964            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAutonomousScanDoneIndication.Dummydataref2.DataLength, ptr + index);
3965            index += SIZEOF_UINT16;
3966            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAutonomousScanDoneIndication.VirtualInterfaceIdentifier, ptr + index);
3967            index += SIZEOF_UINT16;
3968            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAutonomousScanDoneIndication.ResultCode, ptr + index);
3969            index += SIZEOF_UINT16;
3970            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAutonomousScanDoneIndication.AutonomousScanId, ptr + index);
3971            index += SIZEOF_UINT16;
3972            break;
3973#endif
3974#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3975        case CSR_MLME_GET_KEY_SEQUENCE_REQUEST_ID:
3976            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetKeySequenceRequest.Dummydataref1.SlotNumber, ptr + index);
3977            index += SIZEOF_UINT16;
3978            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetKeySequenceRequest.Dummydataref1.DataLength, ptr + index);
3979            index += SIZEOF_UINT16;
3980            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetKeySequenceRequest.Dummydataref2.SlotNumber, ptr + index);
3981            index += SIZEOF_UINT16;
3982            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetKeySequenceRequest.Dummydataref2.DataLength, ptr + index);
3983            index += SIZEOF_UINT16;
3984            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetKeySequenceRequest.VirtualInterfaceIdentifier, ptr + index);
3985            index += SIZEOF_UINT16;
3986            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetKeySequenceRequest.KeyId, ptr + index);
3987            index += SIZEOF_UINT16;
3988            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetKeySequenceRequest.KeyType, ptr + index);
3989            index += SIZEOF_UINT16;
3990            memcpy(ptr + index, sig->u.MlmeGetKeySequenceRequest.Address.x, 48 / 8);
3991            index += 48 / 8;
3992            break;
3993#endif
3994#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3995        case CSR_MLME_SET_CHANNEL_REQUEST_ID:
3996            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetChannelRequest.Dummydataref1.SlotNumber, ptr + index);
3997            index += SIZEOF_UINT16;
3998            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetChannelRequest.Dummydataref1.DataLength, ptr + index);
3999            index += SIZEOF_UINT16;
4000            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetChannelRequest.Dummydataref2.SlotNumber, ptr + index);
4001            index += SIZEOF_UINT16;
4002            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetChannelRequest.Dummydataref2.DataLength, ptr + index);
4003            index += SIZEOF_UINT16;
4004            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetChannelRequest.VirtualInterfaceIdentifier, ptr + index);
4005            index += SIZEOF_UINT16;
4006            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetChannelRequest.Ifindex, ptr + index);
4007            index += SIZEOF_UINT16;
4008            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetChannelRequest.Channel, ptr + index);
4009            index += SIZEOF_UINT16;
4010            memcpy(ptr + index, sig->u.MlmeSetChannelRequest.Address.x, 48 / 8);
4011            index += 48 / 8;
4012            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetChannelRequest.AvailabilityDuration, ptr + index);
4013            index += SIZEOF_UINT16;
4014            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetChannelRequest.AvailabilityInterval, ptr + index);
4015            index += SIZEOF_UINT16;
4016            break;
4017#endif
4018#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4019        case CSR_MLME_MEASURE_CONFIRM_ID:
4020            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeMeasureConfirm.Dummydataref1.SlotNumber, ptr + index);
4021            index += SIZEOF_UINT16;
4022            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeMeasureConfirm.Dummydataref1.DataLength, ptr + index);
4023            index += SIZEOF_UINT16;
4024            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeMeasureConfirm.Dummydataref2.SlotNumber, ptr + index);
4025            index += SIZEOF_UINT16;
4026            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeMeasureConfirm.Dummydataref2.DataLength, ptr + index);
4027            index += SIZEOF_UINT16;
4028            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeMeasureConfirm.ResultCode, ptr + index);
4029            index += SIZEOF_UINT16;
4030            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeMeasureConfirm.DialogToken, ptr + index);
4031            index += SIZEOF_UINT16;
4032            break;
4033#endif
4034#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4035        case CSR_MLME_ADD_TRIGGERED_GET_REQUEST_ID:
4036            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddTriggeredGetRequest.MibAttribute.SlotNumber, ptr + index);
4037            index += SIZEOF_UINT16;
4038            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddTriggeredGetRequest.MibAttribute.DataLength, ptr + index);
4039            index += SIZEOF_UINT16;
4040            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddTriggeredGetRequest.Dummydataref2.SlotNumber, ptr + index);
4041            index += SIZEOF_UINT16;
4042            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddTriggeredGetRequest.Dummydataref2.DataLength, ptr + index);
4043            index += SIZEOF_UINT16;
4044            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddTriggeredGetRequest.VirtualInterfaceIdentifier, ptr + index);
4045            index += SIZEOF_UINT16;
4046            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddTriggeredGetRequest.TriggeredId, ptr + index);
4047            index += SIZEOF_UINT16;
4048            break;
4049#endif
4050#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4051        case CSR_MLME_AUTONOMOUS_SCAN_LOSS_INDICATION_ID:
4052            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAutonomousScanLossIndication.Dummydataref1.SlotNumber, ptr + index);
4053            index += SIZEOF_UINT16;
4054            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAutonomousScanLossIndication.Dummydataref1.DataLength, ptr + index);
4055            index += SIZEOF_UINT16;
4056            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAutonomousScanLossIndication.Dummydataref2.SlotNumber, ptr + index);
4057            index += SIZEOF_UINT16;
4058            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAutonomousScanLossIndication.Dummydataref2.DataLength, ptr + index);
4059            index += SIZEOF_UINT16;
4060            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAutonomousScanLossIndication.VirtualInterfaceIdentifier, ptr + index);
4061            index += SIZEOF_UINT16;
4062            memcpy(ptr + index, sig->u.MlmeAutonomousScanLossIndication.Bssid.x, 48 / 8);
4063            index += 48 / 8;
4064            break;
4065#endif
4066        case CSR_MA_VIF_AVAILABILITY_RESPONSE_ID:
4067            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaVifAvailabilityResponse.Dummydataref1.SlotNumber, ptr + index);
4068            index += SIZEOF_UINT16;
4069            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaVifAvailabilityResponse.Dummydataref1.DataLength, ptr + index);
4070            index += SIZEOF_UINT16;
4071            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaVifAvailabilityResponse.Dummydataref2.SlotNumber, ptr + index);
4072            index += SIZEOF_UINT16;
4073            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaVifAvailabilityResponse.Dummydataref2.DataLength, ptr + index);
4074            index += SIZEOF_UINT16;
4075            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaVifAvailabilityResponse.VirtualInterfaceIdentifier, ptr + index);
4076            index += SIZEOF_UINT16;
4077            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaVifAvailabilityResponse.ResultCode, ptr + index);
4078            index += SIZEOF_UINT16;
4079            break;
4080#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4081        case CSR_MLME_ADD_TEMPLATE_REQUEST_ID:
4082            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddTemplateRequest.Data1.SlotNumber, ptr + index);
4083            index += SIZEOF_UINT16;
4084            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddTemplateRequest.Data1.DataLength, ptr + index);
4085            index += SIZEOF_UINT16;
4086            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddTemplateRequest.Data2.SlotNumber, ptr + index);
4087            index += SIZEOF_UINT16;
4088            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddTemplateRequest.Data2.DataLength, ptr + index);
4089            index += SIZEOF_UINT16;
4090            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddTemplateRequest.VirtualInterfaceIdentifier, ptr + index);
4091            index += SIZEOF_UINT16;
4092            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddTemplateRequest.FrameType, ptr + index);
4093            index += SIZEOF_UINT16;
4094            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddTemplateRequest.MinTransmitRate, ptr + index);
4095            index += SIZEOF_UINT16;
4096            break;
4097#endif
4098#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4099        case CSR_MLME_POWERMGT_CONFIRM_ID:
4100            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmePowermgtConfirm.Dummydataref1.SlotNumber, ptr + index);
4101            index += SIZEOF_UINT16;
4102            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmePowermgtConfirm.Dummydataref1.DataLength, ptr + index);
4103            index += SIZEOF_UINT16;
4104            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmePowermgtConfirm.Dummydataref2.SlotNumber, ptr + index);
4105            index += SIZEOF_UINT16;
4106            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmePowermgtConfirm.Dummydataref2.DataLength, ptr + index);
4107            index += SIZEOF_UINT16;
4108            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmePowermgtConfirm.VirtualInterfaceIdentifier, ptr + index);
4109            index += SIZEOF_UINT16;
4110            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmePowermgtConfirm.ResultCode, ptr + index);
4111            index += SIZEOF_UINT16;
4112            break;
4113#endif
4114#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4115        case CSR_MLME_ADD_PERIODIC_CONFIRM_ID:
4116            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddPeriodicConfirm.Dummydataref1.SlotNumber, ptr + index);
4117            index += SIZEOF_UINT16;
4118            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddPeriodicConfirm.Dummydataref1.DataLength, ptr + index);
4119            index += SIZEOF_UINT16;
4120            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddPeriodicConfirm.Dummydataref2.SlotNumber, ptr + index);
4121            index += SIZEOF_UINT16;
4122            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddPeriodicConfirm.Dummydataref2.DataLength, ptr + index);
4123            index += SIZEOF_UINT16;
4124            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddPeriodicConfirm.VirtualInterfaceIdentifier, ptr + index);
4125            index += SIZEOF_UINT16;
4126            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddPeriodicConfirm.PeriodicId, ptr + index);
4127            index += SIZEOF_UINT16;
4128            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddPeriodicConfirm.ResultCode, ptr + index);
4129            index += SIZEOF_UINT16;
4130            break;
4131#endif
4132#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4133        case CSR_MLME_GET_CONFIRM_ID:
4134            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetConfirm.MibAttributeValue.SlotNumber, ptr + index);
4135            index += SIZEOF_UINT16;
4136            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetConfirm.MibAttributeValue.DataLength, ptr + index);
4137            index += SIZEOF_UINT16;
4138            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetConfirm.Dummydataref2.SlotNumber, ptr + index);
4139            index += SIZEOF_UINT16;
4140            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetConfirm.Dummydataref2.DataLength, ptr + index);
4141            index += SIZEOF_UINT16;
4142            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetConfirm.Status, ptr + index);
4143            index += SIZEOF_UINT16;
4144            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetConfirm.ErrorIndex, ptr + index);
4145            index += SIZEOF_UINT16;
4146            break;
4147#endif
4148#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4149        case CSR_MLME_GET_NEXT_CONFIRM_ID:
4150            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetNextConfirm.MibAttributeValue.SlotNumber, ptr + index);
4151            index += SIZEOF_UINT16;
4152            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetNextConfirm.MibAttributeValue.DataLength, ptr + index);
4153            index += SIZEOF_UINT16;
4154            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetNextConfirm.Dummydataref2.SlotNumber, ptr + index);
4155            index += SIZEOF_UINT16;
4156            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetNextConfirm.Dummydataref2.DataLength, ptr + index);
4157            index += SIZEOF_UINT16;
4158            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetNextConfirm.Status, ptr + index);
4159            index += SIZEOF_UINT16;
4160            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetNextConfirm.ErrorIndex, ptr + index);
4161            index += SIZEOF_UINT16;
4162            break;
4163#endif
4164#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4165        case CSR_MLME_STOP_AGGREGATION_REQUEST_ID:
4166            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeStopAggregationRequest.Dummydataref1.SlotNumber, ptr + index);
4167            index += SIZEOF_UINT16;
4168            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeStopAggregationRequest.Dummydataref1.DataLength, ptr + index);
4169            index += SIZEOF_UINT16;
4170            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeStopAggregationRequest.Dummydataref2.SlotNumber, ptr + index);
4171            index += SIZEOF_UINT16;
4172            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeStopAggregationRequest.Dummydataref2.DataLength, ptr + index);
4173            index += SIZEOF_UINT16;
4174            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeStopAggregationRequest.VirtualInterfaceIdentifier, ptr + index);
4175            index += SIZEOF_UINT16;
4176            memcpy(ptr + index, sig->u.MlmeStopAggregationRequest.PeerQstaAddress.x, 48 / 8);
4177            index += 48 / 8;
4178            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeStopAggregationRequest.UserPriority, ptr + index);
4179            index += SIZEOF_UINT16;
4180            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeStopAggregationRequest.Direction, ptr + index);
4181            index += SIZEOF_UINT16;
4182            break;
4183#endif
4184#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4185        case CSR_MLME_ADD_RX_TRIGGER_CONFIRM_ID:
4186            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddRxTriggerConfirm.Dummydataref1.SlotNumber, ptr + index);
4187            index += SIZEOF_UINT16;
4188            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddRxTriggerConfirm.Dummydataref1.DataLength, ptr + index);
4189            index += SIZEOF_UINT16;
4190            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddRxTriggerConfirm.Dummydataref2.SlotNumber, ptr + index);
4191            index += SIZEOF_UINT16;
4192            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddRxTriggerConfirm.Dummydataref2.DataLength, ptr + index);
4193            index += SIZEOF_UINT16;
4194            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddRxTriggerConfirm.VirtualInterfaceIdentifier, ptr + index);
4195            index += SIZEOF_UINT16;
4196            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddRxTriggerConfirm.TriggerId, ptr + index);
4197            index += SIZEOF_UINT16;
4198            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddRxTriggerConfirm.ResultCode, ptr + index);
4199            index += SIZEOF_UINT16;
4200            break;
4201#endif
4202#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4203        case CSR_MLME_ADD_BLACKOUT_REQUEST_ID:
4204            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddBlackoutRequest.Dummydataref1.SlotNumber, ptr + index);
4205            index += SIZEOF_UINT16;
4206            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddBlackoutRequest.Dummydataref1.DataLength, ptr + index);
4207            index += SIZEOF_UINT16;
4208            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddBlackoutRequest.Dummydataref2.SlotNumber, ptr + index);
4209            index += SIZEOF_UINT16;
4210            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddBlackoutRequest.Dummydataref2.DataLength, ptr + index);
4211            index += SIZEOF_UINT16;
4212            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddBlackoutRequest.VirtualInterfaceIdentifier, ptr + index);
4213            index += SIZEOF_UINT16;
4214            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddBlackoutRequest.BlackoutId, ptr + index);
4215            index += SIZEOF_UINT16;
4216            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddBlackoutRequest.BlackoutType, ptr + index);
4217            index += SIZEOF_UINT16;
4218            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddBlackoutRequest.BlackoutSource, ptr + index);
4219            index += SIZEOF_UINT16;
4220            CSR_COPY_UINT32_TO_LITTLE_ENDIAN(sig->u.MlmeAddBlackoutRequest.BlackoutStartReference, ptr + index);
4221            index += SIZEOF_UINT32;
4222            CSR_COPY_UINT32_TO_LITTLE_ENDIAN(sig->u.MlmeAddBlackoutRequest.BlackoutPeriod, ptr + index);
4223            index += SIZEOF_UINT32;
4224            CSR_COPY_UINT32_TO_LITTLE_ENDIAN(sig->u.MlmeAddBlackoutRequest.BlackoutDuration, ptr + index);
4225            index += SIZEOF_UINT32;
4226            memcpy(ptr + index, sig->u.MlmeAddBlackoutRequest.PeerStaAddress.x, 48 / 8);
4227            index += 48 / 8;
4228            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddBlackoutRequest.BlackoutCount, ptr + index);
4229            index += SIZEOF_UINT16;
4230            break;
4231#endif
4232#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4233        case CSR_MLME_DELETEKEYS_REQUEST_ID:
4234            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDeletekeysRequest.Dummydataref1.SlotNumber, ptr + index);
4235            index += SIZEOF_UINT16;
4236            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDeletekeysRequest.Dummydataref1.DataLength, ptr + index);
4237            index += SIZEOF_UINT16;
4238            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDeletekeysRequest.Dummydataref2.SlotNumber, ptr + index);
4239            index += SIZEOF_UINT16;
4240            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDeletekeysRequest.Dummydataref2.DataLength, ptr + index);
4241            index += SIZEOF_UINT16;
4242            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDeletekeysRequest.VirtualInterfaceIdentifier, ptr + index);
4243            index += SIZEOF_UINT16;
4244            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDeletekeysRequest.KeyId, ptr + index);
4245            index += SIZEOF_UINT16;
4246            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDeletekeysRequest.KeyType, ptr + index);
4247            index += SIZEOF_UINT16;
4248            memcpy(ptr + index, sig->u.MlmeDeletekeysRequest.Address.x, 48 / 8);
4249            index += 48 / 8;
4250            break;
4251#endif
4252#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4253        case CSR_MLME_RESET_CONFIRM_ID:
4254            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeResetConfirm.Dummydataref1.SlotNumber, ptr + index);
4255            index += SIZEOF_UINT16;
4256            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeResetConfirm.Dummydataref1.DataLength, ptr + index);
4257            index += SIZEOF_UINT16;
4258            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeResetConfirm.Dummydataref2.SlotNumber, ptr + index);
4259            index += SIZEOF_UINT16;
4260            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeResetConfirm.Dummydataref2.DataLength, ptr + index);
4261            index += SIZEOF_UINT16;
4262            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeResetConfirm.ResultCode, ptr + index);
4263            index += SIZEOF_UINT16;
4264            break;
4265#endif
4266#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4267        case CSR_MLME_HL_SYNC_CONFIRM_ID:
4268            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeHlSyncConfirm.Dummydataref1.SlotNumber, ptr + index);
4269            index += SIZEOF_UINT16;
4270            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeHlSyncConfirm.Dummydataref1.DataLength, ptr + index);
4271            index += SIZEOF_UINT16;
4272            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeHlSyncConfirm.Dummydataref2.SlotNumber, ptr + index);
4273            index += SIZEOF_UINT16;
4274            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeHlSyncConfirm.Dummydataref2.DataLength, ptr + index);
4275            index += SIZEOF_UINT16;
4276            memcpy(ptr + index, sig->u.MlmeHlSyncConfirm.GroupAddress.x, 48 / 8);
4277            index += 48 / 8;
4278            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeHlSyncConfirm.ResultCode, ptr + index);
4279            index += SIZEOF_UINT16;
4280            break;
4281#endif
4282#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4283        case CSR_MLME_ADD_AUTONOMOUS_SCAN_REQUEST_ID:
4284            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddAutonomousScanRequest.ChannelList.SlotNumber, ptr + index);
4285            index += SIZEOF_UINT16;
4286            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddAutonomousScanRequest.ChannelList.DataLength, ptr + index);
4287            index += SIZEOF_UINT16;
4288            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddAutonomousScanRequest.InformationElements.SlotNumber, ptr + index);
4289            index += SIZEOF_UINT16;
4290            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddAutonomousScanRequest.InformationElements.DataLength, ptr + index);
4291            index += SIZEOF_UINT16;
4292            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddAutonomousScanRequest.VirtualInterfaceIdentifier, ptr + index);
4293            index += SIZEOF_UINT16;
4294            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddAutonomousScanRequest.AutonomousScanId, ptr + index);
4295            index += SIZEOF_UINT16;
4296            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddAutonomousScanRequest.Ifindex, ptr + index);
4297            index += SIZEOF_UINT16;
4298            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddAutonomousScanRequest.ChannelStartingFactor, ptr + index);
4299            index += SIZEOF_UINT16;
4300            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddAutonomousScanRequest.ScanType, ptr + index);
4301            index += SIZEOF_UINT16;
4302            CSR_COPY_UINT32_TO_LITTLE_ENDIAN(sig->u.MlmeAddAutonomousScanRequest.ProbeDelay, ptr + index);
4303            index += SIZEOF_UINT32;
4304            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddAutonomousScanRequest.MinChannelTime, ptr + index);
4305            index += SIZEOF_UINT16;
4306            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddAutonomousScanRequest.MaxChannelTime, ptr + index);
4307            index += SIZEOF_UINT16;
4308            break;
4309#endif
4310#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4311        case CSR_MLME_SET_REQUEST_ID:
4312            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetRequest.MibAttributeValue.SlotNumber, ptr + index);
4313            index += SIZEOF_UINT16;
4314            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetRequest.MibAttributeValue.DataLength, ptr + index);
4315            index += SIZEOF_UINT16;
4316            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetRequest.Dummydataref2.SlotNumber, ptr + index);
4317            index += SIZEOF_UINT16;
4318            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetRequest.Dummydataref2.DataLength, ptr + index);
4319            index += SIZEOF_UINT16;
4320            break;
4321#endif
4322#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4323        case CSR_MLME_SM_START_REQUEST_ID:
4324            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSmStartRequest.Beacon.SlotNumber, ptr + index);
4325            index += SIZEOF_UINT16;
4326            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSmStartRequest.Beacon.DataLength, ptr + index);
4327            index += SIZEOF_UINT16;
4328            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSmStartRequest.BssParameters.SlotNumber, ptr + index);
4329            index += SIZEOF_UINT16;
4330            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSmStartRequest.BssParameters.DataLength, ptr + index);
4331            index += SIZEOF_UINT16;
4332            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSmStartRequest.VirtualInterfaceIdentifier, ptr + index);
4333            index += SIZEOF_UINT16;
4334            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSmStartRequest.Ifindex, ptr + index);
4335            index += SIZEOF_UINT16;
4336            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSmStartRequest.Channel, ptr + index);
4337            index += SIZEOF_UINT16;
4338            memcpy(ptr + index, sig->u.MlmeSmStartRequest.InterfaceAddress.x, 48 / 8);
4339            index += 48 / 8;
4340            memcpy(ptr + index, sig->u.MlmeSmStartRequest.Bssid.x, 48 / 8);
4341            index += 48 / 8;
4342            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSmStartRequest.BeaconPeriod, ptr + index);
4343            index += SIZEOF_UINT16;
4344            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSmStartRequest.DtimPeriod, ptr + index);
4345            index += SIZEOF_UINT16;
4346            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSmStartRequest.CapabilityInformation, ptr + index);
4347            index += SIZEOF_UINT16;
4348            break;
4349#endif
4350#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4351        case CSR_MLME_CONNECT_STATUS_CONFIRM_ID:
4352            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeConnectStatusConfirm.Dummydataref1.SlotNumber, ptr + index);
4353            index += SIZEOF_UINT16;
4354            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeConnectStatusConfirm.Dummydataref1.DataLength, ptr + index);
4355            index += SIZEOF_UINT16;
4356            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeConnectStatusConfirm.Dummydataref2.SlotNumber, ptr + index);
4357            index += SIZEOF_UINT16;
4358            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeConnectStatusConfirm.Dummydataref2.DataLength, ptr + index);
4359            index += SIZEOF_UINT16;
4360            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeConnectStatusConfirm.VirtualInterfaceIdentifier, ptr + index);
4361            index += SIZEOF_UINT16;
4362            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeConnectStatusConfirm.ResultCode, ptr + index);
4363            index += SIZEOF_UINT16;
4364            break;
4365#endif
4366#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4367        case CSR_MLME_DEL_AUTONOMOUS_SCAN_CONFIRM_ID:
4368            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelAutonomousScanConfirm.Dummydataref1.SlotNumber, ptr + index);
4369            index += SIZEOF_UINT16;
4370            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelAutonomousScanConfirm.Dummydataref1.DataLength, ptr + index);
4371            index += SIZEOF_UINT16;
4372            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelAutonomousScanConfirm.Dummydataref2.SlotNumber, ptr + index);
4373            index += SIZEOF_UINT16;
4374            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelAutonomousScanConfirm.Dummydataref2.DataLength, ptr + index);
4375            index += SIZEOF_UINT16;
4376            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelAutonomousScanConfirm.VirtualInterfaceIdentifier, ptr + index);
4377            index += SIZEOF_UINT16;
4378            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelAutonomousScanConfirm.ResultCode, ptr + index);
4379            index += SIZEOF_UINT16;
4380            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelAutonomousScanConfirm.AutonomousScanId, ptr + index);
4381            index += SIZEOF_UINT16;
4382            break;
4383#endif
4384#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4385        case CSR_MLME_DEL_PERIODIC_REQUEST_ID:
4386            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelPeriodicRequest.Dummydataref1.SlotNumber, ptr + index);
4387            index += SIZEOF_UINT16;
4388            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelPeriodicRequest.Dummydataref1.DataLength, ptr + index);
4389            index += SIZEOF_UINT16;
4390            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelPeriodicRequest.Dummydataref2.SlotNumber, ptr + index);
4391            index += SIZEOF_UINT16;
4392            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelPeriodicRequest.Dummydataref2.DataLength, ptr + index);
4393            index += SIZEOF_UINT16;
4394            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelPeriodicRequest.VirtualInterfaceIdentifier, ptr + index);
4395            index += SIZEOF_UINT16;
4396            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeDelPeriodicRequest.PeriodicId, ptr + index);
4397            index += SIZEOF_UINT16;
4398            break;
4399#endif
4400#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4401        case CSR_MLME_SETKEYS_REQUEST_ID:
4402            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetkeysRequest.Key.SlotNumber, ptr + index);
4403            index += SIZEOF_UINT16;
4404            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetkeysRequest.Key.DataLength, ptr + index);
4405            index += SIZEOF_UINT16;
4406            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetkeysRequest.Dummydataref2.SlotNumber, ptr + index);
4407            index += SIZEOF_UINT16;
4408            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetkeysRequest.Dummydataref2.DataLength, ptr + index);
4409            index += SIZEOF_UINT16;
4410            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetkeysRequest.VirtualInterfaceIdentifier, ptr + index);
4411            index += SIZEOF_UINT16;
4412            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetkeysRequest.Length, ptr + index);
4413            index += SIZEOF_UINT16;
4414            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetkeysRequest.KeyId, ptr + index);
4415            index += SIZEOF_UINT16;
4416            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetkeysRequest.KeyType, ptr + index);
4417            index += SIZEOF_UINT16;
4418            memcpy(ptr + index, sig->u.MlmeSetkeysRequest.Address.x, 48 / 8);
4419            index += 48 / 8;
4420            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetkeysRequest.SequenceNumber[0], ptr + index);
4421            index += SIZEOF_UINT16;
4422            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetkeysRequest.SequenceNumber[1], ptr + index);
4423            index += SIZEOF_UINT16;
4424            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetkeysRequest.SequenceNumber[2], ptr + index);
4425            index += SIZEOF_UINT16;
4426            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetkeysRequest.SequenceNumber[3], ptr + index);
4427            index += SIZEOF_UINT16;
4428            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetkeysRequest.SequenceNumber[4], ptr + index);
4429            index += SIZEOF_UINT16;
4430            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetkeysRequest.SequenceNumber[5], ptr + index);
4431            index += SIZEOF_UINT16;
4432            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetkeysRequest.SequenceNumber[6], ptr + index);
4433            index += SIZEOF_UINT16;
4434            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeSetkeysRequest.SequenceNumber[7], ptr + index);
4435            index += SIZEOF_UINT16;
4436            memcpy(ptr + index, &sig->u.MlmeSetkeysRequest.CipherSuiteSelector, 32 / 8);
4437            index += 32 / 8;
4438            break;
4439#endif
4440#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4441        case CSR_MLME_PAUSE_AUTONOMOUS_SCAN_REQUEST_ID:
4442            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmePauseAutonomousScanRequest.Dummydataref1.SlotNumber, ptr + index);
4443            index += SIZEOF_UINT16;
4444            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmePauseAutonomousScanRequest.Dummydataref1.DataLength, ptr + index);
4445            index += SIZEOF_UINT16;
4446            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmePauseAutonomousScanRequest.Dummydataref2.SlotNumber, ptr + index);
4447            index += SIZEOF_UINT16;
4448            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmePauseAutonomousScanRequest.Dummydataref2.DataLength, ptr + index);
4449            index += SIZEOF_UINT16;
4450            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmePauseAutonomousScanRequest.VirtualInterfaceIdentifier, ptr + index);
4451            index += SIZEOF_UINT16;
4452            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmePauseAutonomousScanRequest.AutonomousScanId, ptr + index);
4453            index += SIZEOF_UINT16;
4454            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmePauseAutonomousScanRequest.Pause, ptr + index);
4455            index += SIZEOF_UINT16;
4456            break;
4457#endif
4458#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4459        case CSR_MLME_GET_REQUEST_ID:
4460            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetRequest.MibAttribute.SlotNumber, ptr + index);
4461            index += SIZEOF_UINT16;
4462            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetRequest.MibAttribute.DataLength, ptr + index);
4463            index += SIZEOF_UINT16;
4464            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetRequest.Dummydataref2.SlotNumber, ptr + index);
4465            index += SIZEOF_UINT16;
4466            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeGetRequest.Dummydataref2.DataLength, ptr + index);
4467            index += SIZEOF_UINT16;
4468            break;
4469#endif
4470#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4471        case CSR_MLME_POWERMGT_REQUEST_ID:
4472            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmePowermgtRequest.Dummydataref1.SlotNumber, ptr + index);
4473            index += SIZEOF_UINT16;
4474            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmePowermgtRequest.Dummydataref1.DataLength, ptr + index);
4475            index += SIZEOF_UINT16;
4476            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmePowermgtRequest.Dummydataref2.SlotNumber, ptr + index);
4477            index += SIZEOF_UINT16;
4478            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmePowermgtRequest.Dummydataref2.DataLength, ptr + index);
4479            index += SIZEOF_UINT16;
4480            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmePowermgtRequest.VirtualInterfaceIdentifier, ptr + index);
4481            index += SIZEOF_UINT16;
4482            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmePowermgtRequest.PowerManagementMode, ptr + index);
4483            index += SIZEOF_UINT16;
4484            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmePowermgtRequest.ReceiveDtims, ptr + index);
4485            index += SIZEOF_UINT16;
4486            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmePowermgtRequest.ListenInterval, ptr + index);
4487            index += SIZEOF_UINT16;
4488            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmePowermgtRequest.TrafficWindow, ptr + index);
4489            index += SIZEOF_UINT16;
4490            break;
4491#endif
4492        case CSR_MA_PACKET_ERROR_INDICATION_ID:
4493            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaPacketErrorIndication.Dummydataref1.SlotNumber, ptr + index);
4494            index += SIZEOF_UINT16;
4495            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaPacketErrorIndication.Dummydataref1.DataLength, ptr + index);
4496            index += SIZEOF_UINT16;
4497            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaPacketErrorIndication.Dummydataref2.SlotNumber, ptr + index);
4498            index += SIZEOF_UINT16;
4499            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaPacketErrorIndication.Dummydataref2.DataLength, ptr + index);
4500            index += SIZEOF_UINT16;
4501            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaPacketErrorIndication.VirtualInterfaceIdentifier, ptr + index);
4502            index += SIZEOF_UINT16;
4503            memcpy(ptr + index, sig->u.MaPacketErrorIndication.PeerQstaAddress.x, 48 / 8);
4504            index += 48 / 8;
4505            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaPacketErrorIndication.UserPriority, ptr + index);
4506            index += SIZEOF_UINT16;
4507            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MaPacketErrorIndication.SequenceNumber, ptr + index);
4508            index += SIZEOF_UINT16;
4509            break;
4510#ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4511        case CSR_MLME_ADD_PERIODIC_REQUEST_ID:
4512            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddPeriodicRequest.Dummydataref1.SlotNumber, ptr + index);
4513            index += SIZEOF_UINT16;
4514            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddPeriodicRequest.Dummydataref1.DataLength, ptr + index);
4515            index += SIZEOF_UINT16;
4516            CSR_COPY_UINT16_TO_LITTLE_ENDIAN(sig->u.MlmeAddP