mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 09:32:34 +00:00
ipq50xx: add preliminary maple support
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -18,11 +18,7 @@ MAKE_OPTS:=
|
|||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
# Keep default as ipq806x for branches that does not have subtarget framework
|
# Keep default as ipq806x for branches that does not have subtarget framework
|
||||||
ifeq ($(CONFIG_TARGET_ipq),y)
|
|
||||||
subtarget:=$(SUBTARGET)
|
subtarget:=$(SUBTARGET)
|
||||||
else
|
|
||||||
subtarget:=$(CONFIG_TARGET_BOARD)
|
|
||||||
endif
|
|
||||||
|
|
||||||
# DTLS Manager v2.0 for Hawkeye/Cypress
|
# DTLS Manager v2.0 for Hawkeye/Cypress
|
||||||
DTLSMGR_DIR:=v2.0
|
DTLSMGR_DIR:=v2.0
|
||||||
|
|||||||
@@ -26,6 +26,12 @@ $(Package/qca-nss-fw-default)
|
|||||||
DEPENDS:=@TARGET_ipq807x_ipq807x
|
DEPENDS:=@TARGET_ipq807x_ipq807x
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/qca-nss-fw-ipq50xx
|
||||||
|
$(Package/qca-nss-fw-default)
|
||||||
|
TITLE:=NSS firmware for IPQ50xx devices
|
||||||
|
DEPENDS:=@TARGET_ipq807x_ipq50xx
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/qca-nss-fw-ipq60xx/description
|
define Package/qca-nss-fw-ipq60xx/description
|
||||||
Retail NSS firmware for IPQ60xx from QCA
|
Retail NSS firmware for IPQ60xx from QCA
|
||||||
endef
|
endef
|
||||||
@@ -34,6 +40,10 @@ define Package/qca-nss-fw-ipq807x/description
|
|||||||
Retail NSS firmware for IPQ807x from QCA
|
Retail NSS firmware for IPQ807x from QCA
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/qca-nss-fw-ipq50xx/description
|
||||||
|
Retail NSS firmware for IPQ50xx from QCA
|
||||||
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
|
|
||||||
endef
|
endef
|
||||||
@@ -50,5 +60,12 @@ define Package/qca-nss-fw-ipq807x/install
|
|||||||
$(1)/lib/firmware/
|
$(1)/lib/firmware/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/qca-nss-fw-ipq50xx/install
|
||||||
|
$(INSTALL_DIR) $(1)/lib/firmware/
|
||||||
|
$(INSTALL_DATA) ./files/IPQ5018/* \
|
||||||
|
$(1)/lib/firmware/
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call BuildPackage,qca-nss-fw-ipq50xx))
|
||||||
$(eval $(call BuildPackage,qca-nss-fw-ipq60xx))
|
$(eval $(call BuildPackage,qca-nss-fw-ipq60xx))
|
||||||
$(eval $(call BuildPackage,qca-nss-fw-ipq807x))
|
$(eval $(call BuildPackage,qca-nss-fw-ipq807x))
|
||||||
|
|||||||
BIN
feeds/ipq807x/qca-nss-fw/files/IPQ5018/qca-nss0.bin
Executable file
BIN
feeds/ipq807x/qca-nss-fw/files/IPQ5018/qca-nss0.bin
Executable file
Binary file not shown.
@@ -14,6 +14,12 @@ define Package/ath11k-firmware-default
|
|||||||
DEPENDS:=
|
DEPENDS:=
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/ath11k-firmware-ipq50xx
|
||||||
|
$(Package/ath11k-firmware-default)
|
||||||
|
TITLE:=ath11k firmware for IPQ50xx devices
|
||||||
|
DEPENDS:=@TARGET_ipq807x_ipq50xx
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/ath11k-firmware-ipq60xx
|
define Package/ath11k-firmware-ipq60xx
|
||||||
$(Package/ath11k-firmware-default)
|
$(Package/ath11k-firmware-default)
|
||||||
TITLE:=ath11k firmware for IPQ60xx devices
|
TITLE:=ath11k firmware for IPQ60xx devices
|
||||||
@@ -26,12 +32,22 @@ $(Package/ath11k-firmware-default)
|
|||||||
DEPENDS:=@TARGET_ipq807x_ipq807x
|
DEPENDS:=@TARGET_ipq807x_ipq807x
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/ath11k-firmware-qcn6122
|
||||||
|
$(Package/ath11k-firmware-default)
|
||||||
|
TITLE:=ath11k firmware for QCN6122 devices
|
||||||
|
DEPENDS:=@TARGET_ipq807x_ipq50xx
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/ath11k-firmware-qcn9000
|
define Package/ath11k-firmware-qcn9000
|
||||||
$(Package/ath11k-firmware-default)
|
$(Package/ath11k-firmware-default)
|
||||||
TITLE:=ath11k firmware for QCN9000 devices
|
TITLE:=ath11k firmware for QCN9000 devices
|
||||||
DEPENDS:=@TARGET_ipq807x
|
DEPENDS:=@TARGET_ipq807x
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/ath11k-firmware-ipq50xx/description
|
||||||
|
Standard ath11k firmware for IPQ50xx from QCA
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/ath11k-firmware-ipq60xx/description
|
define Package/ath11k-firmware-ipq60xx/description
|
||||||
Standard ath11k firmware for IPQ60xx from QCA
|
Standard ath11k firmware for IPQ60xx from QCA
|
||||||
endef
|
endef
|
||||||
@@ -40,6 +56,10 @@ define Package/ath11k-firmware-ipq807x/description
|
|||||||
Standard ath11k firmware for IPQ807x from QCA
|
Standard ath11k firmware for IPQ807x from QCA
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/ath11k-firmware-qcn6122/description
|
||||||
|
Standard ath11k firmware for QCN6122 from QCA
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/ath11k-firmware-qcn9000/description
|
define Package/ath11k-firmware-qcn9000/description
|
||||||
Standard ath11k firmware for QCN9000 from QCA
|
Standard ath11k firmware for QCN9000 from QCA
|
||||||
endef
|
endef
|
||||||
@@ -48,6 +68,12 @@ define Build/Compile
|
|||||||
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/ath11k-firmware-ipq50xx/install
|
||||||
|
$(INSTALL_DIR) $(1)/lib/firmware/IPQ5018
|
||||||
|
$(INSTALL_DATA) ./files/IPQ5018/* \
|
||||||
|
$(1)/lib/firmware/IPQ5018/
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/ath11k-firmware-ipq60xx/install
|
define Package/ath11k-firmware-ipq60xx/install
|
||||||
$(INSTALL_DIR) $(1)/lib/firmware/IPQ6018
|
$(INSTALL_DIR) $(1)/lib/firmware/IPQ6018
|
||||||
$(INSTALL_DATA) ./files/IPQ6018/* \
|
$(INSTALL_DATA) ./files/IPQ6018/* \
|
||||||
@@ -60,12 +86,20 @@ define Package/ath11k-firmware-ipq807x/install
|
|||||||
$(1)/lib/firmware/IPQ8074
|
$(1)/lib/firmware/IPQ8074
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/ath11k-firmware-qcn6122/install
|
||||||
|
$(INSTALL_DIR) $(1)/lib/firmware/qcn6122
|
||||||
|
$(INSTALL_DATA) ./files/QCN6122/* \
|
||||||
|
$(1)/lib/firmware/qcn6122/
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/ath11k-firmware-qcn9000/install
|
define Package/ath11k-firmware-qcn9000/install
|
||||||
$(INSTALL_DIR) $(1)/lib/firmware/ath11k/QCN9074/hw1.0/
|
$(INSTALL_DIR) $(1)/lib/firmware/ath11k/QCN9074/hw1.0/
|
||||||
$(INSTALL_DATA) ./files/QCN9000/* \
|
$(INSTALL_DATA) ./files/QCN9000/* \
|
||||||
$(1)/lib/firmware/ath11k/QCN9074/hw1.0/
|
$(1)/lib/firmware/ath11k/QCN9074/hw1.0/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
$(eval $(call BuildPackage,ath11k-firmware-ipq50xx))
|
||||||
$(eval $(call BuildPackage,ath11k-firmware-ipq60xx))
|
$(eval $(call BuildPackage,ath11k-firmware-ipq60xx))
|
||||||
$(eval $(call BuildPackage,ath11k-firmware-ipq807x))
|
$(eval $(call BuildPackage,ath11k-firmware-ipq807x))
|
||||||
|
$(eval $(call BuildPackage,ath11k-firmware-qcn6122))
|
||||||
$(eval $(call BuildPackage,ath11k-firmware-qcn9000))
|
$(eval $(call BuildPackage,ath11k-firmware-qcn9000))
|
||||||
|
|||||||
802
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/Notice.txt
Normal file
802
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/Notice.txt
Normal file
@@ -0,0 +1,802 @@
|
|||||||
|
This Notice.txt file contains certain notices of software components included with the software that Qualcomm Atheros, Inc.
|
||||||
|
(“Qualcomm Atheros”) is required to provide you. Except where prohibited by the open source license, the content of this
|
||||||
|
notices file is only provided to satisfy Qualcomm Atheros's attribution and notice requirement; your use of these software
|
||||||
|
components together with the Qualcomm Atheros software (Qualcomm Atheros software hereinafter referred to as “Software”) is
|
||||||
|
subject to the terms of your agreement from Qualcomm Atheros. Compliance with all copyright laws and software license agreements
|
||||||
|
included in the notice section of this file are the responsibility of the user. Except as may be granted by separate express
|
||||||
|
written agreement, this file provides no license to any patents, trademarks, copyrights, or other intellectual property of
|
||||||
|
Qualcomm Incorporated or any of its subsidiaries.
|
||||||
|
|
||||||
|
Qualcomm is a trademark of Qualcomm Incorporated, registered in the United States and other countries. All Qualcomm Incorporated
|
||||||
|
trademarks are used with permission. Other products and brand names may be trademarks or registered trademarks of their respective
|
||||||
|
owners.
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
/*
|
||||||
|
* WPA definitions shared between hostapd and wpa_supplicant
|
||||||
|
* Copyright (c) 2002-2018, Jouni Malinen <j@w1.fi>
|
||||||
|
*
|
||||||
|
* This software may be distributed under the terms of the BSD license.
|
||||||
|
* See README for more details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
/* WPA/RSN - Shared functions for supplicant and authenticator
|
||||||
|
* EAP common peer/server definitions
|
||||||
|
* EAP peer state machines (RFC 4137)
|
||||||
|
* Copyright (c) 2002-2018, Jouni Malinen <j@w1.fi>
|
||||||
|
*
|
||||||
|
* This software may be distributed under the terms of the BSD license.
|
||||||
|
* See README for more details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2011 Qualcomm Technologies, Inc.
|
||||||
|
* 2011 Qualcomm Atheros, Inc.
|
||||||
|
* All Rights Reserved.
|
||||||
|
* Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||||
|
* Notifications and licenses are retained for attribution purposes only.
|
||||||
|
*/
|
||||||
|
/*
|
||||||
|
* For this file, which was received with alternative licensing options for
|
||||||
|
* distribution, Qualcomm Atheros, Inc. has selected the BSD license.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* AES-based functions
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* - AES Key Wrap Algorithm (128-bit KEK) (RFC3394)
|
||||||
|
* - One-Key CBC MAC (OMAC1) hash with AES-128
|
||||||
|
* - AES-128 CTR mode encryption
|
||||||
|
* - AES-128 EAX mode encryption/decryption
|
||||||
|
* - AES-128 CBC
|
||||||
|
*
|
||||||
|
* Copyright (c) 2003-2005, Jouni Malinen <jkmaline@cc.hut.fi>
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License version 2 as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* Alternatively, this software may be distributed under the terms of BSD
|
||||||
|
* license.
|
||||||
|
*
|
||||||
|
* See README and COPYING for more details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2011 Qualcomm Technologies, Inc.
|
||||||
|
* 2011 Qualcomm Atheros, Inc.
|
||||||
|
* All Rights Reserved.
|
||||||
|
* Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||||
|
* Notifications and licenses are retained for attribution purposes only.
|
||||||
|
*/
|
||||||
|
/*
|
||||||
|
* For this file, which was received with alternative licensing options for
|
||||||
|
* distribution, Qualcomm Atheros, Inc. has selected the BSD license.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* SHA1 hash implementation and interface functions
|
||||||
|
* Copyright (c) 2003-2005, Jouni Malinen <jkmaline@cc.hut.fi>
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License version 2 as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* Alternatively, this software may be distributed under the terms of BSD
|
||||||
|
* license.
|
||||||
|
*
|
||||||
|
* See README and COPYING for more details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2011 Qualcomm Technologies, Inc.
|
||||||
|
* 2011 Qualcomm Atheros, Inc.
|
||||||
|
* All Rights Reserved.
|
||||||
|
* Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||||
|
* Notifications and licenses are retained for attribution purposes only.
|
||||||
|
*/
|
||||||
|
/*
|
||||||
|
* For this file, which was received with alternative licensing options for
|
||||||
|
* distribution, Qualcomm Atheros, Inc. has selected the BSD license.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* WPA Supplicant / wrapper functions for crypto libraries
|
||||||
|
* Copyright (c) 2004-2005, Jouni Malinen <jkmaline@cc.hut.fi>
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License version 2 as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* Alternatively, this software may be distributed under the terms of BSD
|
||||||
|
* license.
|
||||||
|
*
|
||||||
|
* See README and COPYING for more details.
|
||||||
|
*
|
||||||
|
* This file defines the cryptographic functions that need to be implemented
|
||||||
|
* for wpa_supplicant and hostapd. When TLS is not used, internal
|
||||||
|
* implementation of MD5, SHA1, and AES is used and no external libraries are
|
||||||
|
* required. When TLS is enabled (e.g., by enabling EAP-TLS or EAP-PEAP), the
|
||||||
|
* crypto library used by the TLS implementation is expected to be used for
|
||||||
|
* non-TLS needs, too, in order to save space by not implementing these
|
||||||
|
* functions twice.
|
||||||
|
*
|
||||||
|
* Wrapper code for using each crypto library is in its own file (crypto*.c)
|
||||||
|
* and one of these files is build and linked in to provide the functions
|
||||||
|
* defined here.
|
||||||
|
*/
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
/*
|
||||||
|
* For this file, which was received with alternative licensing options for
|
||||||
|
* distribution, Qualcomm Atheros, Inc. has selected the BSD license.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* WPA Supplicant - Common definitions
|
||||||
|
* Copyright (c) 2004-2005, Jouni Malinen <jkmaline@cc.hut.fi>
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License version 2 as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* Alternatively, this software may be distributed under the terms of BSD
|
||||||
|
* license.
|
||||||
|
*
|
||||||
|
* See README and COPYING for more details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
/*
|
||||||
|
* For this file, which was received with alternative licensing options for
|
||||||
|
* distribution, Qualcomm Atheros, Inc. has selected the BSD license.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* WPA Supplicant - WPA state machine and EAPOL-Key processing
|
||||||
|
* Copyright (c) 2003-2005, Jouni Malinen <jkmaline@cc.hut.fi>
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License version 2 as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* Alternatively, this software may be distributed under the terms of BSD
|
||||||
|
* license.
|
||||||
|
*
|
||||||
|
* See README and COPYING for more details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
/*
|
||||||
|
* For this file, which was received with alternative licensing options for
|
||||||
|
* distribution, Qualcomm Atheros, Inc. has selected the BSD license.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* WPA Supplicant / Configuration file structures
|
||||||
|
* Copyright (c) 2003-2005, Jouni Malinen <jkmaline@cc.hut.fi>
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License version 2 as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* Alternatively, this software may be distributed under the terms of BSD
|
||||||
|
* license.
|
||||||
|
*
|
||||||
|
* See README and COPYING for more details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2011 Qualcomm Technologies, Inc.
|
||||||
|
* 2008-2011 Qualcomm Atheros, Inc.
|
||||||
|
* All Rights Reserved.
|
||||||
|
* Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||||
|
* Qualcomm Atheros, Inc. has chosen to take madwifi subject to the BSD license and terms.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
/*
|
||||||
|
* For this file, which was received with alternative licensing options for
|
||||||
|
* distribution, Qualcomm Atheros, Inc. has selected the BSD license.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* wpa_supplicant - Internal WPA state machine definitions
|
||||||
|
* Copyright (c) 2004-2005, Jouni Malinen <jkmaline@cc.hut.fi>
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License version 2 as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* Alternatively, this software may be distributed under the terms of BSD
|
||||||
|
* license.
|
||||||
|
*
|
||||||
|
* See README and COPYING for more details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
/*
|
||||||
|
* For this file, which was received with alternative licensing options for
|
||||||
|
* distribution, Qualcomm Atheros, Inc. has selected the BSD license.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* wpa_supplicant - WPA definitions
|
||||||
|
* Copyright (c) 2003-2005, Jouni Malinen <jkmaline@cc.hut.fi>
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License version 2 as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* Alternatively, this software may be distributed under the terms of BSD
|
||||||
|
* license.
|
||||||
|
*
|
||||||
|
* See README and COPYING for more details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
/*
|
||||||
|
* For this file, which was received with alternative licensing options for
|
||||||
|
* distribution, Qualcomm Atheros, Inc. has selected the BSD license.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* wpa_supplicant/hostapd / common helper functions, etc.
|
||||||
|
* Copyright (c) 2002-2005, Jouni Malinen <jkmaline@cc.hut.fi>
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License version 2 as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* Alternatively, this software may be distributed under the terms of BSD
|
||||||
|
* license.
|
||||||
|
*
|
||||||
|
* See README and COPYING for more details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
* Australian Public Licence B (OZPLB)
|
||||||
|
*
|
||||||
|
* Version 1-0
|
||||||
|
*
|
||||||
|
* Copyright (c) 2004, National ICT Australia
|
||||||
|
* Copyright (c) 2007, Open Kernel Labs, Inc.
|
||||||
|
*
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* Developed by: Embedded, Real-time and Operating Systems Program (ERTOS)
|
||||||
|
* National ICT Australia
|
||||||
|
* http://www.ertos.nicta.com.au
|
||||||
|
*
|
||||||
|
* Permission is granted by National ICT Australia, free of charge, to
|
||||||
|
* any person obtaining a copy of this software and any associated
|
||||||
|
* documentation files (the "Software") to deal with the Software without
|
||||||
|
* restriction, including (without limitation) the rights to use, copy,
|
||||||
|
* modify, adapt, merge, publish, distribute, communicate to the public,
|
||||||
|
* sublicense, and/or sell, lend or rent out copies of the Software, and
|
||||||
|
* to permit persons to whom the Software is furnished to do so, subject
|
||||||
|
* to the following conditions:
|
||||||
|
*
|
||||||
|
* * Redistributions of source code must retain the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimers.
|
||||||
|
*
|
||||||
|
* * Redistributions in binary form must reproduce the above
|
||||||
|
* copyright notice, this list of conditions and the following
|
||||||
|
* disclaimers in the documentation and/or other materials provided
|
||||||
|
* with the distribution.
|
||||||
|
*
|
||||||
|
* * Neither the name of National ICT Australia, nor the names of its
|
||||||
|
* contributors, may be used to endorse or promote products derived
|
||||||
|
* from this Software without specific prior written permission.
|
||||||
|
*
|
||||||
|
* EXCEPT AS EXPRESSLY STATED IN THIS LICENCE AND TO THE FULL EXTENT
|
||||||
|
* PERMITTED BY APPLICABLE LAW, THE SOFTWARE IS PROVIDED "AS-IS", AND
|
||||||
|
* NATIONAL ICT AUSTRALIA AND ITS CONTRIBUTORS MAKE NO REPRESENTATIONS,
|
||||||
|
* WARRANTIES OR CONDITIONS OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
|
||||||
|
* BUT NOT LIMITED TO ANY REPRESENTATIONS, WARRANTIES OR CONDITIONS
|
||||||
|
* REGARDING THE CONTENTS OR ACCURACY OF THE SOFTWARE, OR OF TITLE,
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT,
|
||||||
|
* THE ABSENCE OF LATENT OR OTHER DEFECTS, OR THE PRESENCE OR ABSENCE OF
|
||||||
|
* ERRORS, WHETHER OR NOT DISCOVERABLE.
|
||||||
|
*
|
||||||
|
* TO THE FULL EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL
|
||||||
|
* NATIONAL ICT AUSTRALIA OR ITS CONTRIBUTORS BE LIABLE ON ANY LEGAL
|
||||||
|
* THEORY (INCLUDING, WITHOUT LIMITATION, IN AN ACTION OF CONTRACT,
|
||||||
|
* NEGLIGENCE OR OTHERWISE) FOR ANY CLAIM, LOSS, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, INCLUDING (WITHOUT LIMITATION) LOSS OF PRODUCTION OR
|
||||||
|
* OPERATION TIME, LOSS, DAMAGE OR CORRUPTION OF DATA OR RECORDS; OR LOSS
|
||||||
|
* OF ANTICIPATED SAVINGS, OPPORTUNITY, REVENUE, PROFIT OR GOODWILL, OR
|
||||||
|
* OTHER ECONOMIC LOSS; OR ANY SPECIAL, INCIDENTAL, INDIRECT,
|
||||||
|
* CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES, ARISING OUT OF OR IN
|
||||||
|
* CONNECTION WITH THIS LICENCE, THE SOFTWARE OR THE USE OF OR OTHER
|
||||||
|
* DEALINGS WITH THE SOFTWARE, EVEN IF NATIONAL ICT AUSTRALIA OR ITS
|
||||||
|
* CONTRIBUTORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH CLAIM, LOSS,
|
||||||
|
* DAMAGES OR OTHER LIABILITY.
|
||||||
|
*
|
||||||
|
* If applicable legislation implies representations, warranties, or
|
||||||
|
* conditions, or imposes obligations or liability on National ICT
|
||||||
|
* Australia or one of its contributors in respect of the Software that
|
||||||
|
* cannot be wholly or partly excluded, restricted or modified, the
|
||||||
|
* liability of National ICT Australia or the contributor is limited, to
|
||||||
|
* the full extent permitted by the applicable legislation, at its
|
||||||
|
* option, to:
|
||||||
|
* a. in the case of goods, any one or more of the following:
|
||||||
|
* i. the replacement of the goods or the supply of equivalent goods;
|
||||||
|
* ii. the repair of the goods;
|
||||||
|
* iii. the payment of the cost of replacing the goods or of acquiring
|
||||||
|
* equivalent goods;
|
||||||
|
* iv. the payment of the cost of having the goods repaired; or
|
||||||
|
* b. in the case of services:
|
||||||
|
* i. the supplying of the services again; or
|
||||||
|
* ii. the payment of the cost of having the services supplied again.
|
||||||
|
*
|
||||||
|
* The construction, validity and performance of this licence is governed
|
||||||
|
* by the laws in force in New South Wales, Australia.
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
* Copyright (c) 2002-2004, Karlsruhe University
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions
|
||||||
|
* are met:
|
||||||
|
* 1. Redistributions of source code must retain the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer.
|
||||||
|
* 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer in the
|
||||||
|
* documentation and/or other materials provided with the distribution.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||||
|
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
|
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
||||||
|
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||||
|
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||||
|
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||||
|
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||||
|
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||||
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
|
* SUCH DAMAGE.
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
/*
|
||||||
|
* COPYRIGHT (C) 1986 Gary S. Brown. You may use this program, or
|
||||||
|
* code or tables extracted from it, as desired without restriction.
|
||||||
|
*
|
||||||
|
* First, the polynomial itself and its table of feedback terms. The
|
||||||
|
* polynomial is
|
||||||
|
* 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
|
||||||
|
*
|
||||||
|
* Note that we take it "backwards" and put the highest-order term in
|
||||||
|
* the lowest-order bit. The X^32 term is "implied"; the LSB is the
|
||||||
|
* X^31 term, etc. The X^0 term (usually shown as "+1") results in
|
||||||
|
* the MSB being 1
|
||||||
|
*
|
||||||
|
* Note that the usual hardware shift register implementation, which
|
||||||
|
* is what we're using (we're merely optimizing it by doing eight-bit
|
||||||
|
* chunks at a time) shifts bits into the lowest-order term. In our
|
||||||
|
* implementation, that means shifting towards the right. Why do we
|
||||||
|
* do it this way? Because the calculated CRC must be transmitted in
|
||||||
|
* order from highest-order term to lowest-order term. UARTs transmit
|
||||||
|
* characters in order from LSB to MSB. By storing the CRC this way
|
||||||
|
* we hand it to the UART in the order low-byte to high-byte; the UART
|
||||||
|
* sends each low-bit to hight-bit; and the result is transmission bit
|
||||||
|
* by bit from highest- to lowest-order term without requiring any bit
|
||||||
|
* shuffling on our part. Reception works similarly
|
||||||
|
*
|
||||||
|
* The feedback terms table consists of 256, 32-bit entries. Notes
|
||||||
|
*
|
||||||
|
* The table can be generated at runtime if desired; code to do so
|
||||||
|
* is shown later. It might not be obvious, but the feedback
|
||||||
|
* terms simply represent the results of eight shift/xor opera
|
||||||
|
* tions for all combinations of data and CRC register values
|
||||||
|
*
|
||||||
|
* The values must be right-shifted by eight bits by the "updcrc
|
||||||
|
* logic; the shift must be unsigned (bring in zeroes). On some
|
||||||
|
* hardware you could probably optimize the shift in assembler by
|
||||||
|
* using byte-swap instructions
|
||||||
|
* polynomial $edb88320
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* CRC32 code derived from work by Gary S. Brown.
|
||||||
|
*/
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
* AUTHOR: Aaron D. Gifford - http://www.aarongifford.com/
|
||||||
|
*
|
||||||
|
* Copyright (c) 2000-2001, Aaron D. Gifford
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions
|
||||||
|
* are met:
|
||||||
|
* 1. Redistributions of source code must retain the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer.
|
||||||
|
* 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer in the
|
||||||
|
* documentation and/or other materials provided with the distribution.
|
||||||
|
* 3. Neither the name of the copyright holder nor the names of contributors
|
||||||
|
* may be used to endorse or promote products derived from this software
|
||||||
|
* without specific prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTOR(S) ``AS IS'' AND
|
||||||
|
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
|
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTOR(S) BE LIABLE
|
||||||
|
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||||
|
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||||
|
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||||
|
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||||
|
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||||
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
|
* SUCH DAMAGE.
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
* Copyright (c) 1988, 1993
|
||||||
|
* The Regents of the University of California. All rights reserved.
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions
|
||||||
|
* are met:
|
||||||
|
* 1. Redistributions of source code must retain the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer.
|
||||||
|
* 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer in the
|
||||||
|
* documentation and/or other materials provided with the distribution.
|
||||||
|
* 3. All advertising materials mentioning features or use of this software
|
||||||
|
* must display the following acknowledgement:
|
||||||
|
* This product includes software developed by the University of
|
||||||
|
* California, Berkeley and its contributors.
|
||||||
|
* 4. Neither the name of the University nor the names of its contributors
|
||||||
|
* may be used to endorse or promote products derived from this software
|
||||||
|
* without specific prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||||
|
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
|
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||||
|
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||||
|
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||||
|
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||||
|
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||||
|
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||||
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
|
* SUCH DAMAGE.
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
* Copyright (c) 1982, 1986, 1990, 1991, 1993 The Regents of the University of California.
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions
|
||||||
|
* are met:
|
||||||
|
* 1. Redistributions of source code must retain the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer.
|
||||||
|
* 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer in the
|
||||||
|
* documentation and/or other materials provided with the distribution.
|
||||||
|
* 3. Neither the name of the University nor the names of its contributors
|
||||||
|
* may be used to endorse or promote products derived from this software
|
||||||
|
* without specific prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||||
|
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
|
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||||
|
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||||
|
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||||
|
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||||
|
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||||
|
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||||
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
|
* SUCH DAMAGE.
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
# Copyright (c) 2012-2015 Qualcomm Technologies, Inc.
|
||||||
|
# 2012-2015 Qualcomm Atheros, Inc.
|
||||||
|
# All Rights Reserved.
|
||||||
|
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||||
|
#
|
||||||
|
# Permission to use, copy, modify, and/or distribute this software for any
|
||||||
|
# purpose with or without fee is hereby granted, provided that the above
|
||||||
|
# copyright notice and this permission notice appear in all copies.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||||
|
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||||
|
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||||
|
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||||
|
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||||
|
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||||
|
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
* Copyright (c) 1988, 1993
|
||||||
|
* The Regents of the University of California. All rights reserved.
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions
|
||||||
|
* are met:
|
||||||
|
* 1. Redistributions of source code must retain the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer.
|
||||||
|
* 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer in the
|
||||||
|
* documentation and/or other materials provided with the distribution.
|
||||||
|
* 3. All advertising materials mentioning features or use of this software
|
||||||
|
* must display the following acknowledgement:
|
||||||
|
* This product includes software developed by the University of
|
||||||
|
* California, Berkeley and its contributors.
|
||||||
|
* 4. Neither the name of the University nor the names of its contributors
|
||||||
|
* may be used to endorse or promote products derived from this software
|
||||||
|
* without specific prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||||
|
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
|
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||||
|
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||||
|
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||||
|
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||||
|
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||||
|
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||||
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
|
* SUCH DAMAGE.
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
/* $OpenBSD: string.h,v 1.17 2006/01/06 18:53:04 millert Exp $ */
|
||||||
|
/* $NetBSD: string.h,v 1.6 1994/10/26 00:56:30 cgd Exp $ */
|
||||||
|
|
||||||
|
/*-
|
||||||
|
* Copyright (c) 1990 The Regents of the University of California.
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions
|
||||||
|
* are met:
|
||||||
|
* 1. Redistributions of source code must retain the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer.
|
||||||
|
* 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer in the
|
||||||
|
* documentation and/or other materials provided with the distribution.
|
||||||
|
* 3. Neither the name of the University nor the names of its contributors
|
||||||
|
* may be used to endorse or promote products derived from this software
|
||||||
|
* without specific prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||||
|
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
|
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||||
|
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||||
|
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||||
|
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||||
|
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||||
|
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||||
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
|
* SUCH DAMAGE.
|
||||||
|
*
|
||||||
|
* @(#)string.h 5.10 (Berkeley) 3/9/91
|
||||||
|
*/
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
// Copyright (c) 1991, 1993
|
||||||
|
// The Regents of the University of California. All rights reserved.
|
||||||
|
// $ATH_LICENSE_NULL$
|
||||||
|
//
|
||||||
|
// Redistribution and use in source and binary forms, with or without
|
||||||
|
// modification, are permitted provided that the following conditions
|
||||||
|
// are met:
|
||||||
|
// 1. Redistributions of source code must retain the above copyright
|
||||||
|
// notice, this list of conditions and the following disclaimer.
|
||||||
|
// 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
// notice, this list of conditions and the following disclaimer in the
|
||||||
|
// documentation and/or other materials provided with the distribution.
|
||||||
|
// 3. All advertising materials mentioning features or use of this software
|
||||||
|
// must display the following acknowledgement:
|
||||||
|
// This product includes software developed by the University of
|
||||||
|
// California, Berkeley and its contributors.
|
||||||
|
// 4. Neither the name of the University nor the names of its contributors
|
||||||
|
// may be used to endorse or promote products derived from this software
|
||||||
|
// without specific prior written permission.
|
||||||
|
//
|
||||||
|
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||||
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||||
|
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||||
|
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||||
|
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||||
|
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||||
|
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||||
|
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
|
// SUCH DAMAGE.
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
* Copyright (c) 1998, 2010 Todd C. Miller <Todd.Miller@courtesan.com>
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, and distribute this software for any
|
||||||
|
* purpose with or without fee is hereby granted, provided that the above
|
||||||
|
* copyright notice and this permission notice appear in all copies.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||||
|
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||||
|
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||||
|
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||||
|
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||||
|
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||||
|
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions
|
||||||
|
* are met:
|
||||||
|
* 1. Redistributions of source code must retain the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer.
|
||||||
|
* 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer in the
|
||||||
|
* documentation and/or other materials provided with the distribution.
|
||||||
|
* 3. The name of the author may not be used to endorse or promote products
|
||||||
|
* derived from this software without specific prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||||
|
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||||
|
* AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||||
|
* THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||||
|
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
||||||
|
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||||
|
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||||
|
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||||
|
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
** Copyright (c) 2004-2010, Atheros Communications Inc.
|
||||||
|
**
|
||||||
|
** Permission to use, copy, modify, and/or distribute this software for any
|
||||||
|
** purpose with or without fee is hereby granted, provided that the above
|
||||||
|
** copyright notice and this permission notice appear in all copies.
|
||||||
|
**
|
||||||
|
** THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||||
|
** WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||||
|
** MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||||
|
** ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||||
|
** WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||||
|
** ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||||
|
** OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
**
|
||||||
|
** This module is the Atheros specific ioctl/iwconfig/iwpriv interface
|
||||||
|
** to the ATH object, normally instantiated as wifiX, where X is the
|
||||||
|
** instance number (e.g. wifi0, wifi1).
|
||||||
|
**
|
||||||
|
** This provides a mechanism to configure the ATH object within the
|
||||||
|
** Linux OS enviornment. This file is OS specific.
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2012 Qualcomm Technologies, Inc.
|
||||||
|
* 2012 Qualcomm Atheros, Inc.
|
||||||
|
* All Rights Reserved.
|
||||||
|
* Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* For this file, which was received with alternative licensing options for
|
||||||
|
* distribution, Qualcomm Atheros, Inc. has selected the BSD license.
|
||||||
|
*/
|
||||||
|
|
||||||
|
//-
|
||||||
|
// Copyright (c) 2002-2004 Sam Leffler, Errno Consulting
|
||||||
|
// All rights reserved.
|
||||||
|
// $ATH_LICENSE_NULL$
|
||||||
|
//
|
||||||
|
// Redistribution and use in source and binary forms, with or without
|
||||||
|
// modification, are permitted provided that the following conditions
|
||||||
|
// are met:
|
||||||
|
// 1. Redistributions of source code must retain the above copyright
|
||||||
|
// notice, this list of conditions and the following disclaimer,
|
||||||
|
// without modification.
|
||||||
|
// 2. Redistributions in binary form must reproduce at minimum a disclaimer
|
||||||
|
// similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any
|
||||||
|
// redistribution must be conditioned upon including a substantially
|
||||||
|
// similar Disclaimer requirement for further binary redistribution.
|
||||||
|
// 3. Neither the names of the above-listed copyright holders nor the names
|
||||||
|
// of any contributors may be used to endorse or promote products derived
|
||||||
|
// from this software without specific prior written permission.
|
||||||
|
//
|
||||||
|
// Alternatively, this software may be distributed under the terms of the
|
||||||
|
// GNU General Public License ("GPL") version 2 as published by the Free
|
||||||
|
// Software Foundation.
|
||||||
|
//
|
||||||
|
// NO WARRANTY
|
||||||
|
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
// ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||||
|
// LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTIBILITY
|
||||||
|
// AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||||
|
// THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
|
||||||
|
// OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||||
|
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||||
|
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
|
||||||
|
// IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||||
|
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||||
|
// THE POSSIBILITY OF SUCH DAMAGES.
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
/*
|
||||||
|
* AES SIV (RFC 5297)
|
||||||
|
* Copyright (c) 2013 Cozybit, Inc.
|
||||||
|
*
|
||||||
|
* This software may be distributed under the terms of the BSD license.
|
||||||
|
*/
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
* Copyright 2018 The Android Open Source Project
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
/* ===== start - public domain SHA256 implementation ===== */
|
||||||
|
|
||||||
|
/* This is based on SHA256 implementation in LibTomCrypt that was released into
|
||||||
|
* public domain by Tom St Denis. */
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
// This code implements the MD5 message-digest algorithm.
|
||||||
|
// The algorithm is due to Ron Rivest. This code was
|
||||||
|
// written by Colin Plumb in 1993, no copyright is claimed.
|
||||||
|
// This code is in the public domain; do with it what you wish.
|
||||||
|
//
|
||||||
|
// Equivalent code is available from RSA Data Security, Inc.
|
||||||
|
// This code has been tested against that, and is equivalent,
|
||||||
|
// except that you don't need to include two pages of legalese
|
||||||
|
// with every copy.
|
||||||
|
//
|
||||||
|
|
||||||
|
--------------------
|
||||||
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/m3_fw.b00
Normal file
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/m3_fw.b00
Normal file
Binary file not shown.
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/m3_fw.b01
Normal file
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/m3_fw.b01
Normal file
Binary file not shown.
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/m3_fw.b02
Normal file
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/m3_fw.b02
Normal file
Binary file not shown.
3
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/m3_fw.flist
Normal file
3
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/m3_fw.flist
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
build/ms/bin/5018.wlanfw2.map_spr_spr_eval_cs/PIL_IMAGES/m3_fw.b00
|
||||||
|
build/ms/bin/5018.wlanfw2.map_spr_spr_eval_cs/PIL_IMAGES/m3_fw.b01
|
||||||
|
build/ms/bin/5018.wlanfw2.map_spr_spr_eval_cs/PIL_IMAGES/m3_fw.b02
|
||||||
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/m3_fw.mdt
Normal file
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/m3_fw.mdt
Normal file
Binary file not shown.
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b00
Normal file
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b00
Normal file
Binary file not shown.
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b01
Normal file
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b01
Normal file
Binary file not shown.
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b02
Normal file
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b02
Normal file
Binary file not shown.
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b03
Normal file
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b03
Normal file
Binary file not shown.
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b04
Normal file
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b04
Normal file
Binary file not shown.
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b05
Normal file
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b05
Normal file
Binary file not shown.
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b07
Normal file
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b07
Normal file
Binary file not shown.
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b08
Normal file
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b08
Normal file
Binary file not shown.
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b09
Normal file
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b09
Normal file
Binary file not shown.
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b10
Normal file
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b10
Normal file
Binary file not shown.
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b11
Normal file
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b11
Normal file
Binary file not shown.
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b13
Normal file
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b13
Normal file
Binary file not shown.
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b14
Normal file
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b14
Normal file
Binary file not shown.
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b15
Normal file
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b15
Normal file
Binary file not shown.
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b16
Normal file
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b16
Normal file
Binary file not shown.
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b17
Normal file
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b17
Normal file
Binary file not shown.
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b18
Normal file
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b18
Normal file
Binary file not shown.
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b20
Normal file
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b20
Normal file
Binary file not shown.
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b21
Normal file
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b21
Normal file
Binary file not shown.
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b22
Normal file
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b22
Normal file
Binary file not shown.
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b23
Normal file
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b23
Normal file
Binary file not shown.
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b25
Normal file
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b25
Normal file
Binary file not shown.
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b26
Normal file
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.b26
Normal file
Binary file not shown.
23
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.flist
Normal file
23
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.flist
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
build/ms/bin/5018.wlanfw2.map_spr_spr_eval_cs/PIL_IMAGES/q6_fw.b00
|
||||||
|
build/ms/bin/5018.wlanfw2.map_spr_spr_eval_cs/PIL_IMAGES/q6_fw.b01
|
||||||
|
build/ms/bin/5018.wlanfw2.map_spr_spr_eval_cs/PIL_IMAGES/q6_fw.b02
|
||||||
|
build/ms/bin/5018.wlanfw2.map_spr_spr_eval_cs/PIL_IMAGES/q6_fw.b03
|
||||||
|
build/ms/bin/5018.wlanfw2.map_spr_spr_eval_cs/PIL_IMAGES/q6_fw.b04
|
||||||
|
build/ms/bin/5018.wlanfw2.map_spr_spr_eval_cs/PIL_IMAGES/q6_fw.b05
|
||||||
|
build/ms/bin/5018.wlanfw2.map_spr_spr_eval_cs/PIL_IMAGES/q6_fw.b07
|
||||||
|
build/ms/bin/5018.wlanfw2.map_spr_spr_eval_cs/PIL_IMAGES/q6_fw.b08
|
||||||
|
build/ms/bin/5018.wlanfw2.map_spr_spr_eval_cs/PIL_IMAGES/q6_fw.b09
|
||||||
|
build/ms/bin/5018.wlanfw2.map_spr_spr_eval_cs/PIL_IMAGES/q6_fw.b10
|
||||||
|
build/ms/bin/5018.wlanfw2.map_spr_spr_eval_cs/PIL_IMAGES/q6_fw.b11
|
||||||
|
build/ms/bin/5018.wlanfw2.map_spr_spr_eval_cs/PIL_IMAGES/q6_fw.b13
|
||||||
|
build/ms/bin/5018.wlanfw2.map_spr_spr_eval_cs/PIL_IMAGES/q6_fw.b14
|
||||||
|
build/ms/bin/5018.wlanfw2.map_spr_spr_eval_cs/PIL_IMAGES/q6_fw.b15
|
||||||
|
build/ms/bin/5018.wlanfw2.map_spr_spr_eval_cs/PIL_IMAGES/q6_fw.b16
|
||||||
|
build/ms/bin/5018.wlanfw2.map_spr_spr_eval_cs/PIL_IMAGES/q6_fw.b17
|
||||||
|
build/ms/bin/5018.wlanfw2.map_spr_spr_eval_cs/PIL_IMAGES/q6_fw.b18
|
||||||
|
build/ms/bin/5018.wlanfw2.map_spr_spr_eval_cs/PIL_IMAGES/q6_fw.b20
|
||||||
|
build/ms/bin/5018.wlanfw2.map_spr_spr_eval_cs/PIL_IMAGES/q6_fw.b21
|
||||||
|
build/ms/bin/5018.wlanfw2.map_spr_spr_eval_cs/PIL_IMAGES/q6_fw.b22
|
||||||
|
build/ms/bin/5018.wlanfw2.map_spr_spr_eval_cs/PIL_IMAGES/q6_fw.b23
|
||||||
|
build/ms/bin/5018.wlanfw2.map_spr_spr_eval_cs/PIL_IMAGES/q6_fw.b25
|
||||||
|
build/ms/bin/5018.wlanfw2.map_spr_spr_eval_cs/PIL_IMAGES/q6_fw.b26
|
||||||
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.mdt
Normal file
BIN
feeds/wifi-ax/ath11k-firmware/files/IPQ5018/q6_fw.mdt
Normal file
Binary file not shown.
802
feeds/wifi-ax/ath11k-firmware/files/QCN6122/Notice.txt
Normal file
802
feeds/wifi-ax/ath11k-firmware/files/QCN6122/Notice.txt
Normal file
@@ -0,0 +1,802 @@
|
|||||||
|
This Notice.txt file contains certain notices of software components included with the software that Qualcomm Atheros, Inc.
|
||||||
|
(“Qualcomm Atheros”) is required to provide you. Except where prohibited by the open source license, the content of this
|
||||||
|
notices file is only provided to satisfy Qualcomm Atheros's attribution and notice requirement; your use of these software
|
||||||
|
components together with the Qualcomm Atheros software (Qualcomm Atheros software hereinafter referred to as “Software”) is
|
||||||
|
subject to the terms of your agreement from Qualcomm Atheros. Compliance with all copyright laws and software license agreements
|
||||||
|
included in the notice section of this file are the responsibility of the user. Except as may be granted by separate express
|
||||||
|
written agreement, this file provides no license to any patents, trademarks, copyrights, or other intellectual property of
|
||||||
|
Qualcomm Incorporated or any of its subsidiaries.
|
||||||
|
|
||||||
|
Qualcomm is a trademark of Qualcomm Incorporated, registered in the United States and other countries. All Qualcomm Incorporated
|
||||||
|
trademarks are used with permission. Other products and brand names may be trademarks or registered trademarks of their respective
|
||||||
|
owners.
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
/*
|
||||||
|
* WPA definitions shared between hostapd and wpa_supplicant
|
||||||
|
* Copyright (c) 2002-2018, Jouni Malinen <j@w1.fi>
|
||||||
|
*
|
||||||
|
* This software may be distributed under the terms of the BSD license.
|
||||||
|
* See README for more details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
/* WPA/RSN - Shared functions for supplicant and authenticator
|
||||||
|
* EAP common peer/server definitions
|
||||||
|
* EAP peer state machines (RFC 4137)
|
||||||
|
* Copyright (c) 2002-2018, Jouni Malinen <j@w1.fi>
|
||||||
|
*
|
||||||
|
* This software may be distributed under the terms of the BSD license.
|
||||||
|
* See README for more details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2011 Qualcomm Technologies, Inc.
|
||||||
|
* 2011 Qualcomm Atheros, Inc.
|
||||||
|
* All Rights Reserved.
|
||||||
|
* Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||||
|
* Notifications and licenses are retained for attribution purposes only.
|
||||||
|
*/
|
||||||
|
/*
|
||||||
|
* For this file, which was received with alternative licensing options for
|
||||||
|
* distribution, Qualcomm Atheros, Inc. has selected the BSD license.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* AES-based functions
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* - AES Key Wrap Algorithm (128-bit KEK) (RFC3394)
|
||||||
|
* - One-Key CBC MAC (OMAC1) hash with AES-128
|
||||||
|
* - AES-128 CTR mode encryption
|
||||||
|
* - AES-128 EAX mode encryption/decryption
|
||||||
|
* - AES-128 CBC
|
||||||
|
*
|
||||||
|
* Copyright (c) 2003-2005, Jouni Malinen <jkmaline@cc.hut.fi>
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License version 2 as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* Alternatively, this software may be distributed under the terms of BSD
|
||||||
|
* license.
|
||||||
|
*
|
||||||
|
* See README and COPYING for more details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2011 Qualcomm Technologies, Inc.
|
||||||
|
* 2011 Qualcomm Atheros, Inc.
|
||||||
|
* All Rights Reserved.
|
||||||
|
* Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||||
|
* Notifications and licenses are retained for attribution purposes only.
|
||||||
|
*/
|
||||||
|
/*
|
||||||
|
* For this file, which was received with alternative licensing options for
|
||||||
|
* distribution, Qualcomm Atheros, Inc. has selected the BSD license.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* SHA1 hash implementation and interface functions
|
||||||
|
* Copyright (c) 2003-2005, Jouni Malinen <jkmaline@cc.hut.fi>
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License version 2 as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* Alternatively, this software may be distributed under the terms of BSD
|
||||||
|
* license.
|
||||||
|
*
|
||||||
|
* See README and COPYING for more details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2011 Qualcomm Technologies, Inc.
|
||||||
|
* 2011 Qualcomm Atheros, Inc.
|
||||||
|
* All Rights Reserved.
|
||||||
|
* Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||||
|
* Notifications and licenses are retained for attribution purposes only.
|
||||||
|
*/
|
||||||
|
/*
|
||||||
|
* For this file, which was received with alternative licensing options for
|
||||||
|
* distribution, Qualcomm Atheros, Inc. has selected the BSD license.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* WPA Supplicant / wrapper functions for crypto libraries
|
||||||
|
* Copyright (c) 2004-2005, Jouni Malinen <jkmaline@cc.hut.fi>
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License version 2 as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* Alternatively, this software may be distributed under the terms of BSD
|
||||||
|
* license.
|
||||||
|
*
|
||||||
|
* See README and COPYING for more details.
|
||||||
|
*
|
||||||
|
* This file defines the cryptographic functions that need to be implemented
|
||||||
|
* for wpa_supplicant and hostapd. When TLS is not used, internal
|
||||||
|
* implementation of MD5, SHA1, and AES is used and no external libraries are
|
||||||
|
* required. When TLS is enabled (e.g., by enabling EAP-TLS or EAP-PEAP), the
|
||||||
|
* crypto library used by the TLS implementation is expected to be used for
|
||||||
|
* non-TLS needs, too, in order to save space by not implementing these
|
||||||
|
* functions twice.
|
||||||
|
*
|
||||||
|
* Wrapper code for using each crypto library is in its own file (crypto*.c)
|
||||||
|
* and one of these files is build and linked in to provide the functions
|
||||||
|
* defined here.
|
||||||
|
*/
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
/*
|
||||||
|
* For this file, which was received with alternative licensing options for
|
||||||
|
* distribution, Qualcomm Atheros, Inc. has selected the BSD license.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* WPA Supplicant - Common definitions
|
||||||
|
* Copyright (c) 2004-2005, Jouni Malinen <jkmaline@cc.hut.fi>
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License version 2 as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* Alternatively, this software may be distributed under the terms of BSD
|
||||||
|
* license.
|
||||||
|
*
|
||||||
|
* See README and COPYING for more details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
/*
|
||||||
|
* For this file, which was received with alternative licensing options for
|
||||||
|
* distribution, Qualcomm Atheros, Inc. has selected the BSD license.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* WPA Supplicant - WPA state machine and EAPOL-Key processing
|
||||||
|
* Copyright (c) 2003-2005, Jouni Malinen <jkmaline@cc.hut.fi>
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License version 2 as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* Alternatively, this software may be distributed under the terms of BSD
|
||||||
|
* license.
|
||||||
|
*
|
||||||
|
* See README and COPYING for more details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
/*
|
||||||
|
* For this file, which was received with alternative licensing options for
|
||||||
|
* distribution, Qualcomm Atheros, Inc. has selected the BSD license.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* WPA Supplicant / Configuration file structures
|
||||||
|
* Copyright (c) 2003-2005, Jouni Malinen <jkmaline@cc.hut.fi>
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License version 2 as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* Alternatively, this software may be distributed under the terms of BSD
|
||||||
|
* license.
|
||||||
|
*
|
||||||
|
* See README and COPYING for more details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2011 Qualcomm Technologies, Inc.
|
||||||
|
* 2008-2011 Qualcomm Atheros, Inc.
|
||||||
|
* All Rights Reserved.
|
||||||
|
* Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||||
|
* Qualcomm Atheros, Inc. has chosen to take madwifi subject to the BSD license and terms.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
/*
|
||||||
|
* For this file, which was received with alternative licensing options for
|
||||||
|
* distribution, Qualcomm Atheros, Inc. has selected the BSD license.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* wpa_supplicant - Internal WPA state machine definitions
|
||||||
|
* Copyright (c) 2004-2005, Jouni Malinen <jkmaline@cc.hut.fi>
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License version 2 as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* Alternatively, this software may be distributed under the terms of BSD
|
||||||
|
* license.
|
||||||
|
*
|
||||||
|
* See README and COPYING for more details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
/*
|
||||||
|
* For this file, which was received with alternative licensing options for
|
||||||
|
* distribution, Qualcomm Atheros, Inc. has selected the BSD license.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* wpa_supplicant - WPA definitions
|
||||||
|
* Copyright (c) 2003-2005, Jouni Malinen <jkmaline@cc.hut.fi>
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License version 2 as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* Alternatively, this software may be distributed under the terms of BSD
|
||||||
|
* license.
|
||||||
|
*
|
||||||
|
* See README and COPYING for more details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
/*
|
||||||
|
* For this file, which was received with alternative licensing options for
|
||||||
|
* distribution, Qualcomm Atheros, Inc. has selected the BSD license.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* wpa_supplicant/hostapd / common helper functions, etc.
|
||||||
|
* Copyright (c) 2002-2005, Jouni Malinen <jkmaline@cc.hut.fi>
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License version 2 as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* Alternatively, this software may be distributed under the terms of BSD
|
||||||
|
* license.
|
||||||
|
*
|
||||||
|
* See README and COPYING for more details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
* Australian Public Licence B (OZPLB)
|
||||||
|
*
|
||||||
|
* Version 1-0
|
||||||
|
*
|
||||||
|
* Copyright (c) 2004, National ICT Australia
|
||||||
|
* Copyright (c) 2007, Open Kernel Labs, Inc.
|
||||||
|
*
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* Developed by: Embedded, Real-time and Operating Systems Program (ERTOS)
|
||||||
|
* National ICT Australia
|
||||||
|
* http://www.ertos.nicta.com.au
|
||||||
|
*
|
||||||
|
* Permission is granted by National ICT Australia, free of charge, to
|
||||||
|
* any person obtaining a copy of this software and any associated
|
||||||
|
* documentation files (the "Software") to deal with the Software without
|
||||||
|
* restriction, including (without limitation) the rights to use, copy,
|
||||||
|
* modify, adapt, merge, publish, distribute, communicate to the public,
|
||||||
|
* sublicense, and/or sell, lend or rent out copies of the Software, and
|
||||||
|
* to permit persons to whom the Software is furnished to do so, subject
|
||||||
|
* to the following conditions:
|
||||||
|
*
|
||||||
|
* * Redistributions of source code must retain the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimers.
|
||||||
|
*
|
||||||
|
* * Redistributions in binary form must reproduce the above
|
||||||
|
* copyright notice, this list of conditions and the following
|
||||||
|
* disclaimers in the documentation and/or other materials provided
|
||||||
|
* with the distribution.
|
||||||
|
*
|
||||||
|
* * Neither the name of National ICT Australia, nor the names of its
|
||||||
|
* contributors, may be used to endorse or promote products derived
|
||||||
|
* from this Software without specific prior written permission.
|
||||||
|
*
|
||||||
|
* EXCEPT AS EXPRESSLY STATED IN THIS LICENCE AND TO THE FULL EXTENT
|
||||||
|
* PERMITTED BY APPLICABLE LAW, THE SOFTWARE IS PROVIDED "AS-IS", AND
|
||||||
|
* NATIONAL ICT AUSTRALIA AND ITS CONTRIBUTORS MAKE NO REPRESENTATIONS,
|
||||||
|
* WARRANTIES OR CONDITIONS OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
|
||||||
|
* BUT NOT LIMITED TO ANY REPRESENTATIONS, WARRANTIES OR CONDITIONS
|
||||||
|
* REGARDING THE CONTENTS OR ACCURACY OF THE SOFTWARE, OR OF TITLE,
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT,
|
||||||
|
* THE ABSENCE OF LATENT OR OTHER DEFECTS, OR THE PRESENCE OR ABSENCE OF
|
||||||
|
* ERRORS, WHETHER OR NOT DISCOVERABLE.
|
||||||
|
*
|
||||||
|
* TO THE FULL EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL
|
||||||
|
* NATIONAL ICT AUSTRALIA OR ITS CONTRIBUTORS BE LIABLE ON ANY LEGAL
|
||||||
|
* THEORY (INCLUDING, WITHOUT LIMITATION, IN AN ACTION OF CONTRACT,
|
||||||
|
* NEGLIGENCE OR OTHERWISE) FOR ANY CLAIM, LOSS, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, INCLUDING (WITHOUT LIMITATION) LOSS OF PRODUCTION OR
|
||||||
|
* OPERATION TIME, LOSS, DAMAGE OR CORRUPTION OF DATA OR RECORDS; OR LOSS
|
||||||
|
* OF ANTICIPATED SAVINGS, OPPORTUNITY, REVENUE, PROFIT OR GOODWILL, OR
|
||||||
|
* OTHER ECONOMIC LOSS; OR ANY SPECIAL, INCIDENTAL, INDIRECT,
|
||||||
|
* CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES, ARISING OUT OF OR IN
|
||||||
|
* CONNECTION WITH THIS LICENCE, THE SOFTWARE OR THE USE OF OR OTHER
|
||||||
|
* DEALINGS WITH THE SOFTWARE, EVEN IF NATIONAL ICT AUSTRALIA OR ITS
|
||||||
|
* CONTRIBUTORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH CLAIM, LOSS,
|
||||||
|
* DAMAGES OR OTHER LIABILITY.
|
||||||
|
*
|
||||||
|
* If applicable legislation implies representations, warranties, or
|
||||||
|
* conditions, or imposes obligations or liability on National ICT
|
||||||
|
* Australia or one of its contributors in respect of the Software that
|
||||||
|
* cannot be wholly or partly excluded, restricted or modified, the
|
||||||
|
* liability of National ICT Australia or the contributor is limited, to
|
||||||
|
* the full extent permitted by the applicable legislation, at its
|
||||||
|
* option, to:
|
||||||
|
* a. in the case of goods, any one or more of the following:
|
||||||
|
* i. the replacement of the goods or the supply of equivalent goods;
|
||||||
|
* ii. the repair of the goods;
|
||||||
|
* iii. the payment of the cost of replacing the goods or of acquiring
|
||||||
|
* equivalent goods;
|
||||||
|
* iv. the payment of the cost of having the goods repaired; or
|
||||||
|
* b. in the case of services:
|
||||||
|
* i. the supplying of the services again; or
|
||||||
|
* ii. the payment of the cost of having the services supplied again.
|
||||||
|
*
|
||||||
|
* The construction, validity and performance of this licence is governed
|
||||||
|
* by the laws in force in New South Wales, Australia.
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
* Copyright (c) 2002-2004, Karlsruhe University
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions
|
||||||
|
* are met:
|
||||||
|
* 1. Redistributions of source code must retain the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer.
|
||||||
|
* 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer in the
|
||||||
|
* documentation and/or other materials provided with the distribution.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||||
|
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
|
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
||||||
|
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||||
|
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||||
|
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||||
|
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||||
|
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||||
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
|
* SUCH DAMAGE.
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
/*
|
||||||
|
* COPYRIGHT (C) 1986 Gary S. Brown. You may use this program, or
|
||||||
|
* code or tables extracted from it, as desired without restriction.
|
||||||
|
*
|
||||||
|
* First, the polynomial itself and its table of feedback terms. The
|
||||||
|
* polynomial is
|
||||||
|
* 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
|
||||||
|
*
|
||||||
|
* Note that we take it "backwards" and put the highest-order term in
|
||||||
|
* the lowest-order bit. The X^32 term is "implied"; the LSB is the
|
||||||
|
* X^31 term, etc. The X^0 term (usually shown as "+1") results in
|
||||||
|
* the MSB being 1
|
||||||
|
*
|
||||||
|
* Note that the usual hardware shift register implementation, which
|
||||||
|
* is what we're using (we're merely optimizing it by doing eight-bit
|
||||||
|
* chunks at a time) shifts bits into the lowest-order term. In our
|
||||||
|
* implementation, that means shifting towards the right. Why do we
|
||||||
|
* do it this way? Because the calculated CRC must be transmitted in
|
||||||
|
* order from highest-order term to lowest-order term. UARTs transmit
|
||||||
|
* characters in order from LSB to MSB. By storing the CRC this way
|
||||||
|
* we hand it to the UART in the order low-byte to high-byte; the UART
|
||||||
|
* sends each low-bit to hight-bit; and the result is transmission bit
|
||||||
|
* by bit from highest- to lowest-order term without requiring any bit
|
||||||
|
* shuffling on our part. Reception works similarly
|
||||||
|
*
|
||||||
|
* The feedback terms table consists of 256, 32-bit entries. Notes
|
||||||
|
*
|
||||||
|
* The table can be generated at runtime if desired; code to do so
|
||||||
|
* is shown later. It might not be obvious, but the feedback
|
||||||
|
* terms simply represent the results of eight shift/xor opera
|
||||||
|
* tions for all combinations of data and CRC register values
|
||||||
|
*
|
||||||
|
* The values must be right-shifted by eight bits by the "updcrc
|
||||||
|
* logic; the shift must be unsigned (bring in zeroes). On some
|
||||||
|
* hardware you could probably optimize the shift in assembler by
|
||||||
|
* using byte-swap instructions
|
||||||
|
* polynomial $edb88320
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* CRC32 code derived from work by Gary S. Brown.
|
||||||
|
*/
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
* AUTHOR: Aaron D. Gifford - http://www.aarongifford.com/
|
||||||
|
*
|
||||||
|
* Copyright (c) 2000-2001, Aaron D. Gifford
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions
|
||||||
|
* are met:
|
||||||
|
* 1. Redistributions of source code must retain the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer.
|
||||||
|
* 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer in the
|
||||||
|
* documentation and/or other materials provided with the distribution.
|
||||||
|
* 3. Neither the name of the copyright holder nor the names of contributors
|
||||||
|
* may be used to endorse or promote products derived from this software
|
||||||
|
* without specific prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTOR(S) ``AS IS'' AND
|
||||||
|
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
|
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTOR(S) BE LIABLE
|
||||||
|
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||||
|
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||||
|
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||||
|
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||||
|
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||||
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
|
* SUCH DAMAGE.
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
* Copyright (c) 1988, 1993
|
||||||
|
* The Regents of the University of California. All rights reserved.
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions
|
||||||
|
* are met:
|
||||||
|
* 1. Redistributions of source code must retain the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer.
|
||||||
|
* 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer in the
|
||||||
|
* documentation and/or other materials provided with the distribution.
|
||||||
|
* 3. All advertising materials mentioning features or use of this software
|
||||||
|
* must display the following acknowledgement:
|
||||||
|
* This product includes software developed by the University of
|
||||||
|
* California, Berkeley and its contributors.
|
||||||
|
* 4. Neither the name of the University nor the names of its contributors
|
||||||
|
* may be used to endorse or promote products derived from this software
|
||||||
|
* without specific prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||||
|
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
|
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||||
|
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||||
|
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||||
|
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||||
|
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||||
|
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||||
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
|
* SUCH DAMAGE.
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
* Copyright (c) 1982, 1986, 1990, 1991, 1993 The Regents of the University of California.
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions
|
||||||
|
* are met:
|
||||||
|
* 1. Redistributions of source code must retain the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer.
|
||||||
|
* 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer in the
|
||||||
|
* documentation and/or other materials provided with the distribution.
|
||||||
|
* 3. Neither the name of the University nor the names of its contributors
|
||||||
|
* may be used to endorse or promote products derived from this software
|
||||||
|
* without specific prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||||
|
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
|
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||||
|
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||||
|
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||||
|
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||||
|
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||||
|
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||||
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
|
* SUCH DAMAGE.
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
# Copyright (c) 2012-2015 Qualcomm Technologies, Inc.
|
||||||
|
# 2012-2015 Qualcomm Atheros, Inc.
|
||||||
|
# All Rights Reserved.
|
||||||
|
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||||
|
#
|
||||||
|
# Permission to use, copy, modify, and/or distribute this software for any
|
||||||
|
# purpose with or without fee is hereby granted, provided that the above
|
||||||
|
# copyright notice and this permission notice appear in all copies.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||||
|
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||||
|
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||||
|
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||||
|
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||||
|
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||||
|
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
* Copyright (c) 1988, 1993
|
||||||
|
* The Regents of the University of California. All rights reserved.
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions
|
||||||
|
* are met:
|
||||||
|
* 1. Redistributions of source code must retain the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer.
|
||||||
|
* 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer in the
|
||||||
|
* documentation and/or other materials provided with the distribution.
|
||||||
|
* 3. All advertising materials mentioning features or use of this software
|
||||||
|
* must display the following acknowledgement:
|
||||||
|
* This product includes software developed by the University of
|
||||||
|
* California, Berkeley and its contributors.
|
||||||
|
* 4. Neither the name of the University nor the names of its contributors
|
||||||
|
* may be used to endorse or promote products derived from this software
|
||||||
|
* without specific prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||||
|
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
|
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||||
|
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||||
|
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||||
|
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||||
|
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||||
|
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||||
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
|
* SUCH DAMAGE.
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
/* $OpenBSD: string.h,v 1.17 2006/01/06 18:53:04 millert Exp $ */
|
||||||
|
/* $NetBSD: string.h,v 1.6 1994/10/26 00:56:30 cgd Exp $ */
|
||||||
|
|
||||||
|
/*-
|
||||||
|
* Copyright (c) 1990 The Regents of the University of California.
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions
|
||||||
|
* are met:
|
||||||
|
* 1. Redistributions of source code must retain the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer.
|
||||||
|
* 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer in the
|
||||||
|
* documentation and/or other materials provided with the distribution.
|
||||||
|
* 3. Neither the name of the University nor the names of its contributors
|
||||||
|
* may be used to endorse or promote products derived from this software
|
||||||
|
* without specific prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||||
|
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
|
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||||
|
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||||
|
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||||
|
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||||
|
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||||
|
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||||
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
|
* SUCH DAMAGE.
|
||||||
|
*
|
||||||
|
* @(#)string.h 5.10 (Berkeley) 3/9/91
|
||||||
|
*/
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
// Copyright (c) 1991, 1993
|
||||||
|
// The Regents of the University of California. All rights reserved.
|
||||||
|
// $ATH_LICENSE_NULL$
|
||||||
|
//
|
||||||
|
// Redistribution and use in source and binary forms, with or without
|
||||||
|
// modification, are permitted provided that the following conditions
|
||||||
|
// are met:
|
||||||
|
// 1. Redistributions of source code must retain the above copyright
|
||||||
|
// notice, this list of conditions and the following disclaimer.
|
||||||
|
// 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
// notice, this list of conditions and the following disclaimer in the
|
||||||
|
// documentation and/or other materials provided with the distribution.
|
||||||
|
// 3. All advertising materials mentioning features or use of this software
|
||||||
|
// must display the following acknowledgement:
|
||||||
|
// This product includes software developed by the University of
|
||||||
|
// California, Berkeley and its contributors.
|
||||||
|
// 4. Neither the name of the University nor the names of its contributors
|
||||||
|
// may be used to endorse or promote products derived from this software
|
||||||
|
// without specific prior written permission.
|
||||||
|
//
|
||||||
|
// THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||||
|
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
|
// ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||||
|
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||||
|
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||||
|
// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||||
|
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||||
|
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||||
|
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
|
// SUCH DAMAGE.
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
* Copyright (c) 1998, 2010 Todd C. Miller <Todd.Miller@courtesan.com>
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, and distribute this software for any
|
||||||
|
* purpose with or without fee is hereby granted, provided that the above
|
||||||
|
* copyright notice and this permission notice appear in all copies.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||||
|
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||||
|
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||||
|
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||||
|
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||||
|
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||||
|
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions
|
||||||
|
* are met:
|
||||||
|
* 1. Redistributions of source code must retain the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer.
|
||||||
|
* 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer in the
|
||||||
|
* documentation and/or other materials provided with the distribution.
|
||||||
|
* 3. The name of the author may not be used to endorse or promote products
|
||||||
|
* derived from this software without specific prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||||
|
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||||
|
* AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||||
|
* THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||||
|
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
||||||
|
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||||
|
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||||
|
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||||
|
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
** Copyright (c) 2004-2010, Atheros Communications Inc.
|
||||||
|
**
|
||||||
|
** Permission to use, copy, modify, and/or distribute this software for any
|
||||||
|
** purpose with or without fee is hereby granted, provided that the above
|
||||||
|
** copyright notice and this permission notice appear in all copies.
|
||||||
|
**
|
||||||
|
** THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||||
|
** WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||||
|
** MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||||
|
** ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||||
|
** WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||||
|
** ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||||
|
** OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
**
|
||||||
|
** This module is the Atheros specific ioctl/iwconfig/iwpriv interface
|
||||||
|
** to the ATH object, normally instantiated as wifiX, where X is the
|
||||||
|
** instance number (e.g. wifi0, wifi1).
|
||||||
|
**
|
||||||
|
** This provides a mechanism to configure the ATH object within the
|
||||||
|
** Linux OS enviornment. This file is OS specific.
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2012 Qualcomm Technologies, Inc.
|
||||||
|
* 2012 Qualcomm Atheros, Inc.
|
||||||
|
* All Rights Reserved.
|
||||||
|
* Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* For this file, which was received with alternative licensing options for
|
||||||
|
* distribution, Qualcomm Atheros, Inc. has selected the BSD license.
|
||||||
|
*/
|
||||||
|
|
||||||
|
//-
|
||||||
|
// Copyright (c) 2002-2004 Sam Leffler, Errno Consulting
|
||||||
|
// All rights reserved.
|
||||||
|
// $ATH_LICENSE_NULL$
|
||||||
|
//
|
||||||
|
// Redistribution and use in source and binary forms, with or without
|
||||||
|
// modification, are permitted provided that the following conditions
|
||||||
|
// are met:
|
||||||
|
// 1. Redistributions of source code must retain the above copyright
|
||||||
|
// notice, this list of conditions and the following disclaimer,
|
||||||
|
// without modification.
|
||||||
|
// 2. Redistributions in binary form must reproduce at minimum a disclaimer
|
||||||
|
// similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any
|
||||||
|
// redistribution must be conditioned upon including a substantially
|
||||||
|
// similar Disclaimer requirement for further binary redistribution.
|
||||||
|
// 3. Neither the names of the above-listed copyright holders nor the names
|
||||||
|
// of any contributors may be used to endorse or promote products derived
|
||||||
|
// from this software without specific prior written permission.
|
||||||
|
//
|
||||||
|
// Alternatively, this software may be distributed under the terms of the
|
||||||
|
// GNU General Public License ("GPL") version 2 as published by the Free
|
||||||
|
// Software Foundation.
|
||||||
|
//
|
||||||
|
// NO WARRANTY
|
||||||
|
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
// ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||||
|
// LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTIBILITY
|
||||||
|
// AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||||
|
// THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
|
||||||
|
// OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||||
|
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||||
|
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
|
||||||
|
// IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||||
|
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||||
|
// THE POSSIBILITY OF SUCH DAMAGES.
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
/*
|
||||||
|
* AES SIV (RFC 5297)
|
||||||
|
* Copyright (c) 2013 Cozybit, Inc.
|
||||||
|
*
|
||||||
|
* This software may be distributed under the terms of the BSD license.
|
||||||
|
*/
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
* Copyright 2018 The Android Open Source Project
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
/* ===== start - public domain SHA256 implementation ===== */
|
||||||
|
|
||||||
|
/* This is based on SHA256 implementation in LibTomCrypt that was released into
|
||||||
|
* public domain by Tom St Denis. */
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
// This code implements the MD5 message-digest algorithm.
|
||||||
|
// The algorithm is due to Ron Rivest. This code was
|
||||||
|
// written by Colin Plumb in 1993, no copyright is claimed.
|
||||||
|
// This code is in the public domain; do with it what you wish.
|
||||||
|
//
|
||||||
|
// Equivalent code is available from RSA Data Security, Inc.
|
||||||
|
// This code has been tested against that, and is equivalent,
|
||||||
|
// except that you don't need to include two pages of legalese
|
||||||
|
// with every copy.
|
||||||
|
//
|
||||||
|
|
||||||
|
--------------------
|
||||||
BIN
feeds/wifi-ax/ath11k-firmware/files/QCN6122/m3_fw.b00
Normal file
BIN
feeds/wifi-ax/ath11k-firmware/files/QCN6122/m3_fw.b00
Normal file
Binary file not shown.
BIN
feeds/wifi-ax/ath11k-firmware/files/QCN6122/m3_fw.b01
Normal file
BIN
feeds/wifi-ax/ath11k-firmware/files/QCN6122/m3_fw.b01
Normal file
Binary file not shown.
BIN
feeds/wifi-ax/ath11k-firmware/files/QCN6122/m3_fw.b02
Normal file
BIN
feeds/wifi-ax/ath11k-firmware/files/QCN6122/m3_fw.b02
Normal file
Binary file not shown.
3
feeds/wifi-ax/ath11k-firmware/files/QCN6122/m3_fw.flist
Normal file
3
feeds/wifi-ax/ath11k-firmware/files/QCN6122/m3_fw.flist
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
build/ms/bin/5018.wlanfw2.map_spr_spr_eval_cs/PIL_IMAGES/qcn6122/m3_fw.b00
|
||||||
|
build/ms/bin/5018.wlanfw2.map_spr_spr_eval_cs/PIL_IMAGES/qcn6122/m3_fw.b01
|
||||||
|
build/ms/bin/5018.wlanfw2.map_spr_spr_eval_cs/PIL_IMAGES/qcn6122/m3_fw.b02
|
||||||
BIN
feeds/wifi-ax/ath11k-firmware/files/QCN6122/m3_fw.mdt
Normal file
BIN
feeds/wifi-ax/ath11k-firmware/files/QCN6122/m3_fw.mdt
Normal file
Binary file not shown.
@@ -53,6 +53,16 @@ $(call Package/ath11k-wifi-default)
|
|||||||
TITLE:=board-2.bin for QCOM IPQ60xx eval kits
|
TITLE:=board-2.bin for QCOM IPQ60xx eval kits
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/ath11k-wifi-qcom-ipq5018
|
||||||
|
$(call Package/ath11k-wifi-default)
|
||||||
|
TITLE:=board-2.bin for QCOM IPQ50xx eval kits
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/ath11k-wifi-qcom-ipq6122
|
||||||
|
$(call Package/ath11k-wifi-default)
|
||||||
|
TITLE:=board-2.bin for QCOM IPQ6122 eval kits
|
||||||
|
endef
|
||||||
|
|
||||||
define ath11k-wifi-install-one-to
|
define ath11k-wifi-install-one-to
|
||||||
$(INSTALL_DIR) $(2)/lib/firmware/$(3)/
|
$(INSTALL_DIR) $(2)/lib/firmware/$(3)/
|
||||||
$(INSTALL_DATA) $(1) $(2)/lib/firmware/$(3)/board.bin
|
$(INSTALL_DATA) $(1) $(2)/lib/firmware/$(3)/board.bin
|
||||||
@@ -106,6 +116,16 @@ define Package/ath11k-wifi-qcom-ipq6018/install
|
|||||||
$(INSTALL_DATA) ./board-2.bin.IPQ6018 $(1)/lib/firmware/ath11k/IPQ6018/hw1.0/board-2.bin
|
$(INSTALL_DATA) ./board-2.bin.IPQ6018 $(1)/lib/firmware/ath11k/IPQ6018/hw1.0/board-2.bin
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/ath11k-wifi-qcom-ipq5018/install
|
||||||
|
$(INSTALL_DIR) $(1)/lib/firmware/ath11k/IPQ5018/hw1.0/
|
||||||
|
$(INSTALL_DATA) ./board-2.bin.IPQ5018 $(1)/lib/firmware/ath11k/IPQ5018/hw1.0/board-2.bin
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/ath11k-wifi-qcom-ipq6122/install
|
||||||
|
$(INSTALL_DIR) $(1)/lib/firmware/ath11k/IPQ6122/hw1.0/
|
||||||
|
$(INSTALL_DATA) ./board-2.bin.IPQ6122 $(1)/lib/firmware/ath11k/IPQ6122/hw1.0/board-2.bin
|
||||||
|
endef
|
||||||
|
|
||||||
$(eval $(call generate-ath11k-wifi-package,cig-wf188,Cigtech WF188))
|
$(eval $(call generate-ath11k-wifi-package,cig-wf188,Cigtech WF188))
|
||||||
$(eval $(call generate-ath11k-wifi-package,cig-wf188n,Cigtech WF188n))
|
$(eval $(call generate-ath11k-wifi-package,cig-wf188n,Cigtech WF188n))
|
||||||
$(eval $(call generate-ath11k-wifi-package,cig-wf194c,Cigtech WF194c))
|
$(eval $(call generate-ath11k-wifi-package,cig-wf194c,Cigtech WF194c))
|
||||||
@@ -116,5 +136,7 @@ $(eval $(call generate-ath11k-wifi-package,tplink-ex227,TP-Link EX227))
|
|||||||
$(eval $(call generate-ath11k-wifi-package,tplink-ex447,TP-Link EX447))
|
$(eval $(call generate-ath11k-wifi-package,tplink-ex447,TP-Link EX447))
|
||||||
|
|
||||||
$(foreach PACKAGE,$(ALLWIFIPACKAGES),$(eval $(call BuildPackage,$(PACKAGE))))
|
$(foreach PACKAGE,$(ALLWIFIPACKAGES),$(eval $(call BuildPackage,$(PACKAGE))))
|
||||||
|
$(eval $(call BuildPackage,ath11k-wifi-qcom-ipq5018))
|
||||||
|
$(eval $(call BuildPackage,ath11k-wifi-qcom-ipq6122))
|
||||||
$(eval $(call BuildPackage,ath11k-wifi-qcom-ipq8074))
|
$(eval $(call BuildPackage,ath11k-wifi-qcom-ipq8074))
|
||||||
$(eval $(call BuildPackage,ath11k-wifi-qcom-ipq6018))
|
$(eval $(call BuildPackage,ath11k-wifi-qcom-ipq6018))
|
||||||
|
|||||||
BIN
feeds/wifi-ax/ath11k-wifi/board-2.bin.IPQ5018
Executable file
BIN
feeds/wifi-ax/ath11k-wifi/board-2.bin.IPQ5018
Executable file
Binary file not shown.
BIN
feeds/wifi-ax/ath11k-wifi/board-2.bin.IPQ6122
Executable file
BIN
feeds/wifi-ax/ath11k-wifi/board-2.bin.IPQ6122
Executable file
Binary file not shown.
311
patches/0100-maple.patch
Normal file
311
patches/0100-maple.patch
Normal file
@@ -0,0 +1,311 @@
|
|||||||
|
From 2ddf71fa87f4179c2e3f815f4442d971f1d0477e Mon Sep 17 00:00:00 2001
|
||||||
|
From: John Crispin <john@phrozen.org>
|
||||||
|
Date: Sun, 5 Sep 2021 11:46:09 +0200
|
||||||
|
Subject: [PATCH] ipq5018
|
||||||
|
|
||||||
|
---
|
||||||
|
target/linux/ipq807x/Makefile | 2 +-
|
||||||
|
.../ipq807x/base-files/etc/board.d/02_network | 1 +
|
||||||
|
.../etc/hotplug.d/firmware/10-ath11k-caldata | 11 +--
|
||||||
|
.../base-files/lib/upgrade/platform.sh | 4 +-
|
||||||
|
target/linux/ipq807x/image/ipq50xx.mk | 10 +++
|
||||||
|
target/linux/ipq807x/ipq50xx/config-default | 84 +++++++++++++++++++
|
||||||
|
target/linux/ipq807x/ipq50xx/config-lowmem | 73 ++++++++++++++++
|
||||||
|
target/linux/ipq807x/ipq50xx/target.mk | 10 +++
|
||||||
|
8 files changed, 188 insertions(+), 7 deletions(-)
|
||||||
|
create mode 100644 target/linux/ipq807x/image/ipq50xx.mk
|
||||||
|
create mode 100644 target/linux/ipq807x/ipq50xx/config-default
|
||||||
|
create mode 100644 target/linux/ipq807x/ipq50xx/config-lowmem
|
||||||
|
create mode 100644 target/linux/ipq807x/ipq50xx/target.mk
|
||||||
|
|
||||||
|
diff --git a/target/linux/ipq807x/Makefile b/target/linux/ipq807x/Makefile
|
||||||
|
index 97c770df4a..abdb82ec5d 100644
|
||||||
|
--- a/target/linux/ipq807x/Makefile
|
||||||
|
+++ b/target/linux/ipq807x/Makefile
|
||||||
|
@@ -3,7 +3,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
ARCH:=arm
|
||||||
|
BOARD:=ipq807x
|
||||||
|
BOARDNAME:=Qualcomm Atheros AX
|
||||||
|
-SUBTARGETS:=ipq807x ipq60xx
|
||||||
|
+SUBTARGETS:=ipq807x ipq60xx ipq50xx
|
||||||
|
FEATURES:=squashfs ramdisk nand pcie usb
|
||||||
|
KERNELNAME:=Image dtbs
|
||||||
|
CPU_TYPE:=cortex-a7
|
||||||
|
diff --git a/target/linux/ipq807x/base-files/etc/board.d/02_network b/target/linux/ipq807x/base-files/etc/board.d/02_network
|
||||||
|
index eaa440943b..e31258d875 100755
|
||||||
|
--- a/target/linux/ipq807x/base-files/etc/board.d/02_network
|
||||||
|
+++ b/target/linux/ipq807x/base-files/etc/board.d/02_network
|
||||||
|
@@ -24,6 +24,7 @@ qcom_setup_interfaces()
|
||||||
|
ucidef_set_interface_wan "eth5"
|
||||||
|
;;
|
||||||
|
cig,wf194c|\
|
||||||
|
+ qcom,ipq5018-mp03.3|\
|
||||||
|
sercomm,wallaby)
|
||||||
|
ucidef_set_interface_lan "eth0"
|
||||||
|
ucidef_set_interface_wan "eth1"
|
||||||
|
diff --git a/target/linux/ipq807x/base-files/etc/hotplug.d/firmware/10-ath11k-caldata b/target/linux/ipq807x/base-files/etc/hotplug.d/firmware/10-ath11k-caldata
|
||||||
|
index 536115a118..414343b13d 100755
|
||||||
|
--- a/target/linux/ipq807x/base-files/etc/hotplug.d/firmware/10-ath11k-caldata
|
||||||
|
+++ b/target/linux/ipq807x/base-files/etc/hotplug.d/firmware/10-ath11k-caldata
|
||||||
|
@@ -46,7 +46,7 @@ case "$FIRMWARE" in
|
||||||
|
tplink,ex227|\
|
||||||
|
tplink,ex447|\
|
||||||
|
sercomm,wallaby)
|
||||||
|
- caldata_extract "0:ART" 0x1000 0x20000
|
||||||
|
+ caldata_extract "0:ART" 0x1000 0x10000
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
@@ -57,21 +57,22 @@ case "$FIRMWARE" in
|
||||||
|
edgecore,eap101|\
|
||||||
|
qcom,ipq6018-cp01|\
|
||||||
|
xiaomi,ax1800)
|
||||||
|
- caldata_extract "0:ART" 0x1000 0x20000
|
||||||
|
+ caldata_extract "0:ART" 0x1000 0x10000
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
ath11k/QCN9074/hw1.0/caldata_1.bin)
|
||||||
|
case "$board" in
|
||||||
|
qcom,ipq807x-hk14)
|
||||||
|
- caldata_extract "0:ART" 0x26800 0x20000
|
||||||
|
+ caldata_extract "0:ART" 0x26800 0x10000
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
ath11k/QCN9074/hw1.0/caldata_2.bin)
|
||||||
|
case "$board" in
|
||||||
|
- qcom,ipq807x-hk14)
|
||||||
|
- caldata_extract "0:ART" 0x4C000 0x20000
|
||||||
|
+ qcom,ipq807x-hk14|\
|
||||||
|
+ qcom,ipq5018-mp03.3)
|
||||||
|
+ caldata_extract "0:ART" 0x4C000 0x10000
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
diff --git a/target/linux/ipq807x/base-files/lib/upgrade/platform.sh b/target/linux/ipq807x/base-files/lib/upgrade/platform.sh
|
||||||
|
index de64559bce..76de06d90e 100755
|
||||||
|
--- a/target/linux/ipq807x/base-files/lib/upgrade/platform.sh
|
||||||
|
+++ b/target/linux/ipq807x/base-files/lib/upgrade/platform.sh
|
||||||
|
@@ -29,7 +29,8 @@ platform_check_image() {
|
||||||
|
tplink,ex447|\
|
||||||
|
qcom,ipq6018-cp01|\
|
||||||
|
qcom,ipq807x-hk01|\
|
||||||
|
- qcom,ipq807x-hk14)
|
||||||
|
+ qcom,ipq807x-hk14|\
|
||||||
|
+ qcom,ipq5018-mp03.3)
|
||||||
|
[ "$magic_long" = "73797375" ] && return 0
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
@@ -51,6 +52,7 @@ platform_do_upgrade() {
|
||||||
|
qcom,ipq6018-cp01|\
|
||||||
|
qcom,ipq807x-hk01|\
|
||||||
|
qcom,ipq807x-hk14|\
|
||||||
|
+ qcom,ipq5018-mp03.3|\
|
||||||
|
tplink,ex447|\
|
||||||
|
tplink,ex227)
|
||||||
|
nand_upgrade_tar "$1"
|
||||||
|
diff --git a/target/linux/ipq807x/image/ipq50xx.mk b/target/linux/ipq807x/image/ipq50xx.mk
|
||||||
|
new file mode 100644
|
||||||
|
index 0000000000..f20d54190e
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/target/linux/ipq807x/image/ipq50xx.mk
|
||||||
|
@@ -0,0 +1,10 @@
|
||||||
|
+KERNEL_LOADADDR := 0x41208000
|
||||||
|
+
|
||||||
|
+define Device/qcom_mp03_3
|
||||||
|
+ DEVICE_TITLE := Qualcomm Maple 03.3
|
||||||
|
+ DEVICE_DTS := qcom-ipq5018-mp03.3
|
||||||
|
+ SUPPORTED_DEVICES := qcom,ipq5018-mp03.3
|
||||||
|
+ DEVICE_PACKAGES := ath11k-wifi-qcom-ipq5018
|
||||||
|
+ DEVICE_DTS_CONFIG := config@mp03.3
|
||||||
|
+endef
|
||||||
|
+TARGET_DEVICES += qcom_mp03_3
|
||||||
|
diff --git a/target/linux/ipq807x/ipq50xx/config-default b/target/linux/ipq807x/ipq50xx/config-default
|
||||||
|
new file mode 100644
|
||||||
|
index 0000000000..b8e202c874
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/target/linux/ipq807x/ipq50xx/config-default
|
||||||
|
@@ -0,0 +1,84 @@
|
||||||
|
+# CONFIG_AHCI_IPQ is not set
|
||||||
|
+CONFIG_ARCH_IPQ5018=y
|
||||||
|
+# CONFIG_DIAGFWD_BRIDGE_CODE is not set
|
||||||
|
+CONFIG_IPQ_ADSS_5018=y
|
||||||
|
+CONFIG_IPQ_APSS_5018=y
|
||||||
|
+CONFIG_IPQ_GCC_5018=y
|
||||||
|
+# CONFIG_NET_SWITCHDEV is not set
|
||||||
|
+CONFIG_NUM_ALT_PARTITION=16
|
||||||
|
+CONFIG_PINCTRL_IPQ5018=y
|
||||||
|
+# CONFIG_IPC_LOGGING is not set
|
||||||
|
+CONFIG_IPQ_SUBSYSTEM_DUMP=y
|
||||||
|
+CONFIG_SPS=y
|
||||||
|
+CONFIG_SPS_SUPPORT_NDP_BAM=y
|
||||||
|
+CONFIG_CORESIGHT=y
|
||||||
|
+CONFIG_CORESIGHT_CSR=y
|
||||||
|
+CONFIG_CORESIGHT_CTI=y
|
||||||
|
+CONFIG_CORESIGHT_EVENT=y
|
||||||
|
+CONFIG_CORESIGHT_HWEVENT=y
|
||||||
|
+CONFIG_CORESIGHT_LINKS_AND_SINKS=y
|
||||||
|
+CONFIG_CORESIGHT_LINK_AND_SINK_TMC=y
|
||||||
|
+CONFIG_CORESIGHT_QCOM_REPLICATOR=y
|
||||||
|
+# CONFIG_INPUT_PM8941_PWRKEY is not set
|
||||||
|
+CONFIG_MDIO_QCA=y
|
||||||
|
+# CONFIG_CRYPTO_ALL_CASES is not set
|
||||||
|
+CONFIG_CRYPTO_DEV_QCOM_ICE=y
|
||||||
|
+# CONFIG_CRYPTO_MANAGER_DISABLE_TESTS is not set
|
||||||
|
+CONFIG_CRYPTO_SHA512=y
|
||||||
|
+# CONFIG_CORESIGHT_QPDI is not set
|
||||||
|
+# CONFIG_CORESIGHT_SINK_ETBV10 is not set
|
||||||
|
+CONFIG_CORESIGHT_SINK_TPIU=y
|
||||||
|
+# CONFIG_CORESIGHT_SOURCE_DUMMY is not set
|
||||||
|
+CONFIG_CORESIGHT_SOURCE_ETM3X=y
|
||||||
|
+CONFIG_CORESIGHT_SOURCE_ETM4X=y
|
||||||
|
+# CONFIG_CORESIGHT_REMOTE_ETM is not set
|
||||||
|
+CONFIG_CORESIGHT_STM=y
|
||||||
|
+CONFIG_CORESIGHT_TPDA=y
|
||||||
|
+CONFIG_CORESIGHT_TPDM=y
|
||||||
|
+# CONFIG_CORESIGHT_TPDM_DEFAULT_ENABLE is not set
|
||||||
|
+CONFIG_IIO=y
|
||||||
|
+# CONFIG_IIO_BUFFER is not set
|
||||||
|
+# CONFIG_IIO_TRIGGER is not set
|
||||||
|
+CONFIG_PCIE_DW_PLAT=y
|
||||||
|
+CONFIG_PHY_IPQ_UNIPHY_PCIE=y
|
||||||
|
+CONFIG_VMSPLIT_2G=y
|
||||||
|
+# CONFIG_VMSPLIT_3G is not set
|
||||||
|
+CONFIG_PPS=y
|
||||||
|
+CONFIG_PTP_1588_CLOCK=y
|
||||||
|
+# CONFIG_DP83640_PHY is not set
|
||||||
|
+CONFIG_PWM_IPQ5018=y
|
||||||
|
+CONFIG_QCOM_APM=y
|
||||||
|
+CONFIG_QCOM_DCC=y
|
||||||
|
+# CONFIG_QCOM_SPMI_TEMP_ALARM is not set
|
||||||
|
+CONFIG_MMC_SDHCI_MSM_ICE=y
|
||||||
|
+CONFIG_USB_BAM=y
|
||||||
|
+CONFIG_MAILBOX=y
|
||||||
|
+# CONFIG_USB_QCOM_DIAG_BRIDGE is not set
|
||||||
|
+# CONFIG_USB_CONFIGFS_F_DIAG is not set
|
||||||
|
+# CONFIG_NF_IPV6_DUMMY_HEADER is not set
|
||||||
|
+CONFIG_RMNET_DATA=y
|
||||||
|
+CONFIG_RMNET_DATA_DEBUG_PKT=y
|
||||||
|
+CONFIG_MTD_NAND_SERIAL=y
|
||||||
|
+CONFIG_PAGE_SCOPE_MULTI_PAGE_READ=y
|
||||||
|
+# CONFIG_RMNET_DATA_FC is not set
|
||||||
|
+CONFIG_CRYPTO_NO_ZERO_LEN_HASH=y
|
||||||
|
+CONFIG_CRYPTO_DISABLE_AES192_TEST=y
|
||||||
|
+# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
|
||||||
|
+# CONFIG_CPU_FREQ_GOV_PERFORMANCE is not set
|
||||||
|
+# CONFIG_CPU_FREQ_GOV_POWERSAVE is not set
|
||||||
|
+# CONFIG_CPU_FREQ_GOV_ONDEMAND is not set
|
||||||
|
+# CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set
|
||||||
|
+CONFIG_QTI_EUD=y
|
||||||
|
+CONFIG_USB_QCA_M31_PHY=y
|
||||||
|
+CONFIG_QGIC2_MSI=y
|
||||||
|
+CONFIG_MTD_SPI_NOR_USE_4K_SECTORS=y
|
||||||
|
+CONFIG_PWM_IPQ4019=y
|
||||||
|
+CONFIG_RMNET=y
|
||||||
|
+CONFIG_QCOM_QMI_RMNET=y
|
||||||
|
+CONFIG_QCOM_QMI_DFC=y
|
||||||
|
+CONFIG_QCOM_QMI_POWER_COLLAPSE=y
|
||||||
|
+CONFIG_RMNET_CTL=y
|
||||||
|
+CONFIG_RMNET_CTL_DEBUG=y
|
||||||
|
+CONFIG_SND_SOC_IPQ_LPASS=y
|
||||||
|
+CONFIG_SND_SOC_IPQ_LPASS_PCM_RAW=y
|
||||||
|
+# CONFIG_SND_SOC_IPQ_PCM_RAW is not set
|
||||||
|
diff --git a/target/linux/ipq807x/ipq50xx/config-lowmem b/target/linux/ipq807x/ipq50xx/config-lowmem
|
||||||
|
new file mode 100644
|
||||||
|
index 0000000000..b1b817ef6f
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/target/linux/ipq807x/ipq50xx/config-lowmem
|
||||||
|
@@ -0,0 +1,73 @@
|
||||||
|
+# CONFIG_AHCI_IPQ is not set
|
||||||
|
+CONFIG_ARCH_IPQ5018=y
|
||||||
|
+# CONFIG_DIAGFWD_BRIDGE_CODE is not set
|
||||||
|
+CONFIG_IPQ_ADSS_5018=y
|
||||||
|
+CONFIG_IPQ_APSS_5018=y
|
||||||
|
+CONFIG_IPQ_GCC_5018=y
|
||||||
|
+# CONFIG_NET_SWITCHDEV is not set
|
||||||
|
+CONFIG_NUM_ALT_PARTITION=16
|
||||||
|
+CONFIG_PINCTRL_IPQ5018=y
|
||||||
|
+# CONFIG_IPC_LOGGING is not set
|
||||||
|
+CONFIG_IPQ_SUBSYSTEM_DUMP=y
|
||||||
|
+# CONFIG_SPS is not set
|
||||||
|
+# CONFIG_SPS_SUPPORT_NDP_BAM is not set
|
||||||
|
+# CONFIG_CORESIGHT is not set
|
||||||
|
+# CONFIG_INPUT_PM8941_PWRKEY is not set
|
||||||
|
+CONFIG_MDIO_QCA=y
|
||||||
|
+# CONFIG_CRYPTO_ALL_CASES is not set
|
||||||
|
+# CONFIG_CRYPTO_DEV_QCOM_ICE is not set
|
||||||
|
+# CONFIG_CRYPTO_MANAGER_DISABLE_TESTS is not set
|
||||||
|
+# CONFIG_CRYPTO_SHA512 is not set
|
||||||
|
+# CONFIG_IIO is not set
|
||||||
|
+# CONFIG_IIO_BUFFER is not set
|
||||||
|
+# CONFIG_IIO_TRIGGER is not set
|
||||||
|
+CONFIG_PCIE_DW_PLAT=y
|
||||||
|
+CONFIG_PHY_IPQ_UNIPHY_PCIE=y
|
||||||
|
+CONFIG_VMSPLIT_2G=y
|
||||||
|
+# CONFIG_VMSPLIT_3G is not set
|
||||||
|
+# CONFIG_PPS is not set
|
||||||
|
+# CONFIG_PTP_1588_CLOCK is not set
|
||||||
|
+# CONFIG_DP83640_PHY is not set
|
||||||
|
+CONFIG_PWM_IPQ5018=y
|
||||||
|
+CONFIG_QCOM_APM=y
|
||||||
|
+# CONFIG_QCOM_DCC is not set
|
||||||
|
+# CONFIG_QCOM_SPMI_TEMP_ALARM is not set
|
||||||
|
+CONFIG_MMC_SDHCI_MSM_ICE=y
|
||||||
|
+CONFIG_USB_BAM=y
|
||||||
|
+CONFIG_MAILBOX=y
|
||||||
|
+# CONFIG_USB_QCOM_DIAG_BRIDGE is not set
|
||||||
|
+# CONFIG_USB_CONFIGFS_F_DIAG is not set
|
||||||
|
+# CONFIG_NF_IPV6_DUMMY_HEADER is not set
|
||||||
|
+# CONFIG_RMNET_DATA is not set
|
||||||
|
+# CONFIG_RMNET_DATA_DEBUG_PKT is not set
|
||||||
|
+CONFIG_MTD_NAND_SERIAL=y
|
||||||
|
+CONFIG_PAGE_SCOPE_MULTI_PAGE_READ=y
|
||||||
|
+# CONFIG_RMNET_DATA_FC is not set
|
||||||
|
+# CONFIG_CRYPTO_NO_ZERO_LEN_HASH is not set
|
||||||
|
+# CONFIG_CRYPTO_DISABLE_AES192_TEST is not set
|
||||||
|
+# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
|
||||||
|
+# CONFIG_CPU_FREQ_GOV_PERFORMANCE is not set
|
||||||
|
+# CONFIG_CPU_FREQ_GOV_POWERSAVE is not set
|
||||||
|
+# CONFIG_CPU_FREQ_GOV_ONDEMAND is not set
|
||||||
|
+# CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set
|
||||||
|
+CONFIG_QTI_EUD=y
|
||||||
|
+CONFIG_USB_QCA_M31_PHY=y
|
||||||
|
+CONFIG_SQUASHFS_XZ=y
|
||||||
|
+# CONFIG_SQUASHFS_ZLIB is not set
|
||||||
|
+# CONFIG_JFFS2_LZMA is not set
|
||||||
|
+CONFIG_JFFS2_ZLIB=y
|
||||||
|
+# CONFIG_LZO_COMPRESS is not set
|
||||||
|
+# CONFIG_LZO_DECOMPRESS is not set
|
||||||
|
+CONFIG_XZ_DEC=y
|
||||||
|
+# CONFIG_XZ_DEC_X86 is not set
|
||||||
|
+# CONFIG_XZ_DEC_POWERPC is not set
|
||||||
|
+# CONFIG_XZ_DEC_IA64 is not set
|
||||||
|
+CONFIG_XZ_DEC_ARM=y
|
||||||
|
+# CONFIG_XZ_DEC_ARMTHUMB is not set
|
||||||
|
+# CONFIG_XZ_DEC_SPARC is not set
|
||||||
|
+CONFIG_XZ_DEC_BCJ=y
|
||||||
|
+# CONFIG_LZO_COMPRESS is not set
|
||||||
|
+# CONFIG_LZO_DECOMPRESS is not set
|
||||||
|
+# CONFIG_CRYPTO is not set
|
||||||
|
+CONFIG_QGIC2_MSI=y
|
||||||
|
+CONFIG_MTD_SPI_NOR_USE_4K_SECTORS=y
|
||||||
|
diff --git a/target/linux/ipq807x/ipq50xx/target.mk b/target/linux/ipq807x/ipq50xx/target.mk
|
||||||
|
new file mode 100644
|
||||||
|
index 0000000000..649f398ba6
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/target/linux/ipq807x/ipq50xx/target.mk
|
||||||
|
@@ -0,0 +1,10 @@
|
||||||
|
+
|
||||||
|
+SUBTARGET:=ipq50xx
|
||||||
|
+BOARDNAME:=IPQ50XX
|
||||||
|
+CPU_TYPE:=cortex-a7
|
||||||
|
+
|
||||||
|
+DEFAULT_PACKAGES += ath11k-firmware-ipq50xx qca-nss-fw-ipq50xx
|
||||||
|
+
|
||||||
|
+define Target/Description
|
||||||
|
+ Build firmware image for IPQ50xx SoC devices.
|
||||||
|
+endef
|
||||||
|
--
|
||||||
|
2.25.1
|
||||||
|
|
||||||
14
profiles/qcom_mp03.3.yml
Normal file
14
profiles/qcom_mp03.3.yml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
profile: qcom_mp03_3
|
||||||
|
target: ipq807x
|
||||||
|
subtarget: ipq50xx
|
||||||
|
description: Build image for the Qualcom MP03.3
|
||||||
|
image: bin/targets/ipq807x/ipq807x/openwrt-ipq807x-edgecore_eap102-squashfs-sysupgrade.tar
|
||||||
|
feeds:
|
||||||
|
- name: ipq807x
|
||||||
|
path: ../../feeds/ipq807x
|
||||||
|
include:
|
||||||
|
- wifi-ax
|
||||||
|
- ucentral-ap
|
||||||
|
diffconfig: |
|
||||||
|
CONFIG_KERNEL_IPQ_MEM_PROFILE=0
|
||||||
Reference in New Issue
Block a user