aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMartin Kaiser <[email protected]>2022-05-24 11:00:29 +0200
committerGreg Kroah-Hartman <[email protected]>2022-06-06 07:59:47 +0200
commit76d01595b24c53ff223f888289d362a4dd94420c (patch)
tree4f7b562ba54970874b80b42b3327d39c2b025299 /tools/perf/scripts/python
parent56580e22fecb7cbe11f9debb8de07662a847d444 (diff)
staging: r8188eu: calculate the addba request length
When issue_action_BA compiles an addba request, it does not add any extensions. start_seq_num is the last field of the addba request. The length of the request is the offset of the end of start_seq_num in the struct ieee80211_mgmt that defines the message. Use offsetofend to calculate this offset and drop the intermediate pktlen increments as we add addba request components. (We have to keep the increments for other message types until we use offsetofend for them as well.) Signed-off-by: Martin Kaiser <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions