From ee4dbedf8fa1529e700d3d623161448ee3ce9dce Mon Sep 17 00:00:00 2001 From: Krishna Kumaar Natarajan Date: Wed, 30 Mar 2016 16:21:23 -0700 Subject: [PATCH] qcacld-3.0: Increase maximum size of oem data request Increase maximum size of oem data request from 280 to 500. This change set also remove the following unused macros in UMAC - OEM_DATA_REQ_SIZE - OEM_DATA_RSP_SIZE Change-Id: I768da4dd03c2de618c528cb72b86a5df72dd2efe CRs-Fixed: 997085 --- core/hdd/inc/wlan_hdd_oemdata.h | 2 +- core/mac/inc/sir_api.h | 7 ------- core/mac/src/pe/include/lim_global.h | 7 ------- core/sme/inc/oem_data_api.h | 8 -------- core/wma/inc/wma_if.h | 3 --- 5 files changed, 1 insertion(+), 26 deletions(-) diff --git a/core/hdd/inc/wlan_hdd_oemdata.h b/core/hdd/inc/wlan_hdd_oemdata.h index c17ddedad5c2..61f3f5116a6e 100644 --- a/core/hdd/inc/wlan_hdd_oemdata.h +++ b/core/hdd/inc/wlan_hdd_oemdata.h @@ -37,7 +37,7 @@ #ifdef FEATURE_OEM_DATA_SUPPORT #ifndef OEM_DATA_REQ_SIZE -#define OEM_DATA_REQ_SIZE 280 +#define OEM_DATA_REQ_SIZE 500 #endif #ifndef OEM_DATA_RSP_SIZE diff --git a/core/mac/inc/sir_api.h b/core/mac/inc/sir_api.h index 676178deeab1..c58bf9720d6c 100644 --- a/core/mac/inc/sir_api.h +++ b/core/mac/inc/sir_api.h @@ -845,13 +845,6 @@ typedef struct sSirSmeScanChanReq { #ifdef FEATURE_OEM_DATA_SUPPORT -#ifndef OEM_DATA_REQ_SIZE -#define OEM_DATA_REQ_SIZE 280 -#endif -#ifndef OEM_DATA_RSP_SIZE -#define OEM_DATA_RSP_SIZE 1724 -#endif - typedef struct sSirOemDataReq { uint16_t messageType; /* eWNI_SME_OEM_DATA_REQ */ uint16_t messageLen; diff --git a/core/mac/src/pe/include/lim_global.h b/core/mac/src/pe/include/lim_global.h index dd405a8318a9..5529f6bbc70f 100644 --- a/core/mac/src/pe/include/lim_global.h +++ b/core/mac/src/pe/include/lim_global.h @@ -287,13 +287,6 @@ struct tLimScanResultNode { #ifdef FEATURE_OEM_DATA_SUPPORT -#ifndef OEM_DATA_REQ_SIZE -#define OEM_DATA_REQ_SIZE 280 -#endif -#ifndef OEM_DATA_RSP_SIZE -#define OEM_DATA_RSP_SIZE 1724 -#endif - /* OEM Data related structure definitions */ typedef struct sLimMlmOemDataReq { struct qdf_mac_addr selfMacAddr; diff --git a/core/sme/inc/oem_data_api.h b/core/sme/inc/oem_data_api.h index f43d9a98d9aa..fcd1fee2009c 100644 --- a/core/sme/inc/oem_data_api.h +++ b/core/sme/inc/oem_data_api.h @@ -39,14 +39,6 @@ #include "sir_mac_prot_def.h" #include "csr_link_list.h" -#ifndef OEM_DATA_REQ_SIZE -#define OEM_DATA_REQ_SIZE 280 -#endif - -#ifndef OEM_DATA_RSP_SIZE -#define OEM_DATA_RSP_SIZE 1724 -#endif - /* message subtype for internal purpose */ #define OEM_MESSAGE_SUBTYPE_INTERNAL 0xdeadbeef #define OEM_MESSAGE_SUBTYPE_LEN 4 diff --git a/core/wma/inc/wma_if.h b/core/wma/inc/wma_if.h index 831a9058023f..ea7be4ba6d09 100644 --- a/core/wma/inc/wma_if.h +++ b/core/wma/inc/wma_if.h @@ -659,9 +659,6 @@ typedef struct { #ifdef FEATURE_OEM_DATA_SUPPORT -#ifndef OEM_DATA_REQ_SIZE -#define OEM_DATA_REQ_SIZE 280 -#endif #ifndef OEM_DATA_RSP_SIZE #define OEM_DATA_RSP_SIZE 1724 #endif