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