Skip to content

Commit

Permalink
qcacld-3.0: Correcting the TSInfo structure size according to the Spec
Browse files Browse the repository at this point in the history
According to spec the TSinfo size should be 4 bytes.

To fix this issue,TSInfo size is increased to 4bytes aligning with the
current standard.

CRs-Fixed: 3910625
Change-Id: I7979fa84af0295d21d4afe1b876af494a5b8fed8
(cherry picked from commit e96b546)
  • Loading branch information
Eswar Kesavalu authored and Bharat Bommena committed Jan 17, 2025
1 parent a0f0d00 commit 7f72dac
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion core/mac/src/cfg/cfgUtil/dot11f.frms
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ FF SMPowerModeSet (1) //7.3.1.25
}
}

FF TSInfo (3) // 7.3.2.30
FF TSInfo (4) // 7.3.2.30
{
{
traffic_type: 1;
Expand Down
4 changes: 2 additions & 2 deletions core/mac/src/include/dot11f.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
*
*
* This file was automatically generated by 'framesc'
* Wed Sep 11 12:49:28 2024 from the following file(s):
* Thu Sep 26 14:46:31 2024 from the following file(s):
*
* dot11f.frms
*
Expand Down Expand Up @@ -442,7 +442,7 @@ typedef struct sDot11fFfTSInfo {
uint32_t unused:15;
} tDot11fFfTSInfo;

#define DOT11F_FF_TSINFO_LEN (3)
#define DOT11F_FF_TSINFO_LEN (4)

void dot11f_unpack_ff_ts_info(tpAniSirGlobal, uint8_t *, tDot11fFfTSInfo *);

Expand Down
4 changes: 2 additions & 2 deletions core/mac/src/sys/legacy/src/utils/src/dot11f.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
*
*
* This file was automatically generated by 'framesc'
* Wed Sep 11 12:49:28 2024 from the following file(s):
* Thu Sep 26 14:46:31 2024 from the following file(s):
*
* dot11f.frms
*
Expand Down Expand Up @@ -17966,7 +17966,7 @@ uint32_t dot11f_get_packed_del_ts_size(tpAniSirGlobal pCtx,
tDot11fDelTS *pFrm, uint32_t *pnNeeded)
{
uint32_t status = 0;
*pnNeeded = 7;
*pnNeeded = 8;
status = get_packed_size_core(pCtx, (uint8_t *)pFrm, pnNeeded,
IES_DelTS);
return status;
Expand Down

0 comments on commit 7f72dac

Please sign in to comment.