From f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Wed, 31 Jan 2024 01:04:47 +0000 Subject: [PATCH] add driver 5G --- kernel/include/linux/dim.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/kernel/include/linux/dim.h b/kernel/include/linux/dim.h index 6c57339..f343bc9 100644 --- a/kernel/include/linux/dim.h +++ b/kernel/include/linux/dim.h @@ -236,8 +236,9 @@ * * Calculate the delta between two samples (in data rates). * Takes into consideration counter wrap-around. + * Returned boolean indicates whether curr_stats are reliable. */ -void dim_calc_stats(struct dim_sample *start, struct dim_sample *end, +bool dim_calc_stats(struct dim_sample *start, struct dim_sample *end, struct dim_stats *curr_stats); /** -- Gitblit v1.6.2