diff options
| author | gaurank kathpalia <gkathpal@codeaurora.org> | 2018-09-25 01:36:52 +0530 |
|---|---|---|
| committer | nshrivas <nshrivas@codeaurora.org> | 2018-10-01 11:06:22 -0700 |
| commit | c1836d5b3206e5042687231e5c79a213144c3f85 (patch) | |
| tree | 274099d7d4c072cf5c835b9fe544fd66ae843e41 | |
| parent | 855f4e5f99123c65270cb4e5274fcac15661c118 (diff) | |
qcacld-3.0: Add vdevId in tAggrAddTsParams
pe session_id should not be used as vdev_id.
Add a vdevId field to tAggrAddTsParams struct
and fill smeSessionId as vdevId and pass this
down.
Change-Id: Id021dda35a32f7870277d405c85a0878d7baa3f3
CRs-fixed: 2272126
| -rw-r--r-- | core/mac/src/pe/lim/lim_ft.c | 3 | ||||
| -rw-r--r-- | core/wma/inc/wma_if.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/core/mac/src/pe/lim/lim_ft.c b/core/mac/src/pe/lim/lim_ft.c index 9965a8141500..73eb4be4110b 100644 --- a/core/mac/src/pe/lim/lim_ft.c +++ b/core/mac/src/pe/lim/lim_ft.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012-2017 The Linux Foundation. All rights reserved. + * Copyright (c) 2012-2018 The Linux Foundation. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -969,6 +969,7 @@ tSirRetStatus lim_process_ft_aggr_qos_req(tpAniSirGlobal pMac, uint32_t *pMsgBuf /* Fill in the sessionId specific to PE */ pAggrAddTsParam->sessionId = sessionId; pAggrAddTsParam->tspecIdx = aggrQosReq->aggrInfo.tspecIdx; + pAggrAddTsParam->vdev_id = psessionEntry->smeSessionId; for (i = 0; i < HAL_QOS_NUM_AC_MAX; i++) { if (aggrQosReq->aggrInfo.tspecIdx & (1 << i)) { diff --git a/core/wma/inc/wma_if.h b/core/wma/inc/wma_if.h index 658277ec5f0c..156f84636c90 100644 --- a/core/wma/inc/wma_if.h +++ b/core/wma/inc/wma_if.h @@ -1001,6 +1001,7 @@ typedef struct { * @tspec: tspec value * @status: QDF status * @sessionId: session id + * @vdev_id: vdev_id */ typedef struct { uint16_t staIdx; @@ -1008,6 +1009,7 @@ typedef struct { tSirMacTspecIE tspec[HAL_QOS_NUM_AC_MAX]; QDF_STATUS status[HAL_QOS_NUM_AC_MAX]; uint8_t sessionId; + uint8_t vdev_id; } tAggrAddTsParams, *tpAggrAddTsParams; |
