blob: 4bee69517c0c895e19695632f03e15ed1143ef4e [file] [log] [blame]
developer05f3b2b2024-08-19 19:17:34 +08001From 3116b6dcf3eeace943d3775658eb81dca7f6053a Mon Sep 17 00:00:00 2001
developer66e89bc2024-04-23 14:50:01 +08002From: Amit Khatri <amit.khatri@mediatek.com>
3Date: Thu, 6 Apr 2023 21:37:33 +0800
developer05f3b2b2024-08-19 19:17:34 +08004Subject: [PATCH 36/89] mtk: mac80211: inrease beacon loss count
developer66e89bc2024-04-23 14:50:01 +08005
6as per eagle code beacone loss time out is
74 seconds.
8in 2G connection getting beacon loss logs in routed client
9scenario.
10
11so increasing beacon loss count from 7 to 20
12
13Signed-off-by: Amit Khatri <amit.khatri@mediatek.com>
14---
15 net/mac80211/mlme.c | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
developer05f3b2b2024-08-19 19:17:34 +080019index bf8a532..9c83b96 100644
developer66e89bc2024-04-23 14:50:01 +080020--- a/net/mac80211/mlme.c
21+++ b/net/mac80211/mlme.c
22@@ -66,7 +66,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--
developer05f3b2b2024-08-19 19:17:34 +0800322.18.0
developer66e89bc2024-04-23 14:50:01 +080033