Commit Graph

34770 Commits (6380a6108205931b9f64955d9e1433ec22078c9f)

Author SHA1 Message Date
John Crispin 2830947555 malta: remove le64/be64 references
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47233 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-19 10:30:18 +00:00
John Crispin 25eee465a9 ar71xx: Add support for WeIO board
Support for WeIO board (http://we-io.net),
backported from Designated Driver trunk.

Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>

Backport of r47110

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-19 10:19:44 +00:00
John Crispin 874e0061ce uhttpd: update to latest git revision
adds URL alias support

Signed-off-by: John Crispin <blogic@openwrt.org>

BAckport of r47206

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47231 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-19 10:19:33 +00:00
John Crispin 9b22f6f735 ramips: add alsa driver
add the alsa driver from the latest RTSDK

Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r47205

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-19 10:19:29 +00:00
John Crispin b17824ef03 ramips: update mt7628 dtsi file
add nodes required for audio
add missing pinmux definitions

Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r47205

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47229 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-19 10:19:25 +00:00
John Crispin 718cc02aa4 ramips: add a baurate hack
When talking to an atmel controller we need 9600 or 250000 baud.
as 250000 does not exist we use 2500000.

Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r47204

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-19 10:19:23 +00:00
John Crispin ebff32ce9e ramips: add LinkIt Smart7688 support
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r47203

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-19 10:19:22 +00:00
John Crispin 563f3a4cb7 ramips: add mt7688 subtarget
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r47203

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47226 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-19 10:19:18 +00:00
Hauke Mehrtens b3fc18b565 CC: polarssl: update to version 1.3.14
This fixes CVE-2015-5291 and some other smaller security issues.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47202 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-18 22:27:38 +00:00
John Crispin 57ddf3d694 opkg: backport 'opkg list --size' option
Backport from trunk to CC15.05 the --size option to optionally show also
the *.ipk size in the opkg package listing.

* Default behaviour is to list the available packages as earlier:
  "name - version - description"
* with "--size" the output of is "name - version - size - description".

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-15 14:41:30 +00:00
John Crispin 7692796fe3 generic: add 8139cp fixes from 4.3
This contains only the fixes from the 4.3-rc4 kernel.

Additional improvements are going into 4.4 which will fix and enable
hardware checksum/TSO offload, but backporting those to older kernels
is non-trivial.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47195 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-15 14:41:22 +00:00
John Crispin 3b15d86f3c mcs814x: use firmware partition splitter on dLAN USB Extender
to avoid editing the dts every time the kernel size changes.
uImage is now bigger than 1MB. Pad uImage to 64k erase block size.

Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>

Backport of r46648

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47194 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-15 14:38:36 +00:00
John Crispin 7386b19613 mcs814x: fix interrupt handling
Switch to generich chip irqs/irq domains.
Interrupts were broken since kernel 3.14. dLAN USB extender is now
booting again.

Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>

Backport of r46647

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47193 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-15 14:38:14 +00:00
John Crispin 920566646f mcs814x: fix debug UART
Switch to new 8250 debug uart code because the old
mach-mcs814x/include/mach/debug-macro.S tries to include
asm/hardware/debug-8250.S which no longer exists since kernel 3.14

Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>

Backport of r46646

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47192 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-15 14:38:00 +00:00
John Crispin e048c925b9 ar71xx: add support for D-LINK DIR-615 rev. Ix board
backport of r46248.

Signed-off-by: Jaehoon You <teslamint@gmail.com>

rebased on r46767.

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47191 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-15 14:37:38 +00:00
John Crispin b71743e72c lantiq: several ARV7519RW22 fixes
Fixes ARV7519RW22 flash register (only 1 flash).
Power LED is green, not red.
Rename message LEDs to internet.
Add LEDs configuration (lan, wan, power).
Enable switch VLANs.
Fix secondary USB.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: José Vázquez Fernández <ppvazquezfer@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47190 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-15 14:37:12 +00:00
Felix Fietkau 574429b5ca mt76: update to the latest version, fixes tx related crashes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r47187

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47188 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-12 13:14:36 +00:00
Imre Kaloz e1c362b60c mvebu: add support for the Linksys WRT1900ACS (Shelby)
Backport of r47164.

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47165 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-08 10:02:10 +00:00
Imre Kaloz 90fb91db82 generic/3.18: refresh patches
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47163 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-08 09:17:08 +00:00
Jo-Philipp Wich af9ce72546 CC: uhttpd: fix keep-alive bug (#20607, #20661)
The two commits

  5162e3b0ee7bd1d0fd6e75e1ca7993a1834b5291
	"allow request handlers to disable chunked reponses"

and

  618493e378e2239f0d30902e47adfa134e649fdc
	"file: disable chunked encoding for file responses"

broke the chunked transfer encoding handling for proc responses in keep-alive
connections that followed a file response with http status 204 or 304.

The effect of this bug is that cgi responses following a 204 or 304 one where
sent neither in chunked encoding nor with a content-length header, causing
browsers to stall until the keep alive timeout was reached.

Fix the logic flaw by inverting the chunk prevention flag in the client state
and by testing the chunked encoding preconditions every time instead of
once upon client (re-)initialization.

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

Backport of r47161

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47162 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-07 22:20:55 +00:00
Felix Fietkau 3a5b8f93ec hostapd: wait longer for inactive client probe (empty data frame)
One second is not enough for some devices to ackowledge null data frame
which is sent at the end of ap_max_inactivity interval. In particular,
this causes severe Wi-Fi instability with Apple iPhone which may take
up to 3 seconds to respond.

Signed-off-by: Dmitry Ivanov <dima@ubnt.com>

Backport of r47149

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47150 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-06 12:33:38 +00:00
Felix Fietkau 53a0131c68 mt76: sync with trunk r47143, add backports for compat with the older mac80211 version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-05 22:38:39 +00:00
Felix Fietkau a42d0f389e mac80211: add a fix to initialize the tid field in the tx queue struct
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r47142

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47144 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-05 22:38:32 +00:00
Felix Fietkau cb0229b494 build: include homebrew include/library directory in cflags/ldflags on mac os x
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r47139

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47141 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-05 14:12:45 +00:00
Felix Fietkau d618a2b86e build: use host cflags/ldflags for openssl prereq check
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r47138

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47140 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-05 14:12:42 +00:00
John Crispin 1a17450789 ramips: various mt7688 pinmux fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r46474

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-02 10:53:10 +00:00
John Crispin 2ffcc3ff83 ralink: add irq to mt7628 gpio node
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r47076

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47100 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-02 10:53:01 +00:00
John Crispin cb4fb019df ralink: the mmc driver can now handle CD lines that are active low
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r47074

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-02 10:52:43 +00:00
John Crispin a5b64f60e6 ramips: add CD polling to sd driver
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r46475

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-02 10:52:32 +00:00
John Crispin cbd617050a ralink: speed selection was broken in spi-mt7621
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r47073

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-02 10:52:24 +00:00
John Crispin 32171a0c09 ramips: remove debug code from usb phy driver
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r46659

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-02 10:52:13 +00:00
John Crispin 1b7515f6b0 ramips: add mt7621/3/8 support to the I2C driver
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r46959

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-02 10:51:51 +00:00
John Crispin 24ebe34bfd ramips: fix reported vendor name
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r46958

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-02 10:51:41 +00:00
John Crispin 79675604b2 ramips: add proper mt7688 detection
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r46957

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-02 10:51:09 +00:00
John Crispin 5bba93b349 ramips: add speed and mode settings to spi-mt7621
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r46956

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47092 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-02 10:50:57 +00:00
John Crispin 73cd40d0d9 ramips: add get_direction() callback and irq support to gpio-mt7621
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r46955

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-02 10:50:21 +00:00
John Crispin c767ce6065 ramips: more m7628 pinmux fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r46954

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47090 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-02 10:50:07 +00:00
John Crispin 1e26ddabbd ramips: add mt7628 pwm driver
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r46953

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-02 10:49:52 +00:00
John Crispin d637494a61 ramips: make pinctrl work on newer socs
newer socs have 2 mux registers

Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r46952

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47088 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-02 10:49:45 +00:00
John Crispin f51d4c0f2c ramips: make the mt7628 spi driver work for both cs lines
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r46951

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-02 10:49:31 +00:00
John Crispin a2356c2999 ramips: make the early_printk code detect which uart is used
only tested on mt7628

Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r46950

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-02 10:49:16 +00:00
John Crispin a709112f78 rpcd: update to latest git HEAD
Provides ubus calls for sysupgrade and password changing.

Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r47075

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47085 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-02 10:49:09 +00:00
John Crispin 3570eab1db uci: update to the latest version, adds various fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r46738

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-02 10:48:57 +00:00
John Crispin 0cf9c5c7cf fstools: update to latest git revision
jffs2reset was following symlinks making it delete mounts for example.

Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r46960

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-02 10:48:51 +00:00
John Crispin b52b1fc3a3 mountd: move code to a git repo
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r46935

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47082 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-02 10:48:48 +00:00
John Crispin 9858c87014 CC: ramips: Added WIZnet WizFi630A Platfrom based on Ralink RT5350
This patch is to add the WIZnet WizFi630A board as a new platform. The board is in mini pci express form factor.

Signed-off-by: Tobias Welz <tw@wiznet.eu>

This is a backport of patch r46921

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47072 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-01 14:16:40 +00:00
John Crispin 3e1022acc5 bzip2: add host build
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r46470

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47071 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-01 14:16:37 +00:00
Rafał Miłecki f259e73985 hostapd: check for banned client on association event
When using FullMAC drivers (e.g. brcmfmac) we don't get mgmt frames so
check for banned client in probe request handler won't ever be used.
Since cfg80211 provides us info about STA associating let's put a check
there.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

Backport of r47064

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-09-28 09:39:47 +00:00
Felix Fietkau 77540a9ba0 igmpproxy: fix spurious restarts on interface events, pass used netdevs to procd instead
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r47055

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-09-27 10:54:39 +00:00
Felix Fietkau b2b1bd35e6 netifd: update to the latest version, fixes spurious client isolation in unbridged AP configurations (#20574)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r47053

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-09-26 23:18:56 +00:00