]> git.proxmox.com Git - mirror_linux-firmware.git/blob - ath10k/QCA6174/hw3.0/notice_ath10k_firmware-4.txt
Merge branch 'master' of https://github.com/NXP/mwifiex-firmware
[mirror_linux-firmware.git] / ath10k / QCA6174 / hw3.0 / notice_ath10k_firmware-4.txt
1 This Notice.txt file contains certain notices of software components included
2 with the software that Qualcomm Atheros, Inc. (“Qualcomm Atheros”) is required
3 to provide you. Except where prohibited by the open source license, the
4 content of this notices file is only provided to satisfy Qualcomm Atheros's
5 attribution and notice requirement; your use of these software components
6 together with the Qualcomm Atheros software (Qualcomm Atheros software
7 hereinafter referred to as “Software”) is subject to the terms of your
8 license from Qualcomm Atheros. Compliance with all copyright laws and
9 software license agreements included in the notice section of this file
10 are the responsibility of the user. Except as may be granted by separate
11 express written agreement, this file provides no license to any Qualcomm
12 Atheros patents, trademarks, copyrights, or other intellectual property.
13
14 Copyright (c) 2014 Qualcomm Atheros, Inc. All rights reserved.
15
16 Qualcomm is a trademark of Qualcomm Incorporated, registered in the
17 United States and other countries. All Qualcomm Incorporated trademarks
18 are used with permission. Atheros is a trademark of Qualcomm Atheros, Inc.,
19 registered in the United States and other countries. Other products and
20 brand names may be trademarks or registered trademarks of their respective owners.
21
22 NOTICES:
23
24 =============================================================================
25
26 * Copyright (c) 2014 Qualcomm Atheros, Inc.
27 * All Rights Reserved.
28 * Qualcomm Atheros Confidential and Proprietary.
29 *Notifications and licenses are retained for attribution purposes only *
30
31 Copyright (c) 2002-2004 Sam Leffler, Errno Consulting
32 // All rights reserved.
33 // $ATH_LICENSE_NULL$
34 //
35 // Redistribution and use in source and binary forms, with or without
36 // modification, are permitted provided that the following conditions
37 // are met:
38 // 1. Redistributions of source code must retain the above copyright
39 // notice, this list of conditions and the following disclaimer,
40 // without modification.
41 // 2. Redistributions in binary form must reproduce at minimum a disclaimer
42 // similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any
43 // redistribution must be conditioned upon including a substantially
44 // similar Disclaimer requirement for further binary redistribution.
45 // 3. Neither the names of the above-listed copyright holders nor the names
46 // of any contributors may be used to endorse or promote products derived
47 // from this software without specific prior written permission.
48 //
49 // Alternatively, this software may be distributed under the terms of the
50 // GNU General Public License ("GPL") version 2 as published by the Free
51 // Software Foundation.
52 //
53 // NO WARRANTY
54 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
55 // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
56 // LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTIBILITY
57 // AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
58 // THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
59 // OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
60 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
61 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
62 // IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
63 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
64 // THE POSSIBILITY OF SUCH DAMAGES.
65
66 *For this file, which was received with alternative licensing options for
67 * distribution, Qualcomm Atheros, Inc. has selected the BSD license.
68
69 NOTICES:
70
71
72 /*
73 * FILE: sha2.c
74 * AUTHOR: Aaron D. Gifford - http://www.aarongifford.com/
75 *
76 * Copyright (c) 2000-2001, Aaron D. Gifford
77 * All rights reserved.
78 *
79 * Redistribution and use in source and binary forms, with or without
80 * modification, are permitted provided that the following conditions
81 * are met:
82 * 1. Redistributions of source code must retain the above copyright
83 * notice, this list of conditions and the following disclaimer.
84 * 2. Redistributions in binary form must reproduce the above copyright
85 * notice, this list of conditions and the following disclaimer in the
86 * documentation and/or other materials provided with the distribution.
87 * 3. Neither the name of the copyright holder nor the names of contributors
88 * may be used to endorse or promote products derived from this software
89 * without specific prior written permission.
90 *
91 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTOR(S) ``AS IS'' AND
92 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
93 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
94 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTOR(S) BE LIABLE
95 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
96 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
97 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
98 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
99 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
100 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
101 * SUCH DAMAGE.
102 *
103 */
104 p4://qctp411.qualcomm.com/components/rel/wlanfw_protocol_cmn.cnss/1.0.0/src/nan/sha2.c
105
106 /*
107 * FILE: sha2.h
108 * AUTHOR: Aaron D. Gifford - http://www.aarongifford.com/
109 *
110 * Copyright (c) 2000-2001, Aaron D. Gifford
111 * All rights reserved.
112 *
113 * Redistribution and use in source and binary forms, with or without
114 * modification, are permitted provided that the following conditions
115 * are met:
116 * 1. Redistributions of source code must retain the above copyright
117 * notice, this list of conditions and the following disclaimer.
118 * 2. Redistributions in binary form must reproduce the above copyright
119 * notice, this list of conditions and the following disclaimer in the
120 * documentation and/or other materials provided with the distribution.
121 * 3. Neither the name of the copyright holder nor the names of contributors
122 * may be used to endorse or promote products derived from this software
123 * without specific prior written permission.
124 *
125 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTOR(S) ``AS IS'' AND
126 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
127 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
128 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTOR(S) BE LIABLE
129 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
130 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
131 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
132 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
133 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
134 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
135 * SUCH DAMAGE.
136 *
137 */
138 p4://qctp411.qualcomm.com/components/rel/wlanfw_mac_core.cnss/1.0/romexport/AR6320/hw.3/include/sha2.h
139
140 /*
141 * Copyright (c) 1998 The NetBSD Foundation, Inc.
142 * All rights reserved.
143 *
144 * This code is derived from software contributed to The NetBSD Foundation
145 * by Lennart Augustsson (lennart@augustsson.net) at
146 * Carlstedt Research & Technology.
147 *
148 * Redistribution and use in source and binary forms, with or without
149 * modification, are permitted provided that the following conditions
150 * are met:
151 * 1. Redistributions of source code must retain the above copyright
152 * notice, this list of conditions and the following disclaimer.
153 * 2. Redistributions in binary form must reproduce the above copyright
154 * notice, this list of conditions and the following disclaimer in the
155 * documentation and/or other materials provided with the distribution.
156 * 3. All advertising materials mentioning features or use of this software
157 * must display the following acknowledgement:
158 * This product includes software developed by the NetBSD
159 * Foundation, Inc. and its contributors.
160 * 4. Neither the name of The NetBSD Foundation nor the names of its
161 * contributors may be used to endorse or promote products derived
162 * from this software without specific prior written permission.
163 *
164 * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
165 * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
166 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
167 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
168 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
169 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
170 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
171 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
172 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
173 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
174 * POSSIBILITY OF SUCH DAMAGE.
175 */
176 p4://qctp411.qualcomm.com/components/rel/wlanfw_mac_core.cnss/1.0/romexport/AR6320/hw.3/include/usb.h
177
178 /*
179 * Copyright (c) 2011 Qualcomm Atheros, Inc.
180 * All Rights Reserved.
181 * Qualcomm Atheros Confidential and Proprietary.
182 * Notifications and licenses are retained for attribution purposes only.
183 */
184 /*
185 * For this file, which was received with alternative licensing options for
186 * distribution, Qualcomm Atheros, Inc. has selected the BSD license.
187 */
188
189 /*
190 * WPA Supplicant / wrapper functions for crypto libraries
191 * Copyright (c) 2004-2005, Jouni Malinen <jkmaline@cc.hut.fi>
192 *
193 * This program is free software; you can redistribute it and/or modify
194 * it under the terms of the GNU General Public License version 2 as
195 * published by the Free Software Foundation.
196 *
197 * Alternatively, this software may be distributed under the terms of BSD
198 * license.
199 *
200 * See README and COPYING for more details.
201 *
202 * This file defines the cryptographic functions that need to be implemented
203 * for wpa_supplicant and hostapd. When TLS is not used, internal
204 * implementation of MD5, SHA1, and AES is used and no external libraries are
205 * required. When TLS is enabled (e.g., by enabling EAP-TLS or EAP-PEAP), the
206 * crypto library used by the TLS implementation is expected to be used for
207 * non-TLS needs, too, in order to save space by not implementing these
208 * functions twice.
209 *
210 * Wrapper code for using each crypto library is in its own file (crypto*.c)
211 * and one of these files is build and linked in to provide the functions
212 * defined here.
213 */
214 p4://qctp411.qualcomm.com/components/rel/wlanfw_protocol_cmn.cnss/1.0.0/src/supplicant/crypto.h
215
216 /*
217 * Copyright (c) 2011 Qualcomm Atheros, Inc.
218 * All Rights Reserved.
219 * Qualcomm Atheros Confidential and Proprietary.
220 * Notifications and licenses are retained for attribution purposes only.
221 */
222 /*
223 * For this file, which was received with alternative licensing options for
224 * distribution, Qualcomm Atheros, Inc. has selected the BSD license.
225 */
226
227 /*
228 * WPA Supplicant / Configuration file structures
229 * Copyright (c) 2003-2005, Jouni Malinen <jkmaline@cc.hut.fi>
230 *
231 * This program is free software; you can redistribute it and/or modify
232 * it under the terms of the GNU General Public License version 2 as
233 * published by the Free Software Foundation.
234 *
235 * Alternatively, this software may be distributed under the terms of BSD
236 * license.
237 *
238 * See README and COPYING for more details.
239 */
240 p4://qctp411.qualcomm.com/components/rel/wlanfw_protocol_cmn.cnss/1.0.0/include/config.h
241
242 /*
243 * Copyright (c) 2014 Qualcomm Atheros, Inc.
244 * All Rights Reserved.
245 * Qualcomm Atheros Confidential and Proprietary.
246 * Notifications and licenses are retained for attribution purposes only.
247 */
248 /*
249 * For this file, which was received with alternative licensing options for
250 * distribution, Qualcomm Atheros, Inc. has selected the BSD license.
251 */
252
253 /*
254 * WPA Supplicant - Common definitions
255 * Copyright (c) 2004-2005, Jouni Malinen <jkmaline@cc.hut.fi>
256 *
257 * This program is free software; you can redistribute it and/or modify
258 * it under the terms of the GNU General Public License version 2 as
259 * published by the Free Software Foundation.
260 *
261 * Alternatively, this software may be distributed under the terms of BSD
262 * license.
263 *
264 * See README and COPYING for more details.
265 */
266 p4://qctp411.qualcomm.com/components/rel/wlanfw_protocol_cmn.cnss/1.0.0/include/suppl_auth_api.h
267
268 /*
269 * Copyright (c) 2011 Qualcomm Atheros, Inc.
270 * All Rights Reserved.
271 * Qualcomm Atheros Confidential and Proprietary.
272 * Notifications and licenses are retained for attribution purposes only.
273 */
274 /*
275 * For this file, which was received with alternative licensing options for
276 * distribution, Qualcomm Atheros, Inc. has selected the BSD license.
277 */
278
279 /*
280 * wpa_supplicant - WPA definitions
281 * Copyright (c) 2003-2005, Jouni Malinen <jkmaline@cc.hut.fi>
282 *
283 * This program is free software; you can redistribute it and/or modify
284 * it under the terms of the GNU General Public License version 2 as
285 * published by the Free Software Foundation.
286 *
287 * Alternatively, this software may be distributed under the terms of BSD
288 * license.
289 *
290 * See README and COPYING for more details.
291 */
292 p4://qctp411.qualcomm.com/components/rel/wlanfw_protocol_cmn.cnss/1.0.0/include/wpa.h
293
294
295 /*
296 * Copyright (c) 2011 Qualcomm Atheros, Inc.
297 * All Rights Reserved.
298 * Qualcomm Atheros Confidential and Proprietary.
299 * Notifications and licenses are retained for attribution purposes only.
300 */
301 /*
302 * For this file, which was received with alternative licensing options for
303 * distribution, Qualcomm Atheros, Inc. has selected the BSD license.
304 */
305
306 /*
307 * wpa_supplicant - Internal WPA state machine definitions
308 * Copyright (c) 2004-2005, Jouni Malinen <jkmaline@cc.hut.fi>
309 *
310 * This program is free software; you can redistribute it and/or modify
311 * it under the terms of the GNU General Public License version 2 as
312 * published by the Free Software Foundation.
313 *
314 * Alternatively, this software may be distributed under the terms of BSD
315 * license.
316 *
317 * See README and COPYING for more details.
318 */
319 p4://qctp411.qualcomm.com/components/rel/wlanfw_protocol_cmn.cnss/1.0.0/include/wpa_i.h
320
321
322 /*
323 * Copyright (c) 2014 Qualcomm Atheros, Inc.
324 * All Rights Reserved.
325 * Qualcomm Atheros Confidential and Proprietary.
326 * Notifications and licenses are retained for attribution purposes only.
327 */
328 /*
329 * For this file, which was received with alternative licensing options for
330 * distribution, Qualcomm Atheros, Inc. has selected the BSD license.
331 */
332
333 /*
334 * SHA256 hash implementation and interface functions
335 * Copyright (c) 2003-2006, Jouni Malinen <j@w1.fi>
336 *
337 * This program is free software; you can redistribute it and/or modify
338 * it under the terms of the GNU General Public License version 2 as
339 * published by the Free Software Foundation.
340 *
341 * Alternatively, this software may be distributed under the terms of BSD
342 * license.
343 *
344 * See README and COPYING for more details.
345 */
346
347 p4://qctp411.qualcomm.com/components/rel/wlanfw_protocol_cmn.cnss/1.0.0/src/supplicant/sha256.h
348
349
350 /*
351 * Copyright (c) 2014 Qualcomm Atheros, Inc.
352 * All Rights Reserved.
353 * Qualcomm Atheros Confidential and Proprietary.
354 * Notifications and licenses are retained for attribution purposes only.
355 */
356 /*
357 * For this file, which was received with alternative licensing options for
358 * distribution, Qualcomm Atheros, Inc. has selected the BSD license.
359 */
360
361 /*
362 * WPA Supplicant - IEEE 802.11r - Fast BSS Transition
363 * Copyright (c) 2006-2007, Jouni Malinen <j@w1.fi>
364
365 *
366 * This program is free software; you can redistribute it and/or modify
367 * it under the terms of the GNU General Public License version 2 as
368 * published by the Free Software Foundation.
369 *
370 * Alternatively, this software may be distributed under the terms of BSD
371 * license.
372 *
373 * See README and COPYING for more details.
374 */
375 p4://qctp411.qualcomm.com/components/rel/wlanfw_protocol_cmn.cnss/1.0.0/src/supplicant/mywpa_ft.h
376
377 /*
378 * Copyright (c) 2014 Qualcomm Atheros, Inc.
379 * All Rights Reserved.
380 * Qualcomm Atheros Confidential and Proprietary.
381 * Notifications and licenses are retained for attribution purposes only.
382 */
383 /*
384 * For this file, which was received with alternative licensing options for
385 * distribution, Qualcomm Atheros, Inc. has selected the BSD license.
386 */
387
388 /*
389 * SHA-256 hash implementation and interface functions
390 * Copyright (c) 2003-2007, Jouni Malinen <j@w1.fi>
391 *
392 * This program is free software; you can redistribute it and/or modify
393 * it under the terms of the GNU General Public License version 2 as
394 * published by the Free Software Foundation.
395 *
396 * Alternatively, this software may be distributed under the terms of BSD
397 * license.
398 *
399 * See README and COPYING for more details.
400 */
401 p4://qctp411.qualcomm.com/components/rel/wlanfw_protocol_cmn.cnss/1.0.0/src/supplicant/sha256.c
402
403 /*
404 * Copyright (c) 2011 Qualcomm Atheros, Inc.
405 * All Rights Reserved.
406 * Qualcomm Atheros Confidential and Proprietary.
407 * Notifications and licenses are retained for attribution purposes only.
408 */
409 /*
410 * For this file, which was received with alternative licensing options for
411 * distribution, Qualcomm Atheros, Inc. has selected the BSD license.
412 */
413
414 /*
415 * WPA Supplicant - WPA state machine and EAPOL-Key processing
416 * Copyright (c) 2003-2005, Jouni Malinen <jkmaline@cc.hut.fi>
417 *
418 * This program is free software; you can redistribute it and/or modify
419 * it under the terms of the GNU General Public License version 2 as
420 * published by the Free Software Foundation.
421 *
422 * Alternatively, this software may be distributed under the terms of BSD
423 * license.
424 *
425 * See README and COPYING for more details.
426 */
427 p4://qctp411.qualcomm.com/components/rel/wlanfw_protocol_cmn.cnss/1.0.0/src/supplicant/mywpa.c
428
429 /*
430 * Copyright (c) 2014 Qualcomm Atheros, Inc.
431 * All Rights Reserved.
432 * Qualcomm Atheros Confidential and Proprietary.
433 * Notifications and licenses are retained for attribution purposes only.
434 */
435 /*
436 * For this file, which was received with alternative licensing options for
437 * distribution, Qualcomm Atheros, Inc. has selected the BSD license.
438 */
439
440 /*
441 * WPA Supplicant - IEEE 802.11r - Fast BSS Transition
442 * Copyright (c) 2006-2007, Jouni Malinen <j@w1.fi>
443
444 *
445 * This program is free software; you can redistribute it and/or modify
446 * it under the terms of the GNU General Public License version 2 as
447 * published by the Free Software Foundation.
448 *
449 * Alternatively, this software may be distributed under the terms of BSD
450 * license.
451 *
452 * See README and COPYING for more details.
453 */
454 p4://qctp411.qualcomm.com/components/rel/wlanfw_protocol_cmn.cnss/1.0.0/src/supplicant/mywpa_ft.c
455
456 /*
457 * Copyright (c) 2014 Qualcomm Atheros, Inc.
458 * All Rights Reserved.
459 * Qualcomm Atheros Confidential and Proprietary.
460 * Notifications and licenses are retained for attribution purposes only.
461 */
462 /*
463 * For this file, which was received with alternative licensing options for
464 * distribution, Qualcomm Atheros, Inc. has selected the BSD license.
465 */
466
467 /*
468 * WPA definitions shared between hostapd and wpa_supplicant
469 * Copyright (c) 2002-2013, Jouni Malinen <j@w1.fi>
470
471 *
472 * This program is free software; you can redistribute it and/or modify
473 * it under the terms of the GNU General Public License version 2 as
474 * published by the Free Software Foundation.
475 *
476 * Alternatively, this software may be distributed under the terms of BSD
477 * license.
478 *
479 * See README and COPYING for more details.
480 */
481 p4://qctp411.qualcomm.com/components/rel/wlanfw_protocol_cmn.cnss/1.0.0/src/supplicant/mywpa_common.h
482
483 /*
484 * Copyright (c) 2011 Qualcomm Atheros, Inc.
485 * All Rights Reserved.
486 * Qualcomm Atheros Confidential and Proprietary.
487 * Notifications and licenses are retained for attribution purposes only.
488 */
489 /*
490 * For this file, which was received with alternative licensing options for
491 * distribution, Qualcomm Atheros, Inc. has selected the BSD license.
492 */
493
494 /*
495 * MD5 hash implementation and interface functions
496 * Copyright (c) 2003-2005, Jouni Malinen <jkmaline@cc.hut.fi>
497 *
498 * This program is free software; you can redistribute it and/or modify
499 * it under the terms of the GNU General Public License version 2 as
500 * published by the Free Software Foundation.
501 *
502 * Alternatively, this software may be distributed under the terms of BSD
503 * license.
504 *
505 * See README and COPYING for more details.
506 */
507 p4://qctp411.qualcomm.com/components/rel/wlanfw_mac_core.cnss/1.0/include/md5_api.h
508
509 /*
510 * Copyright (c) 2011 Qualcomm Atheros, Inc.
511 * All Rights Reserved.
512 * Qualcomm Atheros Confidential and Proprietary.
513 * Notifications and licenses are retained for attribution purposes only.
514 */
515 /*
516 * For this file, which was received with alternative licensing options for
517 * distribution, Qualcomm Atheros, Inc. has selected the BSD license.
518 */
519
520 /*
521 * AES-based functions
522 *
523 * - AES Key Wrap Algorithm (128-bit KEK) (RFC3394)
524 * - One-Key CBC MAC (OMAC1) hash with AES-128
525 * - AES-128 CTR mode encryption
526 * - AES-128 EAX mode encryption/decryption
527 * - AES-128 CBC
528 *
529 * Copyright (c) 2003-2005, Jouni Malinen <jkmaline@cc.hut.fi>
530 *
531 * This program is free software; you can redistribute it and/or modify
532 * it under the terms of the GNU General Public License version 2 as
533 * published by the Free Software Foundation.
534 *
535 * Alternatively, this software may be distributed under the terms of BSD
536 * license.
537 *
538 * See README and COPYING for more details.
539 */
540 p4://qctp411.qualcomm.com/components/rel/wlanfw_mac_core.cnss/1.0/romexport/AR6320/hw.3/include/aes_wrap.h
541
542 /*
543 * Copyright (c) 2011 Qualcomm Atheros, Inc.
544 * All Rights Reserved.
545 * Qualcomm Atheros Confidential and Proprietary.
546 * Notifications and licenses are retained for attribution purposes only.
547 */
548 /*
549 * For this file, which was received with alternative licensing options for
550 * distribution, Qualcomm Atheros, Inc. has selected the BSD license.
551 */
552
553 /*
554 * SHA1 hash implementation and interface functions
555 * Copyright (c) 2003-2005, Jouni Malinen <jkmaline@cc.hut.fi>
556 *
557 * This program is free software; you can redistribute it and/or modify
558 * it under the terms of the GNU General Public License version 2 as
559 * published by the Free Software Foundation.
560 *
561 * Alternatively, this software may be distributed under the terms of BSD
562 * license.
563 *
564 * See README and COPYING for more details.
565 */
566 p4://qctp411.qualcomm.com/components/rel/wlanfw_mac_core.cnss/1.0/romexport/AR6320/hw.3/include/sha1.h
567
568 /*
569 * Copyright (c) 2011 Qualcomm Atheros, Inc.
570 * All Rights Reserved.
571 * Qualcomm Atheros Confidential and Proprietary.
572 * Notifications and licenses are retained for attribution purposes only.
573 */
574 /*
575 * For this file, which was received with alternative licensing options for
576 * distribution, Qualcomm Atheros, Inc. has selected the BSD license.
577 */
578
579 /*
580 * wpa_supplicant/hostapd / common helper functions, etc.
581 * Copyright (c) 2002-2005, Jouni Malinen <jkmaline@cc.hut.fi>
582 *
583 * This program is free software; you can redistribute it and/or modify
584 * it under the terms of the GNU General Public License version 2 as
585 * published by the Free Software Foundation.
586 *
587 * Alternatively, this software may be distributed under the terms of BSD
588 * license.
589 *
590 * See README and COPYING for more details.
591 */
592 p4://qctp411.qualcomm.com/components/rel/wlanfw_mac_core.cnss/1.0/romexport/AR6320/hw.3/include/common.h
593
594 /*
595 * Copyright (c) 2011 Qualcomm Atheros, Inc.
596 * All Rights Reserved.
597 * Qualcomm Atheros Confidential and Proprietary.
598 * Notifications and licenses are retained for attribution purposes only.
599 */
600 /*
601 * For this file, which was received with alternative licensing options for
602 * distribution, Qualcomm Atheros, Inc. has selected the BSD license.
603 */
604 /*
605 * Common helper macros, etc.
606 * Copyright (c) 2002-2005, Jouni Malinen <jkmaline@cc.hut.fi>
607 *
608 * This program is free software; you can redistribute it and/or modify
609 * it under the terms of the GNU General Public License version 2 as
610 * published by the Free Software Foundation.
611 *
612 * Alternatively, this software may be distributed under the terms of BSD
613 * license.
614 *
615 */
616 p4://qctp411.qualcomm.com/components/rel/wlanfw_mac_core.cnss/1.0/romexport/AR6320/hw.3/include/seccommon.h
617
618 /*
619 * COPYRIGHT (C) 1986 Gary S. Brown. You may use this program, or
620 * code or tables extracted from it, as desired without restriction.
621 *
622 * First, the polynomial itself and its table of feedback terms. The
623 * polynomial is
624 * X^32+X^26+X^23+X^22+X^16+X^12+X^11+X^10+X^8+X^7+X^5+X^4+X^2+X^1+X^0
625 *
626 * Note that we take it "backwards" and put the highest-order term in
627 * the lowest-order bit. The X^32 term is "implied"; the LSB is the
628 * X^31 term, etc. The X^0 term (usually shown as "+1") results in
629 * the MSB being 1
630 *
631 * Note that the usual hardware shift register implementation, which
632 * is what we're using (we're merely optimizing it by doing eight-bit
633 * chunks at a time) shifts bits into the lowest-order term. In our
634 * implementation, that means shifting towards the right. Why do we
635 * do it this way? Because the calculated CRC must be transmitted in
636 * order from highest-order term to lowest-order term. UARTs transmit
637 * characters in order from LSB to MSB. By storing the CRC this way
638 * we hand it to the UART in the order low-byte to high-byte; the UART
639 * sends each low-bit to hight-bit; and the result is transmission bit
640 * by bit from highest- to lowest-order term without requiring any bit
641 * shuffling on our part. Reception works similarly
642 *
643 * The feedback terms table consists of 256, 32-bit entries. Notes
644 *
645 * The table can be generated at runtime if desired; code to do so
646 * is shown later. It might not be obvious, but the feedback
647 * terms simply represent the results of eight shift/xor opera
648 * tions for all combinations of data and CRC register values
649 *
650 * The values must be right-shifted by eight bits by the "updcrc
651 * logic; the shift must be unsigned (bring in zeroes). On some
652 * hardware you could probably optimize the shift in assembler by
653 * using byte-swap instructions
654 * polynomial $edb88320
655 *
656 *
657 * CRC32 code derived from work by Gary S. Brown.
658 */
659 p4://qctp411.qualcomm.com/components/rel/wlanfw_protocol_cmn.cnss/1.0.0/src/nan/wlan_nan_crc.c
660
661
662 //
663 // Copyright (c) 1991, 1993
664 // The Regents of the University of California. All rights reserved.
665 // $ATH_LICENSE_NULL$
666 //
667 // Redistribution and use in source and binary forms, with or without
668 // modification, are permitted provided that the following conditions
669 // are met:
670 // 1. Redistributions of source code must retain the above copyright
671 // notice, this list of conditions and the following disclaimer.
672 // 2. Redistributions in binary form must reproduce the above copyright
673 // notice, this list of conditions and the following disclaimer in the
674 // documentation and/or other materials provided with the distribution.
675 // 3. All advertising materials mentioning features or use of this software
676 // must display the following acknowledgement:
677 // This product includes software developed by the University of
678 // California, Berkeley and its contributors.
679 // 4. Neither the name of the University nor the names of its contributors
680 // may be used to endorse or promote products derived from this software
681 // without specific prior written permission.
682 //
683 // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
684 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
685 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
686 // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
687 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
688 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
689 // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
690 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
691 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
692 // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
693 // SUCH DAMAGE.
694 //
695 // @(#)queue.h 8.5 (Berkeley) 8/20/94
696 // $FreeBSD: src/sys/sys/queue.h,v 1.58 2004/04/07 04:19:49 imp Exp $
697 // $Id: //components/rel/wlanfw_cmn.cnss/1.0/cnss_proc/wlan/fwcommon/include/queue.h#1 $
698 //
699 p4://qctp411.qualcomm.com/components/rel/wlanfw_cmn.cnss/1.0.0/include/queue.h
700
701
702 /*
703 * Copyright (c) 2012 Qualcomm Atheros, Inc.
704 * All Rights Reserved.
705 * Qualcomm Atheros Confidential and Proprietary.
706 */
707
708 /*
709 * For this file, which was received with alternative licensing options for
710 * distribution, Qualcomm Atheros, Inc. has selected the BSD license.
711 */
712
713 //-
714 // Copyright (c) 2002-2004 Sam Leffler, Errno Consulting
715 // All rights reserved.
716 // $ATH_LICENSE_NULL$
717 //
718 // Redistribution and use in source and binary forms, with or without
719 // modification, are permitted provided that the following conditions
720 // are met:
721 // 1. Redistributions of source code must retain the above copyright
722 // notice, this list of conditions and the following disclaimer,
723 // without modification.
724 // 2. Redistributions in binary form must reproduce at minimum a disclaimer
725 // similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any
726 // redistribution must be conditioned upon including a substantially
727 // similar Disclaimer requirement for further binary redistribution.
728 // 3. Neither the names of the above-listed copyright holders nor the names
729 // of any contributors may be used to endorse or promote products derived
730 // from this software without specific prior written permission.
731 //
732 // Alternatively, this software may be distributed under the terms of the
733 // GNU General Public License ("GPL") version 2 as published by the Free
734 // Software Foundation.
735 //
736 // NO WARRANTY
737 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
738 // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
739 // LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTIBILITY
740 // AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
741 // THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
742 // OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
743 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
744 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
745 // IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
746 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
747 // THE POSSIBILITY OF SUCH DAMAGES.
748 //
749 // $Id: //components/rel/wlanfw.cnss/1.0.1/cnss_proc/wlan/fw/target/src/wlan/proto/include/if_llc.h#3 $
750 // $NetBSD: if_llc.h,v 1.12 1999/11/19 20:41:19 thorpej Exp $
751 // $Id: //components/rel/wlanfw.cnss/1.0.1/cnss_proc/wlan/fw/target/src/wlan/proto/include/if_llc.h#3 $
752 //
753
754 /*
755 * Copyright (c) 1988, 1993
756 * The Regents of the University of California. All rights reserved.
757 *
758 * Redistribution and use in source and binary forms, with or without
759 * modification, are permitted provided that the following conditions
760 * are met:
761 * 1. Redistributions of source code must retain the above copyright
762 * notice, this list of conditions and the following disclaimer.
763 * 2. Redistributions in binary form must reproduce the above copyright
764 * notice, this list of conditions and the following disclaimer in the
765 * documentation and/or other materials provided with the distribution.
766 * 3. All advertising materials mentioning features or use of this software
767 * must display the following acknowledgement:
768 * This product includes software developed by the University of
769 * California, Berkeley and its contributors.
770 * 4. Neither the name of the University nor the names of its contributors
771 * may be used to endorse or promote products derived from this software
772 * without specific prior written permission.
773 *
774 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
775 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
776 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
777 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
778 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
779 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
780 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
781 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
782 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
783 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
784 * SUCH DAMAGE.
785 *
786 * @(#)if_llc.h 8.1 (Berkeley) 6/10/93
787 * $FreeBSD: src/sys/net/if_llc.h,v 1.9 2002/09/23 06:25:08 alfred Exp $
788 */
789
790 p4://qctp411.qualcomm.com/components/rel/wlanfw_protocol_cmn.cnss/1.0.0/include/if_llc.h
791
792 /*
793 * Copyright (c) 2012 Qualcomm Atheros, Inc.
794 * All Rights Reserved.
795 * Qualcomm Atheros Confidential and Proprietary.
796 */
797
798 /*
799 * For this file, which was received with alternative licensing options for
800 * distribution, Qualcomm Atheros, Inc. has selected the BSD license.
801 */
802
803 //-
804 // Copyright (c) 2002-2004 Sam Leffler, Errno Consulting
805 // All rights reserved.
806 // $ATH_LICENSE_NULL$
807 //
808 // Redistribution and use in source and binary forms, with or without
809 // modification, are permitted provided that the following conditions
810 // are met:
811 // 1. Redistributions of source code must retain the above copyright
812 // notice, this list of conditions and the following disclaimer,
813 // without modification.
814 // 2. Redistributions in binary form must reproduce at minimum a disclaimer
815 // similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any
816 // redistribution must be conditioned upon including a substantially
817 // similar Disclaimer requirement for further binary redistribution.
818 // 3. Neither the names of the above-listed copyright holders nor the names
819 // of any contributors may be used to endorse or promote products derived
820 // from this software without specific prior written permission.
821 //
822 // Alternatively, this software may be distributed under the terms of the
823 // GNU General Public License ("GPL") version 2 as published by the Free
824 // Software Foundation.
825 //
826 // NO WARRANTY
827 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
828 // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
829 // LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTIBILITY
830 // AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
831 // THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
832 // OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
833 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
834 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
835 // IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
836 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
837 // THE POSSIBILITY OF SUCH DAMAGES.
838 //
839
840 p4://qctp411.qualcomm.com/components/rel/wlanfw_protocol_cmn.cnss/1.0.0/include/if_ethersubr.h
841
842 /*
843 * Copyright (c) 2014 Qualcomm Atheros, Inc.
844 * All Rights Reserved.
845 * Qualcomm Atheros Confidential and Proprietary.
846 * Notifications and licenses are retained for attribution purposes only.
847 */
848 /*
849 * For this file, which was received with alternative licensing options for
850 * distribution, Qualcomm Atheros, Inc. has selected the BSD license.
851 */
852
853 /*
854 * SHA1 hash implementation and interface functions
855 * Copyright (c) 2003-2005, Jouni Malinen <jkmaline@cc.hut.fi>
856 *
857 * This program is free software; you can redistribute it and/or modify
858 * it under the terms of the GNU General Public License version 2 as
859 * published by the Free Software Foundation.
860 *
861 * Alternatively, this software may be distributed under the terms of BSD
862 * license.
863 *
864 * See README and COPYING for more details.
865 */
866 p4://qctp411.qualcomm.com/components/rel/wlanfw_mac_core.cnss/1.0/patch/AR6320/v3/sha1_patch.c
867
868 /*
869 * Copyright (c) 2014 Qualcomm Atheros, Inc.
870 * All Rights Reserved.
871 * Qualcomm Atheros Confidential and Proprietary.
872 * Notifications and licenses are retained for attribution purposes only.
873 */
874 /*
875 * For this file, which was received with alternative licensing options for
876 * distribution, Qualcomm Atheros, Inc. has selected the BSD license.
877 */
878
879 /*
880 * WPA/RSN - Shared functions for supplicant and authenticator
881 * Copyright (c) 2002-2013, Jouni Malinen <j@w1.fi>
882
883 *
884 * This program is free software; you can redistribute it and/or modify
885 * it under the terms of the GNU General Public License version 2 as
886 * published by the Free Software Foundation.
887 *
888 * Alternatively, this software may be distributed under the terms of BSD
889 * license.
890 *
891 * See README and COPYING for more details.
892 */
893 p4://qctp411.qualcomm.com/components/rel/wlanfw_protocol_cmn.cnss/1.0.0/src/supplicant/mywpa_common.c
894
895 /*
896 * Copyright (c) 2014 Qualcomm Atheros, Inc.
897 * All Rights Reserved.
898 * Qualcomm Atheros Confidential and Proprietary.
899 * Notifications and licenses are retained for attribution purposes only.
900 */
901 /*
902 * For this file, which was received with alternative licensing options for
903 * distribution, Qualcomm Atheros, Inc. has selected the BSD license.
904 */
905
906 /*
907 * WPA definitions shared between hostapd and wpa_supplicant
908 * Copyright (c) 2002-2013, Jouni Malinen <j@w1.fi>
909
910 *
911 * This program is free software; you can redistribute it and/or modify
912 * it under the terms of the GNU General Public License version 2 as
913 * published by the Free Software Foundation.
914 *
915 * Alternatively, this software may be distributed under the terms of BSD
916 * license.
917 *
918 * See README and COPYING for more details.
919 */
920 p4://qctp411.qualcomm.com/components/rel/wlanfw_protocol_cmn.cnss/1.0.0/src/supplicant/mywpa_common.h
921
922 /*
923 * Copyright (c) 2011 Qualcomm Atheros, Inc.
924 * All Rights Reserved.
925 * Qualcomm Atheros Confidential and Proprietary.
926 * $ATH_LICENSE_NULL$
927 */
928
929 //####ECOSGPLCOPYRIGHTBEGIN####
930 // -------------------------------------------
931 // This file is part of eCos, the Embedded Configurable Operating System.
932 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
933 // Copyright (C) 2002 Gary Thomas
934 //
935 // eCos is free software; you can redistribute it and/or modify it under
936 // the terms of the GNU General Public License as published by the Free
937 // Software Foundation; either version 2 or (at your option) any later version.
938 //
939 // eCos is distributed in the hope that it will be useful, but WITHOUT ANY
940 // WARRANTY; without even the implied warranty of MERCHANTABILITY or
941 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
942 // for more details.
943 //
944 // You should have received a copy of the GNU General Public License along
945 // with eCos; if not, write to the Free Software Foundation, Inc.,
946 // 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
947 //
948 // As a special exception, if other files instantiate templates or use macros
949 // or inline functions from this file, or you compile this file and link it
950 // with other works to produce a work based on this file, this file does not
951 // by itself cause the resulting work to be covered by the GNU General Public
952 // License. However the source code for this file must still be made available
953 // in accordance with section (3) of the GNU General Public License.
954 //
955 // This exception does not invalidate any other reasons why a work based on
956 // this file might be covered by the GNU General Public License.
957 //
958 // Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
959 // at http://sources.redhat.com/ecos/ecos-license/
960 // -------------------------------------------
961 //####ECOSGPLCOPYRIGHTEND####
962 p4://qctp411.qualcomm.com/components/rel/wlanfw_mac_core.cnss/1.0/src/os/common/cmnos_printf.c
963 /*
964 * Copyright (c) 2011 Qualcomm Atheros, Inc.
965 * All Rights Reserved.
966 * Qualcomm Atheros Confidential and Proprietary.
967 * $ATH_LICENSE_TARGET_C$
968 */
969
970 //####ECOSGPLCOPYRIGHTBEGIN####
971 // -------------------------------------------
972 // This file is part of eCos, the Embedded Configurable Operating System.
973 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
974 //
975 // eCos is free software; you can redistribute it and/or modify it under
976 // the terms of the GNU General Public License as published by the Free
977 // Software Foundation; either version 2 or (at your option) any later version.
978 //
979 // eCos is distributed in the hope that it will be useful, but WITHOUT ANY
980 // WARRANTY; without even the implied warranty of MERCHANTABILITY or
981 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
982 // for more details.
983 //
984 // You should have received a copy of the GNU General Public License along
985 // with eCos; if not, write to the Free Software Foundation, Inc.,
986 // 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
987 //
988 // As a special exception, if other files instantiate templates or use macros
989 // or inline functions from this file, or you compile this file and link it
990 // with other works to produce a work based on this file, this file does not
991 // by itself cause the resulting work to be covered by the GNU General Public
992 // License. However the source code for this file must still be made available
993 // in accordance with section (3) of the GNU General Public License.
994 //
995 // This exception does not invalidate any other reasons why a work based on
996 // this file might be covered by the GNU General Public License.
997 //
998 // Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
999 // at http://sources.redhat.com/ecos/ecos-license/
1000 // -------------------------------------------
1001 //####ECOSGPLCOPYRIGHTEND####
1002 p4://qctp411.qualcomm.com/components/rel/wlanfw_mac_core.cnss/1.0/src/os/common/cmnos_sscanf.c
1003
1004 /*
1005 * WPA Supplicant - CCX Fast Roaming with CCKM Enhancements
1006 * Copyright (c) 2003-2008, Jouni Malinen <j@w1.fi>
1007 * Copyright (c) 2010-2011, embWiSe Technologies
1008 *
1009 * Licensed under a proprietary license.
1010 * Notifications and licenses are retained for attribution purposes only.
1011
1012 * Redistribution and use in source and binary forms, with or without
1013 * modification, are permitted provided that the following conditions are
1014 * met:
1015 *
1016 * 1. Redistributions of source code must retain the above copyright
1017 * notice, this list of conditions and the following disclaimer.
1018 *
1019 * 2. Redistributions in binary form must reproduce the above copyright
1020 * notice, this list of conditions and the following disclaimer in the
1021 * documentation and/or other materials provided with the distribution.
1022 *
1023 * 3. Neither the name(s) of the above-listed copyright holder(s) nor the
1024 * names of its contributors may be used to endorse or promote products
1025 * derived from this software without specific prior written permission.
1026 */
1027 /*original files: ccx_cckm.c and part of wpa_common.c in proprietary patch
1028 * of open source supplicant */
1029 p4://qctp411.qualcomm.com/components/rel/wlanfw_protocol_cmn.cnss/1.0.0/src/supplicant/mywpa_cckm.c
1030
1031 /*
1032 * Copyright (c) 2012 Qualcomm Atheros, Inc.
1033 * All Rights Reserved.
1034 * Qualcomm Atheros Confidential and Proprietary.
1035 */
1036
1037 /*
1038 * For this file, which was received with alternative licensing options for
1039 * distribution, Qualcomm Atheros, Inc. has selected the BSD license.
1040 */
1041
1042 //-
1043 // Copyright (c) 2002-2004 Sam Leffler, Errno Consulting
1044 // All rights reserved.
1045 // $ATH_LICENSE_NULL$
1046 //
1047 // Redistribution and use in source and binary forms, with or without
1048 // modification, are permitted provided that the following conditions
1049 // are met:
1050 // 1. Redistributions of source code must retain the above copyright
1051 // notice, this list of conditions and the following disclaimer,
1052 // without modification.
1053 // 2. Redistributions in binary form must reproduce at minimum a disclaimer
1054 // similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any
1055 // redistribution must be conditioned upon including a substantially
1056 // similar Disclaimer requirement for further binary redistribution.
1057 // 3. Neither the names of the above-listed copyright holders nor the names
1058 // of any contributors may be used to endorse or promote products derived
1059 // from this software without specific prior written permission.
1060 //
1061 // Alternatively, this software may be distributed under the terms of the
1062 // GNU General Public License ("GPL") version 2 as published by the Free
1063 // Software Foundation.
1064 //
1065 // NO WARRANTY
1066 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1067 // ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1068 // LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTIBILITY
1069 // AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
1070 // THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
1071 // OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
1072 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
1073 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
1074 // IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
1075 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
1076 // THE POSSIBILITY OF SUCH DAMAGES.
1077 //
1078 // $Id: //components/rel/wlanfw.cnss/1.0.1/cnss_proc/wlan/fw/target/src/wlan/proto/include/if_llc.h#3 $
1079 // $NetBSD: if_llc.h,v 1.12 1999/11/19 20:41:19 thorpej Exp $
1080 // $Id: //components/rel/wlanfw.cnss/1.0.1/cnss_proc/wlan/fw/target/src/wlan/proto/include/if_llc.h#3 $
1081 //
1082
1083 /*
1084 * Copyright (c) 1988, 1993
1085 * The Regents of the University of California. All rights reserved.
1086 *
1087 * Redistribution and use in source and binary forms, with or without
1088 * modification, are permitted provided that the following conditions
1089 * are met:
1090 * 1. Redistributions of source code must retain the above copyright
1091 * notice, this list of conditions and the following disclaimer.
1092 * 2. Redistributions in binary form must reproduce the above copyright
1093 * notice, this list of conditions and the following disclaimer in the
1094 * documentation and/or other materials provided with the distribution.
1095 * 3. All advertising materials mentioning features or use of this software
1096 * must display the following acknowledgement:
1097 * This product includes software developed by the University of
1098 * California, Berkeley and its contributors.
1099 * 4. Neither the name of the University nor the names of its contributors
1100 * may be used to endorse or promote products derived from this software
1101 * without specific prior written permission.
1102 *
1103 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
1104 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1105 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1106 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
1107 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1108 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
1109 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1110 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
1111 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
1112 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
1113 * SUCH DAMAGE.
1114 *
1115 * @(#)if_llc.h 8.1 (Berkeley) 6/10/93
1116 * $FreeBSD: src/sys/net/if_llc.h,v 1.9 2002/09/23 06:25:08 alfred Exp $
1117 */
1118 p4://qctp411.qualcomm.com/components/rel/wlanfw_protocol_cmn.cnss/1.0.0/include/if_llc.h
1119
1120 /*
1121 * Copyright (c) 2011 Qualcomm Atheros, Inc.
1122 * All Rights Reserved.
1123 * Qualcomm Atheros Confidential and Proprietary.
1124 * Notifications and licenses are retained for attribution purposes only.
1125 */
1126 /*
1127 * For this file, which was received with alternative licensing options for
1128 * distribution, Qualcomm Atheros, Inc. has selected the BSD license.
1129 */
1130
1131 /*
1132 * AES (Rijndael) cipher
1133 *
1134 * Modifications to public domain implementation:
1135 * - support only 128-bit keys
1136 * - cleanup
1137 * - use C pre-processor to make it easier to change S table access
1138 * - added option (AES_SMALL_TABLES) for reducing code size by about 8 kB at
1139 * cost of reduced throughput (quite small difference on Pentium 4,
1140 * 10-25% when using -O1 or -O2 optimization)
1141 *
1142 * Copyright (c) 2003-2005, Jouni Malinen <jkmaline@cc.hut.fi>
1143 *
1144 * This program is free software; you can redistribute it and/or modify
1145 * it under the terms of the GNU General Public License version 2 as
1146 * published by the Free Software Foundation.
1147 *
1148 * Alternatively, this software may be distributed under the terms of BSD
1149 * license.
1150 *
1151 * See README and COPYING for more details.
1152 */
1153
1154 /*
1155 * rijndael-alg-fst.c
1156 *
1157 * @version 3.0 (December 2000)
1158 *
1159 * Optimised ANSI C code for the Rijndael cipher (now AES)
1160 *
1161 * @author Vincent Rijmen <vincent.rijmen@esat.kuleuven.ac.be>
1162 * @author Antoon Bosselaers <antoon.bosselaers@esat.kuleuven.ac.be>
1163 * @author Paulo Barreto <paulo.barreto@terra.com.br>
1164 *
1165 * This code is hereby placed in the public domain.
1166 *
1167 * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ''AS IS'' AND ANY EXPRESS
1168 * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1169 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1170 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE
1171 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
1172 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
1173 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
1174 * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
1175 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
1176 * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
1177 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1178 */
1179 p4://qctp411.qualcomm.com/components/rel/wlanfw_mac_core.cnss/1.0/src/misc/crypto/aes.c
1180
1181 /*
1182 * Copyright (c) 2011 Qualcomm Atheros, Inc.
1183 * All Rights Reserved.
1184 * Qualcomm Atheros Confidential and Proprietary.
1185 * Notifications and licenses are retained for attribution purposes only.
1186 */
1187 /*
1188 * For this file, which was received with alternative licensing options for
1189 * distribution, Qualcomm Atheros, Inc. has selected the BSD license.
1190 */
1191
1192 /*
1193 * AES-based functions
1194 *
1195 * - AES Key Wrap Algorithm (128-bit KEK) (RFC3394)
1196 * - One-Key CBC MAC (OMAC1) hash with AES-128
1197 * - AES-128 CTR mode encryption
1198 * - AES-128 EAX mode encryption/decryption
1199 * - AES-128 CBC
1200 *
1201 * Copyright (c) 2003-2005, Jouni Malinen <jkmaline@cc.hut.fi>
1202 *
1203 * This program is free software; you can redistribute it and/or modify
1204 * it under the terms of the GNU General Public License version 2 as
1205 * published by the Free Software Foundation.
1206 *
1207 * Alternatively, this software may be distributed under the terms of BSD
1208 * license.
1209 *
1210 * See README and COPYING for more details.
1211 */
1212 p4://qctp411.qualcomm.com/components/rel/wlanfw_mac_core.cnss/1.0/src/misc/crypto/aes_wrap.c
1213
1214 /*
1215 * Copyright (c) 2011 Qualcomm Atheros, Inc.
1216 * All Rights Reserved.
1217 * Qualcomm Atheros Confidential and Proprietary.
1218 * Notifications and licenses are retained for attribution purposes only.
1219 */
1220 /*
1221 * For this file, which was received with alternative licensing options for
1222 * distribution, Qualcomm Atheros, Inc. has selected the BSD license.
1223 */
1224
1225 /*
1226 * SHA1 hash implementation and interface functions
1227 * Copyright (c) 2003-2005, Jouni Malinen <jkmaline@cc.hut.fi>
1228 *
1229 * This program is free software; you can redistribute it and/or modify
1230 * it under the terms of the GNU General Public License version 2 as
1231 * published by the Free Software Foundation.
1232 *
1233 * Alternatively, this software may be distributed under the terms of BSD
1234 * license.
1235 *
1236 * See README and COPYING for more details.
1237 */
1238 p4://qctp411.qualcomm.com/components/rel/wlanfw_mac_core.cnss/1.0/src/misc/crypto/sha1.c
1239
1240 /*
1241 * Copyright (c) 2013 Atheros Communications Inc.
1242 *
1243 * Permission to use, copy, modify, and/or distribute this software for any
1244 * purpose with or without fee is hereby granted, provided that the above
1245 * copyright notice and this permission notice appear in all copies.
1246 *
1247 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
1248 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
1249 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
1250 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
1251 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
1252 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1253 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1254 */
1255 p4://qctp411.qualcomm.com/components/rel/wlanfw_protocol_cmn.cnss/1.0.0/src/wmi/wmi_tlv_platform.c
1256
1257 /*
1258 * Copyright (c) 2012, Atheros Communications Inc.
1259 *
1260 * Permission to use, copy, modify, and/or distribute this software for any
1261 * purpose with or without fee is hereby granted, provided that the above
1262 * copyright notice and this permission notice appear in all copies.
1263 *
1264 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
1265 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
1266 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
1267 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
1268 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
1269 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1270 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1271 */
1272 p4://qctp411.qualcomm.com/components/rel/wlanfw_protocol_cmn.cnss/1.0.0/include/qvit/qvit_init_api.h
1273
1274 /*
1275 * Copyright (c) 2013 Atheros Communications Inc.
1276 *
1277 * Permission to use, copy, modify, and/or distribute this software for any
1278 * purpose with or without fee is hereby granted, provided that the above
1279 * copyright notice and this permission notice appear in all copies.
1280 *
1281 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
1282 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
1283 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
1284 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
1285 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
1286 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1287 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1288 */
1289 p4://qctp411.qualcomm.com/components/rel/wlanfw_cmn.cnss/1.0.0/fw_interface/include/wmi_version_whitelist.c
1290
1291 /*
1292 * Copyright (c) 2011 Qualcomm Atheros, Inc.
1293 * All Rights Reserved.
1294 * Qualcomm Atheros Confidential and Proprietary.
1295 * $ATH_LICENSE_TARGET_C$
1296 */
1297
1298 //
1299 // $Id: //components/rel/wlanfw.cnss/1.0.1/cnss_proc/wlan/fw/target/src/misc/crypto/md5.c#3 $
1300 //
1301 // This code implements the MD5 message-digest algorithm.
1302 // The algorithm is due to Ron Rivest. This code was
1303 // written by Colin Plumb in 1993, no copyright is claimed.
1304 // This code is in the public domain; do with it what you wish.
1305 //
1306 // Equivalent code is available from RSA Data Security, Inc.
1307 // This code has been tested against that, and is equivalent,
1308 // except that you don't need to include two pages of legalese
1309 // with every copy.
1310 //
1311 // To compute the message digest of a chunk of bytes, declare an
1312 // MD5Context structure, pass it to MD5Init, call MD5Update as
1313 // needed on buffers full of bytes, and then call MD5Final, which
1314 // will fill a supplied 16-byte array with the digest.
1315 //
1316 p4://qctp411.qualcomm.com/components/rel/wlanfw_mac_core.cnss/1.0/src/misc/crypto/md5.c
1317
1318
1319 /*===========================================================================
1320 @file secrsa_encryption.c
1321
1322 This file provides RSA PKCS #1 v1.5 encryption/decryption implementation.
1323 ===========================================================================
1324
1325 EDIT HISTORY FOR FILE
1326 $Header: //components/dev/wlanfw.cnss/1.0.1/dennis.rome_emu_es2_rel_fw/cnss_proc/wlan/fw/target/src/misc/binsig/rsa.c#2 $
1327 $DateTime: 2013/10/21 08:09:59 $
1328 $Author: changhon $
1329
1330 when who what, where, why
1331 -------- --- ----------------------------------------------------------
1332 04/11/11 qxu initial version
1333
1334 Copyright (c) 2011 by QUALCOMM Technologies, Incorporated. All Rights Reserved.
1335 =============================================================================*/
1336 p4://qctp411.qualcomm.com/components/rel/wlanfw_mac_core.cnss/1.0/src/misc/binsig/rsa.c
1337
1338 /* ==========================================================================
1339 * $File: //components/rel/wlanfw.cnss/1.0.1/cnss_proc/wlan/fw/target/include/cil.h $
1340 * $Revision: #3 $
1341 * $Date: 2013/08/06 $
1342 * $Change: 2161544 $
1343 *
1344 * Synopsys SS USB3 Linux Software Driver and documentation (hereinafter,
1345 * "Software") is an Unsupported proprietary work of Synopsys, Inc. unless
1346 * otherwise expressly agreed to in writing between Synopsys and you.
1347 *
1348 * The Software IS NOT an item of Licensed Software or Licensed Product under
1349 * any End User Software License Agreement or Agreement for Licensed Product
1350 * with Synopsys or any supplement thereto. You are permitted to use and
1351 * redistribute this Software in source and binary forms, with or without
1352 * modification, provided that redistributions of source code must retain this
1353 * notice. You may not view, use, disclose, copy or distribute this file or
1354 * any information contained herein except pursuant to this license grant from
1355 * Synopsys. If you do not agree with this notice, including the disclaimer
1356 * below, then you are not authorized to use the Software.
1357 *
1358 * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" BASIS
1359 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1360 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1361 * ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS BE LIABLE FOR ANY DIRECT,
1362 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
1363 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
1364 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
1365 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
1366 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
1367 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
1368 * DAMAGE.
1369 * ========================================================================== */
1370 p4://qctp411.qualcomm.com/components/rel/wlanfw_mac_core.cnss/1.0/include/cil.h
1371
1372 /* ==========================================================================
1373 * $File: //components/rel/wlanfw.cnss/1.0.1/cnss_proc/wlan/fw/target/include/dev.h $
1374 * $Revision: #3 $
1375 * $Date: 2013/08/06 $
1376 * $Change: 2161544 $
1377 *
1378 * Synopsys SS USB3 Linux Software Driver and documentation (hereinafter,
1379 * "Software") is an Unsupported proprietary work of Synopsys, Inc. unless
1380 * otherwise expressly agreed to in writing between Synopsys and you.
1381 *
1382 * The Software IS NOT an item of Licensed Software or Licensed Product under
1383 * any End User Software License Agreement or Agreement for Licensed Product
1384 * with Synopsys or any supplement thereto. You are permitted to use and
1385 * redistribute this Software in source and binary forms, with or without
1386 * modification, provided that redistributions of source code must retain this
1387 * notice. You may not view, use, disclose, copy or distribute this file or
1388 * any information contained herein except pursuant to this license grant from
1389 * Synopsys. If you do not agree with this notice, including the disclaimer
1390 * below, then you are not authorized to use the Software.
1391 *
1392 * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" BASIS
1393 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1394 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1395 * ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS BE LIABLE FOR ANY DIRECT,
1396 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
1397 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
1398 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
1399 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
1400 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
1401 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
1402 * DAMAGE.
1403 * ========================================================================== */
1404 p4://qctp411.qualcomm.com/components/rel/wlanfw_mac_core.cnss/1.0/include/dev.h
1405
1406 /* ==========================================================================
1407 * $File: //components/rel/wlanfw.cnss/1.0.1/cnss_proc/wlan/fw/target/include/pcd.h $
1408 * $Revision: #3 $
1409 * $Date: 2013/08/06 $
1410 * $Change: 2161544 $
1411 *
1412 * Synopsys SS USB3 Linux Software Driver and documentation (hereinafter,
1413 * "Software") is an Unsupported proprietary work of Synopsys, Inc. unless
1414 * otherwise expressly agreed to in writing between Synopsys and you.
1415 *
1416 * The Software IS NOT an item of Licensed Software or Licensed Product under
1417 * any End User Software License Agreement or Agreement for Licensed Product
1418 * with Synopsys or any supplement thereto. You are permitted to use and
1419 * redistribute this Software in source and binary forms, with or without
1420 * modification, provided that redistributions of source code must retain this
1421 * notice. You may not view, use, disclose, copy or distribute this file or
1422 * any information contained herein except pursuant to this license grant from
1423 * Synopsys. If you do not agree with this notice, including the disclaimer
1424 * below, then you are not authorized to use the Software.
1425 *
1426 * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" BASIS
1427 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1428 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1429 * ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS BE LIABLE FOR ANY DIRECT,
1430 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
1431 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
1432 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
1433 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
1434 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
1435 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
1436 * DAMAGE.
1437 * ========================================================================== */
1438 p4://qctp411.qualcomm.com/components/rel/wlanfw_mac_core.cnss/1.0/include/pcd.h
1439
1440 /* ==========================================================================
1441 * $File: //components/rel/wlanfw.cnss/1.0.1/cnss_proc/wlan/fw/target/src/soc/usbhwcore/drv/snps/cil.c $
1442 * $Revision: #3 $
1443 * $Date: 2013/08/06 $
1444 * $Change: 2161544 $
1445 *
1446 * Synopsys SS USB3 Linux Software Driver and documentation (hereinafter,
1447 * "Software") is an Unsupported proprietary work of Synopsys, Inc. unless
1448 * otherwise expressly agreed to in writing between Synopsys and you.
1449 *
1450 * The Software IS NOT an item of Licensed Software or Licensed Product under
1451 * any End User Software License Agreement or Agreement for Licensed Product
1452 * with Synopsys or any supplement thereto. You are permitted to use and
1453 * redistribute this Software in source and binary forms, with or without
1454 * modification, provided that redistributions of source code must retain this
1455 * notice. You may not view, use, disclose, copy or distribute this file or
1456 * any information contained herein except pursuant to this license grant from
1457 * Synopsys. If you do not agree with this notice, including the disclaimer
1458 * below, then you are not authorized to use the Software.
1459 *
1460 * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" BASIS
1461 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1462 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1463 * ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS BE LIABLE FOR ANY DIRECT,
1464 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
1465 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
1466 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
1467 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
1468 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
1469 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
1470 * DAMAGE.
1471 * ========================================================================== */
1472
1473 /** @file
1474 *
1475 * The Core Interface Layer provides basic services for accessing and
1476 * managing the DWC_usb3 hardware. These services are used by both the
1477 * Peripheral Controller Driver and the On The Go Driver.
1478 *
1479 * The CIL manages the memory map for the core so that the PCD and OTG drivers
1480 * don't have to do this separately. The CIL also performs basic services
1481 * that are not specific to either the Device or OTG modes of operation.
1482 * These services include all functionality that requires specific
1483 * knowledge of the CSR layout or the DMA descriptor (TRB) layout. Also
1484 * included are services for invoking each of the commands provided by
1485 * the DGCMD and DEPCMD registers (see the "Control and Status Registers"
1486 * chapter of the USB3 controller databook for details).
1487 *
1488 * The Core Interface Layer has the following requirements:
1489 * - Provides basic controller operations.
1490 * - Minimal use of OS services.
1491 * - The OS services used will be abstracted by using inline functions
1492 * or macros.
1493 *
1494 */
1495 p4://qctp411.qualcomm.com/components/rel/wlanfw_mac_core.cnss/1.0/src/soc/usbhwcore/drv/snps/cil.c
1496
1497 /* ==========================================================================
1498 * $File: //components/rel/wlanfw.cnss/1.0.1/cnss_proc/wlan/fw/target/src/soc/usbhwcore/drv/snps/pcd_intr.c $
1499 * $Revision: #3 $
1500 * $Date: 2013/08/06 $
1501 * $Change: 2161544 $
1502 *
1503 * Synopsys SS USB3 Linux Software Driver and documentation (hereinafter,
1504 * "Software") is an Unsupported proprietary work of Synopsys, Inc. unless
1505 * otherwise expressly agreed to in writing between Synopsys and you.
1506 *
1507 * The Software IS NOT an item of Licensed Software or Licensed Product under
1508 * any End User Software License Agreement or Agreement for Licensed Product
1509 * with Synopsys or any supplement thereto. You are permitted to use and
1510 * redistribute this Software in source and binary forms, with or without
1511 * modification, provided that redistributions of source code must retain this
1512 * notice. You may not view, use, disclose, copy or distribute this file or
1513 * any information contained herein except pursuant to this license grant from
1514 * Synopsys. If you do not agree with this notice, including the disclaimer
1515 * below, then you are not authorized to use the Software.
1516 *
1517 * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" BASIS
1518 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1519 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1520 * ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS BE LIABLE FOR ANY DIRECT,
1521 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
1522 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
1523 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
1524 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
1525 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
1526 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
1527 * DAMAGE.
1528 * ========================================================================== */
1529
1530 /** @file
1531 * This file contains the implementation of the PCD Interrupt handlers.
1532 *
1533 * The PCD handles the device interrupts. Many conditions can cause a
1534 * device interrupt. When an interrupt occurs, the device interrupt
1535 * service routine determines the cause of the interrupt and
1536 * dispatches handling to the appropriate routine. These interrupt
1537 * handling routines are described below.
1538 */
1539 p4://qctp411.qualcomm.com/components/rel/wlanfw_mac_core.cnss/1.0/src/soc/usbhwcore/drv/snps/pcd_intr.c
1540
1541 /* ==========================================================================
1542 * $File: //components/rel/wlanfw.cnss/1.0.1/cnss_proc/wlan/fw/target/include/os_dev.h $
1543 * $Revision: #3 $
1544 * $Date: 2013/08/06 $
1545 * $Change: 2161544 $
1546 *
1547 * Synopsys SS USB3 Linux Software Driver and documentation (hereinafter,
1548 * "Software") is an Unsupported proprietary work of Synopsys, Inc. unless
1549 * otherwise expressly agreed to in writing between Synopsys and you.
1550 *
1551 * The Software IS NOT an item of Licensed Software or Licensed Product under
1552 * any End User Software License Agreement or Agreement for Licensed Product
1553 * with Synopsys or any supplement thereto. You are permitted to use and
1554 * redistribute this Software in source and binary forms, with or without
1555 * modification, provided that redistributions of source code must retain this
1556 * notice. You may not view, use, disclose, copy or distribute this file or
1557 * any information contained herein except pursuant to this license grant from
1558 * Synopsys. If you do not agree with this notice, including the disclaimer
1559 * below, then you are not authorized to use the Software.
1560 *
1561 * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" BASIS
1562 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1563 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1564 * ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS BE LIABLE FOR ANY DIRECT,
1565 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
1566 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
1567 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
1568 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
1569 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
1570 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
1571 * DAMAGE.
1572 * ========================================================================== */
1573 p4://qctp411.qualcomm.com/components/rel/wlanfw_mac_core.cnss/1.0/include/os_dev.h
1574
1575 /* ==========================================================================
1576 * $File: //components/rel/wlanfw.cnss/1.0.1/cnss_proc/wlan/fw/target/src/soc/usbhwcore/drv/snps/cil_intr.c $
1577 * $Revision: #3 $
1578 * $Date: 2013/08/06 $
1579 * $Change: 2161544 $
1580 *
1581 * Synopsys SS USB3 Linux Software Driver and documentation (hereinafter,
1582 * "Software") is an Unsupported proprietary work of Synopsys, Inc. unless
1583 * otherwise expressly agreed to in writing between Synopsys and you.
1584 *
1585 * The Software IS NOT an item of Licensed Software or Licensed Product under
1586 * any End User Software License Agreement or Agreement for Licensed Product
1587 * with Synopsys or any supplement thereto. You are permitted to use and
1588 * redistribute this Software in source and binary forms, with or without
1589 * modification, provided that redistributions of source code must retain this
1590 * notice. You may not view, use, disclose, copy or distribute this file or
1591 * any information contained herein except pursuant to this license grant from
1592 * Synopsys. If you do not agree with this notice, including the disclaimer
1593 * below, then you are not authorized to use the Software.
1594 *
1595 * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" BASIS
1596 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1597 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1598 * ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS BE LIABLE FOR ANY DIRECT,
1599 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
1600 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
1601 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
1602 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
1603 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
1604 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
1605 * DAMAGE.
1606 * ========================================================================== */
1607
1608 /** @file
1609 *
1610 * The Core Interface Layer provides basic services for accessing and
1611 * managing the DWC_usb3 hardware. These services are used by both the
1612 * Peripheral Controller Driver and the On The Go Driver.
1613 *
1614 * This file contains the common interrupt handling functions.
1615 */
1616 p4://qctp411.qualcomm.com/components/rel/wlanfw_mac_core.cnss/1.0/src/soc/usbhwcore/drv/snps/cil_intr.c
1617
1618 /* ==========================================================================
1619 * $File: //components/rel/wlanfw.cnss/1.0.1/cnss_proc/wlan/fw/target/src/soc/usbhwcore/drv/snps/pcd.c $
1620 * $Revision: #3 $
1621 * $Date: 2013/08/06 $
1622 * $Change: 2161544 $
1623 *
1624 * Synopsys SS USB3 Linux Software Driver and documentation (hereinafter,
1625 * "Software") is an Unsupported proprietary work of Synopsys, Inc. unless
1626 * otherwise expressly agreed to in writing between Synopsys and you.
1627 *
1628 * The Software IS NOT an item of Licensed Software or Licensed Product under
1629 * any End User Software License Agreement or Agreement for Licensed Product
1630 * with Synopsys or any supplement thereto. You are permitted to use and
1631 * redistribute this Software in source and binary forms, with or without
1632 * modification, provided that redistributions of source code must retain this
1633 * notice. You may not view, use, disclose, copy or distribute this file or
1634 * any information contained herein except pursuant to this license grant from
1635 * Synopsys. If you do not agree with this notice, including the disclaimer
1636 * below, then you are not authorized to use the Software.
1637 *
1638 * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" BASIS
1639 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1640 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1641 * ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS BE LIABLE FOR ANY DIRECT,
1642 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
1643 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
1644 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
1645 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
1646 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
1647 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
1648 * DAMAGE.
1649 * ========================================================================== */
1650
1651 /** @file
1652 * This file implements the Peripheral Controller Driver.
1653 *
1654 * The Peripheral Controller Driver (PCD) is responsible for translating
1655 * requests from the Function Driver into the appropriate actions on the
1656 * DWC_usb3 controller. It isolates the Function Driver from the specifics
1657 * of the controller by providing an API to the Function Driver.
1658 *
1659 * The Peripheral Controller Driver for Linux will implement the Gadget API,
1660 * so that the existing Gadget drivers can be used. (Gadget Driver is the
1661 * Linux terminology for a Function Driver.)
1662 *
1663 * The Linux Gadget API is defined in the header file
1664 * <code><linux/usb/gadget.h></code>. The USB EP operations API is defined
1665 * in the structure <code>usb_ep_ops</code> and the USB Controller API is
1666 * defined in the structure <code>usb_gadget_ops</code>.
1667 *
1668 * An important function of the PCD is managing interrupts generated by the
1669 * DWC_usb3 controller. The implementation of the DWC_usb3 device mode
1670 * interrupt service routines is in pcd_intr.c.
1671 */
1672 p4://qctp411.qualcomm.com/components/rel/wlanfw_mac_core.cnss/1.0/src/soc/usbhwcore/drv/snps/pcd.c
1673
1674 /* ==========================================================================
1675 * $File: //components/rel/wlanfw.cnss/1.0.1/cnss_proc/wlan/fw/target/include/usb3_hw.h $
1676 * $Revision: #3 $
1677 * $Date: 2013/08/06 $
1678 * $Change: 2161544 $
1679 *
1680 * Synopsys SS USB3 Linux Software Driver and documentation (hereinafter,
1681 * "Software") is an Unsupported proprietary work of Synopsys, Inc. unless
1682 * otherwise expressly agreed to in writing between Synopsys and you.
1683 *
1684 * The Software IS NOT an item of Licensed Software or Licensed Product under
1685 * any End User Software License Agreement or Agreement for Licensed Product
1686 * with Synopsys or any supplement thereto. You are permitted to use and
1687 * redistribute this Software in source and binary forms, with or without
1688 * modification, provided that redistributions of source code must retain this
1689 * notice. You may not view, use, disclose, copy or distribute this file or
1690 * any information contained herein except pursuant to this license grant from
1691 * Synopsys. If you do not agree with this notice, including the disclaimer
1692 * below, then you are not authorized to use the Software.
1693 *
1694 * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" BASIS
1695 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1696 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1697 * ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS BE LIABLE FOR ANY DIRECT,
1698 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
1699 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
1700 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
1701 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
1702 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
1703 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
1704 * DAMAGE.
1705 * ========================================================================== */
1706 p4://qctp411.qualcomm.com/components/rel/wlanfw_mac_core.cnss/1.0/include/usb3_hw.h
1707
1708 /*
1709 * Copyright (c) 2011 Qualcomm Atheros, Inc.
1710 * All Rights Reserved.
1711 * Qualcomm Atheros Confidential and Proprietary.
1712 * $ATH_LICENSE_NULL$
1713 */
1714
1715 //
1716 // Name: lzuncompr.c
1717 // Author: Vitaly Luban
1718 // Based on code from Marcus Geelnard
1719 // Description: LZ77 decoder implementation.
1720 // Reentrant: Yes
1721 //
1722 // ------------------------------------------------------------------------
1723 // Copyright (c) 2003-2006 Marcus Geelnard
1724 // Copyright (c) 2006-2007 Atheros Communications Inc.
1725 // $ATH_LICENSE_NULL$
1726 // This software is provided 'as-is', without any express or implied
1727 // warranty. In no event will the authors be held liable for any damages
1728 // arising from the use of this software.
1729 //
1730 // Permission is granted to anyone to use this software for any purpose,
1731 // including commercial applications, and to alter it and redistribute it
1732 // freely, subject to the following restrictions:
1733 //
1734 // 1. The origin of this software must not be misrepresented; you must not
1735 // claim that you wrote the original software. If you use this software
1736 // in a product, an acknowledgment in the product documentation would
1737 // be appreciated but is not required.
1738 //
1739 // 2. Altered source versions must be plainly marked as such, and must not
1740 // be misrepresented as being the original software.
1741 //
1742 // 3. This notice may not be removed or altered from any source
1743 // distribution.
1744 //
1745 // Marcus Geelnard
1746 // marcus.geelnard at home.se
1747 //
1748 p4://qctp411.qualcomm.com/components/rel/wlanfw_mac_core.cnss/1.0/src/misc/lzuncompr/lzuncompr1.c