aboutsummaryrefslogtreecommitdiffstats
path: root/package
Commit message (Collapse)AuthorAgeFilesLines
* mac80211: Fix potential endless loopHauke Mehrtens2020-08-301-0/+31
| | | | | | Backport a fix from kernel 5.8.3. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ar71xx: drop targetAdrian Schmutzler2020-08-3039-4153/+9
| | | | | | | | | | This target has been mostly replaced by ath79 and won't be included in the upcoming release anymore. Finally put it to rest. This also removes all references in packages, tools, etc. as well as the uboot-ar71xx and vsc73x5-ucode packages. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* wireguard-tools: add tunlink option for hostrouteAaron Goodman2020-08-302-2/+3
| | | | | | | | | | In a multi-wan setup, netifd may need guidance on which wan device to use to create the route to the remote peer. This commit adds a 'tunlink' option similar to other tunneling interfaces such as 6in4, 6rd, gre, etc. Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
* curl: move package to packages.gitPaul Spooren2020-08-274-402/+0
| | | | | | | | curl is replaced by uclient-fetch within the OpenWrt build system and we can therefore move curl to packages.git. This is based on the Hamburg 2019 decision that non essential packages should move outside base. Signed-off-by: Paul Spooren <mail@aparcar.org>
* hostapd: Fix compile errors after wolfssl updateHauke Mehrtens2020-08-271-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the following compile errors after the wolfssl 4.5.0 update: LD wpa_cli ../src/crypto/tls_wolfssl.c: In function 'tls_match_alt_subject': ../src/crypto/tls_wolfssl.c:610:11: error: 'GEN_EMAIL' undeclared (first use in this function); did you mean 'ENAVAIL'? type = GEN_EMAIL; ^~~~~~~~~ ENAVAIL ../src/crypto/tls_wolfssl.c:610:11: note: each undeclared identifier is reported only once for each function it appears in ../src/crypto/tls_wolfssl.c:613:11: error: 'GEN_DNS' undeclared (first use in this function) type = GEN_DNS; ^~~~~~~ ../src/crypto/tls_wolfssl.c:616:11: error: 'GEN_URI' undeclared (first use in this function) type = GEN_URI; ^~~~~~~ ../src/crypto/tls_wolfssl.c: In function 'wolfssl_tls_cert_event': ../src/crypto/tls_wolfssl.c:902:20: error: 'GEN_EMAIL' undeclared (first use in this function); did you mean 'ENAVAIL'? if (gen->type != GEN_EMAIL && ^~~~~~~~~ ENAVAIL ../src/crypto/tls_wolfssl.c:903:20: error: 'GEN_DNS' undeclared (first use in this function) gen->type != GEN_DNS && ^~~~~~~ ../src/crypto/tls_wolfssl.c:904:20: error: 'GEN_URI' undeclared (first use in this function) gen->type != GEN_URI) ^~~~~~~ Makefile:2029: recipe for target '../src/crypto/tls_wolfssl.o' failed Fixes: 00722a720c77 ("wolfssl: Update to version 4.5.0") Reported-by: Andre Heider <a.heider@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mtd-utils: Update to version 2.1.2Hauke Mehrtens2020-08-262-3/+3
| | | | | | | | | | | | | | | | The release notes says this: As already said, the changes since 2.1.1 are primarily bug fixes, addressing compiler warnings and issues reported by diagnostic tools, but also build failures for some configurations. https://lists.infradead.org/pipermail/linux-mtd/2020-July/081299.html The size of the ubi-utils ipk increases on mips BE by 0.2% old: ubi-utils_2.1.1-1_mips_24kc.ipk: 70992 new: ubi-utils_2.1.2-1_mips_24kc.ipk: 71109 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* wolfssl: Update to version 4.5.0Hauke Mehrtens2020-08-263-4/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the following security problems: * In earlier versions of wolfSSL there exists a potential man in the middle attack on TLS 1.3 clients. * Denial of service attack on TLS 1.3 servers from repetitively sending ChangeCipherSpecs messages. (CVE-2020-12457) * Potential cache timing attacks on public key operations in builds that are not using SP (single precision). (CVE-2020-15309) * When using SGX with EC scalar multiplication the possibility of side- channel attacks are present. * Leak of private key in the case that PEM format private keys are bundled in with PEM certificates into a single file. * During the handshake, clear application_data messages in epoch 0 are processed and returned to the application. Full changelog: https://www.wolfssl.com/docs/wolfssl-changelog/ Fix a build error on big endian systems by backporting a pull request: https://github.com/wolfSSL/wolfssl/pull/3255 The size of the ipk increases on mips BE by 1.4% old: libwolfssl24_4.4.0-stable-2_mips_24kc.ipk: 386246 new: libwolfssl24_4.5.0-stable-1_mips_24kc.ipk: 391528 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* curl: Use wolfssl by defaultHauke Mehrtens2020-08-261-1/+1
| | | | | | | | Instead of using mbedtls by default use wolfssl. We now integrate wolfssl in the default build so use it also as default ssl library for curl. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* curl: Fix build with wolfsslHauke Mehrtens2020-08-261-0/+31
| | | | | | | | | Backport a commit from upstream curl to fix a problem in configure with wolfssl. checking size of time_t... configure: error: cannot determine a size for time_t Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* uboot-at91: harmonize indent in MakefileAdrian Schmutzler2020-08-251-5/+5
| | | | | | The indent in Makefile is mixed, harmonize it where reasonable. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* at91bootstrap: harmonize indent in MakefilesAdrian Schmutzler2020-08-252-34/+34
| | | | | | The indent in Makefiles is mixed, harmonize it where reasonable. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* at91: introduce vendor_model scheme and drop board namesAdrian Schmutzler2020-08-252-35/+35
| | | | | | | | | | | | | | This introduces the vendor_model scheme to this target in order to harmonize device names within the target and with the rest of OpenWrt. In addition, custom board names are dropped in favor of the generic script which takes the compatible. Use the SUPPORTED_DEVICES variable to store the compatible where it deviates from the device name, so we can use it in build recipes. While at it, harmonize a few indents as well. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* uboot-at91: bump version to linux4sam-2020.04Sandeep Sheriker M2020-08-252-6/+32
| | | | | | | Bump version to linux4sam-2020.04 and add patch to fix Wformat-security warnings. Signed-off-by: Sandeep Sheriker M <sandeep.sheriker@microchip.com>
* at91bootstrap: bump version to v3.9.3Sandeep Sheriker M2020-08-251-2/+2
| | | | Signed-off-by: Sandeep Sheriker M <sandeep.sheriker@microchip.com>
* mt76: update to the latest versionFelix Fietkau2020-08-251-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | f0beb7cbc443 mt76: mt7663u: fix memory leaks in mt7663u_probe 90c8422d3f56 mt76: mt7915: fix typo in function name 9cbbe4a30eaf mac80211: simplify TX aggregation start 974486ec2642 util: in worker setup, only overwrite function pointer if not NULL 519510277a8b mt76: initialize tx worker function earlier 3c361b1e3f4e mt76: mt7663u: fix dma header initialization e8d489647c7f mt76: usb: fix use of q->head and q->tail 8124daf53130 mt76: sdio: fix use of q->head and q->tail 3c2cd8580377 mt76: unify queue tx cleanup code 780cdabb8659 mt76: remove qid argument to drv->tx_complete_skb 05aa857861fc mt76: remove swq from struct mt76_sw_queue e861cb051833 mt76: rely on AQL for burst size limits on tx queueing 3218b914a2fb mt76: remove struct mt76_sw_queue 23529b5e93c1 mt76: mt7603: tune tx ring size f6ca436ebea4 mt76: mt76x02: tune tx ring size 97e65131440c mt76: mt7603: check for single-stream EEPROM configuration 957b6c5ac273 mt76: mt7615: fix MT_ANT_SWITCH_CON register definition 96a541eedda9 mt76: mt7615: fix antenna selection for testmode tx_frames b36d7ae096a3 mt76: mt7603: move number of streams detection to eeprom init Signed-off-by: Felix Fietkau <nbd@nbd.name>
* firewall: Fix PKG_MIRROR_HASHHauke Mehrtens2020-08-241-1/+1
| | | | | Fixes: 6c57fb7aa93d ("firewall: bump to version 2020-07-05") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mbedtls: update to 2.16.7Magnus Kroken2020-08-242-27/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mbed TLS 2.16.7 is a maintenance release of the Mbed TLS 2.16 branch, and provides bug fixes and minor enhancements. This release includes fixes for security issues and the most severe one is described in more detail in a security advisory: https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2020-07 * Fix a side channel vulnerability in modular exponentiation that could reveal an RSA private key used in a secure enclave. * Fix side channel in mbedtls_ecp_check_pub_priv() and mbedtls_pk_parse_key() / mbedtls_pk_parse_keyfile() (when loading a private key that didn't include the uncompressed public key), as well as mbedtls_ecp_mul() / mbedtls_ecp_mul_restartable() when called with a NULL f_rng argument. An attacker with access to precise enough timing and memory access information (typically an untrusted operating system attacking a secure enclave) could fully recover the ECC private key. * Fix issue in Lucky 13 counter-measure that could make it ineffective when hardware accelerators were used (using one of the MBEDTLS_SHAxxx_ALT macros). Due to Mbed TLS moving from ARMmbed to the Trusted Firmware project, some changes to the download URLs are required. For the time being, the ARMmbed/mbedtls Github repository is the canonical source for Mbed TLS. Signed-off-by: Magnus Kroken <mkroken@gmail.com> [Use https://codeload.github.com and new tar.gz file] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* exfat: update to 5.8.7Rosen Penev2020-08-242-33/+2
| | | | | | | | | | | | 93e2334 exfat: fix build error on linux-5.4,5.5 kernel 01a7b8c exfat: fix name_hash computation on big endian systems 8f92bc0 exfat: fix wrong size update of stream entry by typo Removed commented material that was for testing compilation. Removed patch as the error was fixed upstream. First entry above. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* kernel: add ar5523 drivermohammad rasim2020-08-241-1/+10
| | | | | | | | | The driver currently only support managed and monitor mode Changes since v1: - drop the @DRIVER_11N_SUPPORT dependency Signed-off-by: mohammad rasim <mohammad.rasim96@gmail.com>
* ipset: update to version 7.6Josef Schlehofer2020-08-241-2/+2
| | | | | | | Changelog: https://ipset.netfilter.org/changelog.html Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* linux-firmware: add support for Marvell SDIO 8997Josef Schlehofer2020-08-242-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For example, Turris MOX SDIO card is using Marvell (NXP) 88W8997 chip. Technical specs of 88W8997: - 28nm - 802.11 ac wave-2 It should support simultaneous dual-band 2.4 GHz and 5 GHz, but it requires to support multiSSID for one Wi-Fi card [1], which is not supported in OpenWrt, yet and if we tried to run two instances of hostapd, it didn't work well, so it's 2.4 GHz or 5 GHz. - 2x2 MU-MIMO - Bluetooth 5.1 with LE support - Unfortunately, there can be connected only 8 clients at the same time (limited by FW, however, there exists "enterprise" chip, its equal chip, it is just different that it uses different FW) Symlink is necessary as mwifiex_sdio tries to load sd8997_uapsta.bin [ 13.651182] mwifiex_sdio mmc0:0001:1: Direct firmware load for mrvl/sd8997_uapsta.bin failed with error -2 [ 13.661065] mwifiex_sdio mmc0:0001:1: Falling back to user helper [ 13.684880] firmware mrvl!sd8997_uapsta.bin: firmware_loading_store: map pages failed [ 13.695910] mwifiex_sdio mmc0:0001:1: Failed to get firmware mrvl/sd8997_uapsta.bin [ 13.703774] mwifiex_sdio mmc0:0001:1: info: _mwifiex_fw_dpc: unregister device Pali Rohár sent two patches [2] [3] into kernel to fix default firmware name for SD8997, so the symlink will not be required in the future versions of kernel, which was accepted and right now, according to my details it was backported to 5.8, 5.7 and 5.4 [1] https://bugs.openwrt.org/index.php?do=details&task_id=3243 [2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=00eb0cb36fad5 [3] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=2e1fcac52a9ea Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* linux-firmware: update to version 20200817Josef Schlehofer2020-08-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git log --pretty=oneline --abbrev-commit 20200619..20200817 7a30af1 (HEAD -> master, tag: 20200817, origin/master, origin/main, origin/HEAD) Merge branch 'i915-firmware-updates-08-2020' of git://anongit.freedesktop.org/drm/drm-firmware into main 923bfa6 brcm: Add brcmfmac43455-sdio.raspberrypi,3-model-a-plus.txt symlink 33e11ab rtl_bt: Update RTL8822C BT UART firmware to 0x0599_8A4F 1b81373 i915: Add DMC firmware 2.02 for RKL bdf8d7a i915: Add DMC firmware 2.08 for TGL 1bcdc9a i915: Add HuC firwmare v7.5.0 for TGL c331aa9 amdgpu: update vega20 firmware for 20.30 a434387 amdgpu: update vega12 firmware for 20.30 49e9ea8 amdgpu: update vega10 firmware for 20.30 d89e9b1 amdgpu: update renoir firmware for 20.30 373c08a amdgpu: update raven2 firmware for 20.30 69ca06e amdgpu: update raven firmware for 20.30 12042c2 amdgpu: update picasso firmware for 20.30 2c9d97a amdgpu: update navi14 firmware for 20.30 eaa3e55 amdgpu: update navi10 firmware for 20.30 9bc3789 linux-firmware: update NXP SDSD-8997 firmware image 6c79b68 Mellanox: Add new mlxsw_spectrum firmware xx.2008.1036 2b823fc (tag: 20200721) linux-firmware: Update AMD SEV firmware e33306f Merge branch 'qca_0714' of https://github.com/bgodavar/qca_bt_fw into main 1d1c80b Update to 20200629111339 version to aligh SDK. Mainly fix DFS false alarm. 69c7f0b rtl_nic: update firmware for RTL8125B f39b687 Update binary firmware for MT7663 based devices to include firmware offload feature and low power feature. 3882702 QCA: Add correct bin file for WCN3991 3d3a06f linux-firmware: Update firmware file for Intel Bluetooth AX201 b7849f7 linux-firmware: Update firmware file for Intel Bluetooth AX200 07b0375 linux-firmware: Update firmware file for Intel Bluetooth 9560 44bf1b1 linux-firmware: Update firmware file for Intel Bluetooth 9260 7169ab3 linux-firmware: wilc1000: add wilc1000 v15.4 FW b1497fc Merge https://github.com/rjliao-qca/qca-btfw into main c4e04b4 QCA: Update Bluetooth firmware for QCA6390 74ac3b5 Merge https://github.com/bgodavar/qca_wcn3991 into main 1a0c0c2 amdgpu: add UVD firmware for SI asics 24cc617 QCA: Update WCN3991 FW files Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* kernel: set WATCHDOG_CORE dependency in kmod-hwmon-sch5627Adrian Schmutzler2020-08-241-1/+3
| | | | | | | | | | | | | | | | | | For many target we have added CONFIG_WATCHDOG_CORE=y to the target config due to the following error: Package kmod-hwmon-sch5627 is missing dependencies for the following libraries: watchdog.ko However, actually the proper way appears to be setting the dependency for the kmod-hwmon-sch5627 package, as the error message demands. Do this in this patch and remove the target config entries added due to this issue. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* busybox: fix typo in MakefileDaniel Golle2020-08-231-1/+1
| | | | | | | | 'conffiiles' -> 'conffiles' Fixes: 2e06f8ae24 ("busybox: add selinux variant") Reported-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* f2fs-tools: add selinux variantPaul Spooren2020-08-231-1/+54
| | | | | | | This variant is build with `libselinux` and required to set labels during runtime. Signed-off-by: Paul Spooren <mail@aparcar.org>
* busybox: add selinux variantPaul Spooren2020-08-233-5/+45
| | | | | | | This commit adds a `selinux` variant which comes with with a number of SELinux applets and also SELinux label support. Signed-off-by: Paul Spooren <mail@aparcar.org>
* nat46: update to latest git HEADHans Dedecker2020-08-231-2/+2
| | | | | | 362640b nat46-module: fix compilation with kernel 5.6 Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* curl: disable zstd supportHans Dedecker2020-08-231-1/+2
| | | | | | | | | | Fixes package libcurl build issue : Package libcurl is missing dependencies for the following libraries: libzstd.so.1 Suggested-by: Syrone Wong <wong.syrone@gmail.com> Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* mt76: update to the latest versionFelix Fietkau2020-08-221-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 8027c7d95274 mt76: mt7615: fix reading airtime statistics 3743e7c904de mt76: mt7915: optimize mt7915_mac_sta_poll d2fe5e8330c6 mt76: mt7915: fix variable initialization in sta poll 692065b4c9db mt76: mt7915: only enable hw amsdu for AP and station b54157df7c27 mt7615: update firmware to version 20200814 888990e159d2 mt76: use threaded NAPI 3a3306e408f2 mt76: mt7915: add 802.11 encap offload support 795b772cd392 mt76: mt7915: add encap offload for 4-address mode stations 55d79ab7fa23 mt76: dma: update q->queued immediately on cleanup 23dbd64d6324 mt76: mt7915: schedule tx tasklet in mt7915_mac_tx_free 5cf34cda70af mt76: mt7915: significantly reduce interrupt load 87a69429069f mt76: add utility functions for deferring work to a kernel thread 2f1318a06d0a mt76: convert from tx tasklet to tx worker thread 72f0979566be mt76: mt7915: add support for accessing mapped registers via bus ops f9ce5c776c9a mt76: use ieee80211_rx_list to pass frames to the network stack as a batch 25dd8bdae3bf mt76: mt7615: significantly reduce interrupt load 7c5445dec812 mt76: mt7615: release mutex in mt7615_reset_test_set e68c3e254822 mt76: mt7663s: use NULL instead of 0 in sdio code 4368380e20e7 mt76: mt7663s: fix resume failure bea386f27914 mt76: mt7663s: fix unable to handle kernel paging request b8780c44c716 mt76: mt7615: fix possible memory leak in mt7615_tm_set_tx_power 37a1c7ed6796 mt76: mt7615: fix a possible NULL pointer dereference in mt7615_pm_wake_work 8c7c1a207d25 mt76: fix a possible NULL pointer dereference in mt76_testmode_dump Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: rework encapsulation offload supportFelix Fietkau2020-08-2214-3/+1921
| | | | | | Fix a number of deficiencies in the existing API Signed-off-by: Felix Fietkau <nbd@nbd.name>
* curl: update to version 7.72.0Josef Schlehofer2020-08-211-2/+2
| | | | | | | Changes in this version can be found here: https://curl.haxx.se/changes.html#7_72_0 Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* mac80211: add missing return code checks in AQL improvementsFelix Fietkau2020-08-212-6/+8
| | | | | | Fixes throughput issues with some drivers (e.g. ath10k) Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: wpan: Add kmod-ca8210Hauke Mehrtens2020-08-211-0/+16
| | | | | | This device is found on the pistachio marduk board. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: wpan: Add missing AUTOLOAD to load kernel moduleHauke Mehrtens2020-08-211-0/+3
| | | | | | | These kernel modules were not loaded automatically, fix this by adding the AUTOLOAD definition. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* dnsmasq: abort dhcp_check on interface stateDavid Bauer2020-08-201-2/+2
| | | | | | | | | Abort the dhcp-check based on the interface instead of the carrier state. In cases where the interface is up but the carrier is down, netifd won't cause a dnsmasq reload, thus dhcp won't become active on this interface. Signed-off-by: David Bauer <mail@david-bauer.net>
* map: rename type to maptype (FS#3287)Remi NGUYEN VAN2020-08-192-14/+19
| | | | | | | | | | | | | | | | "type" is already used as a common option for all protocols types, so using the same option name for the map type makes the configuration ambiguous. Luci in particular adds controls for both options and sees errors when reading the resulting configuration. Use "maptype" instead, but still fallback to "type" if "maptype" is not set. This allows configurations to migrate without breaking old configurations. This addresses FS#3287. Signed-off-by: Remi NGUYEN VAN <remi.nguyenvan+openwrt@gmail.com> Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> [PKG_RELEASE increase]
* ltq-dsl-base: remove useless echos in lantiq_dsl.shAdrian Schmutzler2020-08-172-3/+3
| | | | | | | | The is no reason to catch the output by $() and then echo it again. Remove the useless echos. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* map: add a legacymap optionRemi NGUYEN VAN2020-08-152-8/+6
| | | | | | | | | | | | | | The legacy map version based on the IPv6 Interface Identifier in draft-ietf-softwire-map-03 was typically used by uncommenting the LEGACY variable in the map.sh file, which is not ideal. A proper configuration option is needed instead. The IPv6 Interface Identifier format described in the draft was eventually changed in RFC7597, but is still used by some major ISPs, including in Japan. Signed-off-by: Remi NGUYEN VAN <remi.nguyenvan+openwrt@gmail.com> Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> [PKG_RELEASE increase]
* dropbear: allow disabling support for scpRui Salvaterra2020-08-152-4/+10
| | | | | | | | | | | | | If not needed, disabling scp allows for a nice size reduction. Dropbear executable size comparison: 153621 bytes (baseline) 133077 bytes (without scp) In other words, we trim a total of 20544 bytes. Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
* ath79: add support for ALLNET ALL-WAP02860ACTomasz Maciej Nowak2020-08-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ALLNET ALL-WAP02860AC is a dual-band wireless access point. Specification SoC: Qualcomm Atheros QCA9558 RAM: 128 MB DDR2 Flash: 16 MB SPI NOR WIFI: 2.4 GHz 3T3R integrated 5 GHz 3T3R QCA9880 Mini PCIe card Ethernet: 1x 10/100/1000 Mbps AR8035-A, PoE capable (802.3at) LEDS: 5x, which four are GPIO controlled Buttons: 1x GPIO controlled UART: 4 pin header near Mini PCIe card, starting count from white triangle on PCB 1. VCC 3.3V, 2. GND, 3. TX, 4. RX baud: 115200, parity: none, flow control: none MAC addresses Calibration data does not contain valid MAC addresses. The calculated MAC addresses are chosen in accordance with OEM firmware. Because of: a) constrained environment (SNMP) when connecting through Telnet or SSH, b) hard-coded kernel and rootfs sizes, c) checksum verification of kerenel and rootfs images in bootloder, creating factory image accepted by OEM web interface is difficult, therefore, to install OpenWrt on this device UART connection is needed. The teardown is simple, unscrew four screws to disassemble the casing, plus two screws to separate mainboard from the casing. Before flashing, be sure to have a copy of factory firmware, in case You wish to revert to original firmware. Installation 1. Prepare TFTP server with OpenWrt initramfs-kernel image. 2. Connect to LAN port. 3. Connect to UART port. 4. Power on the device and when prompted to stop autoboot, hit any key. 5. Alter U-Boot environment with following commands: setenv failsafe_boot bootm 0x9f0a0000 saveenv 6. Adjust "ipaddr" and "serverip" addresses in U-Boot environment, use 'setenv' to do that, then run following commands: tftpboot 0x81000000 <openwrt_initramfs-kernel_image_name> bootm 0x81000000 7. Wait about 1 minute for OpenWrt to boot. 8. Transfer OpenWrt sysupgrade image to /tmp directory and flash it with: sysupgrade -n /tmp/<openwrt_sysupgrade_image_name> 9. After flashing, the access point will reboot to OpenWrt. Wait few minutes, until the Power LED stops blinking, then it's ready for configuration. Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl> [add MAC address comment to commit message] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* mac80211: add missing backports for building with 4.14 kernelsFelix Fietkau2020-08-142-0/+54
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* libselinux: fix Makefile styleDaniel Golle2020-08-141-1/+1
| | | | | | Also fix line order in libselinux Makefile. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* libsepol: fix Makefile styleDaniel Golle2020-08-141-3/+2
| | | | | | Fix line ordering (cosmetic). Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* pcre: clean up Makefile line orderDaniel Golle2020-08-141-4/+2
| | | | | | | | The most recent patch added add lines in one block instead of in the appropriate places to keep Makefiles in consistent style. Fix that. Fixes: ff02e1561f ("pcre: add host variant of libpcre") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* pcre: add host variant of libpcreThomas Petazzoni2020-08-141-0/+12
| | | | | | This is needed to build the host variant of libselinux. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* libselinux: fix build on non-Linux systemsFelix Fietkau2020-08-131-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* libsepol: fix build on non-Linux systemsFelix Fietkau2020-08-131-1/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: add AQL improvementsFelix Fietkau2020-08-133-0/+403
| | | | | | | Add AQL support for HE drivers. Improve assumed aggregation length based on tx rate Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2020-08-131-3/+3
| | | | | | | 34aed01ca865 mt76: mt7915: use ieee80211_free_txskb to free tx skbs efc8669db5f9 mt76: mt7915: fix max_mpdu_size field for A-MSDU Signed-off-by: Felix Fietkau <nbd@nbd.name>
* libselinux: don't depend on kernel config symbolsDaniel Golle2020-08-131-1/+1
| | | | | | | | Dependencies are meant to express actual run-time dependencies and strictly speaking, libselinux can be build and used on kernels without SELinux (not in a very meaningful way, but never mind). Signed-off-by: Daniel Golle <daniel@makrotopia.org>