Commit Graph

17452 Commits

Author SHA1 Message Date
Felix Fietkau
3494bdc59a mac80211: allow AP configuration of beacon interval, DTIM period, maximum permissible STA listen interval, and basic rates
This introduces beacon_int and basic_rate (per wifi-device), and
dtim_period and max_listen_int (per wifi-iface) for mac80211. These
configure the beacon interval, basic rate specification, DTIM period
(one DTIM per this many beacon frames), and maximum listen interval
that a STA will be permitted to associate with. All of the new
settings are optional; if they're absent, the existing hostapd (or, in
the case of basic_rate, driver) defaults will be used.

The existing bintval property only used for type adhoc is moved from
wifi-iface to wifi-device, and is renamed to beacon_interval because
bintval isn't a great name. The beacon interval is property of the
wifi-device; while the choice between wifi-device and wifi-iface may
not be relevant with an adhoc network, there's no reason to configure
the same property one way for type adhoc and another for type ap. This
change isn't expected to cause many problems, as bintval was added
recently, in r25111.

Similarly, the list of basic rates, also added for type adhoc in
r25111, is a property of the device and not the interface. Further, it
ought to be represented in UCI as a list, not a string dependent on
the format that iw uses. I’ve moved it onto the device, renamed it to
basic_rate, and made it configurable for APs via hostapd. Finally, I
adapted it to use the same kb/s representation as mcast_rate; there's
precedent for this format in that it's also how madwifi interprets
mcast_rate.

Neither bintval nor basicrates were ever documented in the UCI
wireless configuration page on the wiki. When this change is
committed, I'll update the documentation as needed.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 25837
2011-03-02 21:08:28 +00:00
Jo-Philipp Wich
13333a6742 firewall: move include sourcing into a subshell, this makes the firewall init immune against exit in the include scripts
SVN-Revision: 25835
2011-03-02 19:20:29 +00:00
Felix Fietkau
d1f44a7598 gcc: disable extension elimination, it causes hostapd to be miscompiled on mips
SVN-Revision: 25834
2011-03-02 17:54:02 +00:00
Michael Büsch
9a1b2c8c70 n810bm: Add charger_state attribute
SVN-Revision: 25833
2011-03-02 16:22:52 +00:00
Michael Büsch
d5d6811ac4 cbus-retu-wdt: Some fixes
SVN-Revision: 25832
2011-03-02 16:20:58 +00:00
Imre Kaloz
3c801b3dc0 tune some more options by default to decrease size
SVN-Revision: 25831
2011-03-02 14:51:45 +00:00
Imre Kaloz
9f803ade18 upgrade to 0.53.1
SVN-Revision: 25830
2011-03-02 14:20:51 +00:00
Felix Fietkau
8c0df5f96c opkg: use -ffunction-sections, -fdata-sections and --gc-sections
SVN-Revision: 25829
2011-03-02 12:48:04 +00:00
Felix Fietkau
575a35c58d pppd: use -ffunction-sections, -fdata-sections and --gc-sections, saves 5k uncompressed
SVN-Revision: 25828
2011-03-02 12:48:00 +00:00
Felix Fietkau
679dbee95f dnsmasq: use -ffunction-sections, -fdata-sections and --gc-sections, saves 8k uncompressed
SVN-Revision: 25827
2011-03-02 12:47:57 +00:00
Felix Fietkau
c05198bf8e dropbear: use -ffunction-sections, -fdata-sections and --gc-sections, saves 19k uncompressed
SVN-Revision: 25826
2011-03-02 12:47:52 +00:00
Felix Fietkau
0670771013 hostapd: use -ffunction-sections, -fdata-sections and --gc-sections, reduces binary size a bit
SVN-Revision: 25821
2011-03-02 12:01:08 +00:00
Imre Kaloz
0e4c9de00e add usb support for the wbd111, refresh patches
SVN-Revision: 25820
2011-03-02 11:43:13 +00:00
Michael Büsch
7b44be03d8 2.6.38: Let mac80211 select CONFIG_AVERAGE
SVN-Revision: 25818
2011-03-01 18:55:00 +00:00
Jo-Philipp Wich
b90a6f7682 busybox: enable mount helpers by default (#8946)
SVN-Revision: 25815
2011-03-01 18:08:02 +00:00
Jo-Philipp Wich
1ca64678bb firewall: fix rule generation for v4 or v6 only zones (#8955)
SVN-Revision: 25813
2011-03-01 18:04:14 +00:00
Michael Büsch
a37fc00aef omap24xx: Fix missing symbols for mac80211
SVN-Revision: 25811
2011-03-01 17:28:16 +00:00
Florian Fainelli
9dd1454044 fix patches after 2.6.37 update, patch from KanjiMonster
SVN-Revision: 25810
2011-03-01 16:02:38 +00:00
Felix Fietkau
3acbe5b392 ipset: do not use -static-libgcc
SVN-Revision: 25809
2011-03-01 15:41:28 +00:00
Felix Fietkau
925965627f iptables: do not use -static-libgcc
SVN-Revision: 25808
2011-03-01 15:41:21 +00:00
Felix Fietkau
c2e2651b71 toolchain: remove -lgcc_eh from the default libgcc spec, it breaks packages
SVN-Revision: 25807
2011-03-01 15:38:58 +00:00
Imre Kaloz
1da9f079b6 update arm mach-types
SVN-Revision: 25806
2011-03-01 11:24:43 +00:00
Imre Kaloz
1f5d24e562 refresh patches with -rc6
SVN-Revision: 25805
2011-03-01 11:24:08 +00:00
Felix Fietkau
783e064632 uClibc: set the toolchain info at install time instead of prepare time, fixes staging dir rebuilds
SVN-Revision: 25803
2011-03-01 05:41:02 +00:00
Felix Fietkau
fa74dadda8 busybox: remove the -static-libgcc flag, saves a few kb
SVN-Revision: 25802
2011-03-01 05:40:57 +00:00
Felix Fietkau
23e18c9037 gcc-linaro: fix the libgcc spec to default to using the shared libgcc
SVN-Revision: 25801
2011-03-01 05:40:47 +00:00
Felix Fietkau
1cc0bcfffc base-files: relink uclibc and libgcc libraries to remove leftovers of the statically linked initial libgcc saves a few kb and gets rid of unused not exported functions as well should also improve the reliability of mklibs
SVN-Revision: 25800
2011-03-01 05:40:38 +00:00
Michael Büsch
15a014c13a omap24xx: Update kconfig
SVN-Revision: 25799
2011-02-28 20:50:51 +00:00
Michael Büsch
bddfdb8ec4 n810bm: Refresh patch
SVN-Revision: 25798
2011-02-28 20:28:54 +00:00
Michael Büsch
dab8f5d750 n810: Fix LCD
SVN-Revision: 25797
2011-02-28 20:28:06 +00:00
Michael Büsch
3e390fb827 cbus-retu: Add IRQ handler locking
SVN-Revision: 25796
2011-02-28 20:24:56 +00:00
Felix Fietkau
ad45e24bd0 mklibs: fix some long standing libpthread symbol link issues, mostly related to weak function overrides between libgcc, libc and libpthread
SVN-Revision: 25795
2011-02-28 18:17:02 +00:00
Michael Büsch
e6267871da omap24xx: Update 2.6.38 config. This fixes MMC.
SVN-Revision: 25794
2011-02-28 16:52:01 +00:00
Felix Fietkau
04e3dae4ad mklibs: properly fix library linking - the relinking in some instances used static libraries instead of shared ones with the same name, that led to some nasty symbol conflicts and pic issues. fix this by always using the full path to the libraries and also fix the libc vs libpthread linking order
SVN-Revision: 25793
2011-02-28 16:17:04 +00:00
Felix Fietkau
d8e217c28f ubus: add a missing dependency
SVN-Revision: 25792
2011-02-28 16:17:00 +00:00
Michael Büsch
0ff0b6aa5e block2mtd: More 2.6.38 fixes
SVN-Revision: 25791
2011-02-28 15:52:03 +00:00
Michael Büsch
1147380771 mtd: Fix compile warning
SVN-Revision: 25790
2011-02-28 15:32:45 +00:00
Michael Büsch
eb53b526eb jffs2-lzma: Fix compile warning
SVN-Revision: 25789
2011-02-28 15:19:45 +00:00
Michael Büsch
38430ba588 mini_fo: More 2.6.38 fixes
SVN-Revision: 25788
2011-02-28 15:10:55 +00:00
Daniel Dickinson
47370c1fa4 block-mount: Fixed shell error on empty string due to -eq to number for the optional find_root variable
SVN-Revision: 25787
2011-02-28 01:46:46 +00:00
Daniel Dickinson
db0bff2724 block-mount,block-extroot: Modify mount.sh so that block-extroot mounts target /overlay as rootfs (use if is_rootfs is now deprecated) when block-extroot is installed, and as /tmp/overlay-disabled otherwise
SVN-Revision: 25786
2011-02-28 01:46:24 +00:00
Felix Fietkau
de194ac4c2 kernel: the usb pci quirks removal patch was a bit overzealous, leave in some functions referenced from other modules
SVN-Revision: 25785
2011-02-28 01:20:49 +00:00
Felix Fietkau
1f08de0a7e mac80211: improve ath9k AP A-MPDU PS buffering
SVN-Revision: 25779
2011-02-27 21:46:15 +00:00
Felix Fietkau
e21f69d640 mac80211: override CONFIG_IWLWIFI_LEGACY
SVN-Revision: 25778
2011-02-27 21:46:08 +00:00
Michael Büsch
396eebc3a4 n810: Fix tsc2005 busnum
SVN-Revision: 25777
2011-02-27 21:38:15 +00:00
Felix Fietkau
c7677a6e5e mac80211: set CONFIG_RTLWIFI
SVN-Revision: 25776
2011-02-27 21:37:21 +00:00
Felix Fietkau
ba5bfe48c3 p54: fix a null pointer dereference bug
SVN-Revision: 25775
2011-02-27 20:50:45 +00:00
Michael Büsch
f6bd11e72d n810bm: Compile fix for kernel with lock debugging
SVN-Revision: 25774
2011-02-27 20:40:10 +00:00
Felix Fietkau
d5c7314b76 kernel: disable sysctl syscall support - nothing uses it
SVN-Revision: 25773
2011-02-27 20:06:13 +00:00
Felix Fietkau
7ae115eac6 fix wrong copy&paste in the helptext for kernel AIO support
SVN-Revision: 25772
2011-02-27 20:06:05 +00:00