Skip to content
Snippets Groups Projects
This project is mirrored from https://git.openwrt.org/openwrt/openwrt.git. Pull mirroring updated .
  1. Jan 26, 2025
  2. Jan 25, 2025
  3. Jan 24, 2025
    • Ivan Deng's avatar
      qualcommax: add missing WAN LED support to Spectrum SAX1V1K routers · 8e78bc39
      Ivan Deng authored
      
      Fixed an issue where both WAN LEDs light up before plugging in the
      ethernet cable and no blinking regardless of WAN network activity.
      
      Updated the LED configuration to reflect proper status:
      Green indicates 2.5Gb connection speed.
      Yellow indicates other connection speed and traffic activity.
      
      This resolves inconsistent WAN LED behavior on Spectrum SAX1V1K routers.
      
      Signed-off-by: default avatarIvan Deng <hongba@rocketmail.com>
      Link: https://github.com/openwrt/openwrt/pull/17623
      
      
      Signed-off-by: default avatarRobert Marko <robimarko@gmail.com>
      8e78bc39
    • Sergey Ryazanov's avatar
      ipq40xx: fix compatibility with linux-atm tools · 6d6dc3a3
      Sergey Ryazanov authored
      
      atm_qos struct should be the same both for user and kernel spaces. Via
      the __SO_ENCODE() macro it is used to define the SO_ATMQOS socket IOC.
      
      During the VRX518 support introduction, the atm_trafprm sturct nested
      into the atm_qos stucture was update with newer fields that are
      referenced by the ATM TC layer of the VRX518 TC driver. These new fields
      are intended to communicate information for extra traffic classes
      supported by the driver. But we are still using vanilla kernel headers
      to build the toolchain. Due to the atm.h header incoherency br2684ctl
      from linux-atm tools is incapable to configure the ATM bridge netdev:
      
        br2684ctl: Interface "dsl0" created sucessfully
        br2684ctl: Communicating over ATM 0.1.2, encapsulation: LLC
        br2684ctl: setsockopt SO_ATMQOS 22 <-- EINVAL errno
        br2684ctl: Fatal: failed to connect on socket; File descriptor in bad state
      
      There are two options to fix this incoherency. (a) update the header
      file in the toolchain to build linux-atm against updated atm_trafprm and
      atm_qos structures, or (b) revert atm_trafprm changes.
      
      Since there are no actual users of the extra ATM QoS traffic classes,
      just drop these extra traffic classes from vrx518_tc ATM TC layer and
      drop the kernel patch updating atm.h.
      
      Besides fixing the compatibility with linux-atm tools, removing the
      kernel patch should simplify kernel updates removing unneeded burden of
      maintenance.
      
      Run tested with FRITZ!Box 7530 with disabled extra traffic classes and
      then removed them entirely before the submission.
      
      CC: John Crispin <john@phrozen.org>
      Fixes: cfd42a00 ("ipq40xx: add Intel/Lantiq ATM hacks")
      Suggested-by: default avatarAndre Heider <a.heider@gmail.com>
      Reported-and-tested-by: default avatar <nebibigon93@yandex.ru>
      Signed-off-by: default avatarSergey Ryazanov <ryazanov.s.a@gmail.com>
      Link: https://patchwork.ozlabs.org/project/openwrt/patch/20250122222654.21833-4-ryazanov.s.a@gmail.com/
      
      
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      6d6dc3a3
  4. Jan 23, 2025
  5. Jan 22, 2025
  6. Jan 21, 2025
Loading