Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
csr_wifi_hip_packing.c
Go to the documentation of this file.
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"
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  */
39 {
40  s32 size = 0;
41  u16 sig_id;
42 
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
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
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
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
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
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
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
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
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
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
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
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;
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;
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;
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
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
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
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
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
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
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
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
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
314  size += SIZEOF_UINT16;
315  size += SIZEOF_UINT16;
316  size += SIZEOF_UINT16;
317  size += SIZEOF_UINT16;
318  size += 48 / 8;
319  break;
320 #endif
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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;
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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  */
1152 {
1153  s32 index = 0;
1154 
1156  index += SIZEOF_UINT16;
1157 
1159  index += SIZEOF_UINT16;
1160 
1162  index += SIZEOF_UINT16;
1163 
1164  switch (sig->SignalPrimitiveHeader.SignalId)
1165  {
1166 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1169  index += SIZEOF_UINT16;
1171  index += SIZEOF_UINT16;
1173  index += SIZEOF_UINT16;
1175  index += SIZEOF_UINT16;
1177  index += SIZEOF_UINT16;
1179  index += SIZEOF_UINT16;
1180  break;
1181 #endif
1182 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1185  index += SIZEOF_UINT16;
1187  index += SIZEOF_UINT16;
1189  index += SIZEOF_UINT16;
1191  index += SIZEOF_UINT16;
1193  index += SIZEOF_UINT16;
1195  index += SIZEOF_UINT16;
1196  break;
1197 #endif
1198 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1201  index += SIZEOF_UINT16;
1203  index += SIZEOF_UINT16;
1205  index += SIZEOF_UINT16;
1207  index += SIZEOF_UINT16;
1209  index += SIZEOF_UINT16;
1210  break;
1211 #endif
1212 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1215  index += SIZEOF_UINT16;
1217  index += SIZEOF_UINT16;
1219  index += SIZEOF_UINT16;
1221  index += SIZEOF_UINT16;
1223  index += SIZEOF_UINT16;
1225  index += SIZEOF_UINT16;
1227  index += SIZEOF_UINT16;
1228  break;
1229 #endif
1230 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1233  index += SIZEOF_UINT16;
1235  index += SIZEOF_UINT16;
1237  index += SIZEOF_UINT16;
1239  index += SIZEOF_UINT16;
1241  index += SIZEOF_UINT16;
1243  index += SIZEOF_UINT16;
1245  index += SIZEOF_UINT16;
1246  break;
1247 #endif
1248 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1251  index += SIZEOF_UINT16;
1253  index += SIZEOF_UINT16;
1255  index += SIZEOF_UINT16;
1257  index += SIZEOF_UINT16;
1259  index += SIZEOF_UINT16;
1261  index += SIZEOF_UINT16;
1262  break;
1263 #endif
1264 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1267  index += SIZEOF_UINT16;
1269  index += SIZEOF_UINT16;
1271  index += SIZEOF_UINT16;
1273  index += SIZEOF_UINT16;
1275  index += SIZEOF_UINT16;
1277  index += SIZEOF_UINT16;
1279  index += SIZEOF_UINT16;
1281  index += SIZEOF_UINT16;
1283  index += SIZEOF_UINT16;
1285  index += SIZEOF_UINT16;
1287  index += SIZEOF_UINT16;
1289  index += SIZEOF_UINT16;
1291  index += SIZEOF_UINT16;
1293  index += SIZEOF_UINT16;
1294  break;
1295 #endif
1296 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1299  index += SIZEOF_UINT16;
1301  index += SIZEOF_UINT16;
1303  index += SIZEOF_UINT16;
1305  index += SIZEOF_UINT16;
1307  index += SIZEOF_UINT16;
1309  index += SIZEOF_UINT16;
1310  break;
1311 #endif
1312 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1315  index += SIZEOF_UINT16;
1317  index += SIZEOF_UINT16;
1319  index += SIZEOF_UINT16;
1321  index += SIZEOF_UINT16;
1323  index += SIZEOF_UINT16;
1324  memcpy(sig->u.MlmeStopAggregationConfirm.PeerQstaAddress.x, &ptr[index], 48 / 8);
1325  index += 48 / 8;
1327  index += SIZEOF_UINT16;
1329  index += SIZEOF_UINT16;
1331  index += SIZEOF_UINT16;
1332  break;
1333 #endif
1334 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1337  index += SIZEOF_UINT16;
1339  index += SIZEOF_UINT16;
1341  index += SIZEOF_UINT16;
1343  index += SIZEOF_UINT16;
1345  index += SIZEOF_UINT16;
1347  index += SIZEOF_UINT16;
1349  index += SIZEOF_UINT16;
1350  break;
1351 #endif
1354  index += SIZEOF_UINT16;
1356  index += SIZEOF_UINT16;
1358  index += SIZEOF_UINT16;
1360  index += SIZEOF_UINT16;
1362  index += SIZEOF_UINT16;
1364  index += SIZEOF_UINT16;
1366  index += SIZEOF_UINT16;
1368  index += SIZEOF_UINT16;
1370  index += SIZEOF_UINT16;
1372  index += SIZEOF_UINT16;
1374  index += SIZEOF_UINT16;
1376  index += SIZEOF_UINT16;
1378  index += SIZEOF_UINT16;
1380  index += SIZEOF_UINT16;
1382  index += SIZEOF_UINT16;
1384  index += SIZEOF_UINT16;
1386  index += SIZEOF_UINT16;
1388  index += SIZEOF_UINT16;
1390  index += SIZEOF_UINT16;
1392  index += SIZEOF_UINT16;
1393  break;
1396  index += SIZEOF_UINT16;
1398  index += SIZEOF_UINT16;
1400  index += SIZEOF_UINT16;
1402  index += SIZEOF_UINT16;
1404  index += SIZEOF_UINT16;
1406  index += SIZEOF_UINT16;
1408  index += SIZEOF_UINT16;
1410  index += SIZEOF_UINT16;
1412  index += SIZEOF_UINT16;
1414  index += SIZEOF_UINT16;
1416  index += SIZEOF_UINT16;
1418  index += SIZEOF_UINT16;
1419  break;
1422  index += SIZEOF_UINT16;
1424  index += SIZEOF_UINT16;
1426  index += SIZEOF_UINT16;
1428  index += SIZEOF_UINT16;
1430  index += SIZEOF_UINT16;
1431  memcpy(sig->u.MaPacketIndication.LocalTime.x, &ptr[index], 64 / 8);
1432  index += 64 / 8;
1434  index += SIZEOF_UINT16;
1436  index += SIZEOF_UINT16;
1438  index += SIZEOF_UINT16;
1440  index += SIZEOF_UINT16;
1442  index += SIZEOF_UINT16;
1444  index += SIZEOF_UINT16;
1445  break;
1448  index += SIZEOF_UINT16;
1450  index += SIZEOF_UINT16;
1452  index += SIZEOF_UINT16;
1454  index += SIZEOF_UINT16;
1456  index += SIZEOF_UINT16;
1458  index += SIZEOF_UINT16;
1460  index += SIZEOF_UINT16;
1461  break;
1462 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1465  index += SIZEOF_UINT16;
1467  index += SIZEOF_UINT16;
1469  index += SIZEOF_UINT16;
1471  index += SIZEOF_UINT16;
1473  index += SIZEOF_UINT16;
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
1483  index += SIZEOF_UINT16;
1485  index += SIZEOF_UINT16;
1487  index += SIZEOF_UINT16;
1489  index += SIZEOF_UINT16;
1491  index += SIZEOF_UINT16;
1493  index += SIZEOF_UINT16;
1494  break;
1495 #endif
1496 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1499  index += SIZEOF_UINT16;
1501  index += SIZEOF_UINT16;
1503  index += SIZEOF_UINT16;
1505  index += SIZEOF_UINT16;
1507  index += SIZEOF_UINT16;
1509  index += SIZEOF_UINT16;
1511  index += SIZEOF_UINT16;
1513  index += SIZEOF_UINT16;
1514  break;
1515 #endif
1516 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1519  index += SIZEOF_UINT16;
1521  index += SIZEOF_UINT16;
1523  index += SIZEOF_UINT16;
1525  index += SIZEOF_UINT16;
1527  index += SIZEOF_UINT16;
1529  index += SIZEOF_UINT16;
1531  index += SIZEOF_UINT16;
1533  index += SIZEOF_UINT32;
1535  index += SIZEOF_UINT16;
1537  index += SIZEOF_UINT16;
1538  break;
1539 #endif
1540 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1543  index += SIZEOF_UINT16;
1545  index += SIZEOF_UINT16;
1547  index += SIZEOF_UINT16;
1549  index += SIZEOF_UINT16;
1551  index += SIZEOF_UINT16;
1553  index += SIZEOF_UINT16;
1554  break;
1555 #endif
1556 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1559  index += SIZEOF_UINT16;
1561  index += SIZEOF_UINT16;
1563  index += SIZEOF_UINT16;
1565  index += SIZEOF_UINT16;
1566  break;
1567 #endif
1568 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1571  index += SIZEOF_UINT16;
1573  index += SIZEOF_UINT16;
1575  index += SIZEOF_UINT16;
1577  index += SIZEOF_UINT16;
1579  index += SIZEOF_UINT16;
1581  index += SIZEOF_UINT16;
1582  break;
1583 #endif
1584 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1587  index += SIZEOF_UINT16;
1589  index += SIZEOF_UINT16;
1591  index += SIZEOF_UINT16;
1593  index += SIZEOF_UINT16;
1595  index += SIZEOF_UINT16;
1596  memcpy(sig->u.MlmeStartAggregationRequest.PeerQstaAddress.x, &ptr[index], 48 / 8);
1597  index += 48 / 8;
1599  index += SIZEOF_UINT16;
1601  index += SIZEOF_UINT16;
1603  index += SIZEOF_UINT16;
1605  index += SIZEOF_UINT16;
1607  index += SIZEOF_UINT16;
1608  break;
1609 #endif
1610 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1613  index += SIZEOF_UINT16;
1615  index += SIZEOF_UINT16;
1617  index += SIZEOF_UINT16;
1619  index += SIZEOF_UINT16;
1620  memcpy(sig->u.MlmeHlSyncRequest.GroupAddress.x, &ptr[index], 48 / 8);
1621  index += 48 / 8;
1622  break;
1623 #endif
1626  index += SIZEOF_UINT16;
1628  index += SIZEOF_UINT16;
1630  index += SIZEOF_UINT16;
1632  index += SIZEOF_UINT16;
1634  index += SIZEOF_UINT16;
1636  index += SIZEOF_UINT16;
1638  index += SIZEOF_UINT16;
1640  index += SIZEOF_UINT16;
1642  index += SIZEOF_UINT16;
1644  index += SIZEOF_UINT16;
1646  index += SIZEOF_UINT16;
1648  index += SIZEOF_UINT16;
1649  break;
1650 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1653  index += SIZEOF_UINT16;
1655  index += SIZEOF_UINT16;
1657  index += SIZEOF_UINT16;
1659  index += SIZEOF_UINT16;
1661  index += SIZEOF_UINT16;
1663  index += SIZEOF_UINT16;
1664  break;
1665 #endif
1666 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1669  index += SIZEOF_UINT16;
1671  index += SIZEOF_UINT16;
1673  index += SIZEOF_UINT16;
1675  index += SIZEOF_UINT16;
1677  index += SIZEOF_UINT16;
1679  index += SIZEOF_UINT16;
1680  break;
1681 #endif
1682 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1685  index += SIZEOF_UINT16;
1687  index += SIZEOF_UINT16;
1689  index += SIZEOF_UINT16;
1691  index += SIZEOF_UINT16;
1693  index += SIZEOF_UINT16;
1695  index += SIZEOF_UINT16;
1696  break;
1697 #endif
1698 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1701  index += SIZEOF_UINT16;
1703  index += SIZEOF_UINT16;
1705  index += SIZEOF_UINT16;
1707  index += SIZEOF_UINT16;
1708  memcpy(sig->u.MlmeResetRequest.StaAddress.x, &ptr[index], 48 / 8);
1709  index += 48 / 8;
1711  index += SIZEOF_UINT16;
1712  break;
1713 #endif
1714 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1717  index += SIZEOF_UINT16;
1719  index += SIZEOF_UINT16;
1721  index += SIZEOF_UINT16;
1723  index += SIZEOF_UINT16;
1725  index += SIZEOF_UINT16;
1726  break;
1727 #endif
1728 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1731  index += SIZEOF_UINT16;
1733  index += SIZEOF_UINT16;
1735  index += SIZEOF_UINT16;
1737  index += SIZEOF_UINT16;
1739  index += SIZEOF_UINT16;
1741  index += SIZEOF_UINT16;
1743  index += SIZEOF_UINT16;
1744  break;
1745 #endif
1746 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1749  index += SIZEOF_UINT16;
1751  index += SIZEOF_UINT16;
1753  index += SIZEOF_UINT16;
1755  index += SIZEOF_UINT16;
1757  index += SIZEOF_UINT16;
1759  index += SIZEOF_UINT16;
1761  index += SIZEOF_UINT32;
1762  break;
1763 #endif
1764 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1767  index += SIZEOF_UINT16;
1769  index += SIZEOF_UINT16;
1771  index += SIZEOF_UINT16;
1773  index += SIZEOF_UINT16;
1775  index += SIZEOF_UINT16;
1777  index += SIZEOF_UINT16;
1779  index += SIZEOF_UINT16;
1780  break;
1781 #endif
1782 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1785  index += SIZEOF_UINT16;
1787  index += SIZEOF_UINT16;
1789  index += SIZEOF_UINT16;
1791  index += SIZEOF_UINT16;
1793  index += SIZEOF_UINT16;
1795  index += SIZEOF_UINT16;
1796  memcpy(sig->u.MlmeConnectStatusRequest.StaAddress.x, &ptr[index], 48 / 8);
1797  index += 48 / 8;
1799  index += SIZEOF_UINT16;
1801  index += SIZEOF_UINT16;
1802  break;
1803 #endif
1804 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1807  index += SIZEOF_UINT16;
1809  index += SIZEOF_UINT16;
1811  index += SIZEOF_UINT16;
1813  index += SIZEOF_UINT16;
1815  index += SIZEOF_UINT16;
1816  break;
1817 #endif
1818 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1821  index += SIZEOF_UINT16;
1823  index += SIZEOF_UINT16;
1825  index += SIZEOF_UINT16;
1827  index += SIZEOF_UINT16;
1829  index += SIZEOF_UINT16;
1831  index += SIZEOF_UINT16;
1833  index += SIZEOF_UINT16;
1835  index += SIZEOF_UINT16;
1837  index += SIZEOF_UINT16;
1838  break;
1839 #endif
1840 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1843  index += SIZEOF_UINT16;
1845  index += SIZEOF_UINT16;
1847  index += SIZEOF_UINT16;
1849  index += SIZEOF_UINT16;
1851  index += SIZEOF_UINT16;
1853  index += SIZEOF_UINT16;
1855  index += SIZEOF_UINT16;
1856  break;
1857 #endif
1860  index += SIZEOF_UINT16;
1862  index += SIZEOF_UINT16;
1864  index += SIZEOF_UINT16;
1866  index += SIZEOF_UINT16;
1868  index += SIZEOF_UINT16;
1870  index += SIZEOF_UINT16;
1871  break;
1872 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1875  index += SIZEOF_UINT16;
1877  index += SIZEOF_UINT16;
1879  index += SIZEOF_UINT16;
1881  index += SIZEOF_UINT16;
1883  index += SIZEOF_UINT16;
1884  break;
1885 #endif
1886 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1889  index += SIZEOF_UINT16;
1891  index += SIZEOF_UINT16;
1893  index += SIZEOF_UINT16;
1895  index += SIZEOF_UINT16;
1897  index += SIZEOF_UINT16;
1899  index += SIZEOF_UINT16;
1901  index += SIZEOF_UINT16;
1902  break;
1903 #endif
1904 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1907  index += SIZEOF_UINT16;
1909  index += SIZEOF_UINT16;
1911  index += SIZEOF_UINT16;
1913  index += SIZEOF_UINT16;
1915  index += SIZEOF_UINT16;
1917  index += SIZEOF_UINT16;
1919  index += SIZEOF_UINT16;
1920  break;
1921 #endif
1924  index += SIZEOF_UINT16;
1926  index += SIZEOF_UINT16;
1928  index += SIZEOF_UINT16;
1930  index += SIZEOF_UINT16;
1932  index += SIZEOF_UINT16;
1934  index += SIZEOF_UINT16;
1936  index += SIZEOF_UINT16;
1938  index += SIZEOF_UINT16;
1940  index += SIZEOF_UINT16;
1942  index += SIZEOF_UINT16;
1944  index += SIZEOF_UINT16;
1946  index += SIZEOF_UINT16;
1947  break;
1950  index += SIZEOF_UINT16;
1952  index += SIZEOF_UINT16;
1954  index += SIZEOF_UINT16;
1956  index += SIZEOF_UINT16;
1958  index += SIZEOF_UINT16;
1960  index += SIZEOF_UINT32;
1961  break;
1962 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1965  index += SIZEOF_UINT16;
1967  index += SIZEOF_UINT16;
1969  index += SIZEOF_UINT16;
1971  index += SIZEOF_UINT16;
1973  index += SIZEOF_UINT16;
1975  index += SIZEOF_UINT16;
1976  break;
1977 #endif
1978 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
1981  index += SIZEOF_UINT16;
1983  index += SIZEOF_UINT16;
1985  index += SIZEOF_UINT16;
1987  index += SIZEOF_UINT16;
1989  index += SIZEOF_UINT16;
1991  index += SIZEOF_UINT16;
1993  index += SIZEOF_UINT16;
1994  break;
1995 #endif
1998  index += SIZEOF_UINT16;
2000  index += SIZEOF_UINT16;
2002  index += SIZEOF_UINT16;
2004  index += SIZEOF_UINT16;
2006  index += SIZEOF_UINT16;
2008  index += SIZEOF_UINT16;
2010  index += SIZEOF_UINT32;
2012  index += SIZEOF_UINT16;
2013  memcpy(sig->u.MaPacketRequest.Ra.x, &ptr[index], 48 / 8);
2014  index += 48 / 8;
2016  index += SIZEOF_UINT16;
2017  break;
2018 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2021  index += SIZEOF_UINT16;
2023  index += SIZEOF_UINT16;
2025  index += SIZEOF_UINT16;
2027  index += SIZEOF_UINT16;
2029  index += SIZEOF_UINT16;
2031  index += SIZEOF_UINT16;
2033  index += SIZEOF_UINT16;
2035  index += SIZEOF_UINT16;
2036  memcpy(sig->u.MlmeModifyBssParameterRequest.Bssid.x, &ptr[index], 48 / 8);
2037  index += 48 / 8;
2039  index += SIZEOF_UINT16;
2040  break;
2041 #endif
2042 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2045  index += SIZEOF_UINT16;
2047  index += SIZEOF_UINT16;
2049  index += SIZEOF_UINT16;
2051  index += SIZEOF_UINT16;
2053  index += SIZEOF_UINT16;
2055  index += SIZEOF_UINT16;
2057  index += SIZEOF_UINT16;
2058  break;
2059 #endif
2062  index += SIZEOF_UINT16;
2064  index += SIZEOF_UINT16;
2066  index += SIZEOF_UINT16;
2068  index += SIZEOF_UINT16;
2070  index += SIZEOF_UINT16;
2072  index += SIZEOF_UINT16;
2073  break;
2074 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2077  index += SIZEOF_UINT16;
2079  index += SIZEOF_UINT16;
2081  index += SIZEOF_UINT16;
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
2091  index += SIZEOF_UINT16;
2093  index += SIZEOF_UINT16;
2095  index += SIZEOF_UINT16;
2097  index += SIZEOF_UINT16;
2099  index += SIZEOF_UINT16;
2101  index += SIZEOF_UINT16;
2102  break;
2103 #endif
2104 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2107  index += SIZEOF_UINT16;
2109  index += SIZEOF_UINT16;
2111  index += SIZEOF_UINT16;
2113  index += SIZEOF_UINT16;
2115  index += SIZEOF_UINT16;
2117  index += SIZEOF_UINT16;
2118  break;
2119 #endif
2120 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2123  index += SIZEOF_UINT16;
2125  index += SIZEOF_UINT16;
2127  index += SIZEOF_UINT16;
2129  index += SIZEOF_UINT16;
2131  index += SIZEOF_UINT16;
2133  index += SIZEOF_UINT16;
2135  index += SIZEOF_UINT16;
2136  break;
2137 #endif
2138 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2141  index += SIZEOF_UINT16;
2143  index += SIZEOF_UINT16;
2145  index += SIZEOF_UINT16;
2147  index += SIZEOF_UINT16;
2149  index += SIZEOF_UINT16;
2151  index += SIZEOF_UINT16;
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
2161  index += SIZEOF_UINT16;
2163  index += SIZEOF_UINT16;
2165  index += SIZEOF_UINT16;
2167  index += SIZEOF_UINT16;
2169  index += SIZEOF_UINT16;
2171  index += SIZEOF_UINT16;
2173  index += SIZEOF_UINT16;
2174  memcpy(sig->u.MlmeSetChannelRequest.Address.x, &ptr[index], 48 / 8);
2175  index += 48 / 8;
2177  index += SIZEOF_UINT16;
2179  index += SIZEOF_UINT16;
2180  break;
2181 #endif
2182 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2185  index += SIZEOF_UINT16;
2187  index += SIZEOF_UINT16;
2189  index += SIZEOF_UINT16;
2191  index += SIZEOF_UINT16;
2193  index += SIZEOF_UINT16;
2195  index += SIZEOF_UINT16;
2196  break;
2197 #endif
2198 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2201  index += SIZEOF_UINT16;
2203  index += SIZEOF_UINT16;
2205  index += SIZEOF_UINT16;
2207  index += SIZEOF_UINT16;
2209  index += SIZEOF_UINT16;
2211  index += SIZEOF_UINT16;
2212  break;
2213 #endif
2214 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2217  index += SIZEOF_UINT16;
2219  index += SIZEOF_UINT16;
2221  index += SIZEOF_UINT16;
2223  index += SIZEOF_UINT16;
2225  index += SIZEOF_UINT16;
2226  memcpy(sig->u.MlmeAutonomousScanLossIndication.Bssid.x, &ptr[index], 48 / 8);
2227  index += 48 / 8;
2228  break;
2229 #endif
2232  index += SIZEOF_UINT16;
2234  index += SIZEOF_UINT16;
2236  index += SIZEOF_UINT16;
2238  index += SIZEOF_UINT16;
2240  index += SIZEOF_UINT16;
2242  index += SIZEOF_UINT16;
2243  break;
2244 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2247  index += SIZEOF_UINT16;
2249  index += SIZEOF_UINT16;
2251  index += SIZEOF_UINT16;
2253  index += SIZEOF_UINT16;
2255  index += SIZEOF_UINT16;
2257  index += SIZEOF_UINT16;
2259  index += SIZEOF_UINT16;
2260  break;
2261 #endif
2262 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2265  index += SIZEOF_UINT16;
2267  index += SIZEOF_UINT16;
2269  index += SIZEOF_UINT16;
2271  index += SIZEOF_UINT16;
2273  index += SIZEOF_UINT16;
2275  index += SIZEOF_UINT16;
2276  break;
2277 #endif
2278 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2281  index += SIZEOF_UINT16;
2283  index += SIZEOF_UINT16;
2285  index += SIZEOF_UINT16;
2287  index += SIZEOF_UINT16;
2289  index += SIZEOF_UINT16;
2291  index += SIZEOF_UINT16;
2293  index += SIZEOF_UINT16;
2294  break;
2295 #endif
2296 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2299  index += SIZEOF_UINT16;
2301  index += SIZEOF_UINT16;
2303  index += SIZEOF_UINT16;
2305  index += SIZEOF_UINT16;
2307  index += SIZEOF_UINT16;
2309  index += SIZEOF_UINT16;
2310  break;
2311 #endif
2312 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2315  index += SIZEOF_UINT16;
2317  index += SIZEOF_UINT16;
2319  index += SIZEOF_UINT16;
2321  index += SIZEOF_UINT16;
2323  index += SIZEOF_UINT16;
2325  index += SIZEOF_UINT16;
2326  break;
2327 #endif
2328 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2331  index += SIZEOF_UINT16;
2333  index += SIZEOF_UINT16;
2335  index += SIZEOF_UINT16;
2337  index += SIZEOF_UINT16;
2339  index += SIZEOF_UINT16;
2340  memcpy(sig->u.MlmeStopAggregationRequest.PeerQstaAddress.x, &ptr[index], 48 / 8);
2341  index += 48 / 8;
2343  index += SIZEOF_UINT16;
2345  index += SIZEOF_UINT16;
2346  break;
2347 #endif
2348 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2351  index += SIZEOF_UINT16;
2353  index += SIZEOF_UINT16;
2355  index += SIZEOF_UINT16;
2357  index += SIZEOF_UINT16;
2359  index += SIZEOF_UINT16;
2361  index += SIZEOF_UINT16;
2363  index += SIZEOF_UINT16;
2364  break;
2365 #endif
2366 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2369  index += SIZEOF_UINT16;
2371  index += SIZEOF_UINT16;
2373  index += SIZEOF_UINT16;
2375  index += SIZEOF_UINT16;
2377  index += SIZEOF_UINT16;
2379  index += SIZEOF_UINT16;
2381  index += SIZEOF_UINT16;
2383  index += SIZEOF_UINT16;
2385  index += SIZEOF_UINT32;
2387  index += SIZEOF_UINT32;
2389  index += SIZEOF_UINT32;
2390  memcpy(sig->u.MlmeAddBlackoutRequest.PeerStaAddress.x, &ptr[index], 48 / 8);
2391  index += 48 / 8;
2393  index += SIZEOF_UINT16;
2394  break;
2395 #endif
2396 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2399  index += SIZEOF_UINT16;
2401  index += SIZEOF_UINT16;
2403  index += SIZEOF_UINT16;
2405  index += SIZEOF_UINT16;
2407  index += SIZEOF_UINT16;
2409  index += SIZEOF_UINT16;
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
2419  index += SIZEOF_UINT16;
2421  index += SIZEOF_UINT16;
2423  index += SIZEOF_UINT16;
2425  index += SIZEOF_UINT16;
2427  index += SIZEOF_UINT16;
2428  break;
2429 #endif
2430 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2433  index += SIZEOF_UINT16;
2435  index += SIZEOF_UINT16;
2437  index += SIZEOF_UINT16;
2439  index += SIZEOF_UINT16;
2440  memcpy(sig->u.MlmeHlSyncConfirm.GroupAddress.x, &ptr[index], 48 / 8);
2441  index += 48 / 8;
2443  index += SIZEOF_UINT16;
2444  break;
2445 #endif
2446 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2449  index += SIZEOF_UINT16;
2451  index += SIZEOF_UINT16;
2453  index += SIZEOF_UINT16;
2455  index += SIZEOF_UINT16;
2457  index += SIZEOF_UINT16;
2459  index += SIZEOF_UINT16;
2461  index += SIZEOF_UINT16;
2463  index += SIZEOF_UINT16;
2465  index += SIZEOF_UINT16;
2467  index += SIZEOF_UINT32;
2469  index += SIZEOF_UINT16;
2471  index += SIZEOF_UINT16;
2472  break;
2473 #endif
2474 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2477  index += SIZEOF_UINT16;
2479  index += SIZEOF_UINT16;
2481  index += SIZEOF_UINT16;
2483  index += SIZEOF_UINT16;
2484  break;
2485 #endif
2486 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2489  index += SIZEOF_UINT16;
2491  index += SIZEOF_UINT16;
2493  index += SIZEOF_UINT16;
2495  index += SIZEOF_UINT16;
2497  index += SIZEOF_UINT16;
2499  index += SIZEOF_UINT16;
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;
2507  index += SIZEOF_UINT16;
2509  index += SIZEOF_UINT16;
2511  index += SIZEOF_UINT16;
2512  break;
2513 #endif
2514 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2517  index += SIZEOF_UINT16;
2519  index += SIZEOF_UINT16;
2521  index += SIZEOF_UINT16;
2523  index += SIZEOF_UINT16;
2525  index += SIZEOF_UINT16;
2527  index += SIZEOF_UINT16;
2528  break;
2529 #endif
2530 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2533  index += SIZEOF_UINT16;
2535  index += SIZEOF_UINT16;
2537  index += SIZEOF_UINT16;
2539  index += SIZEOF_UINT16;
2541  index += SIZEOF_UINT16;
2543  index += SIZEOF_UINT16;
2545  index += SIZEOF_UINT16;
2546  break;
2547 #endif
2548 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2551  index += SIZEOF_UINT16;
2553  index += SIZEOF_UINT16;
2555  index += SIZEOF_UINT16;
2557  index += SIZEOF_UINT16;
2559  index += SIZEOF_UINT16;
2561  index += SIZEOF_UINT16;
2562  break;
2563 #endif
2564 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2567  index += SIZEOF_UINT16;
2569  index += SIZEOF_UINT16;
2571  index += SIZEOF_UINT16;
2573  index += SIZEOF_UINT16;
2575  index += SIZEOF_UINT16;
2577  index += SIZEOF_UINT16;
2579  index += SIZEOF_UINT16;
2581  index += SIZEOF_UINT16;
2582  memcpy(sig->u.MlmeSetkeysRequest.Address.x, &ptr[index], 48 / 8);
2583  index += 48 / 8;
2585  index += SIZEOF_UINT16;
2587  index += SIZEOF_UINT16;
2589  index += SIZEOF_UINT16;
2591  index += SIZEOF_UINT16;
2593  index += SIZEOF_UINT16;
2595  index += SIZEOF_UINT16;
2597  index += SIZEOF_UINT16;
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
2607  index += SIZEOF_UINT16;
2609  index += SIZEOF_UINT16;
2611  index += SIZEOF_UINT16;
2613  index += SIZEOF_UINT16;
2615  index += SIZEOF_UINT16;
2617  index += SIZEOF_UINT16;
2619  index += SIZEOF_UINT16;
2620  break;
2621 #endif
2622 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2625  index += SIZEOF_UINT16;
2627  index += SIZEOF_UINT16;
2629  index += SIZEOF_UINT16;
2631  index += SIZEOF_UINT16;
2632  break;
2633 #endif
2634 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2637  index += SIZEOF_UINT16;
2639  index += SIZEOF_UINT16;
2641  index += SIZEOF_UINT16;
2643  index += SIZEOF_UINT16;
2645  index += SIZEOF_UINT16;
2647  index += SIZEOF_UINT16;
2649  index += SIZEOF_UINT16;
2651  index += SIZEOF_UINT16;
2653  index += SIZEOF_UINT16;
2654  break;
2655 #endif
2658  index += SIZEOF_UINT16;
2660  index += SIZEOF_UINT16;
2662  index += SIZEOF_UINT16;
2664  index += SIZEOF_UINT16;
2666  index += SIZEOF_UINT16;
2667  memcpy(sig->u.MaPacketErrorIndication.PeerQstaAddress.x, &ptr[index], 48 / 8);
2668  index += 48 / 8;
2670  index += SIZEOF_UINT16;
2672  index += SIZEOF_UINT16;
2673  break;
2674 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2677  index += SIZEOF_UINT16;
2679  index += SIZEOF_UINT16;
2681  index += SIZEOF_UINT16;
2683  index += SIZEOF_UINT16;
2685  index += SIZEOF_UINT16;
2687  index += SIZEOF_UINT16;
2689  index += SIZEOF_UINT32;
2691  index += SIZEOF_UINT16;
2693  index += SIZEOF_UINT16;
2695  index += SIZEOF_UINT16;
2696  break;
2697 #endif
2698 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2701  index += SIZEOF_UINT16;
2703  index += SIZEOF_UINT16;
2705  index += SIZEOF_UINT16;
2707  index += SIZEOF_UINT16;
2709  index += SIZEOF_UINT16;
2711  index += SIZEOF_UINT16;
2713  index += SIZEOF_UINT16;
2715  index += SIZEOF_UINT16;
2717  index += SIZEOF_UINT16;
2719  index += SIZEOF_UINT32;
2721  index += SIZEOF_UINT32;
2723  index += SIZEOF_UINT16;
2724  break;
2725 #endif
2726 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2729  index += SIZEOF_UINT16;
2731  index += SIZEOF_UINT16;
2733  index += SIZEOF_UINT16;
2735  index += SIZEOF_UINT16;
2737  index += SIZEOF_UINT16;
2739  index += SIZEOF_UINT16;
2740  break;
2741 #endif
2742 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2745  index += SIZEOF_UINT16;
2747  index += SIZEOF_UINT16;
2749  index += SIZEOF_UINT16;
2751  index += SIZEOF_UINT16;
2753  index += SIZEOF_UINT16;
2755  index += SIZEOF_UINT16;
2757  index += SIZEOF_UINT16;
2758  break;
2759 #endif
2760 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2763  index += SIZEOF_UINT16;
2765  index += SIZEOF_UINT16;
2767  index += SIZEOF_UINT16;
2769  index += SIZEOF_UINT16;
2771  index += SIZEOF_UINT16;
2772  break;
2773 #endif
2774 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2777  index += SIZEOF_UINT16;
2779  index += SIZEOF_UINT16;
2781  index += SIZEOF_UINT16;
2783  index += SIZEOF_UINT16;
2785  index += SIZEOF_UINT16;
2787  index += SIZEOF_UINT16;
2788  break;
2789 #endif
2792  index += SIZEOF_UINT16;
2794  index += SIZEOF_UINT16;
2796  index += SIZEOF_UINT16;
2798  index += SIZEOF_UINT16;
2799  break;
2800 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2803  index += SIZEOF_UINT16;
2805  index += SIZEOF_UINT16;
2807  index += SIZEOF_UINT16;
2809  index += SIZEOF_UINT16;
2811  index += SIZEOF_UINT16;
2813  index += SIZEOF_UINT16;
2815  index += SIZEOF_UINT16;
2816  break;
2817 #endif
2818 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2821  index += SIZEOF_UINT16;
2823  index += SIZEOF_UINT16;
2825  index += SIZEOF_UINT16;
2827  index += SIZEOF_UINT16;
2829  index += SIZEOF_UINT16;
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
2839  index += SIZEOF_UINT16;
2841  index += SIZEOF_UINT16;
2843  index += SIZEOF_UINT16;
2845  index += SIZEOF_UINT16;
2847  index += SIZEOF_UINT16;
2849  index += SIZEOF_UINT16;
2850  break;
2851 #endif
2852 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2855  index += SIZEOF_UINT16;
2857  index += SIZEOF_UINT16;
2859  index += SIZEOF_UINT16;
2861  index += SIZEOF_UINT16;
2863  index += SIZEOF_UINT16;
2864  break;
2865 #endif
2866 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2869  index += SIZEOF_UINT16;
2871  index += SIZEOF_UINT16;
2873  index += SIZEOF_UINT16;
2875  index += SIZEOF_UINT16;
2877  index += SIZEOF_UINT16;
2878  memcpy(sig->u.MlmeStartAggregationConfirm.PeerQstaAddress.x, &ptr[index], 48 / 8);
2879  index += 48 / 8;
2881  index += SIZEOF_UINT16;
2883  index += SIZEOF_UINT16;
2885  index += SIZEOF_UINT16;
2887  index += SIZEOF_UINT16;
2888  break;
2889 #endif
2890 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2893  index += SIZEOF_UINT16;
2895  index += SIZEOF_UINT16;
2897  index += SIZEOF_UINT16;
2899  index += SIZEOF_UINT16;
2901  index += SIZEOF_UINT16;
2903  index += SIZEOF_UINT16;
2904  break;
2905 #endif
2908  index += SIZEOF_UINT16;
2910  index += SIZEOF_UINT16;
2912  index += SIZEOF_UINT16;
2914  index += SIZEOF_UINT16;
2916  index += SIZEOF_UINT16;
2918  index += SIZEOF_UINT16;
2920  index += SIZEOF_UINT16;
2922  index += SIZEOF_UINT16;
2924  index += SIZEOF_UINT32;
2925  break;
2926 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2929  index += SIZEOF_UINT16;
2931  index += SIZEOF_UINT16;
2933  index += SIZEOF_UINT16;
2935  index += SIZEOF_UINT16;
2937  index += SIZEOF_UINT16;
2939  index += SIZEOF_UINT16;
2941  index += SIZEOF_UINT16;
2942  break;
2943 #endif
2944 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
2947  index += SIZEOF_UINT16;
2949  index += SIZEOF_UINT16;
2951  index += SIZEOF_UINT16;
2953  index += SIZEOF_UINT16;
2955  index += SIZEOF_UINT16;
2956  break;
2957 #endif
2958 
2959  default:
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  */
2988 {
2989  s16 index = 0;
2990 
2992  index += SIZEOF_UINT16;
2993 
2995  index += SIZEOF_UINT16;
2996 
2998  index += SIZEOF_UINT16;
2999 
3000  switch (sig->SignalPrimitiveHeader.SignalId)
3001  {
3002 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3005  index += SIZEOF_UINT16;
3007  index += SIZEOF_UINT16;
3009  index += SIZEOF_UINT16;
3011  index += SIZEOF_UINT16;
3013  index += SIZEOF_UINT16;
3015  index += SIZEOF_UINT16;
3016  break;
3017 #endif
3018 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3021  index += SIZEOF_UINT16;
3023  index += SIZEOF_UINT16;
3025  index += SIZEOF_UINT16;
3027  index += SIZEOF_UINT16;
3029  index += SIZEOF_UINT16;
3031  index += SIZEOF_UINT16;
3032  break;
3033 #endif
3034 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3037  index += SIZEOF_UINT16;
3039  index += SIZEOF_UINT16;
3041  index += SIZEOF_UINT16;
3043  index += SIZEOF_UINT16;
3045  index += SIZEOF_UINT16;
3046  break;
3047 #endif
3048 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3051  index += SIZEOF_UINT16;
3053  index += SIZEOF_UINT16;
3055  index += SIZEOF_UINT16;
3057  index += SIZEOF_UINT16;
3059  index += SIZEOF_UINT16;
3061  index += SIZEOF_UINT16;
3063  index += SIZEOF_UINT16;
3064  break;
3065 #endif
3066 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3069  index += SIZEOF_UINT16;
3071  index += SIZEOF_UINT16;
3073  index += SIZEOF_UINT16;
3075  index += SIZEOF_UINT16;
3077  index += SIZEOF_UINT16;
3079  index += SIZEOF_UINT16;
3081  index += SIZEOF_UINT16;
3082  break;
3083 #endif
3084 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3087  index += SIZEOF_UINT16;
3089  index += SIZEOF_UINT16;
3091  index += SIZEOF_UINT16;
3093  index += SIZEOF_UINT16;
3095  index += SIZEOF_UINT16;
3097  index += SIZEOF_UINT16;
3098  break;
3099 #endif
3100 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3103  index += SIZEOF_UINT16;
3105  index += SIZEOF_UINT16;
3107  index += SIZEOF_UINT16;
3109  index += SIZEOF_UINT16;
3111  index += SIZEOF_UINT16;
3113  index += SIZEOF_UINT16;
3115  index += SIZEOF_UINT16;
3117  index += SIZEOF_UINT16;
3119  index += SIZEOF_UINT16;
3121  index += SIZEOF_UINT16;
3123  index += SIZEOF_UINT16;
3125  index += SIZEOF_UINT16;
3127  index += SIZEOF_UINT16;
3129  index += SIZEOF_UINT16;
3130  break;
3131 #endif
3132 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3135  index += SIZEOF_UINT16;
3137  index += SIZEOF_UINT16;
3139  index += SIZEOF_UINT16;
3141  index += SIZEOF_UINT16;
3143  index += SIZEOF_UINT16;
3145  index += SIZEOF_UINT16;
3146  break;
3147 #endif
3148 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3151  index += SIZEOF_UINT16;
3153  index += SIZEOF_UINT16;
3155  index += SIZEOF_UINT16;
3157  index += SIZEOF_UINT16;
3159  index += SIZEOF_UINT16;
3160  memcpy(ptr + index, sig->u.MlmeStopAggregationConfirm.PeerQstaAddress.x, 48 / 8);
3161  index += 48 / 8;
3163  index += SIZEOF_UINT16;
3165  index += SIZEOF_UINT16;
3167  index += SIZEOF_UINT16;
3168  break;
3169 #endif
3170 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3173  index += SIZEOF_UINT16;
3175  index += SIZEOF_UINT16;
3177  index += SIZEOF_UINT16;
3179  index += SIZEOF_UINT16;
3181  index += SIZEOF_UINT16;
3183  index += SIZEOF_UINT16;
3185  index += SIZEOF_UINT16;
3186  break;
3187 #endif
3190  index += SIZEOF_UINT16;
3192  index += SIZEOF_UINT16;
3194  index += SIZEOF_UINT16;
3196  index += SIZEOF_UINT16;
3198  index += SIZEOF_UINT16;
3200  index += SIZEOF_UINT16;
3202  index += SIZEOF_UINT16;
3204  index += SIZEOF_UINT16;
3206  index += SIZEOF_UINT16;
3208  index += SIZEOF_UINT16;
3210  index += SIZEOF_UINT16;
3212  index += SIZEOF_UINT16;
3214  index += SIZEOF_UINT16;
3216  index += SIZEOF_UINT16;
3218  index += SIZEOF_UINT16;
3220  index += SIZEOF_UINT16;
3222  index += SIZEOF_UINT16;
3224  index += SIZEOF_UINT16;
3226  index += SIZEOF_UINT16;
3228  index += SIZEOF_UINT16;
3229  break;
3232  index += SIZEOF_UINT16;
3234  index += SIZEOF_UINT16;
3236  index += SIZEOF_UINT16;
3238  index += SIZEOF_UINT16;
3240  index += SIZEOF_UINT16;
3242  index += SIZEOF_UINT16;
3244  index += SIZEOF_UINT16;
3246  index += SIZEOF_UINT16;
3248  index += SIZEOF_UINT16;
3250  index += SIZEOF_UINT16;
3252  index += SIZEOF_UINT16;
3254  index += SIZEOF_UINT16;
3255  break;
3258  index += SIZEOF_UINT16;
3260  index += SIZEOF_UINT16;
3262  index += SIZEOF_UINT16;
3264  index += SIZEOF_UINT16;
3266  index += SIZEOF_UINT16;
3267  memcpy(ptr + index, sig->u.MaPacketIndication.LocalTime.x, 64 / 8);
3268  index += 64 / 8;
3270  index += SIZEOF_UINT16;
3272  index += SIZEOF_UINT16;
3274  index += SIZEOF_UINT16;
3276  index += SIZEOF_UINT16;
3278  index += SIZEOF_UINT16;
3280  index += SIZEOF_UINT16;
3281  break;
3284  index += SIZEOF_UINT16;
3286  index += SIZEOF_UINT16;
3288  index += SIZEOF_UINT16;
3290  index += SIZEOF_UINT16;
3292  index += SIZEOF_UINT16;
3294  index += SIZEOF_UINT16;
3296  index += SIZEOF_UINT16;
3297  break;
3298 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3301  index += SIZEOF_UINT16;
3303  index += SIZEOF_UINT16;
3305  index += SIZEOF_UINT16;
3307  index += SIZEOF_UINT16;
3309  index += SIZEOF_UINT16;
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
3319  index += SIZEOF_UINT16;
3321  index += SIZEOF_UINT16;
3323  index += SIZEOF_UINT16;
3325  index += SIZEOF_UINT16;
3327  index += SIZEOF_UINT16;
3329  index += SIZEOF_UINT16;
3330  break;
3331 #endif
3332 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3335  index += SIZEOF_UINT16;
3337  index += SIZEOF_UINT16;
3339  index += SIZEOF_UINT16;
3341  index += SIZEOF_UINT16;
3343  index += SIZEOF_UINT16;
3345  index += SIZEOF_UINT16;
3347  index += SIZEOF_UINT16;
3349  index += SIZEOF_UINT16;
3350  break;
3351 #endif
3352 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3355  index += SIZEOF_UINT16;
3357  index += SIZEOF_UINT16;
3359  index += SIZEOF_UINT16;
3361  index += SIZEOF_UINT16;
3363  index += SIZEOF_UINT16;
3365  index += SIZEOF_UINT16;
3367  index += SIZEOF_UINT16;
3369  index += SIZEOF_UINT32;
3371  index += SIZEOF_UINT16;
3373  index += SIZEOF_UINT16;
3374  break;
3375 #endif
3376 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3379  index += SIZEOF_UINT16;
3381  index += SIZEOF_UINT16;
3383  index += SIZEOF_UINT16;
3385  index += SIZEOF_UINT16;
3387  index += SIZEOF_UINT16;
3389  index += SIZEOF_UINT16;
3390  break;
3391 #endif
3392 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3395  index += SIZEOF_UINT16;
3397  index += SIZEOF_UINT16;
3399  index += SIZEOF_UINT16;
3401  index += SIZEOF_UINT16;
3402  break;
3403 #endif
3404 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3407  index += SIZEOF_UINT16;
3409  index += SIZEOF_UINT16;
3411  index += SIZEOF_UINT16;
3413  index += SIZEOF_UINT16;
3415  index += SIZEOF_UINT16;
3417  index += SIZEOF_UINT16;
3418  break;
3419 #endif
3420 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3423  index += SIZEOF_UINT16;
3425  index += SIZEOF_UINT16;
3427  index += SIZEOF_UINT16;
3429  index += SIZEOF_UINT16;
3431  index += SIZEOF_UINT16;
3432  memcpy(ptr + index, sig->u.MlmeStartAggregationRequest.PeerQstaAddress.x, 48 / 8);
3433  index += 48 / 8;
3435  index += SIZEOF_UINT16;
3437  index += SIZEOF_UINT16;
3439  index += SIZEOF_UINT16;
3441  index += SIZEOF_UINT16;
3443  index += SIZEOF_UINT16;
3444  break;
3445 #endif
3446 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3449  index += SIZEOF_UINT16;
3451  index += SIZEOF_UINT16;
3453  index += SIZEOF_UINT16;
3455  index += SIZEOF_UINT16;
3456  memcpy(ptr + index, sig->u.MlmeHlSyncRequest.GroupAddress.x, 48 / 8);
3457  index += 48 / 8;
3458  break;
3459 #endif
3462  index += SIZEOF_UINT16;
3464  index += SIZEOF_UINT16;
3466  index += SIZEOF_UINT16;
3468  index += SIZEOF_UINT16;
3470  index += SIZEOF_UINT16;
3472  index += SIZEOF_UINT16;
3474  index += SIZEOF_UINT16;
3476  index += SIZEOF_UINT16;
3478  index += SIZEOF_UINT16;
3480  index += SIZEOF_UINT16;
3482  index += SIZEOF_UINT16;
3484  index += SIZEOF_UINT16;
3485  break;
3486 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3489  index += SIZEOF_UINT16;
3491  index += SIZEOF_UINT16;
3493  index += SIZEOF_UINT16;
3495  index += SIZEOF_UINT16;
3497  index += SIZEOF_UINT16;
3499  index += SIZEOF_UINT16;
3500  break;
3501 #endif
3502 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3505  index += SIZEOF_UINT16;
3507  index += SIZEOF_UINT16;
3509  index += SIZEOF_UINT16;
3511  index += SIZEOF_UINT16;
3513  index += SIZEOF_UINT16;
3515  index += SIZEOF_UINT16;
3516  break;
3517 #endif
3518 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3521  index += SIZEOF_UINT16;
3523  index += SIZEOF_UINT16;
3525  index += SIZEOF_UINT16;
3527  index += SIZEOF_UINT16;
3529  index += SIZEOF_UINT16;
3531  index += SIZEOF_UINT16;
3532  break;
3533 #endif
3534 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3537  index += SIZEOF_UINT16;
3539  index += SIZEOF_UINT16;
3541  index += SIZEOF_UINT16;
3543  index += SIZEOF_UINT16;
3544  memcpy(ptr + index, sig->u.MlmeResetRequest.StaAddress.x, 48 / 8);
3545  index += 48 / 8;
3547  index += SIZEOF_UINT16;
3548  break;
3549 #endif
3550 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3553  index += SIZEOF_UINT16;
3555  index += SIZEOF_UINT16;
3557  index += SIZEOF_UINT16;
3559  index += SIZEOF_UINT16;
3561  index += SIZEOF_UINT16;
3562  break;
3563 #endif
3564 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3567  index += SIZEOF_UINT16;
3569  index += SIZEOF_UINT16;
3571  index += SIZEOF_UINT16;
3573  index += SIZEOF_UINT16;
3575  index += SIZEOF_UINT16;
3577  index += SIZEOF_UINT16;
3579  index += SIZEOF_UINT16;
3580  break;
3581 #endif
3582 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3585  index += SIZEOF_UINT16;
3587  index += SIZEOF_UINT16;
3589  index += SIZEOF_UINT16;
3591  index += SIZEOF_UINT16;
3593  index += SIZEOF_UINT16;
3595  index += SIZEOF_UINT16;
3597  index += SIZEOF_UINT32;
3598  break;
3599 #endif
3600 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3603  index += SIZEOF_UINT16;
3605  index += SIZEOF_UINT16;
3607  index += SIZEOF_UINT16;
3609  index += SIZEOF_UINT16;
3611  index += SIZEOF_UINT16;
3613  index += SIZEOF_UINT16;
3615  index += SIZEOF_UINT16;
3616  break;
3617 #endif
3618 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3621  index += SIZEOF_UINT16;
3623  index += SIZEOF_UINT16;
3625  index += SIZEOF_UINT16;
3627  index += SIZEOF_UINT16;
3629  index += SIZEOF_UINT16;
3631  index += SIZEOF_UINT16;
3632  memcpy(ptr + index, sig->u.MlmeConnectStatusRequest.StaAddress.x, 48 / 8);
3633  index += 48 / 8;
3635  index += SIZEOF_UINT16;
3637  index += SIZEOF_UINT16;
3638  break;
3639 #endif
3640 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3643  index += SIZEOF_UINT16;
3645  index += SIZEOF_UINT16;
3647  index += SIZEOF_UINT16;
3649  index += SIZEOF_UINT16;
3651  index += SIZEOF_UINT16;
3652  break;
3653 #endif
3654 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3657  index += SIZEOF_UINT16;
3659  index += SIZEOF_UINT16;
3661  index += SIZEOF_UINT16;
3663  index += SIZEOF_UINT16;
3665  index += SIZEOF_UINT16;
3667  index += SIZEOF_UINT16;
3669  index += SIZEOF_UINT16;
3671  index += SIZEOF_UINT16;
3673  index += SIZEOF_UINT16;
3674  break;
3675 #endif
3676 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3679  index += SIZEOF_UINT16;
3681  index += SIZEOF_UINT16;
3683  index += SIZEOF_UINT16;
3685  index += SIZEOF_UINT16;
3687  index += SIZEOF_UINT16;
3689  index += SIZEOF_UINT16;
3691  index += SIZEOF_UINT16;
3692  break;
3693 #endif
3696  index += SIZEOF_UINT16;
3698  index += SIZEOF_UINT16;
3700  index += SIZEOF_UINT16;
3702  index += SIZEOF_UINT16;
3704  index += SIZEOF_UINT16;
3706  index += SIZEOF_UINT16;
3707  break;
3708 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3711  index += SIZEOF_UINT16;
3713  index += SIZEOF_UINT16;
3715  index += SIZEOF_UINT16;
3717  index += SIZEOF_UINT16;
3719  index += SIZEOF_UINT16;
3720  break;
3721 #endif
3722 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3725  index += SIZEOF_UINT16;
3727  index += SIZEOF_UINT16;
3729  index += SIZEOF_UINT16;
3731  index += SIZEOF_UINT16;
3733  index += SIZEOF_UINT16;
3735  index += SIZEOF_UINT16;
3737  index += SIZEOF_UINT16;
3738  break;
3739 #endif
3740 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3743  index += SIZEOF_UINT16;
3745  index += SIZEOF_UINT16;
3747  index += SIZEOF_UINT16;
3749  index += SIZEOF_UINT16;
3751  index += SIZEOF_UINT16;
3753  index += SIZEOF_UINT16;
3755  index += SIZEOF_UINT16;
3756  break;
3757 #endif
3760  index += SIZEOF_UINT16;
3762  index += SIZEOF_UINT16;
3764  index += SIZEOF_UINT16;
3766  index += SIZEOF_UINT16;
3768  index += SIZEOF_UINT16;
3770  index += SIZEOF_UINT16;
3772  index += SIZEOF_UINT16;
3774  index += SIZEOF_UINT16;
3776  index += SIZEOF_UINT16;
3778  index += SIZEOF_UINT16;
3780  index += SIZEOF_UINT16;
3782  index += SIZEOF_UINT16;
3783  break;
3786  index += SIZEOF_UINT16;
3788  index += SIZEOF_UINT16;
3790  index += SIZEOF_UINT16;
3792  index += SIZEOF_UINT16;
3794  index += SIZEOF_UINT16;
3796  index += SIZEOF_UINT32;
3797  break;
3798 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3801  index += SIZEOF_UINT16;
3803  index += SIZEOF_UINT16;
3805  index += SIZEOF_UINT16;
3807  index += SIZEOF_UINT16;
3809  index += SIZEOF_UINT16;
3811  index += SIZEOF_UINT16;
3812  break;
3813 #endif
3814 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3817  index += SIZEOF_UINT16;
3819  index += SIZEOF_UINT16;
3821  index += SIZEOF_UINT16;
3823  index += SIZEOF_UINT16;
3825  index += SIZEOF_UINT16;
3827  index += SIZEOF_UINT16;
3829  index += SIZEOF_UINT16;
3830  break;
3831 #endif
3834  index += SIZEOF_UINT16;
3836  index += SIZEOF_UINT16;
3838  index += SIZEOF_UINT16;
3840  index += SIZEOF_UINT16;
3842  index += SIZEOF_UINT16;
3844  index += SIZEOF_UINT16;
3846  index += SIZEOF_UINT32;
3848  index += SIZEOF_UINT16;
3849  memcpy(ptr + index, sig->u.MaPacketRequest.Ra.x, 48 / 8);
3850  index += 48 / 8;
3852  index += SIZEOF_UINT16;
3853  break;
3854 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3857  index += SIZEOF_UINT16;
3859  index += SIZEOF_UINT16;
3861  index += SIZEOF_UINT16;
3863  index += SIZEOF_UINT16;
3865  index += SIZEOF_UINT16;
3867  index += SIZEOF_UINT16;
3869  index += SIZEOF_UINT16;
3871  index += SIZEOF_UINT16;
3872  memcpy(ptr + index, sig->u.MlmeModifyBssParameterRequest.Bssid.x, 48 / 8);
3873  index += 48 / 8;
3875  index += SIZEOF_UINT16;
3876  break;
3877 #endif
3878 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3881  index += SIZEOF_UINT16;
3883  index += SIZEOF_UINT16;
3885  index += SIZEOF_UINT16;
3887  index += SIZEOF_UINT16;
3889  index += SIZEOF_UINT16;
3891  index += SIZEOF_UINT16;
3893  index += SIZEOF_UINT16;
3894  break;
3895 #endif
3898  index += SIZEOF_UINT16;
3900  index += SIZEOF_UINT16;
3902  index += SIZEOF_UINT16;
3904  index += SIZEOF_UINT16;
3906  index += SIZEOF_UINT16;
3908  index += SIZEOF_UINT16;
3909  break;
3910 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3913  index += SIZEOF_UINT16;
3915  index += SIZEOF_UINT16;
3917  index += SIZEOF_UINT16;
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
3927  index += SIZEOF_UINT16;
3929  index += SIZEOF_UINT16;
3931  index += SIZEOF_UINT16;
3933  index += SIZEOF_UINT16;
3935  index += SIZEOF_UINT16;
3937  index += SIZEOF_UINT16;
3938  break;
3939 #endif
3940 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3943  index += SIZEOF_UINT16;
3945  index += SIZEOF_UINT16;
3947  index += SIZEOF_UINT16;
3949  index += SIZEOF_UINT16;
3951  index += SIZEOF_UINT16;
3953  index += SIZEOF_UINT16;
3954  break;
3955 #endif
3956 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3959  index += SIZEOF_UINT16;
3961  index += SIZEOF_UINT16;
3963  index += SIZEOF_UINT16;
3965  index += SIZEOF_UINT16;
3967  index += SIZEOF_UINT16;
3969  index += SIZEOF_UINT16;
3971  index += SIZEOF_UINT16;
3972  break;
3973 #endif
3974 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
3977  index += SIZEOF_UINT16;
3979  index += SIZEOF_UINT16;
3981  index += SIZEOF_UINT16;
3983  index += SIZEOF_UINT16;
3985  index += SIZEOF_UINT16;
3987  index += SIZEOF_UINT16;
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
3997  index += SIZEOF_UINT16;
3999  index += SIZEOF_UINT16;
4001  index += SIZEOF_UINT16;
4003  index += SIZEOF_UINT16;
4005  index += SIZEOF_UINT16;
4007  index += SIZEOF_UINT16;
4009  index += SIZEOF_UINT16;
4010  memcpy(ptr + index, sig->u.MlmeSetChannelRequest.Address.x, 48 / 8);
4011  index += 48 / 8;
4013  index += SIZEOF_UINT16;
4015  index += SIZEOF_UINT16;
4016  break;
4017 #endif
4018 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4021  index += SIZEOF_UINT16;
4023  index += SIZEOF_UINT16;
4025  index += SIZEOF_UINT16;
4027  index += SIZEOF_UINT16;
4029  index += SIZEOF_UINT16;
4031  index += SIZEOF_UINT16;
4032  break;
4033 #endif
4034 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4037  index += SIZEOF_UINT16;
4039  index += SIZEOF_UINT16;
4041  index += SIZEOF_UINT16;
4043  index += SIZEOF_UINT16;
4045  index += SIZEOF_UINT16;
4047  index += SIZEOF_UINT16;
4048  break;
4049 #endif
4050 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4053  index += SIZEOF_UINT16;
4055  index += SIZEOF_UINT16;
4057  index += SIZEOF_UINT16;
4059  index += SIZEOF_UINT16;
4061  index += SIZEOF_UINT16;
4062  memcpy(ptr + index, sig->u.MlmeAutonomousScanLossIndication.Bssid.x, 48 / 8);
4063  index += 48 / 8;
4064  break;
4065 #endif
4068  index += SIZEOF_UINT16;
4070  index += SIZEOF_UINT16;
4072  index += SIZEOF_UINT16;
4074  index += SIZEOF_UINT16;
4076  index += SIZEOF_UINT16;
4078  index += SIZEOF_UINT16;
4079  break;
4080 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4083  index += SIZEOF_UINT16;
4085  index += SIZEOF_UINT16;
4087  index += SIZEOF_UINT16;
4089  index += SIZEOF_UINT16;
4091  index += SIZEOF_UINT16;
4093  index += SIZEOF_UINT16;
4095  index += SIZEOF_UINT16;
4096  break;
4097 #endif
4098 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4101  index += SIZEOF_UINT16;
4103  index += SIZEOF_UINT16;
4105  index += SIZEOF_UINT16;
4107  index += SIZEOF_UINT16;
4109  index += SIZEOF_UINT16;
4111  index += SIZEOF_UINT16;
4112  break;
4113 #endif
4114 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4117  index += SIZEOF_UINT16;
4119  index += SIZEOF_UINT16;
4121  index += SIZEOF_UINT16;
4123  index += SIZEOF_UINT16;
4125  index += SIZEOF_UINT16;
4127  index += SIZEOF_UINT16;
4129  index += SIZEOF_UINT16;
4130  break;
4131 #endif
4132 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4135  index += SIZEOF_UINT16;
4137  index += SIZEOF_UINT16;
4139  index += SIZEOF_UINT16;
4141  index += SIZEOF_UINT16;
4143  index += SIZEOF_UINT16;
4145  index += SIZEOF_UINT16;
4146  break;
4147 #endif
4148 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4151  index += SIZEOF_UINT16;
4153  index += SIZEOF_UINT16;
4155  index += SIZEOF_UINT16;
4157  index += SIZEOF_UINT16;
4159  index += SIZEOF_UINT16;
4161  index += SIZEOF_UINT16;
4162  break;
4163 #endif
4164 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4167  index += SIZEOF_UINT16;
4169  index += SIZEOF_UINT16;
4171  index += SIZEOF_UINT16;
4173  index += SIZEOF_UINT16;
4175  index += SIZEOF_UINT16;
4176  memcpy(ptr + index, sig->u.MlmeStopAggregationRequest.PeerQstaAddress.x, 48 / 8);
4177  index += 48 / 8;
4179  index += SIZEOF_UINT16;
4181  index += SIZEOF_UINT16;
4182  break;
4183 #endif
4184 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4187  index += SIZEOF_UINT16;
4189  index += SIZEOF_UINT16;
4191  index += SIZEOF_UINT16;
4193  index += SIZEOF_UINT16;
4195  index += SIZEOF_UINT16;
4197  index += SIZEOF_UINT16;
4199  index += SIZEOF_UINT16;
4200  break;
4201 #endif
4202 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4205  index += SIZEOF_UINT16;
4207  index += SIZEOF_UINT16;
4209  index += SIZEOF_UINT16;
4211  index += SIZEOF_UINT16;
4213  index += SIZEOF_UINT16;
4215  index += SIZEOF_UINT16;
4217  index += SIZEOF_UINT16;
4219  index += SIZEOF_UINT16;
4221  index += SIZEOF_UINT32;
4223  index += SIZEOF_UINT32;
4225  index += SIZEOF_UINT32;
4226  memcpy(ptr + index, sig->u.MlmeAddBlackoutRequest.PeerStaAddress.x, 48 / 8);
4227  index += 48 / 8;
4229  index += SIZEOF_UINT16;
4230  break;
4231 #endif
4232 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4235  index += SIZEOF_UINT16;
4237  index += SIZEOF_UINT16;
4239  index += SIZEOF_UINT16;
4241  index += SIZEOF_UINT16;
4243  index += SIZEOF_UINT16;
4245  index += SIZEOF_UINT16;
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
4255  index += SIZEOF_UINT16;
4257  index += SIZEOF_UINT16;
4259  index += SIZEOF_UINT16;
4261  index += SIZEOF_UINT16;
4263  index += SIZEOF_UINT16;
4264  break;
4265 #endif
4266 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4269  index += SIZEOF_UINT16;
4271  index += SIZEOF_UINT16;
4273  index += SIZEOF_UINT16;
4275  index += SIZEOF_UINT16;
4276  memcpy(ptr + index, sig->u.MlmeHlSyncConfirm.GroupAddress.x, 48 / 8);
4277  index += 48 / 8;
4279  index += SIZEOF_UINT16;
4280  break;
4281 #endif
4282 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4285  index += SIZEOF_UINT16;
4287  index += SIZEOF_UINT16;
4289  index += SIZEOF_UINT16;
4291  index += SIZEOF_UINT16;
4293  index += SIZEOF_UINT16;
4295  index += SIZEOF_UINT16;
4297  index += SIZEOF_UINT16;
4299  index += SIZEOF_UINT16;
4301  index += SIZEOF_UINT16;
4303  index += SIZEOF_UINT32;
4305  index += SIZEOF_UINT16;
4307  index += SIZEOF_UINT16;
4308  break;
4309 #endif
4310 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4313  index += SIZEOF_UINT16;
4315  index += SIZEOF_UINT16;
4317  index += SIZEOF_UINT16;
4319  index += SIZEOF_UINT16;
4320  break;
4321 #endif
4322 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4325  index += SIZEOF_UINT16;
4327  index += SIZEOF_UINT16;
4329  index += SIZEOF_UINT16;
4331  index += SIZEOF_UINT16;
4333  index += SIZEOF_UINT16;
4335  index += SIZEOF_UINT16;
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;
4343  index += SIZEOF_UINT16;
4345  index += SIZEOF_UINT16;
4347  index += SIZEOF_UINT16;
4348  break;
4349 #endif
4350 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4353  index += SIZEOF_UINT16;
4355  index += SIZEOF_UINT16;
4357  index += SIZEOF_UINT16;
4359  index += SIZEOF_UINT16;
4361  index += SIZEOF_UINT16;
4363  index += SIZEOF_UINT16;
4364  break;
4365 #endif
4366 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4369  index += SIZEOF_UINT16;
4371  index += SIZEOF_UINT16;
4373  index += SIZEOF_UINT16;
4375  index += SIZEOF_UINT16;
4377  index += SIZEOF_UINT16;
4379  index += SIZEOF_UINT16;
4381  index += SIZEOF_UINT16;
4382  break;
4383 #endif
4384 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4387  index += SIZEOF_UINT16;
4389  index += SIZEOF_UINT16;
4391  index += SIZEOF_UINT16;
4393  index += SIZEOF_UINT16;
4395  index += SIZEOF_UINT16;
4397  index += SIZEOF_UINT16;
4398  break;
4399 #endif
4400 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4403  index += SIZEOF_UINT16;
4405  index += SIZEOF_UINT16;
4407  index += SIZEOF_UINT16;
4409  index += SIZEOF_UINT16;
4411  index += SIZEOF_UINT16;
4413  index += SIZEOF_UINT16;
4415  index += SIZEOF_UINT16;
4417  index += SIZEOF_UINT16;
4418  memcpy(ptr + index, sig->u.MlmeSetkeysRequest.Address.x, 48 / 8);
4419  index += 48 / 8;
4421  index += SIZEOF_UINT16;
4423  index += SIZEOF_UINT16;
4425  index += SIZEOF_UINT16;
4427  index += SIZEOF_UINT16;
4429  index += SIZEOF_UINT16;
4431  index += SIZEOF_UINT16;
4433  index += SIZEOF_UINT16;
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
4443  index += SIZEOF_UINT16;
4445  index += SIZEOF_UINT16;
4447  index += SIZEOF_UINT16;
4449  index += SIZEOF_UINT16;
4451  index += SIZEOF_UINT16;
4453  index += SIZEOF_UINT16;
4455  index += SIZEOF_UINT16;
4456  break;
4457 #endif
4458 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4461  index += SIZEOF_UINT16;
4463  index += SIZEOF_UINT16;
4465  index += SIZEOF_UINT16;
4467  index += SIZEOF_UINT16;
4468  break;
4469 #endif
4470 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4473  index += SIZEOF_UINT16;
4475  index += SIZEOF_UINT16;
4477  index += SIZEOF_UINT16;
4479  index += SIZEOF_UINT16;
4481  index += SIZEOF_UINT16;
4483  index += SIZEOF_UINT16;
4485  index += SIZEOF_UINT16;
4487  index += SIZEOF_UINT16;
4489  index += SIZEOF_UINT16;
4490  break;
4491 #endif
4494  index += SIZEOF_UINT16;
4496  index += SIZEOF_UINT16;
4498  index += SIZEOF_UINT16;
4500  index += SIZEOF_UINT16;
4502  index += SIZEOF_UINT16;
4503  memcpy(ptr + index, sig->u.MaPacketErrorIndication.PeerQstaAddress.x, 48 / 8);
4504  index += 48 / 8;
4506  index += SIZEOF_UINT16;
4508  index += SIZEOF_UINT16;
4509  break;
4510 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4513  index += SIZEOF_UINT16;
4515  index += SIZEOF_UINT16;
4517  index += SIZEOF_UINT16;
4519  index += SIZEOF_UINT16;
4521  index += SIZEOF_UINT16;
4523  index += SIZEOF_UINT16;
4525  index += SIZEOF_UINT32;
4527  index += SIZEOF_UINT16;
4529  index += SIZEOF_UINT16;
4531  index += SIZEOF_UINT16;
4532  break;
4533 #endif
4534 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4537  index += SIZEOF_UINT16;
4539  index += SIZEOF_UINT16;
4541  index += SIZEOF_UINT16;
4543  index += SIZEOF_UINT16;
4545  index += SIZEOF_UINT16;
4547  index += SIZEOF_UINT16;
4549  index += SIZEOF_UINT16;
4551  index += SIZEOF_UINT16;
4553  index += SIZEOF_UINT16;
4555  index += SIZEOF_UINT32;
4557  index += SIZEOF_UINT32;
4559  index += SIZEOF_UINT16;
4560  break;
4561 #endif
4562 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4565  index += SIZEOF_UINT16;
4567  index += SIZEOF_UINT16;
4569  index += SIZEOF_UINT16;
4571  index += SIZEOF_UINT16;
4573  index += SIZEOF_UINT16;
4575  index += SIZEOF_UINT16;
4576  break;
4577 #endif
4578 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4581  index += SIZEOF_UINT16;
4583  index += SIZEOF_UINT16;
4585  index += SIZEOF_UINT16;
4587  index += SIZEOF_UINT16;
4589  index += SIZEOF_UINT16;
4591  index += SIZEOF_UINT16;
4593  index += SIZEOF_UINT16;
4594  break;
4595 #endif
4596 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4599  index += SIZEOF_UINT16;
4601  index += SIZEOF_UINT16;
4603  index += SIZEOF_UINT16;
4605  index += SIZEOF_UINT16;
4607  index += SIZEOF_UINT16;
4608  break;
4609 #endif
4610 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4613  index += SIZEOF_UINT16;
4615  index += SIZEOF_UINT16;
4617  index += SIZEOF_UINT16;
4619  index += SIZEOF_UINT16;
4621  index += SIZEOF_UINT16;
4623  index += SIZEOF_UINT16;
4624  break;
4625 #endif
4628  index += SIZEOF_UINT16;
4630  index += SIZEOF_UINT16;
4632  index += SIZEOF_UINT16;
4634  index += SIZEOF_UINT16;
4635  break;
4636 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4639  index += SIZEOF_UINT16;
4641  index += SIZEOF_UINT16;
4643  index += SIZEOF_UINT16;
4645  index += SIZEOF_UINT16;
4647  index += SIZEOF_UINT16;
4649  index += SIZEOF_UINT16;
4651  index += SIZEOF_UINT16;
4652  break;
4653 #endif
4654 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4657  index += SIZEOF_UINT16;
4659  index += SIZEOF_UINT16;
4661  index += SIZEOF_UINT16;
4663  index += SIZEOF_UINT16;
4665  index += SIZEOF_UINT16;
4667  index += SIZEOF_UINT16;
4668  memcpy(ptr + index, sig->u.MlmeBlockackErrorIndication.PeerQstaAddress.x, 48 / 8);
4669  index += 48 / 8;
4670  break;
4671 #endif
4672 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4675  index += SIZEOF_UINT16;
4677  index += SIZEOF_UINT16;
4679  index += SIZEOF_UINT16;
4681  index += SIZEOF_UINT16;
4683  index += SIZEOF_UINT16;
4685  index += SIZEOF_UINT16;
4686  break;
4687 #endif
4688 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4691  index += SIZEOF_UINT16;
4693  index += SIZEOF_UINT16;
4695  index += SIZEOF_UINT16;
4697  index += SIZEOF_UINT16;
4699  index += SIZEOF_UINT16;
4700  break;
4701 #endif
4702 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4705  index += SIZEOF_UINT16;
4707  index += SIZEOF_UINT16;
4709  index += SIZEOF_UINT16;
4711  index += SIZEOF_UINT16;
4713  index += SIZEOF_UINT16;
4714  memcpy(ptr + index, sig->u.MlmeStartAggregationConfirm.PeerQstaAddress.x, 48 / 8);
4715  index += 48 / 8;
4717  index += SIZEOF_UINT16;
4719  index += SIZEOF_UINT16;
4721  index += SIZEOF_UINT16;
4723  index += SIZEOF_UINT16;
4724  break;
4725 #endif
4726 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4729  index += SIZEOF_UINT16;
4731  index += SIZEOF_UINT16;
4733  index += SIZEOF_UINT16;
4735  index += SIZEOF_UINT16;
4737  index += SIZEOF_UINT16;
4739  index += SIZEOF_UINT16;
4740  break;
4741 #endif
4744  index += SIZEOF_UINT16;
4746  index += SIZEOF_UINT16;
4748  index += SIZEOF_UINT16;
4750  index += SIZEOF_UINT16;
4752  index += SIZEOF_UINT16;
4754  index += SIZEOF_UINT16;
4756  index += SIZEOF_UINT16;
4758  index += SIZEOF_UINT16;
4760  index += SIZEOF_UINT32;
4761  break;
4762 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4765  index += SIZEOF_UINT16;
4767  index += SIZEOF_UINT16;
4769  index += SIZEOF_UINT16;
4771  index += SIZEOF_UINT16;
4773  index += SIZEOF_UINT16;
4775  index += SIZEOF_UINT16;
4777  index += SIZEOF_UINT16;
4778  break;
4779 #endif
4780 #ifdef CSR_WIFI_HIP_FULL_SIGNAL_SET
4783  index += SIZEOF_UINT16;
4785  index += SIZEOF_UINT16;
4787  index += SIZEOF_UINT16;
4789  index += SIZEOF_UINT16;
4791  index += SIZEOF_UINT16;
4792  break;
4793 #endif
4794 
4795  default:
4797  }
4798 
4799  *sig_len = index;
4800 
4801  return CSR_RESULT_SUCCESS;
4802 } /* write_pack() */
4803 
4804