Commit Graph

35056 Commits

Author SHA1 Message Date
Felix Fietkau
324f95d2a1 CC: hostapd: fix wpad-mesh and wpa-supplicant-mesh configuration issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48528
2017-10-16 14:04:46 +02:00
Felix Fietkau
6b2ab1d36a CC: hostapd: work around unconditional libopenssl build dependency
As the OpenWrt build system only resolves build dependencies per directory,
all hostapd variants were causing libopenssl to be downloaded and built,
not only wpad-mesh. Fix this by applying the same workaround as in
ustream-ssl.

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

SVN-Revision: 46851
2017-10-16 14:04:34 +02:00
Felix Fietkau
b0f2c9d602 hostapd: update to version 2016-01-15
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
[Drop 014 - Zoltan HERPAI <wigyori@uid0.hu>]
2017-10-16 13:41:14 +02:00
Felix Fietkau
08a15abe4f CC: hostapd: add default value to eapol_version (#20641)
r46861 introduced a new option eapol_version to hostapd, but did not
provide a default value. When the option value is evaluated,
the non-existing value causes errors to the systen log:
"netifd: radio0: sh: out of range"

Add a no-op default value 0 for eapol_version. Only values 1 or 2 are
actually passed on, so 0 will not change the default action in hostapd.

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

SVN-Revision: 47361
2017-10-16 13:38:17 +02:00
Felix Fietkau
416562992f CC: hostapd: Add eapol_version config option
Add eapol_version to the openwrt wireless config ssid section.
Only eapol_version=1 and 2 will get passed to hostapd, the default
in hostapd is 2.

This is only useful for really old client devices that don't
accept eapol_version=2.

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

SVN-Revision: 46861
2017-10-16 13:36:56 +02:00
Zoltan HERPAI
1fea0d89f5 CC: kernel: update to 3.18.45, refresh targets
Compile-tested on ar71xx, imx6, lantiq, mvebu
Runtime-tested on sunxi.

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
2016-12-19 14:19:47 +01:00
Zoltan Herpai
c170d84bbe Merge pull request #264 from wigyori/cc-dm9601
CC: brcm2708: Fix Kernel Panic: DM9601 Fast Ethernet Adapter
2016-12-18 12:36:52 +01:00
Marian Hello
6ee59728b9 CC: brcm2708: Fix Kernel Panic: DM9601 Fast Ethernet Adapter
The dm9601 driver expects to receive a single encapsulated ethernet
frame from the device in one URB transfer, and it provides an URB
buffer of length 1,522 to receive it. This is not a round multiple
of USB transfer packets.

The device in question [1] provides a stream of such frames and it
does not conveniently slice them up as the dm9601 driver expects. We
can end up with 1,536 (0x600) bytes returned by the device in response
to the URB request. This may include several encapsulated ethernet
frames, and/or fragments thereof.

It seems to me that the kernel 'Oops' arises because the dwc_otg driver
does not notice that the destination buffer is too small to receive the
full 1,536 bytes. Comparing dwc_otg's update_urb_state_xfer_comp with
dwc2's dwc2_update_urb_state is suggestive.

More details: https://github.com/raspberrypi/linux/issues/1045
All Credits to: https://github.com/mw9

Signed-off-by: Marian Hello <marian.hello@gmail.com>
Reviewed-by: Zoltan HERPAI <wigyori@uid0.hu>
2016-12-07 17:06:47 +01:00
Zoltan Herpai
e5a8ed3eff Merge pull request #247 from gadkrumholz/chaos_calmer-e2100l
CC: ar71xx: Added missing support for Linksys E2100L
2016-11-30 21:19:52 +01:00
Gad Krumholz
d9740d24d7 CC: ar71xx: Added missing support for Linksys E2100L
It's based on the WRT160NL according to https://wiki.openwrt.org/toh/linksys/e2100l

Based on research done here: https://forum.openwrt.org/viewtopic.php?id=24244 and here: https://forum.openwrt.org/viewtopic.php?pid=120791#p120791 this patch was conceived.

Signed-off-by: Gad Krumholz <gad.krumholz@gmail.com>
2016-11-30 00:47:10 -06:00
Zoltan Herpai
1b6dc2e48c Merge pull request #189 from NeoRaider/fix-leds
CC: ar71xx: fix syntax error in /etc/uci-defaults/01_leds
2016-11-08 12:16:36 +01:00
Matthias Schiffer
efffd3c32a CC: ar71xx: fix syntax error in /etc/uci-defaults/01_leds
Fixes f98117a "CC: ar71xx: backport LED fix for TL-WR841N-v11".

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2016-11-06 12:53:38 +01:00
Zoltan Herpai
0f757bd260 Merge pull request #158 from Shalzz/chaos_calmer
CC: ar71xx: backport LED fix for TL-WR841N-v11
2016-10-29 00:32:16 +02:00
Shaleen Jain
f98117a065 CC: ar71xx: backport LED fix for TL-WR841N-v11
Signed-off-by: Shaleen Jain <shaleen.jain95@gmail.com>
2016-10-28 21:14:27 +05:30
Zoltan Herpai
c4ce8c716c Merge pull request #141 from mumuqz/chaos_calmer
CC: ar71xx: Add support to DomyWifi DW33D
2016-10-28 17:27:07 +02:00
Jing Lin
a8a1e2a19a CC: ar71xx: Add support to DomyWifi DW33D
Signed-off-by: Jing Lin <mumuqz@163.com>
2016-10-28 23:00:21 +08:00
Zoltan Herpai
1378f4a4d9 Merge pull request #151 from wigyori/cc-dirtycow
CC: generic: bump kernel to 3.18.44
2016-10-26 15:33:07 +02:00
Zoltan HERPAI
2c54d989b4 CC: generic: bump kernel to 3.18.44
Patch 610- is updated as check_entry helper was killed in 3.18.37
Fixes CVE-2016-5195 (dirtycow)
Compile-tested on ar71xx, mxs, sunxi, imx6
Runtime-tested on ar71xx (PB42)

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
2016-10-25 22:58:12 +02:00
Imre Kaloz
2aefb514a4 mvebu: bugfixes for rango
backport of ce116bc6f997d8d6e6b976cacce5d4c60d705fc6

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
2016-10-18 11:43:26 +02:00
Imre Kaloz
a55319cca0 mwlwifi: install the 88W8964 firmware, too
backport of 67d3ba0c7c91c0a2fb0cbd768d3a75db2246de80

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
2016-10-16 00:15:40 +02:00
Imre Kaloz
fa885ed5db mvebu: add support for the Linksys WRT3200ACM (Rango)
backport of 50e627ac06112eb633222cc72af5c4fe60f3dbb9

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
2016-10-13 13:01:24 +02:00
Imre Kaloz
af4877f6fd mwlwifi: upgrade to 10.3.2.0-20161013
backport of 2055b43f78c8ff74fe513a1fdaf5a10481faac6f

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
2016-10-13 13:00:19 +02:00
Imre Kaloz
b41b40c00d hostapd: add interoperability workaround for 80+80 and 160 MHz channels
backport of f9fc9c242fa62c214dc4a92bd89ca9a36bc8308c

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
2016-10-13 12:59:10 +02:00
Luka Perkov
8a1f7c9d55 Merge pull request #124 from sartura/chaos_calmer-upstream-relocation
odhcp* upstream relocation
2016-10-11 10:28:15 +02:00
Hrvoje Varga
609ebc43be odhcpd: update to git HEAD
This change also reflect relocation of upstream project which has been
moved to OpenWrt GitHub organization.

Signed-off-by: Hrvoje Varga <hrvoje.varga@sartura.hr>
2016-10-11 08:00:11 +00:00
Hrvoje Varga
901885e34c odhcp6c: update to git HEAD
This change also reflect relocation of upstream project which has been
moved to OpenWrt GitHub organization.

Signed-off-by: Hrvoje Varga <hrvoje.varga@sartura.hr>
2016-10-11 07:59:49 +00:00
Luka Perkov
b21852c60f Merge pull request #116 from imShara/fix_feeds
scripts: feeds: fix version detection for Make >= 4.2.1
2016-10-09 21:13:55 +02:00
Jo-Philipp Wich
aab91be7b2 scripts: feeds: fix version detection for Make >= 4.2.1
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-10-05 22:10:18 +03:00
Zoltan Herpai
ca3f1a614a Merge pull request #105 from wigyori/chaos_calmer
CC: openssl security upgrade, sync updates from git.openwrt.org/chaos_calmer
2016-09-29 15:49:20 +02:00
Rafał Miłecki
f9755e2877 mac80211: brcmfmac: backport changes from 2016-09-27
This fixes memory leaks, some possible crashes and bug that could cause
WARNING on every add_key/del_key call. It also replaces WARNING with
a simple message. They may still occur e.g. on station going out of
range and A-MPDU stall in the firmware.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-09-29 14:59:38 +02:00
Rafał Miłecki
bc00413221 mac80211: brcmfmac: backport patches that were skipped previously #2
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-09-29 14:58:53 +02:00
Rafał Miłecki
396e838bd6 mac80211: brcmfmac: backport patches that were skipped previously #1
They are necessary for further fixes and improvements otherwise recent
patches don't apply.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-09-29 14:26:20 +02:00
Imre Kaloz
1016f38a86 mwlwifi: upgrade to 10.3.0.18-20160804
adds support for the Linksys WRT1900ACSv2 and WRT1200ACv2

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
2016-09-29 14:24:56 +02:00
Rafał Miłecki
3bf4b214e8 mac80211: brcmfmac: backport patch simplifying brcmf_alloc_vif
This is quite trivial and will be required for VIF fixes in the future.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
2016-09-29 14:24:14 +02:00
Rafał Miłecki
99ed5200c0 mac80211: brcmfmac: fix stopping netdev queue when bus clogs up
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
2016-09-29 14:23:54 +02:00
Rafał Miłecki
718c539199 mac80211: brcmfmac: support hidden SSID
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
2016-09-29 14:23:32 +02:00
John Crispin
84ea6e0315 ramips: fix usb phy initialisation
this broke usb20 device detection.

Signed-off-by: John Crispin <john@phrozen.org>
2016-09-29 14:23:08 +02:00
John Crispin
b5e7d8a212 ramips: fix timing issues when using MT7621 spi
Signed-off-by: John Crispin <john@phrozen.org>
2016-09-29 14:22:40 +02:00
Rafał Miłecki
b0c59f5629 mac80211: brcmfmac: fix interfaces management
To work correctly hostapd requires wireless driver to allow interfaces
removal. It was working with brcmfmac only partially. Firmware for
BCM43602 got some special hack (feature?) that allowed removing all
interfaces by disabling mbss mode. It wasn't working with BCM4366
firmware and remaining interfaces were preventing hostapd from starting
again.

Those patches add support for "interface_remove" firmware method which
works with BCM4366 firmware and they make it finally possible to use
BCM4366 & brcmfmac & multiple interfaces.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
2016-09-29 14:21:52 +02:00
Hauke Mehrtens
e7d2443743 CC: kernel: update kernel 3.18 to version 3.18.36
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2016-09-29 14:21:21 +02:00
Rafał Miłecki
067545b374 rpcd: iwinfo plugin fixes
- Expose supported HT rate information in info call
 - Zero out ccode buffer when listing countries

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
2016-09-29 14:20:27 +02:00
Rafał Miłecki
a047169f9d mac80211: brcmfmac: fix lockup related to P2P interface
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
2016-09-29 14:19:44 +02:00
Zoltan HERPAI
29fcc94c9a CC: openssl: update to 1.0.2j
Security fixes:
* (Severity: High) OCSP Status Request extension unbounded memory growth (CVE-2016-6304)
* (Severity: Moderate) SSL_peek() hang on empty record (CVE-2016-6305)
* (Severity: Moderate) Missing CRL sanity check (CVE-2016-7052)
* 10 Low severity issues

Security advisories:
https://www.openssl.org/news/secadv/20160922.txt
https://www.openssl.org/news/secadv/20160926.txt

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
2016-09-29 07:29:15 +02:00
Zoltan Herpai
d6b3ca24c5 Merge pull request #82 from ecsv/openmesh-cc
OpenMesh MR1750(v2) and OM2P-HSv3 support for Chaos Calmer
2016-09-21 21:13:17 +02:00
Sven Eckelmann
3411c9a885 ar71xx: add MR1750v2 to the MR1750 profile
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-09-21 18:16:54 +02:00
Sven Eckelmann
21560ae52e ar71xx: extract ath10k wifi board.bin for the OpenMesh MR1750v2 board
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-09-21 18:16:54 +02:00
Sven Eckelmann
b6c8710aa7 package/uboot-envtools: add OpenMesh MR1750v2 support
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-09-21 18:16:54 +02:00
Sven Eckelmann
9f2256a4d4 package/om-watchdog: add OpenMesh MR1750v2 support
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-09-21 18:16:54 +02:00
Sven Eckelmann
82d0eae9b2 ar71xx: enable sysupgrade for the OpenMesh MR1750v2
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-09-21 18:16:54 +02:00
Sven Eckelmann
c02d2e3885 ar71xx: add user-space support for the OpenMesh MR1750v2
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-09-21 18:16:54 +02:00