Commit Graph

30053 Commits

Author SHA1 Message Date
John Crispin
1258b4cc94 ralink: add ethernet macaddr to dts for FireWRT
Signed-off-by: wengbj <fl.service@t-firefly.com>

SVN-Revision: 44240
2015-02-02 09:02:02 +00:00
John Crispin
a0cc6803c8 mac80211: Revert adding SM Power Save capability to hostapd configuration
Part of rev 44173 added setting the SM Power Save capability in the hostapd.conf
file if the driver indicated that it was supported. It appears this was
incorrect, because the field in the actual HT Capabilities field in the AP
configuration is really a state indication. Just copying the state from the
capability resulted in the AP indicating that it had SMPS enabled all the time
if it supported SMPS. This effectively just disables all clients from sending
packets to the AP with more than one spatial stream, for no good reason.
So remove this part of the change.

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

SVN-Revision: 44239
2015-02-02 09:01:44 +00:00
John Crispin
70db4e4639 ramips: add support for Xiaomi MiWiFi Mini devices
This patch adds support for Xiaomi MiWiFi Mini, a 802.11a/b/g/n/ac dual radio
wireless router based on the MediaTek MT7620a SoC.

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>

SVN-Revision: 44238
2015-02-02 09:01:07 +00:00
John Crispin
bc906ca59e added board support for compex wpj558
Signed-off-by: Christian Mehlis <christian@m3hlis.de>

SVN-Revision: 44237
2015-02-02 09:00:21 +00:00
Jo-Philipp Wich
119b90759b util-linux: only enable curses support if required
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44236
2015-02-01 13:11:17 +00:00
Zoltan Herpai
b0826467ee modules: fix usb-gadget build on 3.18
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 44235
2015-02-01 09:35:52 +00:00
Felix Fietkau
10c8d8c483 ramips: fix ethernet driver tx completion polling
- budget is decremented with completed frames, so don't check if done is
smaller
- ACK the interrupt before processing further frames to fix a small race
condition.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44234
2015-02-01 08:20:37 +00:00
Jo-Philipp Wich
12c7c25398 x86_64: add more symbols required to enable SMP
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44233
2015-01-31 22:23:01 +00:00
Jo-Philipp Wich
9328fbe74b x86_64: support HyperThreading and SMP with up to 8 CPUs
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44232
2015-01-31 17:33:32 +00:00
Jo-Philipp Wich
135bd1d765 linux: enable kmod-bcma on ppc40x after r44230
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44231
2015-01-31 16:49:26 +00:00
Rafał Miłecki
4dd3c05af2 kernel: disable bcma's usage of OF API in kernel 3.10
It fails to build because of missing of_irq_parse_raw and incompatible
irq_create_of_mapping.

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

SVN-Revision: 44230
2015-01-31 16:43:13 +00:00
Jo-Philipp Wich
fdb0d6d860 linux: convert CompareKernelPatchVer to version tagged symbols
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44229
2015-01-31 13:55:51 +00:00
Jo-Philipp Wich
f942a9b82a include: apply version filter on AutoLoad and AutoProbe arguments
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44228
2015-01-31 13:55:44 +00:00
Jo-Philipp Wich
ab26904c79 linux: fix framebuffer kmods for >= 3.15
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44227
2015-01-31 13:15:45 +00:00
Nicolas Thill
ce9b49046c include: improve 'gettext-version' fixup
* enclose the fixup in brackets
 * match anything in the call to AM_GNU_GETTEXT_VERSION
 * call it early (before autoreconf if both are specified)
 * chain a call to autoreconf since it messes with configure.ac

Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 44225
2015-01-31 08:15:51 +00:00
Nicolas Thill
d8263c3025 include: don't use extended regex for deps checking
Closes: #18851

Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 44224
2015-01-31 08:15:46 +00:00
Jo-Philipp Wich
9d7651b528 linux: fix mips boot decompressor build
Replace the now defunct 062-mips_decompressor_build_fix.patch with another
patch that simply undefines the arch memset and memcpy defines to avoid
syntax errors in the redeclaration.

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

SVN-Revision: 44223
2015-01-30 10:04:23 +00:00
John Crispin
00a548aea8 mac80211: Revision r36939 breaks support for RT5370 (rt2800usb)
http://patchwork.ozlabs.org/patch/434532/

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

SVN-Revision: 44222
2015-01-30 08:06:47 +00:00
John Crispin
31fd66f808 ar71xx: add Netgear WNR1000v2/WNR1000v2-VC support (#18633)
The board is already supported by OpenWrt. WNR1000v2/WNR1000v2-VC are
pretty much the same as WNR2000v3/WNR612v2, therefore the same
initialization code and flash layout is used.

Signed-off-by: Ștefan Rusu <saltwaterc@gmail.com>
Tested-by: Douglas Fraser <1dsfraser@gmail.com>

SVN-Revision: 44221
2015-01-30 08:06:40 +00:00
John Crispin
b86545c86d mac80211: fix NULL pointer crash in monitor frame injection TX path
This "patch to the patch" fixes a NULL pointer derefence crash in the new
intermediate software queues. The crash can be reproduced by injecting an
802.11 frame with a BSSID that does not belong to a configured vif. The
wperf tool (https://github.com/anyfi/wperf) may be convenient for doing
this.

Signed-off-by: Johan Almbladh <ja@anyfi.net>

SVN-Revision: 44220
2015-01-30 08:06:28 +00:00
Rafał Miłecki
539cd23892 bcm53xx: fix partitions on Netgear R8000
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44219
2015-01-30 07:25:43 +00:00
Rafał Miłecki
1d1a1c19bf bcm53xx: fix booting BCM4709
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44218
2015-01-30 06:58:35 +00:00
Rafał Miłecki
ee75859533 bcm53xx: fix Netgear R8000 serial console
Thanks raven-auand.

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

SVN-Revision: 44217
2015-01-30 06:30:44 +00:00
Zoltan Herpai
c1f86aa1ad sunxi: disable MMC debugging in kernel config
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44216
2015-01-30 00:19:18 +00:00
Zoltan Herpai
3b83156a38 sunxi: workaround switch being uninitialized on netifd startup
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44215
2015-01-30 00:18:21 +00:00
Zoltan Herpai
7146957461 sunxi: add support for Lamobo R1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44214
2015-01-30 00:17:16 +00:00
Zoltan Herpai
45e8630a4f sunxi: use sunxi_board_name when generating default network settings
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 44213
2015-01-30 00:14:17 +00:00
Zoltan Herpai
7a5ef7b99f sunxi: introduce sunxi_board_name() in /lib/sunxi.sh
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44212
2015-01-30 00:12:29 +00:00
Zoltan Herpai
d4f6f169b8 sunxi: implement board_detect for device-tree kernels
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44211
2015-01-30 00:11:30 +00:00
Jo-Philipp Wich
50364b2d08 linux: add kmod-udptunnel4 & kmod-udptunnel6 required by kmod-vxlan and kmod-l2tp for >= 3.16
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44210
2015-01-29 22:58:40 +00:00
Jo-Philipp Wich
d0bebbbf43 linux: kmod-usb-net-huawei-cdc-ncm depends on kmod-usb-net-cdc-ncm
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44209
2015-01-29 22:58:35 +00:00
Jo-Philipp Wich
a06f81cc3b scripts: avoid outputting empty lines in gen-dependencies.sh
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44208
2015-01-29 22:05:31 +00:00
Jo-Philipp Wich
c3787d4c0c include: use anchored patterns for dependency checking
Anchor search pattern when testing dependencies, otherwise the check may
succeed in cases where it shouldn't, e.g. when matching "udp_tunnel.ko"
against "ip6_udp_tunnel.ko".

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

SVN-Revision: 44207
2015-01-29 21:59:17 +00:00
Jo-Philipp Wich
2e5411518f scripts: gen-dependencies.sh: fix kmod dependency generation
Do not output faulty ".ko" dependency if a scanned .ko file has an empty
"depends=" specification, also replace the `grep | sed | awk` chain with a
single sed program.

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

SVN-Revision: 44206
2015-01-29 21:59:10 +00:00
Jo-Philipp Wich
46b1577bfc linux: kmod-zram requires kmod-lib-lz4 for >= 3.15
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44205
2015-01-29 21:59:03 +00:00
Jo-Philipp Wich
3fda4c9866 linux: fix kmod-usbip* for >= 3.17
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44204
2015-01-29 21:58:57 +00:00
Jo-Philipp Wich
65f81429b4 x86_64: enable PCIE support
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44203
2015-01-29 19:15:53 +00:00
Jo-Philipp Wich
fefba5d685 Revert "x86_64: enable PCIE support"
This reverts commit daadd4320c4eadce3937e8ca13ede0ce1b97e125 which erroneously
introduced unrelated changes.

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

SVN-Revision: 44202
2015-01-29 19:15:45 +00:00
Jo-Philipp Wich
44eecf6392 x86_64: enable PCIE support
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44201
2015-01-29 19:12:29 +00:00
Jo-Philipp Wich
6dd422a256 curl: fix build with --disable-crypto-auth (#18838)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44192
2015-01-29 16:52:15 +00:00
Nicolas Thill
fc5cec97d2 curl: fix typo in 2 config symbols
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 44191
2015-01-29 16:37:08 +00:00
Jo-Philipp Wich
cb846dae0c include: apply version filter on kmod file list
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44190
2015-01-29 15:51:05 +00:00
Jo-Philipp Wich
b941d2fd65 include: pass kernel version when generating kconfig overrides
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44189
2015-01-29 15:51:00 +00:00
Jo-Philipp Wich
f0293eae4f scripts: add version_filter command to metadata.pl
Also support version annotated Kconfig symbols in the kconfig subcommand.

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

SVN-Revision: 44188
2015-01-29 15:50:53 +00:00
Jo-Philipp Wich
634e9fe920 netfilter: add missing symbols and modules for Linux 3.18+
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44187
2015-01-29 10:22:17 +00:00
Rafał Miłecki
251b42d491 bcm53xx: early support for Netgear R8000
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44186
2015-01-28 21:55:43 +00:00
Rafał Miłecki
5ecce85db7 kernel: bcm47xxpart: support T_Meter partitions
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44185
2015-01-28 21:26:31 +00:00
John Crispin
ac1fd175ca modules: Add support for Realtek r8712 and RTL8192SU.
This patch adds support for Realtek r8712 and RTL8188SU/RTL8191SU/RTL8192SU
family of fullmac usb wireless cards. The r8712u staging driver only supports
WEXT but works with no problems in OpenWRT.

Signed off by: José Vázquez Fernández <ppvazquezfer@gmail.com>

SVN-Revision: 44184
2015-01-28 19:19:57 +00:00
John Crispin
259244624b ar71xx: fix D-Link DIR-615 rev. C1 WLAN MAC address
Fix the WLAN MAC address to match the one printed on the label by using the
correct address from the ART instead of the address of the LAN interface.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 44183
2015-01-28 19:19:47 +00:00
John Crispin
623716dd43 comgt-ncm: Fix NCM protocol
This patch fixes the NCM protocol by adding the missing ifname
to the netifd script and changing one unintended "send" statement to
"print" in runcommand.gcom. It also cleans up logging and makes the
manufacturer names case-insensitive. Furthermore, comgt-ncm should
not depend on the USB-serial-related kernel modules, as the cdc-wdm
control device works without them. There is also no need to depend on
kmod-huawei-cdc-ncm, since other manufacturers (like Sony-Ericsson
and Samsung) which use other kernel modules should also be supported.

I'd appreciate if someone with Samsung or Sony-Ericsson modems could
test this, I was only able to test it with Huawei E3276, E3372 and
E353.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

SVN-Revision: 44182
2015-01-28 19:19:33 +00:00