packages/net/madwifi/patches/382-relax_bintval.patch
nbd 27d674c623 move a few unmaintained packages from trunk to /packages
git-svn-id: svn://svn.openwrt.org/openwrt/packages@33634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-07 12:50:15 +00:00

14 lines
625 B
Diff

--- 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)) && \