Felix Fietkau
47730fe355
netifd: prevent an unnecessary restart of netifd-managed wifi interfaces at boot time
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39046
2013-12-13 16:43:11 +00:00
Imre Kaloz
1eff212ce8
fix jffs2 with internal libgcc and switch omap4 to ext4
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 39044
2013-12-13 16:38:43 +00:00
Felix Fietkau
9c3adcb2e6
iw: reduce size and make the phy dump output more readable
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39041
2013-12-13 11:02:05 +00:00
Felix Fietkau
594442a37e
opkg: do not add blank "Provides:" fields to package metadata
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39039
2013-12-13 10:40:26 +00:00
Felix Fietkau
b656a56225
/sbin/wifi: reload network/wireless on wifi restart
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39036
2013-12-11 19:48:19 +00:00
Felix Fietkau
3f744a4ad3
netifd: fix crashes triggered by adding/removing wireless devices on reload
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39035
2013-12-11 18:23:52 +00:00
Luka Perkov
bda5d40721
kernel: add CAN modules
...
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 39032
2013-12-11 10:56:08 +00:00
Jo-Philipp Wich
10972d9f02
mac80211: add missing set_default to fix stray "radio0: sh: bad number" messages
...
SVN-Revision: 39028
2013-12-10 16:24:52 +00:00
Jo-Philipp Wich
32223b3c4d
hostapd: fix short_preamble option
...
SVN-Revision: 39027
2013-12-10 16:24:48 +00:00
John Crispin
d24434db0a
libevent2: Configure with --disable-debug-mode
...
Saves around 10K.
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 39025
2013-12-09 18:26:58 +00:00
John Crispin
67e71176cb
ubox: fix logging support. the initial connect failed
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39024
2013-12-09 18:24:30 +00:00
John Crispin
dda5dfb765
procd: update procd, add ulimit support
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39023
2013-12-09 17:38:19 +00:00
John Crispin
e231f82cc0
ubox: fix up pidcount handling inside log.init
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39022
2013-12-09 17:29:44 +00:00
John Crispin
bc76dec31f
gpio-button-hotplug: add irq mode to driver
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39021
2013-12-09 17:29:39 +00:00
John Crispin
31a2912cd9
netifd: enable coredumps again
...
got broken due procd startup. Requires procd resource limit patch.
Signed-off-by: Ulrich Weber <uw@xyne.com>
SVN-Revision: 39020
2013-12-09 17:29:34 +00:00
Luka Perkov
98009790c6
kernel: module updates for 3.12
...
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 39008
2013-12-09 11:30:18 +00:00
Luka Perkov
3ceb6b3274
base-files: fix whitespaces
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 39006
2013-12-09 11:30:14 +00:00
Jo-Philipp Wich
18dd101903
hostapd: properly parse wmm and hidden uci options ( #14589 )
...
SVN-Revision: 39005
2013-12-08 20:51:21 +00:00
Felix Fietkau
6242255df2
netifd: update to the latest version, adds tunnel fixes by Hans Dedecker and adds back support for multiple networks per wifi-iface
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39004
2013-12-08 18:00:05 +00:00
Felix Fietkau
be0395261b
mac80211: fix using custom wifi-iface ifname option with netifd
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39003
2013-12-08 18:00:01 +00:00
Felix Fietkau
f56030265d
mac80211: merge an ibss dfs locking fix
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39002
2013-12-08 14:48:34 +00:00
Felix Fietkau
7a260c3620
ath9k: merge initval and tx gain table updates, calibration fixes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39001
2013-12-08 14:48:30 +00:00
Felix Fietkau
1c1d5fac2e
mac80211: refresh patch
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39000
2013-12-08 14:48:25 +00:00
Imre Kaloz
48b4988e55
add support for the wl18xx, split wlcore from wl12xx
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38997
2013-12-06 14:07:13 +00:00
Steven Barth
4bdd40c08b
odhcpd/6c: Add config menu for prefix class ext.
...
SVN-Revision: 38996
2013-12-05 12:17:09 +00:00
Felix Fietkau
95065c08b0
ath9k: fix length handling of unaggregated frames (might resolve some rts/cts issues)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38995
2013-12-04 22:59:36 +00:00
Steven Barth
fb6ebac74a
odhcpd: Fix ubus integration
...
SVN-Revision: 38994
2013-12-04 13:14:27 +00:00
Felix Fietkau
ee2cd0354c
mac80211: fix ad-hoc network setup with netifd ( #14564 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38993
2013-12-03 16:22:56 +00:00
Felix Fietkau
4155016637
netifd: update to the latest version, improves wireless status output and fixes some bridge handling issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38992
2013-12-03 14:17:44 +00:00
Felix Fietkau
603c532eed
hostapd: fix maclist processing with netifd
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38991
2013-12-03 09:02:58 +00:00
Felix Fietkau
6e0fafd816
wifi: restart netifd wifi interfaces on the "up" command like the old variant
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38990
2013-12-02 16:53:27 +00:00
Felix Fietkau
3c50feca19
wifi: rename the "reload" (restarting non-netifd wifi) command to "reload_legacy"
...
Add a new "reload" command that reloads the netifd config as well
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38989
2013-12-02 16:53:24 +00:00
Felix Fietkau
498d84fc4e
netifd: add wireless configuration support and port mac80211 to the new framework
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38988
2013-12-02 16:41:03 +00:00
Felix Fietkau
c9902e141e
uci: update to the latest version, adds a small uci_to_blob fix
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38987
2013-12-02 13:08:17 +00:00
Felix Fietkau
a26242cb63
hostapd: change the wildcard for the hostapd control socket directory
...
prepare for using /var/run/hostapd instead of /var/run/hostapd-phy*
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38986
2013-12-02 13:08:14 +00:00
Felix Fietkau
9381eaccb3
wpa_supplicant: clean up hostapd control socket on exit to fix socket leak in ap+sta mode on wifi restarts
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38985
2013-12-02 13:08:11 +00:00
Felix Fietkau
6960ae4e65
hostapd: fix os_daemonize vs starting process race by creating the pid file in the parent
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38984
2013-12-02 13:08:08 +00:00
Felix Fietkau
0d557b5fc4
libubox: update to latest version, adds some more jshn performance improvements and fixes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38983
2013-12-02 13:08:03 +00:00
Felix Fietkau
107bcb5de3
netifd: remove redundant calls to /sbin/wifi down
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38982
2013-12-02 13:08:00 +00:00
Felix Fietkau
5022b3949a
hostapd: always include p2p options in wpa_cli
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38981
2013-12-02 13:07:46 +00:00
Hauke Mehrtens
23cd074371
mac80211: b43: improve PCIe host controller workaround
...
This is only needed by BCM4716 and not by BCM4706, I haven't seen any
problems there. Adds the write flush for some more parts where the phy
control regs are written.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 38977
2013-12-01 17:23:19 +00:00
Hauke Mehrtens
c61b38dacb
mac80211: remove DMI_EXACT_MATCH
...
DMI_EXACT_MATCH was added to the kernel in version 3.10.21 and collides
with backports version. DMI_EXACT_MATCH is only used by the intel GPU
driver which is not build by OpenWrt, so remove it.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 38976
2013-12-01 17:20:32 +00:00
Imre Kaloz
f6b57149af
FPU type should not interfere with the ABI selection. Also make sure we either do real soft-float or hard-float on ARM, with the right options.
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38943
2013-11-29 10:59:51 +00:00
Jo-Philipp Wich
1029d341c5
ubox: fix handling of uci lists, prevent shell code injection from uci values ( #14548 )
...
SVN-Revision: 38938
2013-11-28 20:47:26 +00:00
Jo-Philipp Wich
cdbff3641b
Revert "ubox: the validation code has problems with the "(" char. use string for now"
...
This reverts commit f7c2ac3ea9b5f2dc4ef4ce4ef195de8a4ac5546b.
SVN-Revision: 38937
2013-11-28 11:33:49 +00:00
Jo-Philipp Wich
1527f96ca6
busybox: do not abort sysntpd init if enable_server is unset, that variable just controls the server part for relaying NTP
...
SVN-Revision: 38936
2013-11-28 11:28:40 +00:00
Jo-Philipp Wich
387761e2fc
procd: fix processing of datatype specification with spaces
...
SVN-Revision: 38935
2013-11-28 11:26:34 +00:00
Imre Kaloz
9a0d644f9e
add device tree based initialization to wl12xx
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38933
2013-11-27 12:40:07 +00:00
Felix Fietkau
4e6043e691
mac80211: include 802.11n support when wl12xx is selected
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38927
2013-11-27 12:08:38 +00:00
Felix Fietkau
e1ce4331d3
ath9k: merge initval updates
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38926
2013-11-27 10:56:05 +00:00
Imre Kaloz
c1aeede408
fix typo in wl128x firmware names
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38925
2013-11-27 09:02:17 +00:00
Imre Kaloz
4c3f2ed4ca
hide package, it's needed all the time
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38924
2013-11-26 18:46:47 +00:00
Imre Kaloz
3b2c74e5db
use plain image names inside the target directories
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38923
2013-11-26 18:45:51 +00:00
Imre Kaloz
eb811eadba
wl12xx could need the wl128x firmware files, too
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38921
2013-11-26 17:46:45 +00:00
Felix Fietkau
78f4ab6fc0
mac80211: merge another round of upstream fixes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38918
2013-11-26 11:25:31 +00:00
John Crispin
fc3c72aba6
ubox: the validation code has problems with the "(" char. use string for now
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38916
2013-11-26 07:50:05 +00:00
Felix Fietkau
15b4975925
hostapd: add support for auto-channel selection
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38915
2013-11-25 15:43:30 +00:00
Felix Fietkau
1d75f7506d
hostapd: update to version 2013-11-20
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38914
2013-11-25 15:43:15 +00:00
John Crispin
48de8ed52a
kernel/modules: snd-pcm-dmaengine only if CONFIG_SND_DMAENGINE_PCM is set
...
Platforms without in-soc audio don't provide CONFIG_SND_DMAENGINE_PCM, thus
the module is not generated.
SVN-Revision: 38913
2013-11-25 14:09:48 +00:00
John Crispin
cba772f5bc
pppd: Place plugin-specific options after `plugin name`.
...
Before this patch, if we specify a plugin specific option through
`pppd_options` in /etc/config/network, e.g. `rp_pppoe_verbose 1`, pppd
would quit with the following error in log.
Wed Oct 9 09:42:58 2013 daemon.notice netifd: GORG (1689): /usr/sbin/pppd: unrecognized option 'rp_pppoe_verbose'
Wed Oct 9 09:42:58 2013 daemon.err pppd[1689]: unrecognized option 'rp_pppoe_verbose'
Wed Oct 9 09:42:58 2013 daemon.notice netifd: GORG (1689): pppd version 2.4.5
Wed Oct 9 09:42:58 2013 daemon.notice netifd: GORG (1689): Usage: /usr/sbin/pppd [ options ], where options are:
This is due to the requirement that function add_option() should be
called by the plugin_init() function first before pppd can parse those
options.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 38911
2013-11-25 14:09:16 +00:00
John Crispin
93e9a71538
base-files: allow users to delect debug level during boot
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38909
2013-11-25 08:34:55 +00:00
John Crispin
91de2648e9
procd: update procd.sh to make use of the new validate_data tool
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38908
2013-11-25 08:34:47 +00:00
John Crispin
acec292e32
ubox: update the validate_data tool
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38907
2013-11-25 08:34:39 +00:00
John Crispin
637440c415
ubox: fix typo that caused log_file to not be validated properly
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38906
2013-11-25 08:34:31 +00:00
Felix Fietkau
5143157af8
uhttpd: update to the latest version, fixes crashes in the ubus plugin
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38888
2013-11-21 21:52:24 +00:00
John Crispin
3044b185d1
procd: fix the running hook #38868
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38885
2013-11-20 19:28:51 +00:00
Felix Fietkau
0707c6810a
mac80211: fix reorder issues with multicast packets (client mode)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38883
2013-11-20 17:33:50 +00:00
Felix Fietkau
1a0ae39a7e
mac80211: fix an overflow issue in minstrel_ht
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38882
2013-11-20 17:33:46 +00:00
John Crispin
1b3a423ad5
procd: add validation to the log init script
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38879
2013-11-20 16:56:41 +00:00
Zoltan Herpai
17089f3f37
package: uboot-mxs: cosmetic fix
...
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 38875
2013-11-20 10:15:02 +00:00
Felix Fietkau
7e77389bc5
mac80211: small rate control fix
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38874
2013-11-20 07:33:27 +00:00
John Crispin
a95eb4d672
libubox: fix compile error ( #14497 )
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38873
2013-11-19 21:54:51 +00:00
John Crispin
ee41b41a30
mtd: add a "mtd verify" call
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38871
2013-11-19 20:56:23 +00:00
John Crispin
fcea2ab05a
libubox: ubox: procd: move md5.{c,h} to libubox
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38870
2013-11-19 20:56:11 +00:00
John Crispin
460bf6b0d7
procd: update to latest git head
...
* fix up the order of respawn parameters for ubus
* add a event broadcast function
* add debug level handover between preinit and main process
* make the service running trigger be queued directly after the service was startetd
* Allow process respawning forever
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38868
2013-11-19 16:33:50 +00:00
John Crispin
211ad78989
libubox: update to latest git head
...
add a renqueue_add_first() api
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38866
2013-11-19 16:31:47 +00:00
Felix Fietkau
c84a43cf40
procd: emit tty events for ttyUSB* even when they come from the usb-serial subsystem
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38862
2013-11-19 00:03:42 +00:00
Felix Fietkau
69598dd020
base-files: add the DEVICENAME variable for hotplug scripts
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38861
2013-11-19 00:03:39 +00:00
Felix Fietkau
03fcc9bf43
ath9k: merge a few reset / calibration fixes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38854
2013-11-18 19:58:53 +00:00
Felix Fietkau
cd1c8d463f
hostapd: remove random pool support - the entropy it gathers is questionable and we have better entropy sources on common platforms now
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38852
2013-11-18 13:54:26 +00:00
Jo-Philipp Wich
bc9043cc53
firewall: optimize DNAT rules and skip invalid rules and redirects ( #14485 )
...
- instead of writing one (or more) ACCEPT rules in the filter table
for each redirect install a global ctstate DNAT accept rule per zone
- discard rules and redirects which have invalid options set instead
of silently skipping the invalid values
SVN-Revision: 38849
2013-11-18 11:59:27 +00:00
Hauke Mehrtens
c9be7cfef9
mac80211: ath10k: add board.bin file again
...
This file is still needed with the new firmware.
This fixes r38835.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 38843
2013-11-17 17:57:37 +00:00
Hauke Mehrtens
df7e855df0
kernel: add vmxnet3 module
...
support VMware ethernet adapters
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 38840
2013-11-17 16:41:40 +00:00
Hauke Mehrtens
1859b36bf7
xfsprogs: move to submenu Filesystem
...
move xfsprogs to the right submenu
e2fsprogs, btrfs-progs and other stuff is there already
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 38838
2013-11-17 16:14:58 +00:00
Hauke Mehrtens
2c26cd9bbd
mac80211: update ath10k firmware
...
Current version of ath10k in the recently updated wireless-testing
package requires a new firmware. This patch fixes the issue.
v2:
* fix (hopefully) the mangled whitespaces
* actually install the new firmware instead of the old
Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
SVN-Revision: 38835
2013-11-17 15:52:55 +00:00
Hauke Mehrtens
51502a5e29
mac80211: add blink api backport
...
This patch was copied from a more recent backports versions. This fixes
a build problem with kernel < 3.6.
This closes #14475
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 38833
2013-11-17 15:50:54 +00:00
John Crispin
5fbfffe7f4
procd: ubox: update to latest git head
...
move log service from procd to ubox
some debloating on procd
the preinit part of procd is now also a seperate binary
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38822
2013-11-16 20:20:30 +00:00
Steven Barth
b5a4fb1c95
6rd: Clear correct IPv6 address bits in 6rdcalc
...
The correct bits are now cleared in the IPv6 address as the shift
value to the correct byte in the IPv6 address was wrong. Depending
on the stack values this could result in a hanging 6rdcalc program
due to an endless loop.
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SVN-Revision: 38818
2013-11-16 09:18:14 +00:00
Felix Fietkau
1f819564d1
openssl: add support for RIPEMD/160
...
RIPEMD is needed to update erlang and i'd like to enable RIPEMD160 support in openssh.
Size compared:
openssl without RIPEMD/160 support:
647K 29. Okt 20:00 bin/ar71xx/packages/libopenssl_1.0.1e-2_ar71xx.ipk
openssl with RIPEMD/160 support:
652K 8. Nov 15:11 bin/ar71xx/packages/libopenssl_1.0.1e-2_ar71xx.ipk
So the file size just grows ~5kb, which shouldn't be a problem.
Signed-off-by: Peter Wagner <tripolar@gmx.at>
SVN-Revision: 38809
2013-11-14 20:42:15 +00:00
Felix Fietkau
d923eab86e
rt2x00: fix a crash in the recent update ( #14467 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38808
2013-11-14 20:32:36 +00:00
Felix Fietkau
ff17114ba1
ar71xx: Unifi AP Pro sysupgrade patch
...
The current implementation of mtd will not append the backup
file created by sysupgrade to the correct partition, as mtd will append
the data to first jffs2 partition it finds. As the kernel is also
stored on a jffs2 partition (which resides before the overlay
partition), the data will be appended to this partition.
To fix this problem, a new option
-s <number> skip the first n bytes when appending data to the jffs2 partiton, defaults to "0"
is added to mtd.
Signed-off-by: Peter Wagner <tripolar@gmx.at>
SVN-Revision: 38807
2013-11-14 19:38:54 +00:00
Gabor Juhos
b7914344ad
base-files: add macaddr_canonicalize helper function
...
In commit r38690, the MAC address canonicalization
has been converted to use 'tr' instead of 'printf'.
This only works if with MAC addresses which uses
the 'xx:xx:xx:xx:xx:xx' format.
However on some boards, the MAC addresses are stored
in different format in the mtd partition. Some vendors
are using hyphens or dots as separators instead of
colons. Also the leading zeroes may be missing from the
individual octets or those are replaced with spaces.
Add a new function which can be used to convert these
into the 'xx:xx:xx:xx:xx:xx' format. Also update the
'mtd_get_mac_ascii' function to use the new helper.
The helper function is based on this code:
http://isquared.nl/blog/2010/08/11/Bash-function-to-canonicalize-MAC-addresses/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38803
2013-11-14 17:44:42 +00:00
Felix Fietkau
4a977252f5
ath9k: add a fix to improve reliability of high bitrates on AR93xx/AR95xx
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38802
2013-11-14 12:21:24 +00:00
Felix Fietkau
5113f2d6c2
mac80211: merge a patch that enables DFS for ad-hoc mode
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38801
2013-11-14 12:21:19 +00:00
Hauke Mehrtens
c43d2285e0
mac80211: update regdb.txt
...
This was copied from wireless-regdb.git commit a14052b85e5d70e37a31962a9c56c0cdbb9acafc
The passive-scan/no-ibss flag of channels 36-48 in the world regd were
removed like it was done in r32126.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 38797
2013-11-13 22:36:12 +00:00
Hauke Mehrtens
0ade818cb7
zram-swap: fix dependencies
...
swapon/swapoff are no longer provided by swap-utils; they are provided
by block-mount instead.
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38795
2013-11-13 18:42:45 +00:00
Imre Kaloz
736db5f17c
upgrade linux-firmware git revision, bump package version
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38792
2013-11-13 14:47:31 +00:00
Imre Kaloz
f5d8735c55
add another symbol for TI chipsets
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38791
2013-11-13 14:46:21 +00:00
John Crispin
a8163bfd16
procd: remove obselete script install reference Signed-off-by: John Crispin <blogic@openwrt.org>
...
SVN-Revision: 38790
2013-11-13 12:15:06 +00:00
John Crispin
a9cfb4b827
procd: fixup 2 wrong option types
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38789
2013-11-13 11:07:24 +00:00
John Crispin
50db95e2f0
procd: options with default values are not parsed properly in the ubus register code
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38788
2013-11-13 10:57:16 +00:00
John Crispin
1f93857092
procd: convert services to the new validation api
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38787
2013-11-13 10:49:41 +00:00
John Crispin
130d7de07f
procd: update to latest git head
...
this includes the first wip version of the uci validation backend
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38786
2013-11-13 10:49:25 +00:00
Zoltan Herpai
5fa0e4fac0
uboot-sunxi: add U-boot builds for a couple sunxi boards
...
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 38785
2013-11-13 10:49:22 +00:00
Felix Fietkau
5f1c42d8b6
mac80211: update to wireless-testing 2013-11-05
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38783
2013-11-12 22:11:33 +00:00
Felix Fietkau
37756a97a0
hostapd: remove #ifdef MULTICALL around ap+sta support code (to support separately installed supplicant+hostapd)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38782
2013-11-12 22:11:14 +00:00
Zoltan Herpai
65f747a42d
mxs: - update uboot-mxs to 3.10 - enable building uboot for imx23 along sbImage by default - (doc updated)
...
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 38781
2013-11-12 14:39:32 +00:00
Jo-Philipp Wich
7ad5350dfb
Add patch to fix ipset timeout setting problem
...
Fixes #14325
Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 38779
2013-11-12 11:01:11 +00:00
Jo-Philipp Wich
c9bc0e12a9
Update ipset to version 6.20.1
...
Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 38778
2013-11-12 11:00:49 +00:00
Zoltan Herpai
dcd8a08be1
uboot-envtools: add support for mxs target
...
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
SVN-Revision: 38776
2013-11-12 10:07:03 +00:00
Zoltan Herpai
b0b78d541d
mxs: rename uboot-imx23 to uboot-mxs
...
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 38774
2013-11-12 01:34:30 +00:00
Zoltan Herpai
ff41e07aa2
kernel: add new core sound module snd-pcm-dmaengine.ko for 3.12 kernels and above
...
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 38772
2013-11-12 01:09:15 +00:00
Luka Perkov
1df0179b28
base-files: don't enter failsafe if triggered by switch
...
Fixes failsafe issues with switches after r38725.
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 38770
2013-11-11 23:34:11 +00:00
Hauke Mehrtens
09fd5cbd4c
broadcom-diag: add Belkin F7D3302/F7D7302
...
Signed-off-by: Cody P Schafer <devel@codyps.com>
SVN-Revision: 38768
2013-11-11 23:04:23 +00:00
Hauke Mehrtens
0d82bbb1fb
base-files: don't kill nas for sysupgrade
...
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38766
2013-11-11 22:12:58 +00:00
Hauke Mehrtens
5c2f443075
broadcom-wl: version roll
...
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38765
2013-11-11 22:05:39 +00:00
Hauke Mehrtens
1f9a4fee5a
broadcom-wl: support 'wds' interfaces on 'wl1' device
...
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38764
2013-11-11 22:05:20 +00:00
Hauke Mehrtens
753d52c2a4
broadcom-wl: support probe of 'wds' devices
...
'nas' requires probe of 'wds' devices to be successful;
so don't fail them.
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38763
2013-11-11 22:04:53 +00:00
Hauke Mehrtens
697f4a19e5
broadcom-wl: fix crash when starting multiple virtual interfaces
...
When enabling multiple VIFS, the driver sometimes crashes. The frequency
of the crash increases as more VIFS are enabled.
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38762
2013-11-11 22:04:26 +00:00
Hauke Mehrtens
b98f77f3d9
broadcom-wl: perform additional cleanup on wl module unload
...
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38761
2013-11-11 22:03:58 +00:00
Zoltan Herpai
1789fda3fb
kernel: of_i2c is moved into i2c-core in 3.12, add kernel version check into modules/i2c.mk
...
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 38760
2013-11-11 22:03:35 +00:00
Hauke Mehrtens
df493faf12
broadcom-wl: support more virtual interfaces
...
Read the number of virtual interfaces to support from the device
capabilities; as some newer devices can support up to 16.
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38759
2013-11-11 22:03:25 +00:00
Hauke Mehrtens
c926edd72d
broadcom-wl: improve device cleanup
...
Move all device cleanup to "disable_broadcom".
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38758
2013-11-11 22:02:45 +00:00
Hauke Mehrtens
3c2904bfb8
broadcom-wl: add support for setting H/W address
...
Some devices initialize with a default address (common to all H/W).
The address needs to be changeable so that a unique address can be
assigned to each AP.
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38757
2013-11-11 22:02:14 +00:00
Hauke Mehrtens
4ba2f2f731
broadcom-wl: eliminate 'invalid command' when setting ssid
...
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38756
2013-11-11 22:01:32 +00:00
Hauke Mehrtens
5b4c8c4cc8
broadcom-wl: clean up variable definitions (broadcom.sh)
...
Specify variables as 'local' where appropriate
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38755
2013-11-11 22:01:12 +00:00
Hauke Mehrtens
aa6a5baf88
broadcom-wl: simplify processing of 'hwmode'
...
Default gmode to "GOnly" unless explicitly overwridden. This corrects
processing for 11ng to specify "GOnly" for gmode instead of "Auto"
(which translated to "bg").
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38754
2013-11-11 22:00:39 +00:00
Hauke Mehrtens
d1c55bb33e
broadcom-wl: shutdown 'nas' when 'wl' device is disabled
...
'nas' must be shutdown independently for each 'wl' device to properly
support devices with multiple radios. Do the shutdown when the device
is disabled instead of when it is brought up.
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38753
2013-11-11 21:59:58 +00:00
Hauke Mehrtens
091d80bea7
broadcom-wl: use a single instance of 'nas' per 'wl' device
...
A single instance of 'nas' can support multiple interfaces; there's
no need to run multiple instances.
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38752
2013-11-11 21:59:34 +00:00
Hauke Mehrtens
493f82e8ee
broadcom-wl: fix whitespace handling
...
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38751
2013-11-11 21:59:07 +00:00
Hauke Mehrtens
1439dc3b9b
broadcom-wl: update description for recently added
...
Update descriptions for 'phytype' and 'band'.
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38750
2013-11-11 21:58:42 +00:00
Hauke Mehrtens
40e8eb2dda
broadcom-wl: fix band reporting
...
Modify the band reporting for broadcom devices to correctly report
HW capability. Currently, 802.11na devices report "bgn"; but should be
reporting "an".
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38749
2013-11-11 21:58:19 +00:00
Hauke Mehrtens
cac4ccca2f
broadcom-wl: change interface names
...
'netifd' treats all devices with a "." in their name as vlan devices.
Modify the name of virtual/WDS interfaces created by broadcom-wl to use
a "-" instead of a ".", so they will be treated as simple devices
by 'netifd'.
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38748
2013-11-11 21:57:26 +00:00
Hauke Mehrtens
c36d24ec82
broadcom-wl: fix compiler warning
...
Delete the return value (nvram_exit is declared with a 'void' return).
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38747
2013-11-11 21:56:45 +00:00
Hauke Mehrtens
20d64e929f
iwinfo: don't report associations for broadcom wds interfaces
...
The associations list for Broadcom WDS interfaces are duplicate to those
reported by the corresponding AP interface; so there is no need to report
them again.
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38746
2013-11-11 21:54:55 +00:00
Hauke Mehrtens
e3a5401fb2
iwinfo: fix hwmodelist reporting for broadcom wl
...
Modify the hwmodelist reporting for broadcom devices to include
proper reporting of 802.11n support.
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38745
2013-11-11 21:54:25 +00:00
Jo-Philipp Wich
8a1d77efed
uhttpd: return after processing -d switch, only set ubus prefix if not already defined
...
SVN-Revision: 38743
2013-11-11 19:14:01 +00:00
John Crispin
c902a76f4d
base-files: fix typo in rfkill script
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38742
2013-11-11 18:12:30 +00:00
John Crispin
989783255e
uhttp: add ubus.default
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38741
2013-11-11 18:12:26 +00:00
John Crispin
f48568af8e
pppd: don't call modprobe at all from pppoatm
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38737
2013-11-11 13:40:28 +00:00
John Crispin
becac1abaf
lantiq: dont install deu test manager
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38731
2013-11-11 12:22:12 +00:00
John Crispin
871744f5de
base-files: update rfkill script to work with slider buttons
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38729
2013-11-11 12:19:22 +00:00
John Crispin
243179f9f6
base-files: add a generic wps button handler
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38726
2013-11-11 12:19:10 +00:00
John Crispin
40031fdf9b
gpio-button-hotplug: add support for sliding switches
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38725
2013-11-11 12:19:06 +00:00
John Crispin
3cc0f479dc
uhttp: make the service auto respawn if it crashes
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38724
2013-11-11 12:19:02 +00:00
John Crispin
9f3b161a57
uhttp: make sure that the ubus module is loaded when when installed
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38723
2013-11-11 12:18:58 +00:00
Imre Kaloz
7f4bdaa244
depend on the correct target
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38721
2013-11-11 11:51:54 +00:00
Felix Fietkau
f099defc00
procd: reduce the number of unnecessary calls to /sbin/hotplug-call for tty devices
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38705
2013-11-10 15:06:28 +00:00
Felix Fietkau
e78e720a6f
netifd: remove connect_time from /var/state, it is unused
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38704
2013-11-10 10:01:33 +00:00
Hauke Mehrtens
80eb837491
broadcom-diag: fix sys button on Asus rt-n16
...
This closes : #14427 .
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 38701
2013-11-09 20:09:21 +00:00