Commit Graph

28896 Commits (87eaf116fe385cb584ed45cf9139d584bd52ec55)

Author SHA1 Message Date
Felix Fietkau 59559e7972 /sbin/wifi: reload network/wireless on wifi restart
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39036 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-11 19:48:19 +00:00
Felix Fietkau f55ec74efa netifd: fix crashes triggered by adding/removing wireless devices on reload
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39035 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-11 18:23:52 +00:00
Luka Perkov ed803232ee imx6: add canbus support for Ventana boards
GW5400, GW5300, and GW5200 have CAN bus option.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39034 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-11 10:56:11 +00:00
Luka Perkov b1ed3d4714 imx6: add flexcan support
backport upstream changes to 3.10:
 - 0060-flexcan.patch:
   - add flexcan pinctrl and devicetree config
 - 0061-can-flexcan-use-correct-clock-as-base-for-bit-rate-c.patch
   - fix a clock issue
 - 0062-ARM-i.MX6q-fix-the-wrong-parent-of-can_root-clock.patch
   - fix a clock issue

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-11 10:56:09 +00:00
Luka Perkov 8ef8db9063 kernel: add CAN modules
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-11 10:56:08 +00:00
Jo-Philipp Wich 0e678c997e mac80211: add missing set_default to fix stray "radio0: sh: bad number" messages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39028 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-10 16:24:52 +00:00
Jo-Philipp Wich 49cbd47a5c hostapd: fix short_preamble option
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-10 16:24:48 +00:00
John Crispin 3c68fdeee5 libevent2: Configure with --disable-debug-mode
Saves around 10K.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39025 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 18:26:58 +00:00
John Crispin 482d7109ab ubox: fix logging support. the initial connect failed
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 18:24:30 +00:00
John Crispin 1480a55d0a procd: update procd, add ulimit support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39023 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 17:38:19 +00:00
John Crispin 2f20e13586 ubox: fix up pidcount handling inside log.init
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 17:29:44 +00:00
John Crispin b8eefa3213 gpio-button-hotplug: add irq mode to driver
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 17:29:39 +00:00
John Crispin dba219f7c9 netifd: enable coredumps again
got broken due procd startup. Requires procd resource limit patch.

Signed-off-by: Ulrich Weber <uw@xyne.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39020 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 17:29:34 +00:00
John Crispin c1cf0505c4 ralink: add TSO
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 17:29:29 +00:00
John Crispin 9beda5ac39 ralink: fix typo in gpio irq handling
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 17:29:24 +00:00
John Crispin 4ad135094f ralink: add mt7620a gdma info to dtsi
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39017 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 17:29:19 +00:00
John Crispin e5845671e7 ralink: add asoc modules
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 17:29:14 +00:00
John Crispin 9c8a6aa5ac ralink: add partially working asoc driver. codec is not fully functional yet
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 17:29:08 +00:00
John Crispin 0c6b6702e3 ralink: add helper that identifies the mt7620 ECO
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39014 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 17:29:03 +00:00
John Crispin dbd8651cdf ralink: add dma engine support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 17:28:43 +00:00
Luka Perkov 60a7a1f2c9 imx6: add support for GW53xx
The Gateworks GW53xx family of products is based on the Freescale
i.MX6DL SoC and offers a small form-factor with peripherals such as:

 * i.MX6DL
 * NAND FLASH
 * 4x PCIe
 * 4x USB EHCI (1x front-panel; 3x PCIe sockets)
 * 1x USB OTG
 * 1x uSD
 * LVDS connector (VLDS for display, PWM/GPIO for backlight, i2c for touch)
 * HDMI Audio/Video out
 * Analog Video in
 * Digital IO
 * Gateworks System Controller
 * Accelerometer
 * Canbus
 * Optional GPS
 * Industrial temp (-40C to +85C)
 * DC input voltage 8 to 42V (Passive PoE and 802.3af)

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39012 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 11:30:23 +00:00
Luka Perkov 08253dd78c imx6: add DMA/SDMA support for 3.12
DMA and SDMA support are needed for ssi based audio.  Note that the sdma
firmware is no longer required for ssi audio.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39011 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 11:30:22 +00:00
Luka Perkov e7a7417daf imx6: drop upstreamed patch
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 11:30:20 +00:00
Luka Perkov 1432cd56f9 kernel: added defines for 3.12
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 11:30:19 +00:00
Luka Perkov cb683aeb0f kernel: module updates for 3.12
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 11:30:18 +00:00
Luka Perkov 82a0abbcf7 config: add KERNEL_DYNAMIC_DEBUG option
Useful when debugging kernel which uses this infrastructure, for
example ubi/ubifs.

Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 11:30:16 +00:00
Luka Perkov d723a38780 [package] base-files: fix whitespaces
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 11:30:14 +00:00
Jo-Philipp Wich 8392c54e2e hostapd: properly parse wmm and hidden uci options (#14589)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-08 20:51:21 +00:00
Felix Fietkau 62c98f5193 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-08 18:00:05 +00:00
Felix Fietkau a382c54c55 mac80211: fix using custom wifi-iface ifname option with netifd
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-08 18:00:01 +00:00
Felix Fietkau 51ee2f6812 mac80211: merge an ibss dfs locking fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-08 14:48:34 +00:00
Felix Fietkau 765f7a61ce ath9k: merge initval and tx gain table updates, calibration fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-08 14:48:30 +00:00
Felix Fietkau 349320d647 mac80211: refresh patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-08 14:48:25 +00:00
Jo-Philipp Wich bfb6e025dc generic: workaround arptables arpt_arp structure padding issue (#14577)
Linaro GCC 4.6-2013.05 incorrectly pads the arpt_arp structure on
at least the ar71xx target, resulting in a two bytes shorter struct
in the kernel compared to what arptables userspace expects.

When comparing sizeof(struct arpt_arp) in kernel and userspace, the
former yields 162 byte, while the latter is 164 byte.

As a consequence, the subsequent target_offset and next_offset
members of the parent arpt_entry structure contain invalid values
when processed by the arptables binary, leading to bad memory
accesses in the populate_cache() procedure, subsequently causing a
segfault.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38999 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-06 15:42:35 +00:00
Jo-Philipp Wich a2f91b864f generic: fix occasional "execvp: /bin/sh: Argument list too long" is kernel header install phase (#12907)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-06 15:37:55 +00:00
Imre Kaloz 0020922ea9 [mac80211]: add support for the wl18xx, split wlcore from wl12xx
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-06 14:07:13 +00:00
Steven Barth d2e17d996f odhcpd/6c: Add config menu for prefix class ext.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38996 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-05 12:17:09 +00:00
Felix Fietkau eef37ce291 ath9k: fix length handling of unaggregated frames (might resolve some rts/cts issues)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-04 22:59:36 +00:00
Steven Barth 12f66d3324 odhcpd: Fix ubus integration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-04 13:14:27 +00:00
Felix Fietkau d1b9d7eb2c mac80211: fix ad-hoc network setup with netifd (#14564)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-03 16:22:56 +00:00
Felix Fietkau 40de15d9ef netifd: update to the latest version, improves wireless status output and fixes some bridge handling issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38992 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-03 14:17:44 +00:00
Felix Fietkau 48fbe7cd69 hostapd: fix maclist processing with netifd
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38991 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-03 09:02:58 +00:00
Felix Fietkau 9f6dd226eb wifi: restart netifd wifi interfaces on the "up" command like the old variant
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38990 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-02 16:53:27 +00:00
Felix Fietkau 8a98d2594a 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38989 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-02 16:53:24 +00:00
Felix Fietkau 3fab0ab03f netifd: add wireless configuration support and port mac80211 to the new framework
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-02 16:41:03 +00:00
Felix Fietkau fed8a06b41 uci: update to the latest version, adds a small uci_to_blob fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38987 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-02 13:08:17 +00:00
Felix Fietkau bbeadc25eb 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-02 13:08:14 +00:00
Felix Fietkau a5b78a7edb 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-02 13:08:11 +00:00
Felix Fietkau 8b428d0899 hostapd: fix os_daemonize vs starting process race by creating the pid file in the parent
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-02 13:08:08 +00:00
Felix Fietkau d5e3523e53 libubox: update to latest version, adds some more jshn performance improvements and fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-02 13:08:03 +00:00