Commit Graph

32956 Commits (df3803364771849cc73f155e1dc74f9867263e15)

Author SHA1 Message Date
John Crispin 1ac2253fef libertas: set wireless macaddr
Update the wireless macaddr with the value retrieved from the H/W.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44175 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 12:07:35 +00:00
John Crispin c2a44d83f3 libertas: configure sysfs symlinks
Update the libertas driver to configure symlinks in sysfs.  This enables
the driver to be handled correctly by the mac80211/netifd/hostapd scripts.
With this patch, the wireless interface is functional on Guruplug Server Plus.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44174 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 12:07:29 +00:00
John Crispin 77f1d3bad8 mac80211: Add some missing 802.11n capabilities to hostapd configuration
Add some missing 802.11n capabilities to the hostapd ht_capab string when
supported by the hardware: Spatial Multiplexing Power-Save and 7935-byte AMSDUs.

Signed-off-by: Robert Hancock <hancockrwd@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 12:07:21 +00:00
John Crispin 49ec79e126 mac80211: fix fallback to macaddr
If '/sys/class/ieee80211/phyN' is not a symlink, the call to readlink
produces either an empty path (if /sys/class/ieee80211/phyN/device doesn't
exist) or a path that begins with '/sys/class/ieee80211' (which does not
work with the subsequent line to strip '/sys/devices' from the beginning of
the path).  Modify the checks to detect these conditions, and fallback to
using the macaddr.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 12:07:08 +00:00
John Crispin 27c1ce0c37 mac80211: update libertas_sdio package name
Change the name of the package to match the module name so it matches the
package name referenced by the Kirkwood (Guruplug) profile.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44171 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 12:06:59 +00:00
John Crispin 409777485f modules: select grace_period config option for nfs-common
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44170 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 12:06:52 +00:00
John Crispin fa2fd8c699 modules: add lz4 compression support
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44169 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 12:06:45 +00:00
John Crispin 1dfcf9183c kernel: add LZ4 decompressors to kconfig hack
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44168 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 12:06:35 +00:00
John Crispin dba339a5c1 kernel: kmod-usb2-pci to Intel ixp4xx/Geode
Signed-off-by: Ted Hess <thess@kitschensync.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 12:06:28 +00:00
John Crispin 3e6b801eb4 ralink: check ethernet MAC address whether it is valid
The mac address usually write in factory block. but sometime user erase this block , the mac address will change to ff:ff:ff:ff:ff:ff.
This patch is purpose to fix this issue.

Signed-off-by: wengbj <linux.c@foxmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44166 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 12:06:22 +00:00
John Crispin 27fe727852 ar71xx: add default LED configuration for D-Link DIR-615 rev. C1
This patch adds an entry in the uci-defaults' led-file to configure the
WAN and WLAN LEDs by default.

Signed-off-by: Vincent Wiemann <me@bibbl.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44165 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 12:06:13 +00:00
John Crispin b8d8323da6 eglibc: mark 2.15 as broken it is effected by CVE-2015-0235
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44164 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 12:06:05 +00:00
John Crispin 2dfea023e5 config: fix typo in Global build settings menu
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44163 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 12:05:58 +00:00
Luka Perkov afcc1ab062 kernel: update 3.14 to 3.14.30
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44158 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 01:00:08 +00:00
Rafał Miłecki 12b5776139 kernel: bcm47xxpart: support boart_data partition on Xiaomi
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44157 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-27 22:13:18 +00:00
Rafał Miłecki 211d5e20b7 kernel: backport queued bcm47xxpart changes
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44156 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-27 22:08:14 +00:00
Jo-Philipp Wich d7b5619b97 ep93xx: fix broken kmods after r44112 (#18833)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44155 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-27 20:46:53 +00:00
Felix Fietkau e45e66d4ae kernel: fix regression in building kmod-serial-8250 on linux 3.8 (#18821)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44154 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-27 00:06:42 +00:00
Imre Kaloz 972635a5d3 mvebu: temporary el cheapo' fan control script
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44153 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-26 20:41:43 +00:00
Jo-Philipp Wich 795328ec8e kernel: add missing symbol to generic 3.18 config
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44150 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 23:36:09 +00:00
Jo-Philipp Wich a5fe570c02 fix subject in generated certificates
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44149 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 23:33:49 +00:00
Jo-Philipp Wich b512010360 mvebu: add missing config symbol
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44147 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 22:17:43 +00:00
Jo-Philipp Wich 58236ae358 linux: disable kmod-bcma on ppc40x, it does not build
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44146 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 21:55:36 +00:00
Jo-Philipp Wich ceb0522dfe linux: disable kmod-zram on ep93xx, it does not export unmap_kernel_range
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 21:02:12 +00:00
Jo-Philipp Wich 29d0143fd6 ipq806x: declare missing config symbols
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44144 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 20:52:50 +00:00
Jo-Philipp Wich fe829c5a75 uhttpd: fix another remaining relro issue in the Lua plugin
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 20:43:17 +00:00
Jo-Philipp Wich ccdb918a4e linux: fix broken kmod-i2c-mux-pca9541 after r44113
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 20:03:26 +00:00
Imre Kaloz 9d106c8c8e generic/3.19: fixup the value of IFF_NO_IP_ALIGN
Reported-by: Stephen Walker <stephendwalker+openwrt@gmail.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44139 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 18:14:18 +00:00
Jo-Philipp Wich dfa9a409c9 uhttpd: fix time_t type mismatch on 32bit systems
The previous update introducing LFS support unconditionally changed the
sprintf() pattern used to print the file modification time to use PRIx64.

Explicitely convert the st_mtime member of the stat struct to uint64_t in
order to avoid type mismatch errors when building for non-64bit targets.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 17:59:08 +00:00
Luka Perkov 60fade7125 kernel: update 3.14 to 3.14.29
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44137 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 17:29:41 +00:00
Jo-Philipp Wich 8d3b3ee55c cns21xx: remove stray CONFIG_WAN from kernel config
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 17:29:04 +00:00
Jo-Philipp Wich cfc5c0c8b4 uhttpd: fix crash with enabled relro, memory leak in dirlists and lfs
* Fix the ubus plugin to not make its uhttpd_plugin entry symbol
   constant as uhttpd needs to modify its list_head member
 * Make sure that uhttpd supports large files by using 64bit ints
   where appropriate and by passing _FILE_OFFSET_BITS=64 to the build
 * Plug a possible memleak in the directory listing code

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44135 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 17:23:26 +00:00
Jo-Philipp Wich 59dbb6ac93 procd: make build of upgraded optional
Update to latest git head in order to support disabling the build
of upgraded which causes linker errors on avr32.

This also adds some fixes to the ubus system.info and system.board
methods.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44134 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 16:12:52 +00:00
Jo-Philipp Wich de356f8300 xburst: fix kernel build
Changeset r43049 removed the "062-mips_decompressor_build_fix.patch" which is
still required to properly build the xburst kernel.

Fix the syntax error in the preprocessed code by explicitely undefining the
"memcpy" and "memset" macros prior to declaring the replacements functions.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44133 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 15:55:03 +00:00
Jo-Philipp Wich 644087a08b uhttpd: fix exit code of mod-ubus postinstall script
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44132 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 15:54:43 +00:00
Imre Kaloz a91f2f1272 mvebu: use pwmfan in the profile
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 15:52:28 +00:00
Imre Kaloz 037060d1dd mvebu: preliminary 3.19 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 15:37:31 +00:00
Imre Kaloz 7652dc8164 mvebu: gpio based pwm support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44129 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 15:36:47 +00:00
Imre Kaloz e52f6cb655 mvebu: update mamba dts
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 15:26:33 +00:00
Imre Kaloz 5b7c88153c mvebu: backport some upstream changes
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44127 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 15:25:14 +00:00
Imre Kaloz eac842c52b generic: add preliminary 3.19 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44126 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 15:20:39 +00:00
Luka Perkov 10c00d2843 kirkwood: add wpad-mini to guruplug profile
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 13:39:24 +00:00
Luka Perkov d451944c8c kirkwood: enable swconfig by default on EA3500
Signed-off-by: Claudio Leite <leitec@staticky.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44124 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 13:11:07 +00:00
Luka Perkov 9e395e5059 kirkwood: fix EA3500 ubi options
Previous options resulted in a nonfunctional image.

Signed-off-by: Claudio Leite <leitec@staticky.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 13:11:04 +00:00
Luka Perkov 4d0ec38ac4 kirkwood: drop port-based VLAN setup
Using port-based VLANs depends on a non-standard
swconfig parameter, which compilcates things like
LuCI that don't know about it. This patch changes
the default to use 802.1q VLANs internally in the
switch, but without tagging packets since we have
two Ethernet ports.

iperf3 tests indicate no difference in performance
versus port-based VLANs when the CPU port is not
using tags.

Signed-off-by: Claudio Leite <leitec@staticky.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44122 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 13:11:02 +00:00
Imre Kaloz ac618a1b0e generic/3.18: update to 3.18.3
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44121 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 11:39:30 +00:00
Felix Fietkau 3d9743e703 kernel: fix typo in hwmon.mk (#18813)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44120 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 11:21:48 +00:00
Luka Perkov 84bd19eb70 include: drop kernel 3.3.x leftovers
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44119 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-24 23:08:17 +00:00
Felix Fietkau 2921fef744 ralink: fix ethernet feature TSO not work
* fix TSO features verify on mt7621 firewrt board
* improve tx clean up. no need to access uncached
  memory. also use TX_DTX register instead of
  read tx ring DONE bit
* mt7621 need napi weight 64 to get more performance
* remove netif_receive_skb, after kernel version
  3.7 tcp4_gro_receive can handle tcp checksum.
  on rt2880 use iperf tcp LAN to WAN throughput test.
  with gro 135 Mbits/sec. without gro 80.4Mbits/sec.

Signed-off-by: michael lee <igvtee@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-24 22:45:28 +00:00
Felix Fietkau 1ff6e9aef8 ralink: init tx/rx vlan offload register for mt7621
on mt7621 don't have tx vlan vid registers.
so set FE_REG_FE_DMA_VID_BASE to 0.
set rx vlan offload register to disable.

Signed-off-by: michael lee <igvtee@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44117 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-24 22:45:23 +00:00