developer | 05f3b2b | 2024-08-19 19:17:34 +0800 | [diff] [blame^] | 1 | From 786c6183c040ed6f6e440410957aa42d4086df03 Mon Sep 17 00:00:00 2001 |
developer | 66e89bc | 2024-04-23 14:50:01 +0800 | [diff] [blame] | 2 | From: Shayne Chen <shayne.chen@mediatek.com> |
| 3 | Date: Thu, 19 Oct 2023 00:35:11 +0800 |
developer | 05f3b2b | 2024-08-19 19:17:34 +0800 | [diff] [blame^] | 4 | Subject: [PATCH 47/89] mtk: mac80211: increase association timeout time |
developer | 66e89bc | 2024-04-23 14:50:01 +0800 | [diff] [blame] | 5 | |
| 6 | Prevent from sending multiple association requests while AP is already |
| 7 | hanlding the request. |
| 8 | |
| 9 | Signed-off-by: Shayne Chen <shayne.chen@mediatek.com> |
developer | 66e89bc | 2024-04-23 14:50:01 +0800 | [diff] [blame] | 10 | --- |
| 11 | net/mac80211/mlme.c | 2 +- |
| 12 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 13 | |
| 14 | diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c |
developer | 05f3b2b | 2024-08-19 19:17:34 +0800 | [diff] [blame^] | 15 | index 9c83b96..ebd4d74 100644 |
developer | 66e89bc | 2024-04-23 14:50:01 +0800 | [diff] [blame] | 16 | --- a/net/mac80211/mlme.c |
| 17 | +++ b/net/mac80211/mlme.c |
developer | 05f3b2b | 2024-08-19 19:17:34 +0800 | [diff] [blame^] | 18 | @@ -7789,7 +7789,7 @@ void ieee80211_sta_work(struct ieee80211_sub_if_data *sdata) |
developer | 66e89bc | 2024-04-23 14:50:01 +0800 | [diff] [blame] | 19 | */ |
| 20 | if (status_acked) { |
| 21 | ifmgd->assoc_data->timeout = |
| 22 | - jiffies + IEEE80211_ASSOC_TIMEOUT_SHORT; |
| 23 | + jiffies + IEEE80211_ASSOC_TIMEOUT_SHORT * 4; |
| 24 | run_again(sdata, ifmgd->assoc_data->timeout); |
| 25 | } else { |
| 26 | ifmgd->assoc_data->timeout = jiffies - 1; |
| 27 | -- |
developer | 05f3b2b | 2024-08-19 19:17:34 +0800 | [diff] [blame^] | 28 | 2.18.0 |
developer | 66e89bc | 2024-04-23 14:50:01 +0800 | [diff] [blame] | 29 | |