aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJérôme Pouiller <[email protected]>2019-12-17 16:14:34 +0000
committerGreg Kroah-Hartman <[email protected]>2019-12-18 15:54:56 +0100
commit7e1af13225fb0f3c3c75c2b03d9806fecd9f11bb (patch)
treee6f161563e97eed5cbecc4e14e023d447ecd2b95 /tools/perf/scripts/python
parenteee5e4c98f307a81c2716ab804e7dc3b66b4c125 (diff)
staging: wfx: fix rate control handling
A tx_retry_policy (the equivalent of a list of ieee80211_tx_rate in hardware API) is not able to include a rate multiple time. So currently, the driver merges the identical rates from the policy provided by minstrel (and it try to do the best choice it can in the associated flags) before to sent it to firmware. Until now, when rates are merged, field "count" is set to max(count1, count2). But, it means that the sum of retries for all rates could be far less than initial number of retries. So, this patch changes the value of field "count" to count1 + count2. Thus, sum of all retries for all rates stay the same. Signed-off-by: Jérôme Pouiller <[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