Skip to content
Snippets Groups Projects
  1. Jan 26, 2019
    • David Bauer's avatar
      lantiq: make AVM FRITZ!Box naming consistent · d4ba7bab
      David Bauer authored
      
      This commit changes the model string and device title of all AVM boards
      to fit the naming of the manufacturer.
      
      Drop all provider-specific titles as they are re-used for every device
      generation by 1&1. The original AVM model name is printed on the bottom
      of every devices.
      
      Exception applies for boards which are only supported by a specific
      sub-revision.
      
      Signed-off-by: default avatarDavid Bauer <mail@david-bauer.net>
      d4ba7bab
    • David Bauer's avatar
      ramips: adjust Netgear R6120 model name · 915fbd4e
      David Bauer authored
      
      Adjust the model string and device title to match other Netgear routers
      in the ramips target.
      
      Signed-off-by: default avatarDavid Bauer <mail@david-bauer.net>
      915fbd4e
    • Jeff Kletsky's avatar
      ath79: fix GL.iNet AR300M family GPIOs/LEDs · ee3120a9
      Jeff Kletsky authored
      
      Change the "status" LED to proper GPIO 12 and "red" naming.
      
      Remove GPIO 2 from definition as a USB LED.
      
      GPIO 2 is used to control power to the USB socket, not an LED.
      As such, PWM on the line or typical LED triggers are inappropriate.
      
      Users who wish to control the USB power for custom applications
      can manipulate the GPIO through code, or for example, export it
      through /sys/class/gpio/export.
      
      Runtime-tested:  GL.iNet AR300M-Lite
      
      Signed-off-by: default avatarJeff Kletsky <git-commits@allycomm.com>
      ee3120a9
  2. Jan 25, 2019
    • Felix Fietkau's avatar
      mt76: update to the latest version · 0465e41e
      Felix Fietkau authored
      
      3e9a7d5 Revert "mt7603: fix txd q_idx field value"
      815fd03 mt7603: fix CCA timing values
      b35cc8e mt7603: set timing on channel change before starting MAC
      79b337c mt7603: move CF-End rate update to mt7603_mac_set_timing
      3df341d mt7603: avoid redundant MAC timing updates
      1c751f3 mt76: avoid scheduling tx queues for powersave stations
      2efa389 mt7603: limit station power save queue length to 64
      63a79ff mt76: do not report out-of-range rx nss
      fe30bd3 mt7603: issue PSE reset on tx hang
      ce8cc5d mt7603: issue PSE client reset on init
      e342cc5 mt7603: fix buffered multicast count register
      aa470d8 mt7603: fix buffered multicast queue flush
      b4ee01f mt76: fix tx status timeout processing
      7d00d58 mt76x02: fix per-chain signal strength reporting
      64abb35 mt76: fix corrupted software generated tx CCMP PN
      0b939dc mt76: fix resetting software IV flag on key delete
      
      Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
      0465e41e
    • Jo-Philipp Wich's avatar
      libelf: fix library packaging · f4d6e8f9
      Jo-Philipp Wich authored
      
      The library has an usual shared object file name, which caused the
      install glob pattern to miss the actual so.
      
      Fixes: #2082
      Fixes; 0e70f69a ("treewide: revise library packaging")
      Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
      f4d6e8f9
    • Martin Schiller's avatar
      ppp: update to version 2.4.7.git-2018-06-23 · eaaee181
      Martin Schiller authored
      
      This bumps ppp to latest git version.
      
      There is one upstream commit, which changes DES encryption calls from
      libcrypt / glibc to openssl.
      
      As long as we don't use glibc-2.28, revert this commit.
      
      Signed-off-by: default avatarMartin Schiller <ms@dev.tdt.de>
      eaaee181
    • Jo-Philipp Wich's avatar
      kernel: fix sdhci-msm build error · f01044e8
      Jo-Philipp Wich authored
      A missing upstream stable backport leads to the following build error:
      
           CC      drivers/mmc/host/sdhci-msm.o
          drivers/mmc/host/sdhci-msm.c:1158:3: error: 'const struct sdhci_ops' has no member named 'write_w'
            .write_w = sdhci_msm_write_w,
             ^~~~~~~
          drivers/mmc/host/sdhci-msm.c:1158:13: warning: excess elements in struct initializer
            .write_w = sdhci_msm_write_w,
                       ^~~~~~~~~~~~~~~~~
          drivers/mmc/host/sdhci-msm.c:1158:13: note: (near initialization for 'sdhci_msm_ops')
          scripts/Makefile.build:326: recipe for target 'drivers/mmc/host/sdhci-msm.o' failed
      
      Solve the issue by backporting commit
      99d570da30 ("mmc: Kconfig: Enable CONFIG_MMC_SDHCI_IO_ACCESSORS")
      from linux-stable.
      
      Ref: https://github.com/openwrt/openwrt/commit/528508ae8b33c76deaf18f313973144a7e920678#commitcomment-32049231
      
      
      Fixes: 528508ae ("kernel: bump 4.14 to 4.14.95")
      Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
      f01044e8
  3. Jan 24, 2019
  4. Jan 23, 2019
    • Jason A. Donenfeld's avatar
      wireguard: bump to 0.0.20190123 · bbcd0634
      Jason A. Donenfeld authored
      * tools: curve25519: handle unaligned loads/stores safely
      
      This should fix sporadic crashes with `wg pubkey` on certain architectures.
      
      * netlink: auth socket changes against namespace of socket
      
      In WireGuard, the underlying UDP socket lives in the namespace where the
      interface was created and doesn't move if the interface is moved. This
      allows one to create the interface in some privileged place that has
      Internet access, and then move it into a container namespace that only
      has the WireGuard interface for egress. Consider the following
      situation:
      
      1. Interface created in namespace A. Socket therefore lives in namespace A.
      2. Interface moved to namespace B. Socket remains in namespace A.
      3. Namespace B now has access to the interface and changes the listen
      port and/or fwmark of socket. Change is reflected in namespace A.
      
      This behavior is arguably _fine_ and perhaps even expected or
      acceptable. But there's also an argument to be made that B should have
      A's cred to do so. So, this patch adds a simple ns_capable check.
      
      * ratelimiter: build tests with !IPV6
      
      Should reenable building in debug mode for systems without IPv6.
      
      * noise: replace getnstimeofday64 with ktime_get_real_ts64
      * ratelimiter: totalram_pages is now a function
      * qemu: enable FP on MIPS
      
      Linux 5.0 support.
      
      * keygen-html: bring back pure javascript implementation
      
      Benoît Viguier has proofs that values will stay well within 2^53. We
      also have an improved carry function that's much simpler. Probably more
      constant time than emscripten's 64-bit integers.
      
      * contrib: introduce simple highlighter library
      
      This is the highlighter library being used in:
      - https://twitter.com/EdgeSecurity/status/1085294681003454465
      - https://twitter.com/EdgeSecurity/status/1081953278248796165
      
      It's included here as a contrib example, so that others can paste it into
      their own GUI clients for having the same strictly validating highlighting.
      
      * netlink: use __kernel_timespec for handshake time
      
      This readies us for Y2038. See https://lwn.net/Articles/776435/
      
       for more info.
      
      Signed-off-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
      bbcd0634
    • Deng Qingfang's avatar
      iproute2: update to 4.20.0 · 752bd726
      Deng Qingfang authored
      Update to the latest version of iproute2; see https://lwn.net/Articles/776174/
      
      
      for a full overview of the changes in 4.20.
      Remove upstream patch 001-fix-print_0xhex-on-32-bit.patch and 002-tc-fix-xtables-incorrect-usage-of-LDFLAGS.patch
      Introduce a patch to include <linux/limits.h> for XATTR_SIZE_MAX in tc
      
      Signed-off-by: default avatarDeng Qingfang <dengqf6@mail2.sysu.edu.cn>
      752bd726
    • HsiuWen Yen's avatar
      ramips: fix two-way hash and auto ageout on MT7621 · fe7d965e
      HsiuWen Yen authored
      
      Current code directly writes the FOE entry to hash_val+1 position
      when hash collision occurs. However, it is found that this behavior
      will cause the cache and the hardware FOE table to be inconsistent.
      
      For example, there are three flows, and their hashed values are all
      equal to 100. The first flow is written to the position of 100. The
      second flow is written to the position of 100+1. Then, the logic of
      the current code will also write the third flow to 100+1.
      
      At this time, the cache has flow 1 and 2; and the hardware FOE table
      has flow 1 and 3, where these two parts store different contents.
      So it is necessary to check whether the hash_val+1 is also occupied
      before writing. If hash_val+1 is also occupied, we won’t bind th
      third flow to the FOE table.
      
      Addition to that, we also cancel the processing of foe_entry removal
      because the hardware has auto age-out ability. The hardware will
      periodically iterate through the FOE table to find out the time-out
      entry and set it as INVALID.
      
      Signed-off-by: default avatarHsiuWen Yen <y.hsiuwen@gmail.com>
      fe7d965e
  5. Jan 22, 2019
Loading