diff options
author | 2018-09-04 15:04:26 +0300 | |
---|---|---|
committer | 2018-09-06 19:14:17 +0300 | |
commit | 9faaa14387fbb13cf1a314025a047cc3bc27dbef (patch) | |
tree | 292c5787be2b150213611e77fc30a278064028bb /tools/perf/scripts/python/stackcollapse.py | |
parent | ath10k: add bus type check in ath10k_init_hw_params (diff) | |
download | wireguard-linux-9faaa14387fbb13cf1a314025a047cc3bc27dbef.tar.xz wireguard-linux-9faaa14387fbb13cf1a314025a047cc3bc27dbef.zip |
ath10k: use hw_params.num_peers for num_tids in TLV init
As TARGET_TLV_NUM_TIDS is calculated like this:
#define TARGET_TLV_NUM_TIDS ((TARGET_TLV_NUM_PEERS) * 2)
... it is better to use the per device hw_params.num_peers value in
the TLV init message (if set), rather than using a hard coded value.
This makes the value used in the TLV init message match the hw_param
value.
Signed-off-by: Erik Stromdahl <erik.stromdahl@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions