Commit graph

5138 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
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
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
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
fa74dadda8 busybox: remove the -static-libgcc flag, saves a few kb
SVN-Revision: 25802
2011-03-01 05:40:57 +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
Felix Fietkau
d8e217c28f ubus: add a missing dependency
SVN-Revision: 25792
2011-02-28 16:17:00 +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
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
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
Felix Fietkau
875c8353f6 kernel: disable scheduler actions by default, they will be enabled only when kmod-sched is selected
SVN-Revision: 25771
2011-02-27 19:52:57 +00:00
Florian Fainelli
5f59f81af8 acx-mac8011: bump to 20110123
SVN-Revision: 25756
2011-02-27 15:45:05 +00:00
Felix Fietkau
39570be248 mac80211: update to 2011-02-25
SVN-Revision: 25749
2011-02-27 11:22:26 +00:00
Jo-Philipp Wich
673cf73cee xfsprogs: explicitely disable gettext and 64bit library support
SVN-Revision: 25733
2011-02-26 17:40:09 +00:00
Felix Fietkau
b4e4c64fd4 ubus: update to the latest version to fix a compile error with gcc 4.5
SVN-Revision: 25732
2011-02-26 16:28:54 +00:00
Felix Fietkau
190c8d81df add redboot-ar231x (LZMA compressed redboot for a few devices)
SVN-Revision: 25723
2011-02-26 00:46:53 +00:00
Jo-Philipp Wich
c16efad428 relayd: add uci integration
SVN-Revision: 25714
2011-02-25 23:23:40 +00:00
Jo-Philipp Wich
73468de8d1 base-files: fix sysctl handling, do not react on fake ifaces in route hotplug handler
SVN-Revision: 25713
2011-02-25 22:44:37 +00:00
Alexandros C. Couloumbis
86265da965 package/madwifi: fix for kernels >= 2.6.38
SVN-Revision: 25702
2011-02-24 15:53:32 +00:00
Alexandros C. Couloumbis
44c696ac78 package/wprobe: fix for kernels >= 2.6.38
SVN-Revision: 25701
2011-02-24 15:51:28 +00:00
John Crispin
54734b3d7d * adds stage1 lzma * new boards * fixes settings for PSC ram * lost of cleanups
SVN-Revision: 25694
2011-02-24 07:41:10 +00:00
Felix Fietkau
cf3b7563cf add kmod-oprofile to package/kernel
SVN-Revision: 25690
2011-02-24 01:11:16 +00:00
Felix Fietkau
ac9a5cf885 kmod-crypto: fix selecting core crypto modules
SVN-Revision: 25688
2011-02-24 01:11:04 +00:00
Felix Fietkau
b1b89bf646 kmod-crypto: remove pcomp, nothing uses it
SVN-Revision: 25686
2011-02-24 00:30:13 +00:00
Felix Fietkau
2bcc7fb12b qos-scripts: disable overhead calculation by default, it does not work properly for many line speeds
SVN-Revision: 25685
2011-02-24 00:30:09 +00:00
Jo-Philipp Wich
c5a65a0373 Send ipkg-make-index.sh output to stdout
The "Generating index for package" created by ipkg-make-index only
clutter stderr and serve to push previous warnings/errors off-screen.
Instead, send to stdout.

Note:  This would send incorrect invocation messages to stdout as well.
If this is a concern, perhaps we could send them to FD 3, then send 3 to
2...

Signed-off-by: Kevin Locke <klocke@digitalenginesoftware.com>

SVN-Revision: 25678
2011-02-23 22:59:57 +00:00
Jo-Philipp Wich
1de2fe5617 kernel: fix path to pcidev driver
SVN-Revision: 25670
2011-02-23 21:51:17 +00:00
Jo-Philipp Wich
e733270b96 kernel: make xen pcidev driver depend on Linux 2.6.37 or 2.6.38
SVN-Revision: 25669
2011-02-23 21:43:50 +00:00
Jo-Philipp Wich
f84ba3d981 kernel: fix kmod-xen-evtchn for Linux 2.6.37+
SVN-Revision: 25668
2011-02-23 20:13:40 +00:00
Felix Fietkau
7f20657f4c qos-scripts: add missing dependency
SVN-Revision: 25656
2011-02-22 00:10:19 +00:00
Jo-Philipp Wich
e1c9f19660 jshn: add build dependency on libubox, it needs the list.h header from it
SVN-Revision: 25652
2011-02-21 19:49:48 +00:00
Alexandros C. Couloumbis
a05994173d package/madwifi: extend wlanconfig scan ssid field from 14 to 30 characters
SVN-Revision: 25649
2011-02-21 13:08:55 +00:00
Imre Kaloz
1352979f8c as [25641] removed kernel IMQ support, remove it from iptables as well
SVN-Revision: 25646
2011-02-21 09:27:32 +00:00
Felix Fietkau
9dad83362d kernel: remove imq support, refresh patches
SVN-Revision: 25641
2011-02-21 02:06:51 +00:00
Felix Fietkau
fca74c3a44 qos-scripts: drop the use of IMQ, use ifb and act_connmark instead
SVN-Revision: 25640
2011-02-21 01:33:27 +00:00
Felix Fietkau
c0f0316109 kernel: add a new scheduler action for restoring the connection tracking mark - useful for ingress shaping, will be used for replacing IMQ later
SVN-Revision: 25639
2011-02-21 00:03:20 +00:00
Michael Büsch
e6100a161b boot.sh: Tabs are used for indent. Also use tabs in jffs2_ready()
SVN-Revision: 25635
2011-02-20 22:40:47 +00:00