diff options
| author | Gupta, Kapil <kapgupta@codeaurora.org> | 2016-06-08 14:14:35 +0530 |
|---|---|---|
| committer | Nandini Suresh <snandini@codeaurora.org> | 2016-07-13 15:27:49 -0700 |
| commit | 8a605e1b59e9b66098d11c1fb8f6ffdd63cc5e5f (patch) | |
| tree | 21ef642937e442011514dc6e52092f1159105bb3 | |
| parent | 5db81c93fc502fea7be6554b96cece8a7bed5a53 (diff) | |
qcacld-3.0: Correct len size of oem data request
qcacld-2.0 to qcacld-3.0 propagation.
oem data request len size should be of 4 byte instead of
1 byte.
Add changes to correct len size in oem data structure across the
layers.
Change-Id: I9b377420c50ff1160964f94be5eaa0072df0f63d
CRs-Fixed: 1013488
| -rw-r--r-- | core/mac/inc/sir_api.h | 2 | ||||
| -rw-r--r-- | core/mac/src/pe/include/lim_global.h | 2 | ||||
| -rw-r--r-- | core/sme/inc/oem_data_api.h | 2 | ||||
| -rw-r--r-- | core/wma/inc/wma_if.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/core/mac/inc/sir_api.h b/core/mac/inc/sir_api.h index fdf1f8763daa..210550560588 100644 --- a/core/mac/inc/sir_api.h +++ b/core/mac/inc/sir_api.h @@ -879,7 +879,7 @@ typedef struct sSirOemDataReq { uint16_t messageType; /* eWNI_SME_OEM_DATA_REQ */ uint16_t messageLen; struct qdf_mac_addr selfMacAddr; - uint8_t data_len; + uint32_t data_len; uint8_t *data; } tSirOemDataReq, *tpSirOemDataReq; diff --git a/core/mac/src/pe/include/lim_global.h b/core/mac/src/pe/include/lim_global.h index 4ee0f0b113af..a563601a600b 100644 --- a/core/mac/src/pe/include/lim_global.h +++ b/core/mac/src/pe/include/lim_global.h @@ -291,7 +291,7 @@ struct tLimScanResultNode { /* OEM Data related structure definitions */ typedef struct sLimMlmOemDataReq { struct qdf_mac_addr selfMacAddr; - uint8_t data_len; + uint32_t data_len; uint8_t *data; } tLimMlmOemDataReq, *tpLimMlmOemDataReq; diff --git a/core/sme/inc/oem_data_api.h b/core/sme/inc/oem_data_api.h index fcd1fee2009c..ecc2b90c3921 100644 --- a/core/sme/inc/oem_data_api.h +++ b/core/sme/inc/oem_data_api.h @@ -46,7 +46,7 @@ /* Structure for defining req sent to the PE */ typedef struct tagOemDataReq { uint8_t sessionId; - uint8_t data_len; + uint32_t data_len; uint8_t *data; } tOemDataReq, tOemDataReqConfig; diff --git a/core/wma/inc/wma_if.h b/core/wma/inc/wma_if.h index 58b0dac039bd..01e7db0179c4 100644 --- a/core/wma/inc/wma_if.h +++ b/core/wma/inc/wma_if.h @@ -678,7 +678,7 @@ typedef struct { typedef struct { struct qdf_mac_addr selfMacAddr; QDF_STATUS status; - uint8_t data_len; + uint32_t data_len; uint8_t *data; } tStartOemDataReq, *tpStartOemDataReq; |
