Added support for NVIDIA Jetson Nano platform

This commit is contained in:
kimocoder 2019-08-17 23:24:35 +02:00
parent e72f261d95
commit f1dfc49bdb
2 changed files with 14 additions and 19 deletions

View File

@ -159,6 +159,7 @@ CONFIG_PLATFORM_NV_TK1_UBUNTU = n
CONFIG_PLATFORM_RTL8197D = n
CONFIG_PLATFORM_AML_S905 = n
CONFIG_PLATFORM_ZTE_ZX296716 = n
CONFIG_PLATFORM_ARM_NV_NANO = n
########### CUSTOMER ################################
CONFIG_CUSTOMER_HUAWEI_GENERAL = n
@ -1314,6 +1315,17 @@ KSRC := /home/android_sdk/WonderMedia/wm8880-android4.4/kernel4.4/
MODULE_NAME :=8189es_kk
endif
ifeq ($(CONFIG_PLATFORM_ARM_NV_NANO), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
ARCH := arm64
KVER := $(shell uname -r)
KSRC := /lib/modules/$(KVER)/build
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
INSTALL_PREFIX :=
STAGINGMODDIR := /lib/modules/$(KVER)/kernel/drivers/staging
endif
ifeq ($(CONFIG_PLATFORM_ARM_RPI), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT

View File

@ -26,7 +26,6 @@
#define DRV_NAME "rtl8821au"
#endif
#define CONFIG_USB_HCI
#define PLATFORM_LINUX
@ -120,8 +119,6 @@
#endif /*CONFIG_POWER_SAVING*/
/*#define CONFIG_ANTENNA_DIVERSITY*/
/* #define CONFIG_CONCURRENT_MODE 1 */
#ifdef CONFIG_CONCURRENT_MODE
#define CONFIG_RUNTIME_PORT_SWITCH
@ -169,7 +166,6 @@
/*#define CONFIG_P2P_INVITE_IOT*/
#endif
/* Added by Kurt 20110511 */
#ifdef CONFIG_TDLS
#define CONFIG_TDLS_DRIVER_SETUP
/* #ifndef CONFIG_WFD */
@ -180,8 +176,7 @@
#define CONFIG_TDLS_CH_SW /* Enable this flag only when we confirm that TDLS CH SW is supported in FW */
#endif
#define CONFIG_SKB_COPY 1/* for amsdu */
#define CONFIG_SKB_COPY 1 /* for amsdu */
#define CONFIG_RTW_LED
#ifdef CONFIG_RTW_LED
@ -207,8 +202,7 @@
#define RTW_NOTCH_FILTER 0 /* 0:Disable, 1:Enable, */
#define CONFIG_TX_MCAST2UNI /*Support IP multicast->unicast*/
/* #define CONFIG_CHECK_AC_LIFETIME 1 */ /* Check packet lifetime of 4 ACs. */
/* #define CONFIG_CHECK_AC_LIFETIME 1 */ /* Check packet lifetime of 4 ACs. */
/*
* Interface Related Config
@ -287,12 +281,10 @@
#define MP_DRIVER 0
#endif
/*
* Platform Related Config
*/
#if defined(CONFIG_PLATFORM_ACTIONS_ATM702X)
#ifdef CONFIG_USB_TX_AGGREGATION
#undef CONFIG_USB_TX_AGGREGATION
@ -313,22 +305,15 @@
#endif
#endif /* !CONFIG_BT_COEXIST */
#ifdef CONFIG_USB_TX_AGGREGATION
/* #define CONFIG_TX_EARLY_MODE */
#endif
#define RTL8188E_EARLY_MODE_PKT_NUM_10 0
/*
* Debug Related Config
*/
#define DBG 0
#define CONFIG_PROC_DEBUG
/* #define DBG_CONFIG_ERROR_DETECT */
/* #define DBG_CONFIG_ERROR_DETECT_INT */
/* #define DBG_CONFIG_ERROR_RESET */
@ -348,8 +333,6 @@
/* #define DBG_RX_SIGNAL_DISPLAY_PROCESSING */
/* #define DBG_RX_SIGNAL_DISPLAY_SSID_MONITORED "jeff-ap" */
/* #define DBG_SHOW_MCUFWDL_BEFORE_51_ENABLE */
/* #define DBG_ROAMING_TEST */