* reschedule it when it should fire _earlier_ than it was * scheduling this timer, but we need to take care to only * We can have multiple work items (and connection probing) */ # define IEEE80211_SIGNAL_AVE_MIN_COUNT 4 /* * before starting to indicate signal change events. * How many Beacon frames need to have been used in average signal strength */ static int probe_wait_ms = 500 module_param ( probe_wait_ms, int, 0644 ) MODULE_PARM_DESC ( probe_wait_ms, "Maximum time(ms) to wait for probe response" " before disconnecting (reason 4)." ) /* * a probe request because of beacon loss or for * Time we wait for a probe response after sending * it to see if we can still talk to the AP. * Time the connection can be idle before we probe */ static int beacon_loss_count = 7 module_param ( beacon_loss_count, int, 0644 ) MODULE_PARM_DESC ( beacon_loss_count, "Number of beacon intervals before we decide beacon was lost." ) /* * probe on beacon miss before declaring the connection lost * higher than what hardware might detect to account for * Beacon loss timeout is calculated as N frames times the */ # include # include # include # include # include # include # include # include # include # include # include # include # include "ieee80211_i.h" # include "driver-ops.h" # include "rate.h" # include "led.h" # define IEEE80211_AUTH_TIMEOUT (HZ / 5) # define IEEE80211_AUTH_TIMEOUT_LONG (HZ / 2) # define IEEE80211_AUTH_TIMEOUT_SHORT (HZ / 10) # define IEEE80211_AUTH_MAX_TRIES 3 # define IEEE80211_AUTH_WAIT_ASSOC (HZ * 5) # define IEEE80211_ASSOC_TIMEOUT (HZ / 5) # define IEEE80211_ASSOC_TIMEOUT_LONG (HZ / 2) # define IEEE80211_ASSOC_TIMEOUT_SHORT (HZ / 10) # define IEEE80211_ASSOC_MAX_TRIES 3 static int max_nullfunc_tries = 2 module_param ( max_nullfunc_tries, int, 0644 ) MODULE_PARM_DESC ( max_nullfunc_tries, "Maximum nullfunc tx tries before disconnecting (reason 4)." ) static int max_probe_tries = 5 module_param ( max_probe_tries, int, 0644 ) MODULE_PARM_DESC ( max_probe_tries, "Maximum probe tries before disconnecting (reason 4)." ) /* * published by the Free Software Foundation. * it under the terms of the GNU General Public License version 2 as * This program is free software you can redistribute it and/or modify * Copyright (C) 2015 - 2016 Intel Deutschland GmbH * Copyright 2013-2014 Intel Mobile Communications GmbH * Copyright 2005, Devicescape Software, Inc. * Copyright 2004, Instant802 Networks, Inc.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |