Commit Graph

7305 Commits (96eaaee4ec188efbd3777fd091692b55979ef484)

Author SHA1 Message Date
Felix Fietkau 2c828301c2 base-files: do not build or use libgcc on m68k and avr32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-03 14:50:00 +00:00
Felix Fietkau 5591ace0a6 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-02 21:08:28 +00:00
Jo-Philipp Wich ba9bc394c7 [package] firewall: move include sourcing into a subshell, this makes the firewall init immune against exit in the include scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-02 19:20:29 +00:00
Imre Kaloz 6fae79d071 [package/dropbear]: tune some more options by default to decrease size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25831 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-02 14:51:45 +00:00
Imre Kaloz a42baad83c [package/dropbear]: upgrade to 0.53.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25830 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-02 14:20:51 +00:00
Felix Fietkau 64eeb36223 opkg: use -ffunction-sections, -fdata-sections and --gc-sections
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25829 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-02 12:48:04 +00:00
Felix Fietkau a0088333bd pppd: use -ffunction-sections, -fdata-sections and --gc-sections, saves 5k uncompressed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25828 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-02 12:48:00 +00:00
Felix Fietkau dc08d4eafc dnsmasq: use -ffunction-sections, -fdata-sections and --gc-sections, saves 8k uncompressed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25827 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-02 12:47:57 +00:00
Felix Fietkau a947385284 dropbear: use -ffunction-sections, -fdata-sections and --gc-sections, saves 19k uncompressed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25826 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-02 12:47:52 +00:00
Felix Fietkau 25791aaf8d hostapd: use -ffunction-sections, -fdata-sections and --gc-sections, reduces binary size a bit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25821 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-02 12:01:08 +00:00
Michael Büsch 51261269ad 2.6.38: Let mac80211 select CONFIG_AVERAGE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25818 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-01 18:55:00 +00:00
Jo-Philipp Wich 46d89a10d9 [package] busybox: enable mount helpers by default (#8946)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25815 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-01 18:08:02 +00:00
Jo-Philipp Wich 2caca9f378 [package] firewall: fix rule generation for v4 or v6 only zones (#8955)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25813 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-01 18:04:14 +00:00
Felix Fietkau 2c636da8bf ipset: do not use -static-libgcc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-01 15:41:28 +00:00
Felix Fietkau b0c1e95b65 iptables: do not use -static-libgcc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25808 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-01 15:41:21 +00:00
Felix Fietkau 9cb0783a7f busybox: remove the -static-libgcc flag, saves a few kb
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-01 05:40:57 +00:00
Felix Fietkau ee7fa78bed 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-01 05:40:38 +00:00
Felix Fietkau 77dd25bd3b ubus: add a missing dependency
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-28 16:17:00 +00:00
Daniel Dickinson 7f21b3000c [package] block-mount: Fixed shell error on empty string due to -eq to number for the optional find_root variable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25787 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-28 01:46:46 +00:00
Daniel Dickinson b2321ba263 [package] 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25786 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-28 01:46:24 +00:00
Felix Fietkau 36cf66d067 mac80211: improve ath9k AP A-MPDU PS buffering
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25779 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-27 21:46:15 +00:00
Felix Fietkau 9175837d11 mac80211: override CONFIG_IWLWIFI_LEGACY
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25778 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-27 21:46:08 +00:00
Felix Fietkau a34694fc20 mac80211: set CONFIG_RTLWIFI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25776 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-27 21:37:21 +00:00
Felix Fietkau 1566a16430 p54: fix a null pointer dereference bug
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25775 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-27 20:50:45 +00:00
Felix Fietkau 1c5130ba5f kernel: disable scheduler actions by default, they will be enabled only when kmod-sched is selected
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25771 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-27 19:52:57 +00:00
Florian Fainelli 9214bc2534 [package] acx-mac8011: bump to 20110123
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25756 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-27 15:45:05 +00:00
Felix Fietkau ebff4e71da mac80211: update to 2011-02-25
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-27 11:22:26 +00:00
Jo-Philipp Wich c076125a54 [package] xfsprogs: explicitely disable gettext and 64bit library support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25733 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-26 17:40:09 +00:00
Felix Fietkau 42c9079c71 ubus: update to the latest version to fix a compile error with gcc 4.5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25732 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-26 16:28:54 +00:00
Felix Fietkau 489b6eb614 add redboot-ar231x (LZMA compressed redboot for a few devices)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-26 00:46:53 +00:00
Jo-Philipp Wich 3770bbaae2 [package] relayd: add uci integration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25714 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-25 23:23:40 +00:00
Jo-Philipp Wich f918887878 [package] base-files: fix sysctl handling, do not react on fake ifaces in route hotplug handler
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-25 22:44:37 +00:00
Alexandros C. Couloumbis 2352c3115c package/madwifi: fix for kernels >= 2.6.38
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25702 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-24 15:53:32 +00:00
Alexandros C. Couloumbis 772b4e8372 package/wprobe: fix for kernels >= 2.6.38
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25701 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-24 15:51:28 +00:00
John Crispin ee22a9a98d [uboot-lantiq]
* adds stage1 lzma
* new boards
* fixes settings for PSC ram
* lost of cleanups


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-24 07:41:10 +00:00
Felix Fietkau 81bfbeaf20 add kmod-oprofile to package/kernel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25690 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-24 01:11:16 +00:00
Felix Fietkau 77374ec737 kmod-crypto: fix selecting core crypto modules
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25688 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-24 01:11:04 +00:00
Felix Fietkau 320509157c kmod-crypto: remove pcomp, nothing uses it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-24 00:30:13 +00:00
Felix Fietkau 2d4b44f3a7 qos-scripts: disable overhead calculation by default, it does not work properly for many line speeds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25685 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-24 00:30:09 +00:00
Jo-Philipp Wich 610af758c1 [PATCH 2/2] 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>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25678 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-23 22:59:57 +00:00
Jo-Philipp Wich 6cc825257f [package] kernel: fix path to pcidev driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25670 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-23 21:51:17 +00:00
Jo-Philipp Wich 2b941f07a6 [package] kernel: make xen pcidev driver depend on Linux 2.6.37 or 2.6.38
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25669 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-23 21:43:50 +00:00
Jo-Philipp Wich a9eda5fba9 [package] kernel: fix kmod-xen-evtchn for Linux 2.6.37+
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25668 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-23 20:13:40 +00:00
Felix Fietkau b9acfdce7e qos-scripts: add missing dependency
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25656 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-22 00:10:19 +00:00
Jo-Philipp Wich cff47586bf [package] jshn: add build dependency on libubox, it needs the list.h header from it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-21 19:49:48 +00:00
Alexandros C. Couloumbis 287651d69d package/madwifi: extend wlanconfig scan ssid field from 14 to 30 characters
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25649 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-21 13:08:55 +00:00
Imre Kaloz e19628375d [package/iptables]: as [25641] removed kernel IMQ support, remove it from iptables as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25646 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-21 09:27:32 +00:00
Felix Fietkau d41be9f54b kernel: remove imq support, refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25641 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-21 02:06:51 +00:00
Felix Fietkau 23ddbf6c6f qos-scripts: drop the use of IMQ, use ifb and act_connmark instead
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25640 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-21 01:33:27 +00:00
Felix Fietkau 45385bb7e7 kernel: add a new scheduler action for restoring the connection tracking mark - useful for ingress shaping, will be used for replacing IMQ later
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-21 00:03:20 +00:00