Skip to content
Snippets Groups Projects
  1. Feb 13, 2020
    • Michael Yartys's avatar
      ath10k-firmware: update ath10k-ct firmware · 18622638
      Michael Yartys authored
      
      This supports better per-chain noise floor reporting, which in turn allows for
      better RSSI reporting in the driver.
      
      Wave-2 fixes a long-standing rate-ctrl problem when connected to xbox (and probably other devices).
      
      Wave-2 has fix for crash likely related to rekeying.
      
      Wave-1 has some debugging code added where a user reported a crash.
      
      Tested-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>  [ipq806x+qca9984,ipq4019+qca9986]
      Signed-off-by: default avatarMichael Yartys <michael.yartys@protonmail.com>
      18622638
    • Michael Yartys's avatar
      ath10k-ct: update to 2020-01-29 · 67174adc
      Michael Yartys authored
      
      Changes:
      
      ath10k-ct: Support better RSSI measurements.
      
      When used with recent firmware, these changes allow the driver to
      query per-chain noise-floor from the radio to better calculate the
      per-chain RSSI. The per-chain RSSI is then summed to provide the
      'combined RSSI'. This gives better per-chain RSSI as well as combined
      RSSI, especially when running with more than 20Mhz bandwidths.
      
      Refresh patches.
      
      Tested-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>  [ipq806x+qca9984,ipq4019+qca9986]
      Signed-off-by: default avatarMichael Yartys <michael.yartys@protonmail.com>
      67174adc
    • Aleksander Jan Bajkowski's avatar
      sunxi: backport increased SATA/AHCI DMA TX/RX FIFOs · 5499b24d
      Aleksander Jan Bajkowski authored
      This backports SATA performance boost from 5.3 kernel:
      
       Increasing the SATA/AHCI DMA TX/RX FIFOs (P0DMACR.TXTS and .RXTS, ie.
       TX_TRANSACTION_SIZE and RX_TRANSACTION_SIZE) from default 0x0 each to
       0x3 each, gives a write performance boost of 120 MiB/s to 132 MiB/s from
       lame 36 MiB/s to 45 MiB/s previously.  Read performance is above 200
       MiB/s. [tested on SSD using dd bs=4K/8K/12K/16K/20K/24K/32K: peak-perf
       at 12K]
      
       dd bs  Before MB/s  After MB/s  Increase
       4k            14.4        16.5       15%
       64k           34.5        74.4      116%
       1M            40.5        93.2      130%
      
      Ref: https://forum.openwrt.org/t/sunxi-sata-write-speed-patch/54555/5
      
      
      Signed-off-by: default avatarAleksander Jan Bajkowski <A.Bajkowski@stud.elka.pw.edu.pl>
      [commit subject & description tweaks]
      Signed-off-by: default avatarPetr Štetiar <ynezz@true.cz>
      5499b24d
    • Adrian Schmutzler's avatar
      ath79: add support for TP-Link TL-WR940N v6 · fbd00bb8
      Adrian Schmutzler authored
      
      The TL-WR940N v6 is similar to v3/v4, it just has different
      LEDs and MAC address assignment.
      
      Specification:
      - 750 MHz CPU
      - 32 MB of RAM
      - 4 MB of FLASH
      - 2.4 GHz WiFi
      - 4x 10/100 Mbps Ethernet
      
      The use of LEDs is based on ar71xx, so blue LED is used for WAN
      and orange LED for diag (boot/failsafe/etc.).
      
      Flash instruction (WebUI):
      Download *-factory.bin image and upload it via the firmwary upgrade
      function of the stock firmware WebUI.
      
      Flash instruction (TFTP):
      1. Set PC to fixed ip address 192.168.0.66
      2. Download *-factory.bin image and rename it to
         wr940nv6_tp_recovery.bin
      3. Start a tftp server with the image file in its root directory
      4. Turn off the router
      5. Press and hold Reset button
      6. Turn on router with the reset button pressed and wait ~15 seconds
      7. Release the reset button and after a short time
      the firmware should be transferred from the tftp server
      8. Wait ~30 second to complete recovery.
      
      Thanks to Manuel Kock for reviewing and testing this patch.
      
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      Tested-by: default avatarManuel Kock <github.web@manu.li>
      fbd00bb8
    • Adrian Schmutzler's avatar
      ath79: enable forceless sysupgrade from ar71xx on fritz300e · 49ff00db
      Adrian Schmutzler authored
      
      This adds the ar71xx board name to the SUPPORTED_DEVICES on ath79,
      so forceless sysupgrade on this device becomes possible.
      
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      49ff00db
  2. Feb 12, 2020
    • Mathias Kresin's avatar
      kernel: swconfig: make compatible with kernel 5.2 · 35ab804e
      Mathias Kresin authored
      
      Since kernel 5.2 within netlink messages the NLA_F_NESTED nested flag is
      validated. But swconfig/swlib doesn't set the flag for
      SWITCH_ATTR_OP_VALUE_PORTS related netlink messages and assigning ports
      to vlans via
      
        swconfig dev switch0 vlan 1 set ports '0 1 2 3 4 6t'
      
      Errors put with "Failed to set attribute: Invalid input data or
      parameter".
      
      Relax the validation rules and use the deprecated functions, to use the
      same level of validation as it was till kernel 5.1. Depending on who has
      swconfig related netlink messages implemented, there might be more
      broken tools out there and we should keep backward compatibility if
      possible.
      
      Signed-off-by: default avatarMathias Kresin <dev@kresin.me>
      Tested-by: default avatarRafał Miłecki <rafal@milecki.pl>
      35ab804e
    • Jo-Philipp Wich's avatar
      uhttpd: update to latest Git HEAD · 04069fde
      Jo-Philipp Wich authored
      
      2ee323c file: poke ustream after starting deferred program
      
      Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
      04069fde
  3. Feb 11, 2020
    • Kevin Darbyshire-Bryant's avatar
      procd: seccomp: fix resource leak · dba431d8
      Kevin Darbyshire-Bryant authored
      
      Bump to latest commit:
      
      c30b23e seccomp: fix resource leak
      
      Signed-off-by: default avatarKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
      dba431d8
    • Rafał Miłecki's avatar
      kernel: rewrite run_parsers_by_type() to use add_mtd_partitions() · 15a0701c
      Rafał Miłecki authored
      
      Make run_parsers_by_type() more similar to the parse_mtd_partitions():
      1. Use struct mtd_partitions
      2. Use add_mtd_partitions()
      
      This change simplifies run_parsers_by_type() by:
      1. Dropping loop
      2. Dropping code getting partition properties (name, offset, size)
      
      Moreover this change allows passing more partitions details (e.g.
      mask_flags).
      
      One noticeable change introduced by this patch is adding parsed
      partitions as children. This results in printing their *relative*
      offsets which unifies this code with parse_mtd_partitions() behaviour.
      
      Before:
      [    1.785448] 0x00000018f800-0x000000fb0000 : "rootfs"
      [    1.791642] mtd: device 4 (rootfs) set to be root filesystem
      [    1.797537] 1 squashfs-split partitions found on MTD device rootfs
      [    1.804009] 0x0000004e0000-0x000000fb0000 : "rootfs_data"
      
      After:
      [    1.785376] 0x00000018f800-0x000000fb0000 : "rootfs"
      [    1.791601] mtd: device 4 (rootfs) set to be root filesystem
      [    1.797491] 1 squashfs-split partitions found on MTD device rootfs
      [    1.803936] Creating 1 MTD partitions on "rootfs":
      [    1.808910] 0x000000350800-0x000000e20800 : "rootfs_data"
      
      Signed-off-by: default avatarRafał Miłecki <rafal@milecki.pl>
      15a0701c
    • Sungbo Eo's avatar
      ramips: append tail to WF2881 initramfs image · be3e98ce
      Sungbo Eo authored
      
      Stock firmware has a vendor-defined tail at the end of uImage for image
      validation. This patch enables OpenWrt installation from stock firmware
      without having to access the UART console.
      
      Installation via web interface:
      1.  Flash **initramfs** image through the stock web interface.
      2.  Boot into OpenWrt and perform sysupgrade with sysupgrade image.
      
      Signed-off-by: default avatarSungbo Eo <mans0n@gorani.run>
      be3e98ce
    • Christian Buschau's avatar
      ath79: add support for TP-Link TL-WA830RE v1 · fb99ac68
      Christian Buschau authored
      
      This ports support for the TL-WA830RE v1 range extender from ar71xx to
      ath79.
      
      Specifications:
      - SOC: Atheros AR7240
      - CPU: 400MHz
      - Flash: 4 MiB (Spansion S25FL032P)
      - RAM: 32 MiB (Zentel A3S56D40FTP-G5)
      - WLAN: Atheros AR9280 bgn 2x2
      - Ethernet: 1 port (100M)
      
      Flash instructions:
      - install from u-boot with tftp (requires serial access)
        > setenv ipaddr a.b.c.d
        > setenv serverip e.f.g.h
        > tftpboot 0x80000000 \
            openwrt-ath79-tiny-tplink_tl-wa830re-v1-squashfs-factory.bin
        > erase 0x9f020000 +0x3c0000
        > cp.b 0x80000000 0x9f020000 0x3c0000
        > bootm 0x9f020000
      - flash factory image from OEM WebUI
      - sysupgrade from ar71xx image
      
      The device seems to be a clone of the following devices not yet
      added to ath79:
      - tl-wa701nd-v1
      - tl-wa730re-v1
      - tl-wa801nd-v1
      - tl-wa901nd-v1
      
      Signed-off-by: default avatarChristian Buschau <christian.buschau@mailbox.org>
      [make use of ar7240_tplink.dtsi, add note about clones]
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      fb99ac68
    • Adrian Schmutzler's avatar
      ath79: reorganize DTSI for ar7240 TP-Link devices · 273e00c4
      Adrian Schmutzler authored
      
      The current set of TP-Link devices with ar7240 SoC all share
      the same DTSI file. As the latter is very similar to the
      definition required for the to-be-supported TP-Link TL-WA devices
      with ar7240, this patch splits the definitions into a shared part
      for all TP-Link devices (ar7240_tplink.dtsi) and a file containing
      the specific setup for the present TL-WR devices
      (ar7240_tplink_tl-wr.dtsi), equivalent to the former
      ar7240_tplink_tl-wr74xn-v1.dtsi.
      
      While at it, remove unused firmware partition label and rename
      pinmux_switch_led_pins.
      
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      273e00c4
  4. Feb 10, 2020
  5. Feb 09, 2020
    • Hans Dedecker's avatar
      uci: fix PKG_SOURCE_VERSION value · 7df120b1
      Hans Dedecker authored
      
      Fixes PKG_SOURCE_VERSION value which was wrongly set in commit f6e07c82
      
      Signed-off-by: default avatarHans Dedecker <dedeckeh@gmail.com>
      7df120b1
    • Jason A. Donenfeld's avatar
      wireguard-tools: bump to 1.0.20200206 · cb17d7ae
      Jason A. Donenfeld authored
      
      * wg-quick: android: split uids into multiple commands
      
      Newer android's ndc implementations have limits on uid size, so we have to
      break these into several lists.
      
      * man: document dynamic debug trick for Linux
      
      This comes up occasionally, so it may be useful to mention its
      possibility in the man page. At least the Arch Linux and Ubuntu kernels
      support dynamic debugging, so this advice will at least help somebody. So that
      you don't have to go digging into the commit, this adds this helpful tidbit
      to the man page for getting debug logs on Linux:
      
       # modprobe wireguard && echo module wireguard +p > /sys/kernel/debug/dynamic_debug/control
      
      * extract-{handshakes,keys}: rework for upstream kernel
      
      These tools will now use the source code from the running kernel instead of
      from the old monolithic repo. Essential for the functioning of Wireshark.
      
      * netlink: remove libmnl requirement
      
      We no longer require libmnl. It turns out that inlining the small subset of
      libmnl that we actually use results in a smaller binary than the overhead of
      linking to the external library. And we intend to gradually morph this code
      into something domain specific as a libwg emerges. Performance has also
      increased, thanks to the inliner. On all platforms, wg(8) only needs a normal
      libc. Compile time on my system is still less than one second. So all in all
      we have: smaller binary, zero dependencies, faster performance.
      
      Packagers should no longer have their wireguard-tools package depend on
      libmnl.
      
      * embeddable-wg-library: use newer string_list
      * netlink: don't pretend that sysconf isn't a function
      
      Small cleanups.
      
      Signed-off-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
      cb17d7ae
    • Hans Dedecker's avatar
      procd: update to latest git HEAD · 39a49c2d
      Hans Dedecker authored
      
      Fixes c0c988e1
      
      bcb8655 instance: add 'requirejail' attribute
      
      Signed-off-by: default avatarHans Dedecker <dedeckeh@gmail.com>
      39a49c2d
  6. Feb 08, 2020
  7. Feb 07, 2020
  8. Feb 06, 2020
  9. Feb 05, 2020
    • Jason A. Donenfeld's avatar
      wireguard: bump to 0.0.20200205 · 71de48bd
      Jason A. Donenfeld authored
      
      * compat: support building for RHEL-8.2
      * compat: remove RHEL-7.6 workaround
      
      Bleeding edge RHEL users should be content now (which includes the actual
      RedHat employees I've been talking to about getting this into the RHEL kernel
      itself). Also, we remove old hacks for versions we no longer support anyway.
      
      * allowedips: remove previously added list item when OOM fail
      * noise: reject peers with low order public keys
      
      With this now being upstream, we benefit from increased fuzzing coverage of
      the code, uncovering these two bugs.
      
      * netns: ensure non-addition of peers with failed precomputation
      * netns: tie socket waiting to target pid
      
      An added test to our test suite for the above and a small fix for high-load CI
      scenarios.
      
      Signed-off-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
      71de48bd
    • INAGAKI Hiroshi's avatar
      ramips: add support for I-O DATA WN-AX1167GR2 · 867db0a2
      INAGAKI Hiroshi authored
      I-O DATA WN-AX1167GR2 is a 2.4/5 GHz band 11ac router, based on MediaTek
      MT7621A.
      
      Specification:
      
      - SoC		: MediaTek MT7621A
      - RAM		: DDR3 128 MiB
      - Flash		: NAND 128 MiB
      - WLAN		: MediaTek MT7615D (2.4/5 GHz, 2T2R)
      - Ethernet	: 5x 10/100/1000 Mbps
        - Switch	: MediaTek MT7621A (MT7530)
      - LEDs/Input	: 2x/3x (2x buttons, 1x slide-switch)
      - UART		: through-hole on PCB
        - J5: Vcc, TX, RX, NC, GND
        - 57600 bps
      
      Flash instruction using initramfs image:
      
      1. Boot WN-AX1167GR2 normally
      2. Access to "http://192.168.0.1/
      
      " and open firmware update page
      ("ファームウェア")
      3. Select the OpenWrt initramfs image and click update ("更新")
      button to perform firmware update
      4. On the initramfs image, perform sysupgrade with squashfs-sysupgrade
      image
      5. Wait ~120 seconds to complete flashing
      
      Notes:
      
      - configuration in DeviceTree of DBDC (Dual-Band-Dual-Concurrent) mode
      for MT7615D chip is not supported in mt76 driver
      - last 0x80000 (512 KiB) in NAND flash is not used on stock firmware
      - stock firmware requires "customized uImage header" by MSTC
      (MitraStar Technology Corp.), but U-Boot doesn't
        - uImage magic (0x0 - 0x3) : 0x434F4D42 (COMB)
        - header crc32 (0x4 - 0x7) : with data length and data crc32
        - image name (0x20 - 0x37) : model ID and firmware versions
        - data length (0x38 - 0x3b): kernel + rootfs
        - data crc32 (0x3c - 0x3f) : kernel + rootfs
      
      Signed-off-by: default avatarINAGAKI Hiroshi <musashino.open@gmail.com>
      Reviewed-by: default avatarSungbo Eo <mans0n@gorani.run>
      867db0a2
    • INAGAKI Hiroshi's avatar
      ramips: add support for I-O DATA WN-DX1167R · 3c0e2aa6
      INAGAKI Hiroshi authored
      I-O DATA WN-DX1167R is a 2.4/5 GHz band 11ac rotuer, based on MediaTek
      MT7621A.
      
      Specification:
      
      - SoC		: MediaTek MT7621A
      - RAM		: DDR3 128 MiB
      - Flash		: NAND 128 MiB
      - WLAN		: MediaTek MT7615D (2.4/5 GHz, 2T2R)
      - Ethernet	: 5x 10/100/1000 Mbps
        - Switch	: MediaTek MT7621A (MT7530)
      - LEDs/Input	: 2x/3x (2x buttons, 1x slide-switch)
      - UART		: through-hole on PCB
        - J5: Vcc, TX, RX, NC, GND
        - 57600 bps
      
      Flash instruction using initramfs image:
      
      1. Boot WN-DX1167R normally
      2. Access to "http://192.168.0.1/
      
      " and open firmware update page
      ("ファームウェア")
      3. Select the OpenWrt initramfs image and click update ("更新")
      button to perform firmware update
      4. On the initramfs image, perform sysupgrade with squashfs-sysupgrade
      image
      5. Wait ~120 seconds to complete flashing
      
      Notes:
      
      - configuration in DeviceTree of DBDC (Dual-Band-Dual-Concurrent) mode
      for MT7615D chip is not supported in mt76 driver
      - last 0x80000 (512 KiB) in NAND flash is not used on stock firmware
      - stock firmware requires "customized uImage header" by MSTC
      (MitraStar Technology Corp.), but U-Boot doesn't
        - uImage magic (0x0 - 0x3) : 0x434F4D43 (COMC)
        - header crc32 (0x4 - 0x7) : with data length and data crc32
        - image name (0x20 - 0x37) : model ID and firmware versions
        - data length (0x38 - 0x3b): kernel + rootfs
        - data crc32 (0x3c - 0x3f) : kernel + rootfs
      
      Signed-off-by: default avatarINAGAKI Hiroshi <musashino.open@gmail.com>
      Reviewed-by: default avatarSungbo Eo <mans0n@gorani.run>
      3c0e2aa6
Loading