wlan:Missed 'Fixed' field while parsing TSPEC Response
While converting the dot11f tspec parameter to
MAC TSPEC structure 'fixed/variable' field in
Nominal MSDU size is ignored.As part of this change
appended the fixed field to the nominal MSDU
size parameter.
Change-Id: I1e97cd1817abdefc5361e565736917dc8fc941f3
CRs-Fixed: 541871
diff --git a/CORE/SYS/legacy/src/utils/src/utilsParser.c b/CORE/SYS/legacy/src/utils/src/utilsParser.c
index d8ac7c6..f147b83 100644
--- a/CORE/SYS/legacy/src/utils/src/utilsParser.c
+++ b/CORE/SYS/legacy/src/utils/src/utilsParser.c
@@ -494,7 +494,7 @@
pOld->tsinfo.traffic.psb = (tANI_U16)pNew->psb;
pOld->tsinfo.traffic.userPrio = (tANI_U16)pNew->user_priority;
pOld->tsinfo.traffic.ackPolicy = (tANI_U16)pNew->tsinfo_ack_pol;
- pOld->nomMsduSz = pNew->size;
+ pOld->nomMsduSz = (pNew->fixed << 15) | pNew->size;
pOld->maxMsduSz = pNew->max_msdu_size;
pOld->minSvcInterval = pNew->min_service_int;
pOld->maxSvcInterval = pNew->max_service_int;