1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-01 02:51:33 +02:00
Commit Graph

4336 Commits

Author SHA1 Message Date
nbd
ef5d60de3b madwifi: fix encryption type check
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12421 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-28 12:41:55 +00:00
nbd
a9a07e375b madwifi: only start hostapd when necessary
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12420 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-28 12:13:36 +00:00
nbd
305106cae5 add autoload for spi-ks8995
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12419 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-28 00:15:31 +00:00
nbd
da0a101791 mtd: add jffs2 cleanmarker for big endian systems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-28 00:15:22 +00:00
nbd
fbb46d4f12 ppp: derive interface unit numbers from previous enumeration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12417 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-28 00:15:10 +00:00
nbd
0bb0fd1e71 fix ppp interface enumeration - don't enumerate already processed interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12416 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-27 22:19:42 +00:00
nbd
720ac73e79 upgrade to uci 0.6.1 - lots of cli and lua binding fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-27 21:16:20 +00:00
nbd
a9f3df622f fix uboot-ifxmips compile on mac os x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12412 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-27 21:02:01 +00:00
blogic
f773249a7a fixes broken if-then in led init script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-27 20:33:13 +00:00
nbd
113ff08a1f fix busybox compile on mac os x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-27 19:35:47 +00:00
blogic
1818023bf0 make uci firewall backwards compatible to the old firewall.user
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-27 19:16:54 +00:00
blogic
41ac8d9c29 add proto tcpudp to firewall
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-27 18:54:52 +00:00
blogic
e3073ce270 fix device duplication in firewall if the balancing of ifup and ifdown is broken
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12404 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-27 18:31:34 +00:00
blogic
5d9144f606 make sure uci firewall reverts its states when stopped
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-27 16:48:54 +00:00
blogic
b3bb348939 fixes uci firewall init order, Signed-off-by: Roberto Riggio
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12402 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-27 15:55:21 +00:00
florian
7c2ceb7a25 This patch enables the new ath5k driver. Works for me with X86 Alix
board an AR2413 minipci card. iw and iwconfig works.

Signed-off-by:  Dirk Nehring <dnehring@gmx.net>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-27 14:09:29 +00:00
cyrus
101992b80b firewall: Added support for port-ranges as firstPort-lastPort to redirect sections
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-27 14:04:52 +00:00
blogic
4927575ba5 adds 5 new chains to the uci firewall that can be used to hook custom rules
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-27 12:03:48 +00:00
florian
833c6d3623 A WPA(2) pre-shared key can either be specified as a 8 to 63 character passphrase which is hashed to a 256 bit key together with the SSID, or a 64 character hex key. Currently, the latter option is supported by the broadcom wifi type, but no by hostapd. The attached patch allows using a 64 character hex key. (#3935)
Signed-off-by: thomas@archlinux.org


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-26 17:19:00 +00:00
blogic
f814b55b45 adds several fixes to etrax, make openssl work on etrax
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-26 11:36:06 +00:00
blogic
60197a65d9 adds more sanity checks to uci firewall
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12392 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-26 11:07:04 +00:00
blogic
6a94232068 use proto instead of protocol in uci firewall
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12391 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-26 07:23:29 +00:00
florian
7102aaa3a3 Fix bridge-utils configuration failure (#3931), thanks sn9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12388 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-25 10:06:25 +00:00
florian
e2ed54aba7 Use busybox mount, could be overriden to use util-linux-ng for instance, thanks sn9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12386 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-25 05:21:42 +00:00
cyrus
7fcfeb5486 Updated Lua to 5.1.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-24 15:45:26 +00:00
nbd
7196f4da13 lua: remove an unnecessary check and replace switch (GET_OPCODE(i)) as well (thx, lars)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12381 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-24 14:28:04 +00:00
nbd
2bfa71f5d7 improve lua opcode dispatch performance by using computed goto instead of switch/case - improves performance by about 10% in a simple loop test
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-24 13:37:56 +00:00
thepeople
1454293414 fix bridge utils for brcm-2.4 from http://dev.luci.freifunk-halle.net/001-brcm2.4-fix-bridge-utils.patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12377 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-24 02:40:20 +00:00
florian
ce140e52cb Fix hostapd with open access point and per-device configuration, thanks sn9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12375 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-23 21:21:04 +00:00
nbd
8a163823e3 upgrade uci to 0.6.0 - many bugfixes and an API cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12373 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-23 14:26:31 +00:00
nico
049171c27a oops, fix typo in [12368]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12369 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-22 05:03:37 +00:00
nico
aed12f5d8b install ppp development headers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12368 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-22 05:02:04 +00:00
juhosg
567f8df77e [magicbox] fix the CF driver on 2.6.26.x, and create a package for it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12364 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-21 16:52:06 +00:00
nbd
aa350ee98d madwifi: keep a/g mode and pureg setting in sync across vaps
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12363 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-21 14:54:51 +00:00
nico
cdd2f654f3 fix kmod-ipt-imq module generation (closes: #3896)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12361 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-21 13:17:47 +00:00
nico
d854dd1d59 move more extra packages from ./trunk to ./packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12359 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-20 22:00:41 +00:00
nico
e670e0d1d2 add missing dependencies on libblkid/libuuid for mount-utils/swap-utils (should close: #3730), bump release number
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-20 16:04:21 +00:00
nico
5775f91347 add a patch to use relative symlinks for development shared libraries
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12355 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-20 16:01:33 +00:00
nbd
0ca73d07c3 disable ath9k on all platforms without pci support, not just uml
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12354 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-20 15:46:46 +00:00
nbd
97501ba110 upgrade to uci 0.5.0, adds list handling support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-20 15:38:51 +00:00
nico
2bd41cf0d4 disable ath9k on uml
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12352 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-20 15:33:05 +00:00
nico
20b66117aa disable ipv6 systcl call, as ipv6 is not enabled by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-20 15:29:11 +00:00
nico
1b43b384d7 remove empty patches left over after [12348]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12350 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-20 15:20:19 +00:00
kaloz
ac2d02c3e0 upgrade busybox to v1.11.1 and add current upstream fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12348 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-20 14:00:34 +00:00
kaloz
e90b272ea7 rename patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12347 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-20 13:58:09 +00:00
kaloz
fc7ac0c1a5 upgrade bridge-utils to v1.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12346 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-20 13:56:57 +00:00
nbd
fe53cab771 fix uci_set_state for empty values
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-20 12:34:17 +00:00
blogic
8a1e72be0a fixes variables, oops
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12344 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-20 11:45:23 +00:00
blogic
6279cc1ca5 adds the option to have no proto for a interface, usefull if the uci states need to be set, but interface bring up is handled somewhere else
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12343 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-20 11:17:40 +00:00
blogic
2b0f31d362 add section names to dnsmasq config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-19 22:05:41 +00:00
nbd
ef5d82c263 madwifi: more wds sta related fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12341 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-19 18:22:03 +00:00
nbd
18e4940bcb enable TCP ECN by default (see #3001 for more information)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-17 13:01:59 +00:00
nbd
b8fc6bb720 fix some firewall script typos (patch from #3897)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12332 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-17 12:01:01 +00:00
thepeople
75806cb4b0 add /etc/firewall.user to be backed up becuase it is an example in /etc/config/firewall
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-16 18:01:18 +00:00
nbd
95a0dee6f2 add vif selection fix for the broadcom-wl wifi script (thx, sn9)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-16 17:00:27 +00:00
nbd
468573605a fix madwifi napi polling packet counting
final fix for #3880


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-16 17:00:13 +00:00
thepeople
21fc452c29 remove unneeded line
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12321 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-16 16:46:11 +00:00
thepeople
39788de806 remove /etc/firewall.* from being kept as they no longer are used in trunk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12320 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-16 16:04:51 +00:00
thepeople
d5dc9a9087 make opkg the default package manager, disable busybox ipkg from building by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12319 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-16 06:35:14 +00:00
thepeople
3de484921c fix typo, proto should be protocol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12318 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-16 06:33:22 +00:00
blogic
b4667d52b0 trigger error if dport is used when no proto is defined
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12317 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-15 20:18:13 +00:00
thepeople
eb1995908d fix symlinks when installing opkg into a image
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12316 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-15 04:13:21 +00:00
florian
d5249b218d Fix negative calculation of the tmpfs for devices with few RAM (#3557)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-14 22:21:35 +00:00
blogic
a0745cadd4 remove /etc/functions.sh call from led hotplug script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12312 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-14 19:07:22 +00:00
nico
cbadcab30f move qc-usb from trunk to packages as well (see [12260])
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12304 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-14 10:53:12 +00:00
florian
7702f8e350 Fix opkg compilation with ccache, thanks sn9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12303 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-13 21:12:26 +00:00
florian
d3fbe99b9d Update b43 to work in AP mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12300 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-13 19:37:40 +00:00
florian
ccec079b2f Allow mac80211 drivers to work in master mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12299 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-13 19:35:29 +00:00
florian
0e23a76f3d Update hostapd to 0.6.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12298 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-13 19:32:40 +00:00
juhosg
a456d44645 [package] i2c-gpio-custom: minor bugfix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12297 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-13 18:48:48 +00:00
florian
a8d1b57fac Fix putting mac80211 interfaces in monitor and managed modes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-13 14:06:16 +00:00
florian
54a7242228 Fix a bug when parsing ca_cert and eap_type with wpa_supplicant, this should only be set for 802.1x setups
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12292 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-13 13:30:27 +00:00
florian
6abeb0b191 Add generic wpa_supplicant calls and use them for mac80211 and madwifi.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12289 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-12 14:22:42 +00:00
blogic
fc95e15a63 fixes firewall makefile description
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12285 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-11 22:28:52 +00:00
blogic
aa954c1c5d uci firewall
- make uci firewall default and remove old code
- fix up dependencies


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-11 22:27:36 +00:00
florian
17d1b91a96 Add 802.1x client configuration support and corresponding documentation (#2069)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-11 21:38:50 +00:00
blogic
05edc29f3a uci_firewall
- fixes hotplug.d script



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-11 20:51:51 +00:00
blogic
4905eac3af uci firewall
- remove implicit creation of zones, based on network interfaces


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12281 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-11 20:46:17 +00:00
nbd
671fedb27c madwifi: napi polling fix
- fix u_int negative comparison
 - add some reserve for polling packets (ff has two frames in one descriptor)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-11 14:36:50 +00:00
nbd
5d8f115d9b switch the br2684 default to routed mode instead of bridged mode, as it's more common
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12277 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-11 13:02:44 +00:00
nbd
01c1e0b52d add missing dependency
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12270 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-10 15:49:52 +00:00
nbd
0177637492 fix kmod-ide-core packaging for 2.6.26+
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-10 14:37:23 +00:00
nbd
340c4f0a91 add missing kconfig symbol for generic ide
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12268 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-10 14:37:18 +00:00
nbd
a83ed86ff2 fix aes on x86 (thx, Acinonyx)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12267 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-10 12:06:23 +00:00
nbd
89695426e7 move some webcam/sound related stuff from trunk to packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12260 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-09 20:36:05 +00:00
florian
53f304adae Make sure we will have lower case MAC addresses when doing WDS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-09 10:00:49 +00:00
florian
606962d071 Do not run telnet if either dropbear or openssh server are running (#3839)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12258 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-09 09:50:12 +00:00
florian
d3117c4dc3 Support encrypted WDS connections (#2463)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12251 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-09 00:18:25 +00:00
nbd
201ca503a1 add support for appending a file to jffs2 during reflash on the fly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12250 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-08 22:43:19 +00:00
florian
ee25f77757 package iproute2 has problems building on recent BSD-derived platforms
because some programs to be run on the host use malloc.h in an
incompatible way.

package/iproute2/patches/004-darwin_fixes.patch has a fix for Darwin,
however the fix can be made to work on other BSD platforms
by changing the patch as below.

I think a similar approach should work for other BSD-derived platforms,
replacing the
	#ifndef __APPLE__
with
	#if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(...)

or perhaps even with just

	#ifdef __linux__

if the set of platforms where malloc.h is ok is small or restricted
to just linux

In any case, the patch is below. (#3869)
Signed-off-by: Luigi Rizzo <rizzo@iet.unipi.it> 


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-08 21:49:17 +00:00
nbd
9fb77da451 add basic interface alias support.
for now (since we don't use ip in our network scripts yet), it adds :1, :2, ... alias interfaces
this will change when we add support for the ip utility, but the config format will remain the same.
example:

config alias     test
option interface lan
option ipaddr    192.168.1.1
option netmask   255.255.0.0


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12241 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-07 15:28:48 +00:00
florian
9c60f181c1 Add 11gdt, 11adt, 11ast and fh modes (#3824)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12240 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-07 15:28:07 +00:00
juhosg
a61f0baa4c [adm5120] add 2.6.26 specific files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12239 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-07 13:50:02 +00:00
cyrus
4d7ce1f5ca added support for the timer-trigger to uci LED support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-07 11:01:46 +00:00
mbm
cba027e9e2 allow ctrl-c to trigger preinit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12231 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-07 07:17:03 +00:00
nbd
78202d191b use $(FPIC) in a few places where it matters
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12225 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-06 22:10:29 +00:00
florian
c786c39b77 kexec for powerpc actually only support ps3 or gamecube, not magicbox for instance
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12223 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-06 20:20:02 +00:00
juhosg
199fc12ea5 [package] ebtables: useless without kmod-eptables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12214 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-06 15:28:49 +00:00
nbd
030f665b05 spca5xx-le does not work with linux 2.6.26+
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12194 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-06 01:21:02 +00:00
nbd
1d75833a6d fix qc-usb compile on atheros
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12185 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-05 23:20:42 +00:00
nbd
277a5a8f9d fix ov51x-jpeg compile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12183 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-05 22:56:34 +00:00
nbd
e7a5d248ed install libshared into the staging dir (required by wrt-radauth)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12181 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-05 22:32:26 +00:00
nbd
2e63919e78 fix nw802-2.4 compile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12180 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-05 22:31:32 +00:00
nbd
28dbe639cc madwifi: fix crash on ad-hoc interface init
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12161 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-05 20:53:39 +00:00
nbd
1e242d0896 mark mac80211 as broken on avr32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12147 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-05 18:02:34 +00:00
florian
352ead350c Fix ipkg compilation with ccache, thanks sn9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12137 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-05 14:04:23 +00:00
florian
e87769159c Reinstate rdc bootability and force it to use init=/etc/preinit, thus the remove the hackish SetInitramfs actions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-05 13:42:36 +00:00
juhosg
677508fba0 [kernel] modules/gpio_dev: move to drivers/char/ on older kernels as well, and create a package for it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12133 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-05 09:52:23 +00:00
nbd
69938ec595 some more fixes for wds sta separation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12127 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-05 07:19:07 +00:00
thepeople
915064ef9a update opkg to 4564, fixes a couple of memory leaks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-05 00:48:44 +00:00
blogic
54fc9ba6a1 move json-c to packages feed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12114 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-05 00:34:30 +00:00
blogic
381d664e03 EOF for fonera-mp3 packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12113 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-05 00:33:04 +00:00
blogic
a5179e93dd move foxboard utils to packages feed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12111 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-05 00:30:41 +00:00
blogic
3070019b68 add uci led support
- /etc/config/system can hold led info which is applied at boot
- adds /sbin/led.sh to set/clear leds via a name defined in /etc/config/system



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12104 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-04 22:56:46 +00:00
nico
bcc9b3fed8 rework workarounds for crypto modules renamed in 2.6.24 & 2.6.25, add workaround for sha512 renamed in 2.6.26
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-04 16:59:16 +00:00
blogic
8e2cf077d0 adds a new uci firewall
- iptbales and netfilter packages need to be rewrapped when we switch to this firewall as default
- there are some examples in the file /etc/config/firewall
- iptables-save/restore are still missing
- hotplug takes care of adding/removing netdevs during runtime
- misisng features ? wishes ? let me know ...



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-04 11:51:58 +00:00
blogic
d738ce5587 fixes whitespace error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12088 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-04 11:47:46 +00:00
blogic
1cc41c8808 work aroung error message during boot if swapon is nt installed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-04 08:50:16 +00:00
blogic
1cc4a34061 remove warning from hotplug2, which pops up 10 times during boot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-04 08:04:16 +00:00
nbd
f78a2712af madwifi: more fixes and cleanups for wds sta separation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12082 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-03 21:00:34 +00:00
nbd
78fa722e25 network scripts: revert the network state after running ifdown, not before
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12081 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-03 21:00:01 +00:00
kaloz
a4c1d0a1d4 update ath9k to latest git version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12079 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-03 14:28:21 +00:00
nbd
8d8ca10799 make grub compilable under fedora core 8 and other newer distros
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12076 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-02 15:15:33 +00:00
agb
93df4822c1 [kernel] Fix broken hso kmod definition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12074 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-02 07:35:51 +00:00
agb
d10bdef83b [kernel] net/usb: only package hso for 2.6.26
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12069 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-02 03:19:42 +00:00
thepeople
c91999ec52 try to clean up some kernel configs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12067 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-02 02:33:15 +00:00
nbd
b9748363b5 madwifi: disable bogus vlan handling code which actually breaks vlan
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-01 13:42:36 +00:00
florian
e41e39fc1c OCF cannot be built under UML
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12064 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-01 10:05:12 +00:00
nbd
8ed5dc9445 use the same hotplug2 parameters for initramfs and regular
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-01 03:09:20 +00:00
nbd
53f7e4a36b move the hotplug2 kill command from preinit to /etc/init.d/boot, so that it works for initramfs as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-01 03:01:42 +00:00
nbd
1f75fe411e avoid duplicate vlan add events
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-01 03:01:25 +00:00
nbd
7ba36c94c2 enable wds sta interface splitting by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12056 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-01 00:38:47 +00:00
nbd
ebae5f1bae madwifi: remove wds type of wifi-iface without essid, imho it never worked properly and is unsupported now, regular ap/sta with option wds 1 is preferred
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-01 00:26:44 +00:00
nbd
cda50e23c5 use the madwifi driver instead of wext in the wpa_supplicant command line. the madwifi driver can associate faster because it uses a different ioctl interface
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-31 22:50:43 +00:00
nbd
fb29f29bc3 madwifi: fix race condition triggered by active split wds sta interfaces during vap delete
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12052 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-31 22:41:31 +00:00
nbd
46c00b4f55 fix multicast/authframe handling for wds ap with split sta interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-31 21:11:27 +00:00
nbd
7655f63af9 initialize the CONFIG_APPEND variable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12050 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-31 21:11:15 +00:00
nbd
8d1ca8799d madwifi: add some beacon setup/update related fixes (based on Bruno Randolf's patchset)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12049 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-31 18:59:25 +00:00
nbd
9b149826da fix madwifi packet injection
This patch from madwifi commit 3337 makes packet injection work.

Signed-off-by: Petr Liebmann <petrliebman@googlemail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12048 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-31 17:37:09 +00:00
nbd
0270f3b748 madwifi: add 0.9.4 madwifi as a menuconfig option, as requested in some mails/tickets
untested, does not work with 2.6.26


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12047 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-31 17:27:55 +00:00
nbd
4d5815a4fa another one ...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12045 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-31 16:16:56 +00:00
nbd
a728ebf622 upgrade to uci 0.4.7 - fixes a stupid regression introduced in 0.4.5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12044 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-31 15:56:35 +00:00
kaloz
14629087aa sync ath9k with latest git code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12038 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-31 09:51:31 +00:00
nbd
3e5a9940c6 fix config_clear(), see #3054
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12036 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-31 03:04:32 +00:00
nbd
43c33080b7 enable iw for all 2.6 versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12035 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-31 02:43:42 +00:00
nbd
b01bdf5236 fix duplicate "doth" interface option in madwifi
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-31 02:25:43 +00:00
nbd
4a91835511 broadcom-diag: reset the interrupt mask of configured leds to avoid spurious interrupts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12030 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-31 01:33:14 +00:00
nbd
195d365bb1 upgrade to uci 0.4.6 - fixes a parser glitch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12028 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-31 01:10:22 +00:00
nbd
81de0abd55 link default routes added by the network scripts to the appropriate interface (#2621)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-30 22:49:25 +00:00
nbd
e49ecf1adf network scripts: properly maintain the network state's list of assigned interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-30 22:39:56 +00:00