developer | 1a17367 | 2023-12-21 14:49:33 +0800 | [diff] [blame^] | 1 | From 2cf6dd719d5f5c095ae7790430fac9468a7568c0 Mon Sep 17 00:00:00 2001 |
developer | 692ed9b | 2023-06-19 12:03:50 +0800 | [diff] [blame] | 2 | From: Amit Khatri <amit.khatri@mediatek.com> |
| 3 | Date: Thu, 6 Apr 2023 21:37:33 +0800 |
developer | 1a17367 | 2023-12-21 14:49:33 +0800 | [diff] [blame^] | 4 | Subject: [PATCH 26/37] mtk: mac80211: inrease beacon loss count |
developer | 692ed9b | 2023-06-19 12:03:50 +0800 | [diff] [blame] | 5 | |
| 6 | as per eagle code beacone loss time out is |
| 7 | 4 seconds. |
| 8 | in 2G connection getting beacon loss logs in routed client |
| 9 | scenario. |
| 10 | |
| 11 | so increasing beacon loss count from 7 to 20 |
| 12 | |
| 13 | Signed-off-by: Amit Khatri <amit.khatri@mediatek.com> |
| 14 | --- |
| 15 | net/mac80211/mlme.c | 2 +- |
| 16 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 17 | |
| 18 | diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c |
developer | bd9fa1e | 2023-10-16 11:04:00 +0800 | [diff] [blame] | 19 | index df39a8b..ccc72da 100644 |
developer | 692ed9b | 2023-06-19 12:03:50 +0800 | [diff] [blame] | 20 | --- a/net/mac80211/mlme.c |
| 21 | +++ b/net/mac80211/mlme.c |
| 22 | @@ -61,7 +61,7 @@ MODULE_PARM_DESC(max_probe_tries, |
| 23 | * probe on beacon miss before declaring the connection lost |
| 24 | * default to what we want. |
| 25 | */ |
| 26 | -static int beacon_loss_count = 7; |
| 27 | +static int beacon_loss_count = 20; |
| 28 | module_param(beacon_loss_count, int, 0644); |
| 29 | MODULE_PARM_DESC(beacon_loss_count, |
| 30 | "Number of beacon intervals before we decide beacon was lost."); |
| 31 | -- |
developer | 1a17367 | 2023-12-21 14:49:33 +0800 | [diff] [blame^] | 32 | 2.18.0 |
developer | 692ed9b | 2023-06-19 12:03:50 +0800 | [diff] [blame] | 33 | |