qcacmn: Change per peer delay histogram stats buckets to 13 from 10

Per peer extended stats are maintained as a histogram having 10
delay buckets. Each packet will fall into one of these buckets as per the
delay calculated. These buckets are now increased to 13 as per requirement.

Change-Id: I7f9a01c21b748a0f589bb44e6f7dd69a1c5702a7
CRs-Fixed: 3163423
This commit is contained in:
Parikshit Gune
2022-04-06 12:49:31 +05:30
committed by Madan Koyyalamudi
parent a5e928212a
commit 083ffa0268
4 changed files with 35 additions and 19 deletions

View File

@@ -14171,7 +14171,7 @@ static uint8_t dp_bucket_index(uint32_t delay, uint16_t *array)
uint8_t i = CDP_DELAY_BUCKET_0;
for (; i < CDP_DELAY_BUCKET_MAX - 1; i++) {
if (delay >= array[i] && delay <= array[i + 1])
if (delay >= array[i] && delay < array[i + 1])
return i;
}