aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-10-07 01:41:03 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-10-07 01:41:03 +0000
commit951d704a3ecbc29f4419f16e2974d8a385cbab86 (patch)
tree20799aea6e49eea067e609fb3e8789942c37b956 /package/madwifi/patches
parent27a9ac45835359d7f758f3017333ebb27350a47b (diff)
downloadupstream-951d704a3ecbc29f4419f16e2974d8a385cbab86.tar.gz
upstream-951d704a3ecbc29f4419f16e2974d8a385cbab86.tar.bz2
upstream-951d704a3ecbc29f4419f16e2974d8a385cbab86.zip
allow larger beacon interval values - useful for big mesh networks (patch by sven-ola)
SVN-Revision: 12886
Diffstat (limited to 'package/madwifi/patches')
-rw-r--r--package/madwifi/patches/382-relax_bintval.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/madwifi/patches/382-relax_bintval.patch b/package/madwifi/patches/382-relax_bintval.patch
new file mode 100644
index 0000000000..0901949d91
--- /dev/null
+++ b/package/madwifi/patches/382-relax_bintval.patch
@@ -0,0 +1,13 @@
+--- a/net80211/ieee80211_var.h
++++ b/net80211/ieee80211_var.h
+@@ -61,8 +61,8 @@
+ #define IEEE80211_DTIM_MIN 1 /* min DTIM period */
+ #define IEEE80211_DTIM_DEFAULT 1 /* default DTIM period */
+
+-#define IEEE80211_BINTVAL_MAX 1000 /* max beacon interval (TUs) */
+-#define IEEE80211_BINTVAL_MIN 25 /* min beacon interval (TUs) */
++#define IEEE80211_BINTVAL_MAX 5000 /* max beacon interval (TUs) */
++#define IEEE80211_BINTVAL_MIN 10 /* min beacon interval (TUs) */
+ #define IEEE80211_BINTVAL_DEFAULT 100 /* default beacon interval (TUs) */
+ #define IEEE80211_BINTVAL_VALID(_bi) \
+ ((IEEE80211_BINTVAL_MIN <= (_bi)) && \