Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 288a233b authored by Andreas Schneider's avatar Andreas Schneider
Browse files

drivers: staging: Import tag LA.UM.6.4.r1-05400-8x98.0 of qcom wlan

parent d073933d
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -4066,7 +4066,7 @@ CONFIG_ALLOC_BUFFERS_IN_4K_CHUNKS=y
# Qualcomm Atheros CLD WLAN module
#
CONFIG_QCA_CLD_WLAN=m
CONFIG_QCACLD_WLAN_LFR3=y
# CONFIG_QCACLD_WLAN_LFR3 is not set
CONFIG_PRIMA_WLAN_OKC=y
CONFIG_PRIMA_WLAN_11AC_HIGH_TP=y
CONFIG_WLAN_FEATURE_11W=y
@@ -4086,13 +4086,15 @@ CONFIG_WLAN_FEATURE_MEMDUMP=y
CONFIG_WLAN_FASTPATH=y
CONFIG_WLAN_NAPI=y
# CONFIG_WLAN_NAPI_DEBUG is not set
# CONFIG_WLAN_TX_FLOW_CONTROL_V2 is not set
CONFIG_WLAN_TX_FLOW_CONTROL_V2=y
# CONFIG_WLAN_SYNC_TSF is not set
# CONFIG_LFR_SUBNET_DETECTION is not set
CONFIG_MCC_TO_SCC_SWITCH=y
CONFIG_QCACLD_WLAN_LFR2=y
# CONFIG_FEATURE_DP_TRACE is not set
CONFIG_WLAN_FEATURE_DISA=y
# CONFIG_WLAN_SPECTRAL_SCAN is not set
# CONFIG_ICMP_DISABLE_PS is not set
# CONFIG_CONFIG_BUILD_TIMESTAMP is not set
CONFIG_SONY_FIPS_KSCL=m
# CONFIG_GOLDFISH is not set
# CONFIG_CHROME_PLATFORMS is not set
+5 −3
Original line number Diff line number Diff line
@@ -4066,7 +4066,7 @@ CONFIG_ALLOC_BUFFERS_IN_4K_CHUNKS=y
# Qualcomm Atheros CLD WLAN module
#
CONFIG_QCA_CLD_WLAN=m
CONFIG_QCACLD_WLAN_LFR3=y
# CONFIG_QCACLD_WLAN_LFR3 is not set
CONFIG_PRIMA_WLAN_OKC=y
CONFIG_PRIMA_WLAN_11AC_HIGH_TP=y
CONFIG_WLAN_FEATURE_11W=y
@@ -4086,13 +4086,15 @@ CONFIG_WLAN_FEATURE_MEMDUMP=y
CONFIG_WLAN_FASTPATH=y
CONFIG_WLAN_NAPI=y
# CONFIG_WLAN_NAPI_DEBUG is not set
# CONFIG_WLAN_TX_FLOW_CONTROL_V2 is not set
CONFIG_WLAN_TX_FLOW_CONTROL_V2=y
# CONFIG_WLAN_SYNC_TSF is not set
# CONFIG_LFR_SUBNET_DETECTION is not set
CONFIG_MCC_TO_SCC_SWITCH=y
CONFIG_QCACLD_WLAN_LFR2=y
# CONFIG_FEATURE_DP_TRACE is not set
CONFIG_WLAN_FEATURE_DISA=y
# CONFIG_WLAN_SPECTRAL_SCAN is not set
# CONFIG_ICMP_DISABLE_PS is not set
# CONFIG_CONFIG_BUILD_TIMESTAMP is not set
CONFIG_SONY_FIPS_KSCL=m
# CONFIG_GOLDFISH is not set
# CONFIG_CHROME_PLATFORMS is not set
+17 −13
Original line number Diff line number Diff line
/*
 * Copyright (c) 2013-2014 The Linux Foundation. All rights reserved.
 * Copyright (c) 2012 The Linux Foundation. All rights reserved.
 *
 * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
 *
@@ -24,6 +24,7 @@
 * under proprietary terms before Copyright ownership was assigned
 * to the Linux Foundation.
 */

/*
 *  Shared USB definitions
 *
@@ -46,6 +47,8 @@
#define USB_EP_ADDR_APP_DATA2_IN         0x83
#define USB_EP_ADDR_APP_INT_IN           0x84



#define USB_EP_ADDR_APP_CTRL_OUT         0x01
#define USB_EP_ADDR_APP_DATA_LP_OUT      0x02
#define USB_EP_ADDR_APP_DATA_MP_OUT      0x03
@@ -56,15 +59,16 @@
#define USB_CONTROL_REQ_DIAG_CMD            3
#define USB_CONTROL_REQ_DIAG_RESP           4

/* #define USB_CONTROL_MAX_BMI_TRANSFER_SIZE   64 */

//#define USB_CONTROL_MAX_BMI_TRANSFER_SIZE   64
#define USB_CONTROL_MAX_BMI_TRANSFER_SIZE   252

#define HIF_BMI_MAX_TRANSFER_SIZE           USB_CONTROL_MAX_BMI_TRANSFER_SIZE

/* 512 Bytes Maxp for High Speed for BULK EP */
#define USB_HS_BULK_MAXP_SIZE   0x200
/* 64 Bytes Maxp for Full Speed for BULK EP */
#define USB_FS_BULK_MAXP_SIZE   0x40
#define USB_HS_BULK_MAXP_SIZE   0x200  //512 Bytes Maxp for High Speed for BULK EP
#define USB_FS_BULK_MAXP_SIZE   0x40   //64 Bytes Maxp for Full Speed for BULK EP



/* diagnostic command defnitions */
#define USB_CTRL_DIAG_CC_READ       0
+42 −35
Original line number Diff line number Diff line
/*
 * Copyright (c) 2012, 2014 The Linux Foundation. All rights reserved.
 * Copyright (c) 2012 The Linux Foundation. All rights reserved.
 *
 * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
 *
@@ -74,10 +74,17 @@ typedef enum {
    A_PHY_ERROR,                /* RX PHY error */
    A_CONSUMED,                 /* Object was consumed */
    A_CLONE,                    /* The buffer is cloned */
	A_USB_ERROR,            /* Rome USB Target error */
} A_STATUS;

#define A_SUCCESS(x)        (x == A_OK)
#define A_FAILED(x)         (!A_SUCCESS(x))

#ifndef TRUE
#define TRUE 1
#endif

#ifndef FALSE
#define FALSE 0
#endif

#endif /* __ATHDEFS_H__ */
+9 −10
Original line number Diff line number Diff line
/*
 * Copyright (c) 2012,2014, 2016 The Linux Foundation. All rights reserved.
 * Copyright (c) 2012 The Linux Foundation. All rights reserved.
 *
 * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
 *
@@ -28,7 +28,6 @@
#ifndef BIN_SIGN_H_
#define BIN_SIGN_H_


/* Signed binary MetaData */
typedef struct {
    unsigned int magic_num;
Loading