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
父節點 a5e928212a
當前提交 083ffa0268
共有 4 個文件被更改,包括 35 次插入19 次删除

查看文件

@@ -33,10 +33,13 @@
* @index_6 = 6_7 ms
* @index_7 = 7_8 ms
* @index_8 = 8_9 ms
* @index_8 = 9+ ms
* @index_9 = 9_10 ms
* @index_10 = 10_11 ms
* @index_11 = 11_12 ms
* @index_12 = 12+ ms
*/
static uint16_t dp_hist_sw_enq_dbucket[CDP_HIST_BUCKET_MAX] = {
0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12};
/*
* cdp_hist_fw2hw_dbucket: HW enqueue to Completion Delay
@@ -49,10 +52,13 @@ static uint16_t dp_hist_sw_enq_dbucket[CDP_HIST_BUCKET_MAX] = {
* @index_6 = 60_70 ms
* @index_7 = 70_80 ms
* @index_8 = 80_90 ms
* @index_9 = 90+ ms
* @index_9 = 90_100 ms
* @index_10 = 100_250 ms
* @index_11 = 250_500 ms
* @index_12 = 500+ ms
*/
static uint16_t dp_hist_fw2hw_dbucket[CDP_HIST_BUCKET_MAX] = {
0, 10, 20, 30, 40, 50, 60, 70, 80, 90};
0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 250, 500};
/*
* dp_hist_reap2stack_bucket: Reap to stack bucket
@@ -65,10 +71,13 @@ static uint16_t dp_hist_fw2hw_dbucket[CDP_HIST_BUCKET_MAX] = {
* @index_6 = 30_35 ms
* @index_7 = 35_40 ms
* @index_8 = 40_45 ms
* @index_9 = 45+ ms
* @index_9 = 46_50 ms
* @index_10 = 51_55 ms
* @index_11 = 56_60 ms
* @index_12 = 60+ ms
*/
static uint16_t dp_hist_reap2stack_bucket[CDP_HIST_BUCKET_MAX] = {
0, 5, 10, 15, 20, 25, 30, 35, 40, 45};
0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60};
/*
* dp_hist_find_bucket_idx: Find the bucket index