From 3f266966d6de9dc57176c6e1a558ebcb0d61a425 Mon Sep 17 00:00:00 2001 From: thavinga Date: Thu, 27 Feb 2025 12:06:08 +0100 Subject: [PATCH] Add note about enabling statistics before `rx_gain_show.sh` --- doc/app_notes/frequent_trick.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/app_notes/frequent_trick.md b/doc/app_notes/frequent_trick.md index 5d93bbb..9ef32d7 100644 --- a/doc/app_notes/frequent_trick.md +++ b/doc/app_notes/frequent_trick.md @@ -143,7 +143,11 @@ Bring it back to the automatic gain control mode ``` To find out a good reference about a manual Rx gain setting for the current link/peer, you can set it to automatic mode and then run ``` -rx_gain_show.sh +./stat_enable.sh +``` +once and then +``` +./rx_gain_show.sh ``` for multiple times to check the actual AGC gain vlaue for received packet as explained in this [Access counter/statistics in driver](driver_stat.md). Then you can set the AGC gain value as argument to the **set_rx_gain_manual.sh** with the corret **offset**! For example, if **rx_gain_show.sh** reports a AGC gain value 34 for many successfully received data packets, and you want to use it as a manual gain setting, you need to set ```