Skip to content

Commit

Permalink
Merge tag 'LA.UM.9.15.r1-06000-KAMORTA.QSSI13.0' of https://git.codel…
Browse files Browse the repository at this point in the history
…inaro.org/clo/la/platform/vendor/qcom-opensource/wlan/fw-api into main

"LA.UM.9.15.r1-06000-KAMORTA.QSSI13.0"

* tag 'LA.UM.9.15.r1-06000-KAMORTA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/qcom-opensource/wlan/fw-api: (56 commits)
  fw-api: CL 17951131 - update fw common interface files
  fw-api: CL 17946727 - update fw common interface files
  fw-api: CL 17935445 - update fw common interface files
  fw-api: CL 17913152 - update fw common interface files
  fw-api: CL 17913125 - update fw common interface files
  fw-api: CL 17879597 - update fw common interface files
  fw-api: CL 17848238 - update fw common interface files
  fw-api: CL 17845264 - update fw common interface files
  fw-api: CL 17844347 - update fw common interface files
  fw-api: CL 17844331 - update fw common interface files
  fw-api: CL 17808556 - update fw common interface files
  fw-api: CL 17793582 - update fw common interface files
  fw-api: CL 17793208 - update fw common interface files
  fw-api: CL 17771149 - update fw common interface files
  fw-api: CL 17768134 - update fw common interface files
  fw-api: CL 17745034 - update fw common interface files
  fw-api: CL 17741957 - update fw common interface files
  fw-api: CL 17725153 - update fw common interface files
  fw-api: CL 17712037 - update fw common interface files
  fw-api: CL 17660651 - update fw common interface files
  ...

Signed-off-by: Carlos Jimenez (JavaShin-X) <[email protected]>
  • Loading branch information
javashin committed Jun 16, 2022
2 parents b8b4e1f + 382cf34 commit 2fb8625
Show file tree
Hide file tree
Showing 95 changed files with 34,332 additions and 126 deletions.
276 changes: 235 additions & 41 deletions drivers/staging/fw-api/fw/htt.h

Large diffs are not rendered by default.

145 changes: 142 additions & 3 deletions drivers/staging/fw-api/fw/htt_ppdu_stats.h
Original file line number Diff line number Diff line change
Expand Up @@ -1571,6 +1571,144 @@ typedef enum HTT_PPDU_STATS_RESP_PPDU_TYPE HTT_PPDU_STATS_RESP_PPDU_TYPE;
((_var) |= ((_val) << HTT_PPDU_STATS_USER_RATE_TLV_RESP_PPDU_TYPE_S)); \
} while (0)

#define HTT_PPDU_STATS_USER_RATE_TLV_RU_FORMAT_M 0x0000f000
#define HTT_PPDU_STATS_USER_RATE_TLV_RU_FORMAT_S 12

#define HTT_PPDU_STATS_USER_RATE_TLV_RU_FORMAT_GET(_var) \
(((_var) & HTT_PPDU_STATS_USER_RATE_TLV_RU_FORMAT_M) >> \
HTT_PPDU_STATS_USER_RATE_TLV_RU_FORMAT_S)

#define HTT_PPDU_STATS_USER_RATE_TLV_RU_FORMAT_SET(_var, _val) \
do { \
HTT_CHECK_SET_VAL(HTT_PPDU_STATS_USER_RATE_TLV_RU_FORMAT, _val); \
((_var) |= ((_val) << HTT_PPDU_STATS_USER_RATE_TLV_RU_FORMAT_S)); \
} while (0)


#define HTT_PPDU_STATS_USER_RATE_TLV_RU_END_M 0x0000ffff
#define HTT_PPDU_STATS_USER_RATE_TLV_RU_END_S 0

#define HTT_PPDU_STATS_USER_RATE_TLV_RU_END_GET(_var) \
(((_var) & HTT_PPDU_STATS_USER_RATE_TLV_RU_END_M) >> \
HTT_PPDU_STATS_USER_RATE_TLV_RU_END_S)

#define HTT_PPDU_STATS_USER_RATE_TLV_RU_END_SET(_var, _val) \
do { \
HTT_CHECK_SET_VAL(HTT_PPDU_STATS_USER_RATE_TLV_RU_END, _val); \
((_var) |= ((_val) << HTT_PPDU_STATS_USER_RATE_TLV_RU_END_S)); \
} while (0)


#define HTT_PPDU_STATS_USER_RATE_TLV_RU_START_M 0xffff0000
#define HTT_PPDU_STATS_USER_RATE_TLV_RU_START_S 16

#define HTT_PPDU_STATS_USER_RATE_TLV_RU_START_GET(_var) \
(((_var) & HTT_PPDU_STATS_USER_RATE_TLV_RU_START_M) >> \
HTT_PPDU_STATS_USER_RATE_TLV_RU_START_S)

#define HTT_PPDU_STATS_USER_RATE_TLV_RU_START_SET(_var, _val) \
do { \
HTT_CHECK_SET_VAL(HTT_PPDU_STATS_USER_RATE_TLV_RU_START, _val); \
((_var) |= ((_val) << HTT_PPDU_STATS_USER_RATE_TLV_RU_START_S)); \
} while (0)


#define HTT_PPDU_STATS_USER_RATE_TLV_RU_INDEX_M 0x0000ffff
#define HTT_PPDU_STATS_USER_RATE_TLV_RU_INDEX_S 0

#define HTT_PPDU_STATS_USER_RATE_TLV_RU_INDEX_GET(_var) \
(((_var) & HTT_PPDU_STATS_USER_RATE_TLV_RU_INDEX_M) >> \
HTT_PPDU_STATS_USER_RATE_TLV_RU_INDEX_S)

#define HTT_PPDU_STATS_USER_RATE_TLV_RU_INDEX_SET(_var, _val) \
do { \
HTT_CHECK_SET_VAL(HTT_PPDU_STATS_USER_RATE_TLV_RU_INDEX, _val); \
((_var) |= ((_val) << HTT_PPDU_STATS_USER_RATE_TLV_RU_INDEX_S)); \
} while (0)


#define HTT_PPDU_STATS_USER_RATE_TLV_RU_SIZE_M 0xffff0000
#define HTT_PPDU_STATS_USER_RATE_TLV_RU_SIZE_S 16

#define HTT_PPDU_STATS_USER_RATE_TLV_RU_SIZE_GET(_var) \
(((_var) & HTT_PPDU_STATS_USER_RATE_TLV_RU_SIZE_M) >> \
HTT_PPDU_STATS_USER_RATE_TLV_RU_SIZE_S)

#define HTT_PPDU_STATS_USER_RATE_TLV_RU_SIZE_SET(_var, _val) \
do { \
HTT_CHECK_SET_VAL(HTT_PPDU_STATS_USER_RATE_TLV_RU_SIZE, _val); \
((_var) |= ((_val) << HTT_PPDU_STATS_USER_RATE_TLV_RU_SIZE_S)); \
} while (0)


#define HTT_PPDU_STATS_USER_RATE_TLV_RESP_RU_END_M 0x0000ffff
#define HTT_PPDU_STATS_USER_RATE_TLV_RESP_RU_END_S 0

#define HTT_PPDU_STATS_USER_RATE_TLV_RESP_RU_END_GET(_var) \
(((_var) & HTT_PPDU_STATS_USER_RATE_TLV_RESP_RU_END_M) >> \
HTT_PPDU_STATS_USER_RATE_TLV_RESP_RU_END_S)

#define HTT_PPDU_STATS_USER_RATE_TLV_RESP_RU_END_SET(_var, _val) \
do { \
HTT_CHECK_SET_VAL(HTT_PPDU_STATS_USER_RATE_TLV_RESP_RU_END, _val); \
((_var) |= ((_val) << HTT_PPDU_STATS_USER_RATE_TLV_RESP_RU_END_S)); \
} while (0)


#define HTT_PPDU_STATS_USER_RATE_TLV_RESP_RU_START_M 0xffff0000
#define HTT_PPDU_STATS_USER_RATE_TLV_RESP_RU_START_S 16

#define HTT_PPDU_STATS_USER_RATE_TLV_RESP_RU_START_GET(_var) \
(((_var) & HTT_PPDU_STATS_USER_RATE_TLV_RESP_RU_START_M) >> \
HTT_PPDU_STATS_USER_RATE_TLV_RESP_RU_START_S)

#define HTT_PPDU_STATS_USER_RATE_TLV_RESP_RU_START_SET(_var, _val) \
do { \
HTT_CHECK_SET_VAL(HTT_PPDU_STATS_USER_RATE_TLV_RESP_RU_START, _val); \
((_var) |= ((_val) << HTT_PPDU_STATS_USER_RATE_TLV_RESP_RU_START_S)); \
} while (0)


#define HTT_PPDU_STATS_USER_RATE_TLV_RESP_RU_INDEX_M 0x0000ffff
#define HTT_PPDU_STATS_USER_RATE_TLV_RESP_RU_INDEX_S 0

#define HTT_PPDU_STATS_USER_RATE_TLV_RESP_RU_INDEX_GET(_var) \
(((_var) & HTT_PPDU_STATS_USER_RATE_TLV_RESP_RU_INDEX_M) >> \
HTT_PPDU_STATS_USER_RATE_TLV_RESP_RU_INDEX_S)

#define HTT_PPDU_STATS_USER_RATE_TLV_RESP_RU_INDEX_SET(_var, _val) \
do { \
HTT_CHECK_SET_VAL(HTT_PPDU_STATS_USER_RATE_TLV_RESP_RU_INDEX, _val); \
((_var) |= ((_val) << HTT_PPDU_STATS_USER_RATE_TLV_RESP_RU_INDEX_S)); \
} while (0)


#define HTT_PPDU_STATS_USER_RATE_TLV_RESP_RU_SIZE_M 0xffff0000
#define HTT_PPDU_STATS_USER_RATE_TLV_RESP_RU_SIZE_S 16

#define HTT_PPDU_STATS_USER_RATE_TLV_RESP_RU_SIZE_GET(_var) \
(((_var) & HTT_PPDU_STATS_USER_RATE_TLV_RESP_RU_SIZE_M) >> \
HTT_PPDU_STATS_USER_RATE_TLV_RESP_RU_SIZE_S)

#define HTT_PPDU_STATS_USER_RATE_TLV_RESP_RU_SIZE_SET(_var, _val) \
do { \
HTT_CHECK_SET_VAL(HTT_PPDU_STATS_USER_RATE_TLV_RESP_RU_SIZE, _val); \
((_var) |= ((_val) << HTT_PPDU_STATS_USER_RATE_TLV_RESP_RU_SIZE_S)); \
} while (0)

#define HTT_PPDU_STATS_USER_RATE_TLV_PUNC_PATTERN_BITMAP_M 0x0000ffff
#define HTT_PPDU_STATS_USER_RATE_TLV_PUNC_PATTERN_BITMAP_S 0

#define HTT_PPDU_STATS_USER_RATE_TLV_PUNC_PATTERN_BITMAP_GET(_var) \
(((_var) & HTT_PPDU_STATS_USER_RATE_TLV_PUNC_PATTERN_BITMAP_M) >> \
HTT_PPDU_STATS_USER_RATE_TLV_PUNC_PATTERN_BITMAP_S)

#define HTT_PPDU_STATS_USER_RATE_TLV_PUNC_PATTERN_BITMAP_SET (_var , _val) \
do { \
HTT_CHECK_SET_VAL(HTT_PPDU_STATS_USER_RATE_TLV_PUNC_PATTERN_BITMAP, _val); \
((_var) |= ((_val) << HTT_PPDU_STATS_USER_RATE_TLV_PUNC_PATTERN_BITMAP_S)); \
} while (0)

typedef enum HTT_PPDU_STATS_RU_SIZE {
HTT_PPDU_STATS_RU_26,
HTT_PPDU_STATS_RU_52,
Expand Down Expand Up @@ -1754,10 +1892,11 @@ typedef struct {
};

/*
* This is an unused word that can be safely renamed / used
* by any future feature.
* BIT [15:0] :- Punctured BW bitmap pattern to indicate which BWs are
* punctured.
*/
A_UINT32 reserved4;
A_UINT32 punc_pattern_bitmap: 16,
reserved4: 16;
} htt_ppdu_stats_user_rate_tlv;

#define HTT_PPDU_STATS_USR_RATE_VALID_M 0x80000000
Expand Down
Loading

0 comments on commit 2fb8625

Please sign in to comment.