Commit graph

5871 commits

Author SHA1 Message Date
Felix Fietkau
f45bd67de0 ath9k: merge a pending fix for powersave
SVN-Revision: 28300
2011-09-25 18:34:38 +00:00
Jo-Philipp Wich
6addd50b9d mac80211: rework mac address generation for virtual interfaces; set locally administered bit on generated macs and change the last two bytes isntead of the first one
SVN-Revision: 28298
2011-09-25 14:14:37 +00:00
Felix Fietkau
4246c6a6b5 base-files: apply network interface settings such as macaddr, mtu and txqueuelen in prepare_interface instead of setup_interface. setting the mtu after the interface is up is unreliable on some drivers such as gianfar
SVN-Revision: 28297
2011-09-24 20:34:17 +00:00
Jo-Philipp Wich
41838f4585 base-files: make ip matching in dns add/remove functions more explicit, avoids overmatching pairs like 1.2.3.35 and 1.2.3.3
SVN-Revision: 28291
2011-09-23 08:35:50 +00:00
Jonas Gorski
896847d18c kernel: modules: usb.mk: fix a typo
Closes #10143.

SVN-Revision: 28290
2011-09-22 20:14:42 +00:00
Gabor Juhos
ffb56132e4 package/maccalc: don't expect to get all data in one read
Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>

SVN-Revision: 28266
2011-09-21 11:47:35 +00:00
Felix Fietkau
51a4dc1bb2 wpa_supplicant: increase the time between scans to reduce the number of hw resets
SVN-Revision: 28262
2011-09-20 14:45:38 +00:00
Felix Fietkau
6848e9c830 ath9k: fix antenna gain calculation
SVN-Revision: 28261
2011-09-20 10:42:45 +00:00
Felix Fietkau
ece2882ea4 ath9k: fix handling configured tx power limits
SVN-Revision: 28260
2011-09-19 17:36:41 +00:00
Felix Fietkau
f4954abe39 b43: merge ad-hoc beacon fix
SVN-Revision: 28258
2011-09-19 09:59:00 +00:00
Jo-Philipp Wich
32ae896d00 uhttpd: fix bad pointer use in previous commit
SVN-Revision: 28257
2011-09-18 23:34:25 +00:00
Jo-Philipp Wich
12bbe8b2af uhttpd: fix possible CGI header line parsing beyound the empty line, thanks Linus Luessing for spotting it
SVN-Revision: 28254
2011-09-18 22:30:20 +00:00
Felix Fietkau
b81588bd08 ath9k: add some cleanup patches and rework tx power handling
SVN-Revision: 28253
2011-09-17 16:02:56 +00:00
Felix Fietkau
eee78bbb0b ath9k: do not strip MMIC for key miss frames
SVN-Revision: 28252
2011-09-17 08:41:54 +00:00
Felix Fietkau
800251a7b7 mac80211: reduce tx queue length of wireless interfaces - improves latency under load
SVN-Revision: 28251
2011-09-17 08:34:42 +00:00
Felix Fietkau
0e9e83047d ath9k: fix a regression in handling of MAC key miss events (should improve connection stability)
SVN-Revision: 28250
2011-09-17 08:34:37 +00:00
Felix Fietkau
fca8f05757 ath9k: fix compile without debugfs (#10117)
SVN-Revision: 28249
2011-09-17 07:03:20 +00:00
Felix Fietkau
dbde8f805e mac80211/ath9k: fix excessive "Failed to stop TX DMA" logspam in client mode
SVN-Revision: 28247
2011-09-16 07:59:51 +00:00
Felix Fietkau
22be36418e mac80211: update to wireless-testing 2011-09-14
SVN-Revision: 28245
2011-09-15 17:55:16 +00:00
Vasilis Tsiligiannis
98372a8eb5 base-files: Fix IPv6 address and route adding on aliases with no IPv4 address configured
SVN-Revision: 28241
2011-09-14 13:37:44 +00:00
Vasilis Tsiligiannis
200fd7bce1 Revert "[package] base-files: Add support for assigning multiple IPv6 addresses on an interface"
Multiple IPv6 addresses should be handled with alias sections

SVN-Revision: 28240
2011-09-14 13:37:40 +00:00
Jo-Philipp Wich
9cfee14217 6to4: fix lifetime options (#9147)
SVN-Revision: 28223
2011-09-13 07:29:27 +00:00
Vasilis Tsiligiannis
718c8ab940 base-files: Add support for assigning multiple IPv6 addresses on an interface
SVN-Revision: 28222
2011-09-12 21:07:00 +00:00
Felix Fietkau
6d708d8f02 ath9k: add a better fix for beacon timer reliability
SVN-Revision: 28211
2011-09-11 11:16:20 +00:00
Jo-Philipp Wich
0fe2a1b288 broadcom-wl: implement wpa_group_rekey option (mapped to nas -g)
SVN-Revision: 28208
2011-09-09 18:21:30 +00:00
Jo-Philipp Wich
964feeb54d hostapd: introduce "wpa_pair_rekey" and "wpa_master_rekey" options, remove hardcoded wpa rekey intervals, remove hardcoded radius_acct_interim_interval as it might overrule the radius Acct-Interim-Interval attribute
SVN-Revision: 28207
2011-09-09 18:19:18 +00:00
Felix Fietkau
2fe806c2bf ath9k: fix an rx path race condition that might be the cause of the "ath: DMA failed to stop in 10 ms" logspam as well as various connection stability issues
SVN-Revision: 28202
2011-09-09 07:20:44 +00:00
Jo-Philipp Wich
609d072fee broadcom-wl: introduce "disabled" option for wifi-iface section to shutdown single networks on a radio
SVN-Revision: 28200
2011-09-08 23:34:13 +00:00
Jo-Philipp Wich
89e74f6aea madwifi: introduce "disabled" option for wifi-iface section to shutdown single networks on a radio
SVN-Revision: 28199
2011-09-08 23:31:42 +00:00
Jo-Philipp Wich
fdfa6fdbcd mac80211: introduce "disabled" option for wifi-iface section to shutdown single networks on a radio
SVN-Revision: 28198
2011-09-08 23:21:36 +00:00
Felix Fietkau
5da0d9dda1 mac80211: fix an endian issue in BlockAckReq handling
SVN-Revision: 28190
2011-09-07 06:06:34 +00:00
Felix Fietkau
1c0d12c935 mac80211: merge a power save related race condition fix
SVN-Revision: 28185
2011-09-06 11:09:40 +00:00
Felix Fietkau
2a745a7d54 ath9k: fix beacon timer init on reset
SVN-Revision: 28169
2011-09-04 19:06:02 +00:00
Felix Fietkau
a84e64e432 hostapd: add a workaround for driver issues in various android devices with texas instruments wifi
SVN-Revision: 28167
2011-09-04 18:23:36 +00:00
Jo-Philipp Wich
a6c02f8912 uhttpd: properly match mimetype entries which cover the whole filename (#8236)
SVN-Revision: 28160
2011-09-04 10:21:05 +00:00
Felix Fietkau
f24b8561d4 ath9k: fix some hw reset issues
SVN-Revision: 28151
2011-09-03 03:27:20 +00:00
Jo-Philipp Wich
7fce085a97 uhttpd: add "application/x-ns-proxy-autoconfig" mime type (#8236)
SVN-Revision: 28149
2011-09-02 13:28:29 +00:00
Jo-Philipp Wich
995face56d firewall: make ESTABLISHED,RELATED rules match before INVALID, use conntrack instead of state match (#10038)
SVN-Revision: 28148
2011-09-01 20:37:22 +00:00
Felix Fietkau
99e422472c ath9k: merge a fix for tx power limit testing
SVN-Revision: 28143
2011-09-01 18:15:03 +00:00
Felix Fietkau
44616eca49 Revert "hostapd: add a patch for ignoring the WPA/WPA2 key type to work around some broken clients (#9561)" This is causing regressions for other clients
SVN-Revision: 28141
2011-09-01 16:07:38 +00:00
Felix Fietkau
5c8270da86 ath9k: fix another crash bug
SVN-Revision: 28139
2011-08-31 23:25:37 +00:00
Felix Fietkau
7118498511 ath9k: merge a pending fix for 5 ghz rx latency
SVN-Revision: 28137
2011-08-31 06:34:53 +00:00
Felix Fietkau
7f9ad157b9 swconfig: hide inactive vlans on "swconfig dev switch0 show"
SVN-Revision: 28133
2011-08-30 21:00:01 +00:00
Felix Fietkau
a4ad239191 ath9k: add a missing dma cache sync on aggregation software retry
SVN-Revision: 28132
2011-08-30 20:59:57 +00:00
Felix Fietkau
be077babbf ath9k: add some more minor hw reset related fixes
SVN-Revision: 28129
2011-08-30 07:46:38 +00:00
Felix Fietkau
dea36724a4 base-files: remove an old network tunable tweak which is messing up network stack performance on modern systems
SVN-Revision: 28126
2011-08-29 23:34:11 +00:00
Felix Fietkau
eae76139f2 ath9k: fix a few crash issues on hardware reset
SVN-Revision: 28122
2011-08-29 18:41:18 +00:00
Felix Fietkau
78ec994ef8 ath9k: use cold reset instead of warm reset on ar9280 to make recovery from stuck states more reliable
SVN-Revision: 28118
2011-08-29 12:01:06 +00:00
Felix Fietkau
8a3d0de37b ath9k: add some cleanup patches
SVN-Revision: 28117
2011-08-29 12:01:02 +00:00
Felix Fietkau
aa5948296b ath9k: fix a compile error
SVN-Revision: 28116
2011-08-29 10:46:02 +00:00
Felix Fietkau
5abe1156e7 ath9k: fix disabling ani on reset
SVN-Revision: 28115
2011-08-29 10:40:46 +00:00
Felix Fietkau
7197dbac31 ath9k: fix processing of rx frames on channel change
SVN-Revision: 28114
2011-08-29 09:55:16 +00:00
Felix Fietkau
bf020bf5e6 ath9k: fix a tx aggregation padding issue
SVN-Revision: 28113
2011-08-29 09:55:11 +00:00
Felix Fietkau
c8b4192518 hostapd: add a patch for ignoring the WPA/WPA2 key type to work around some broken clients (#9561)
SVN-Revision: 28111
2011-08-29 08:23:13 +00:00
Felix Fietkau
01baf9084f ath9k: fix calibration on 5 ghz
SVN-Revision: 28110
2011-08-29 08:00:08 +00:00
Felix Fietkau
8643ea587a ath9k: minor fixes for the antenna control patch
SVN-Revision: 28109
2011-08-29 08:00:00 +00:00
Felix Fietkau
dcb00e0655 ath9k: prevent calibration / beacons from starting too early
SVN-Revision: 28108
2011-08-28 22:06:44 +00:00
Felix Fietkau
8a26e3d6c7 ath9k: implement rx/tx antenna control
SVN-Revision: 28107
2011-08-28 18:38:24 +00:00
Jonas Gorski
45d80c30a2 mac80211: allow building for linux 3.1 again
wireless-testing 2011-08-26 properly detects and works with linux 3.1.

SVN-Revision: 28096
2011-08-28 10:17:26 +00:00
Felix Fietkau
ce36543a7d ath: fix compile errors with CONFIG_PACKAGE_ATH_DEBUG disabled (#10013)
SVN-Revision: 28095
2011-08-28 07:34:34 +00:00
Felix Fietkau
8d25adf565 ath9k: fix cts timeout setting on 2.4 ghz
SVN-Revision: 28094
2011-08-27 23:53:49 +00:00
Felix Fietkau
46d2b929c7 mac80211: update to wireless-testing 2011-08-26
SVN-Revision: 28093
2011-08-27 21:57:07 +00:00
Florian Fainelli
0a97fda27e update acx-mac80211 to 20110821
SVN-Revision: 28089
2011-08-26 12:45:19 +00:00
Florian Fainelli
0ec7f94548 udev: bump to 173
Yet another update, I inherited a wrong behaviour with older versions.
It used to $(INSTALL_BIN) symlinks which results in copying the dereferenced
file and not the symlink itself, now uses $(CP) and it's reported working (and running)
by at least one person in IRC (using a glibc toolchain with mips). Works and runs on
my toolchain (mipsel uClibc) too.

Signed-off-by: Daniel Mierswa <impulze@impulze.org>

SVN-Revision: 28085
2011-08-25 10:49:29 +00:00
Gabor Juhos
06bc4dad81 package: dwc_otg is required for external root on ramips.
Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>

SVN-Revision: 28074
2011-08-22 18:08:49 +00:00
Hamish Guthrie
f02d0fae40 mac80211: Fix the location firmware is copied to (libertas_sdio driver loads firmware from /lib/formware/libertas)
SVN-Revision: 28069
2011-08-22 11:04:13 +00:00
Jo-Philipp Wich
9d33a50cbb mac80211: configure hostapd logging options
SVN-Revision: 28057
2011-08-20 00:14:48 +00:00
Jo-Philipp Wich
cfc23e4c49 hostapd: introduce options to configure the logging behaviour. The config wifi-device section gains the following settings: * log_level (2) - Defines the minimum message level * log_80211 (true) - Log 802.11 events * log_8021x (true) - Log 802.1X events * log_radius (true) - Log RADIUS events * log_wpa (true) - Log WPA events * log_driver (true) - Log driver interface messages * log_iapp (true) - Log IAPP events * log_mlme (true) - Log MLME events
SVN-Revision: 28056
2011-08-20 00:13:58 +00:00
Hamish Guthrie
b109c43deb Change u-boot console device to reflect change in omap serial driver
SVN-Revision: 28048
2011-08-19 12:01:30 +00:00
Florian Fainelli
86827f4c88 perf: depends on libelf1
SVN-Revision: 28033
2011-08-17 14:37:29 +00:00
Florian Fainelli
9d9722c40f kernel: add kmod-crypto-user
Add kernel crypto user-space interface (af_alg). Includes interface for
hash algorithms (algif_hash) and skcipher algorithms (algif_skcipher).

Signed-off-by: Lars Hjersted <lars@hjersted.com>

SVN-Revision: 28026
2011-08-17 08:48:38 +00:00
Florian Fainelli
d132f4c1c2 add support for DS2482 1-Wire I2C bus master
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

SVN-Revision: 28010
2011-08-16 20:33:55 +00:00
Gabor Juhos
404ca36e60 package/maccalc: a simple mac address manipulation utility
SVN-Revision: 28004
2011-08-15 18:55:51 +00:00
Gabor Juhos
09dd2b5f89 package/kernel: create package for the RT305x dwc_otg driver
Based on a patch by Layne Edwards <ledwards76@gmail.com>

SVN-Revision: 27998
2011-08-15 14:11:57 +00:00
Gabor Juhos
92c6097c73 button-hotplug: add autoload feature
Reported-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 27994
2011-08-15 14:11:49 +00:00
Hauke Mehrtens
f48acb1dc2 kernel: remove kmod-input-core just for some x86 profiles.
Not all x86 profiles have CONFIG_INPUT=y in their configuration. Just remove kmod-input-core for them.

Thank you Philip Prindeville for pointing out this problem.

SVN-Revision: 27988
2011-08-15 11:05:35 +00:00
Jonas Gorski
b413f797cf package/kernel: kmod-hid: can't mix and match DEPENDS:= and $(call SetDepends/...)
Since the SetDepends macro does a:

  DEPENDS:= ...

it can't be used after setting DEPENDS:= explicitly, or it will clobber the previous value.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 27983
2011-08-14 23:36:45 +00:00
Jonas Gorski
44b272fd58 package/kernel: Fix AddDepends/SetDepends calls with make 3.82
The module definitions depend on 001-depends.mk being the first included,
but make 3.82 does not sort the results of wildcards anymore, so do an
explicit sort of the includes.

Found by Philip Prindeville, thanks!

SVN-Revision: 27982
2011-08-14 23:36:42 +00:00
Jo-Philipp Wich
f1e7045d30 firewall: further tune ICMPv6 default rules according to RFC4890 (#9893)
SVN-Revision: 27979
2011-08-14 00:33:29 +00:00
Jo-Philipp Wich
3aa922d33c mac80211: use first available channel from current phy if channel is set to "auto"
SVN-Revision: 27976
2011-08-13 22:55:59 +00:00
Felix Fietkau
f681253412 ath9k: merge a few more pending fixes, including a fix for the bogus WARN_ON in pci.c and fixes for Rx DMA stop issues
SVN-Revision: 27972
2011-08-13 16:25:15 +00:00
Felix Fietkau
757a0d47b7 crda: update regulatory database to 2011-04-28, adds fixes for NL (#9931)
SVN-Revision: 27970
2011-08-13 14:07:01 +00:00
Felix Fietkau
57a37967f7 libubox: update to fix a compile error
SVN-Revision: 27968
2011-08-12 17:15:22 +00:00
Jo-Philipp Wich
aab33e2e9a base-files: fix arp() procedure to properly detect /usr/bin/arp
SVN-Revision: 27965
2011-08-12 14:34:39 +00:00
Felix Fietkau
5e4563221a update libubox and ubus to latest, libubox now includes jshn
SVN-Revision: 27963
2011-08-11 22:09:11 +00:00
Jo-Philipp Wich
09bc84f55b iptables: drop iptables-utils and ip6tables-utils, ship needed symlinks in iptables and ip6tables packages (#9691)
SVN-Revision: 27961
2011-08-11 21:26:44 +00:00
Felix Fietkau
400f75a1b6 mac80211: update to 2011-08-10
SVN-Revision: 27958
2011-08-11 13:52:27 +00:00
Felix Fietkau
dd46d036d9 ath9k: add a regdomain code used on newer ubiquiti networks devices
SVN-Revision: 27947
2011-08-10 16:35:43 +00:00
Jonas Gorski
33f5b77228 package/acx: mark as broken for linux 3.1
SVN-Revision: 27938
2011-08-09 12:19:36 +00:00
Jonas Gorski
b4b0adb79d package/madwifi: mark as broken for linux 3.1
Madwifi does not compile because of VLAN API changes.

SVN-Revision: 27937
2011-08-09 12:19:34 +00:00
Jonas Gorski
d43ad87c44 package/kernel: Mark mvswitch as broken for linux 3.1
mvswitch does not compile because of VLAN API changes.

SVN-Revision: 27936
2011-08-09 12:19:32 +00:00
Jonas Gorski
b9776f56d8 package/mac80211: mark as broken for linux 3.1
compat-wireless does not support 3.1 yet.

SVN-Revision: 27935
2011-08-09 12:19:30 +00:00
Jonas Gorski
d430455527 package/kernel: invert dependencies for current kernel features
Instead of depending on new kernel versions, depend on not having one
of the older ones (or vice versa for modules removed in current kernels).

SVN-Revision: 27934
2011-08-09 12:19:27 +00:00
Felix Fietkau
22e951ae46 b43: fix reloading config settings after channel changes or hostapd restart (#8033)
SVN-Revision: 27930
2011-08-08 11:28:24 +00:00
Hauke Mehrtens
6474dbe86b mac80211: always store broadcom firmware in b43 and b43legacy dir
This is always used to build a firmware for linux systems also if we are on freebsd.

This is one patch from #9897

SVN-Revision: 27926
2011-08-06 17:07:42 +00:00
Hauke Mehrtens
7ac20c54fe kernel: typo in cs5535 and cs5536 pata driver kernel definitions
closes #9773

SVN-Revision: 27924
2011-08-06 16:44:10 +00:00
Hauke Mehrtens
773ce8c319 broadcom-diag: add support for bcma
SVN-Revision: 27905
2011-08-04 20:08:57 +00:00
Hauke Mehrtens
b220442c75 switch: update for brcm47xx target
* remove suport for 2.4 kernel
* add support for bcma bus

SVN-Revision: 27904
2011-08-04 20:07:58 +00:00
Hauke Mehrtens
695cef4f45 rtc-rv5c386a: add support for kernel 3.0
remove BKL and adds support for changes in bcm47xx code

SVN-Revision: 27903
2011-08-04 20:06:17 +00:00
Hauke Mehrtens
8428ebd8e8 brcm47xx: update patches
* this adds sflash support for ssb devices
* the flash is now a platform device
* minor updates

SVN-Revision: 27902
2011-08-04 20:04:54 +00:00
Felix Fietkau
353639cdd9 ath9k: add missing chunk to the BlockAckReq fix (fixes a compile error)
SVN-Revision: 27891
2011-08-04 09:23:57 +00:00
Felix Fietkau
e9aaa9061f ath9k: add some code to control internal driver queue length limits
SVN-Revision: 27890
2011-08-04 00:35:20 +00:00
Felix Fietkau
cdc70d84ce ath9k: reduce the number of software retries, include hardware a-mpdu retries in retry counting
SVN-Revision: 27889
2011-08-04 00:35:16 +00:00
Felix Fietkau
e7174f44b7 ath9k: rework handling of sending BlockAckReq frames, should hopefully lead to fewer latency spikes
SVN-Revision: 27888
2011-08-04 00:35:12 +00:00
Jonas Gorski
61e2e03311 kernel: Fix firewire for 2.6.37+
The old ieee1394 stack was removed in 2.6.37. The new firewire stack is
available for all kernel versions, but experimental for the older one, so
make both available where appropriate.

SVN-Revision: 27874
2011-08-02 09:53:19 +00:00
Felix Fietkau
e79f073de9 mac80211: fix a compiler warning
SVN-Revision: 27870
2011-08-01 21:14:15 +00:00
Felix Fietkau
c330325bda broadcom-wl: fix setup of virtual interfaces (patch by Nathan Hintz)
SVN-Revision: 27868
2011-08-01 18:41:05 +00:00
Florian Fainelli
901618c68d perf: mark as broken for now
Until we properly deal with the various versions of libelf we package,
mark perf as broken

SVN-Revision: 27867
2011-08-01 18:16:19 +00:00
Felix Fietkau
9f3aea65fc mac80211: add missing chunks to the compat_firmware_class change
SVN-Revision: 27864
2011-08-01 17:52:07 +00:00
Felix Fietkau
21dd9478d7 mac80211: move compat_firmware_class.ko into compat.ko (fixes #9864)
SVN-Revision: 27863
2011-08-01 17:42:00 +00:00
Vasilis Tsiligiannis
0cd8805b0a kernel/modules: Add missing config symbol
SVN-Revision: 27862
2011-08-01 14:45:03 +00:00
Felix Fietkau
d3f4416d58 ath9k: prevent the aggregation code from sending packets to sleeping stations - should fix some latency issues
SVN-Revision: 27861
2011-08-01 12:15:22 +00:00
Felix Fietkau
a1e19186fa ath9k: fold patches that were merged upstream into 300-pending_work.patch
SVN-Revision: 27860
2011-08-01 12:15:15 +00:00
Jonas Gorski
478decc60b gdb: add dependency to libexpat when present
Also prevent gdb from trying to link against the host's libexpat.

SVN-Revision: 27859
2011-08-01 09:32:01 +00:00
Jonas Gorski
eb90f30ce7 package/kernel: move kmod-fs-mbcache into fs-ext4
mbcache is only needed if xattr support is enabled, but this is only true
for ext4 on 2.6.37+, so just bundle it with ext4 when needed.

SVN-Revision: 27849
2011-07-31 17:58:46 +00:00
Jo-Philipp Wich
8fc2981bcd dropbear: - split port argument at the rightmost colon, allows binding to specific IPv6 addresses - don't use uci ipaddr var but resolve ifname and get addresses from it (#9853)
SVN-Revision: 27843
2011-07-31 12:05:54 +00:00
Felix Fietkau
26fed98ce6 qos-scripts: disable by default
SVN-Revision: 27832
2011-07-29 16:32:55 +00:00
Felix Fietkau
35463493e8 hostapd: fix a compile issue when compiling wpa_supplicant (fixes #9837)
SVN-Revision: 27830
2011-07-29 14:14:32 +00:00
Felix Fietkau
a5edb705b4 ath9k: fix switching channel bandwidth from 5/10 back to 20mhz
SVN-Revision: 27827
2011-07-29 12:25:46 +00:00
Felix Fietkau
32868c1a00 hostapd: fix wds interface address handling for multi-bssid
SVN-Revision: 27823
2011-07-29 09:40:24 +00:00
Felix Fietkau
3712ca3f9b hostapd: use a timeout of 1000ms instead of 100ms for the first gtk rekey eapol frame
SVN-Revision: 27822
2011-07-29 09:40:19 +00:00
Gabor Juhos
2e339a6466 swconfig: fix backward compatibility
swconfig fails to load uci configuration after the generic switch
identifier changes.

root@OpenWrt:/# uci show network | grep switch
network.@switch[0]=switch
network.@switch[0].name=eth0
network.@switch[0].reset=1
network.@switch[0].enable_vlan=1
network.@switch_vlan[0]=switch_vlan
network.@switch_vlan[0].device=eth0
network.@switch_vlan[0].vlan=1
network.@switch_vlan[0].ports=0t 2 3 4 5
network.@switch_vlan[1]=switch_vlan
network.@switch_vlan[1].device=eth0
network.@switch_vlan[1].vlan=2
network.@switch_vlan[1].ports=0t 1
root@OpenWrt:/# swconfig dev eth0 load /etc/config/network
Failed to apply configuration for switch 'switch0'
root@OpenWrt:/# swconfig dev switch0 load /etc/config/network
Failed to apply configuration for switch 'switch0'

SVN-Revision: 27820
2011-07-28 19:54:11 +00:00
Felix Fietkau
4dd9373b3e ppp: remove zero-length patches
SVN-Revision: 27819
2011-07-28 17:34:44 +00:00
Felix Fietkau
4c4da37c09 ppp: version bump to 2.4.5
Bump to the current version of PPP.

A few of the patches are either in 2.4.5 or something functionally equivalent is, so those patches were removed.

1 patch was added to accommodate pppol2pv3_addr which is referenced in a linux kernel header file, but isn't defined in the kernel header files packaged with PPP.

Redux: re-instate the commenting out of the exponential back-off as requested by Felix.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 27818
2011-07-28 16:51:12 +00:00
Jonas Gorski
eaa935658b swconfig: Add generic switch identifiers
Also make switches available under a generic name "switch<num>" for device
name agnostic access. The old device name is used as an alias for backward
compatibility.

SVN-Revision: 27800
2011-07-27 18:00:18 +00:00
Felix Fietkau
8ff7756e82 base-files: warn when calling /etc/init.d/<script> enable and neither START nor STOP is defined
SVN-Revision: 27797
2011-07-27 09:02:10 +00:00
Jo-Philipp Wich
7a206885df firewall: prevent redundant rules if multiple ports and multiple icmp types are given in a rule block for both icmp and other protocols
SVN-Revision: 27792
2011-07-26 22:21:39 +00:00
Felix Fietkau
d6431df9c1 ath9k: rework tx power handling - display the correct *current* tx power, and also fix tx power limits with ATH_USER_REGD set
SVN-Revision: 27788
2011-07-26 20:53:40 +00:00
Felix Fietkau
d0cea742bb mac80211: merge a few pending fixes for channel switch handling
SVN-Revision: 27783
2011-07-26 15:11:27 +00:00
Jo-Philipp Wich
20d62f8e5f linux-atm: don't fail if an PREFIX env var is set
SVN-Revision: 27779
2011-07-26 10:47:59 +00:00
Jo-Philipp Wich
94c728dc39 base-files: use "reboot -f" after sysupgrade to prevent executing deleted init scripts
SVN-Revision: 27776
2011-07-25 22:19:55 +00:00
Felix Fietkau
1266eb49ee mac80211: rename a misnamed patch
SVN-Revision: 27769
2011-07-25 09:56:23 +00:00
Felix Fietkau
b87d25ea75 mac80211: remove the ccmp rx pn workaround, it should no longer be necessary and it was reported to cause connection stability issues (see #9646)
SVN-Revision: 27764
2011-07-25 06:29:00 +00:00
Hauke Mehrtens
866a22dc67 kernel: crypto: fix spelling
SVN-Revision: 27757
2011-07-24 15:08:17 +00:00
Hauke Mehrtens
00dd85d8f6 ocf-linux: version bump to 20110720
Fixes problem with TFM allocation in cryptosoft.c

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

Hauke:
 * remove ubsec_ssb package and take it from ocf-linux
 * use patches from ocf-linux package
 * refresh all patches
 * readd some build fixes for OpenWrt.
 * readd CRYPTO_MANAGER dependency

SVN-Revision: 27753
2011-07-24 14:17:58 +00:00
Jo-Philipp Wich
8ecad9c51a broadcom-wl: give the 007 patch a more meaningful name
SVN-Revision: 27752
2011-07-24 14:14:48 +00:00
Jo-Philipp Wich
1d7ae4aba7 broadcom-wl: make it work on the RT-N16 and other device using the BCMA bus - refresh and reorder patches - introduce a unified BCMA/SSB glue driver to accomodate for both bus types on brcm47xx - extend wlunbind init script to detach device from bcma-pci-bridge as well
SVN-Revision: 27751
2011-07-24 14:10:39 +00:00
Hauke Mehrtens
0df7ae0418 mac80211: do not build bcma from compat-wireless
SVN-Revision: 27750
2011-07-24 12:29:27 +00:00
Hauke Mehrtens
aa37b9656d mac80211: fix typo and make broken options depend on BROKEN
SVN-Revision: 27735
2011-07-23 11:32:19 +00:00
Hauke Mehrtens
96b6f27271 mca80211: add support for b43 on bcma bus.
This makes b43 work on broadcom SoCs using bcma as system bus.

SVN-Revision: 27734
2011-07-23 11:25:05 +00:00
Hauke Mehrtens
0390780c34 kernel: add bcma package
SVN-Revision: 27732
2011-07-23 11:17:36 +00:00
Jo-Philipp Wich
365f76551a base-files: attempt bring up related wifi devices when calling ifup If a user invoked /sbin/ifup to bring up an interface, the setup used to fail in case of wireless networks tied to a non-bridged interface definition. Likewise, the bringup of "lan" in the default configuration will reinitialize the bridge but do not re-join the wireless network to it, requiring an extra call to /sbin/wifi (which might not be possible anymore due to a severed link if connected wirelessly).
The changeset modifies the "ifup" command to search for related wireless
devices and call "wifi up" on them if applicable. This way the commands for
wireless and non-wireless interfaces are unified from a cli point of view.

The "ifup -a" case has not been changed to keep the logic of the
/etc/init.d/network boot sequence. This might be changed later.

Solves #9763.

SVN-Revision: 27720
2011-07-22 00:21:20 +00:00
Jo-Philipp Wich
90ac92e8be firewall: fix serious bug in state var handling (#9746)
SVN-Revision: 27711
2011-07-20 15:29:10 +00:00
Felix Fietkau
49b905a2cf comgt: clean up patch, rename gcom binary to comgt, but add a compatibility symlink
SVN-Revision: 27699
2011-07-20 08:47:19 +00:00
Felix Fietkau
60d593c2d7 uci: fix one more unused-but-set issue (#9731)
SVN-Revision: 27698
2011-07-19 20:44:35 +00:00
Jo-Philipp Wich
9c606eb4c5 uhttpd: pass feature flags (#9742)
SVN-Revision: 27689
2011-07-19 06:59:47 +00:00
Felix Fietkau
80ae98d604 ath9k: validate eeprom chainmask settings, some Ubiquiti devices (and maybe others) contain bogus data, which breaks wifi
SVN-Revision: 27688
2011-07-19 06:42:26 +00:00
Jo-Philipp Wich
6576d110d2 uhttpd: support building against openssl instead of cyassl, minor cleanups (#7827)
SVN-Revision: 27686
2011-07-18 14:18:31 +00:00
Felix Fietkau
75d2ba7a5c uci: update to fix more unused-but-set issues (#9731)
SVN-Revision: 27681
2011-07-18 10:09:53 +00:00
Felix Fietkau
226ad1d259 uci: update to 2011-07-18, fixes #9731
SVN-Revision: 27680
2011-07-18 06:32:45 +00:00