Skip to content
Snippets Groups Projects
Select Git revision
  • experimental default protected
  • nrb/airmax-test
  • v2023.2.4-ffs
  • nrb/ar9344-reset-sequence
  • autinerd/experimental-openwrt-24.10
  • v2023.2.3-ffs
  • v2023.2.2-ffs
  • v2023.2-ffs
  • v2023.1-ffs
  • v2022.1.4-ffs
  • feature/addMikrotikwAP
  • v2022.1.3-ffs
  • v2021.1.2-ffs
  • v2022.1.1-ffs
  • master protected
  • v2021.1.1-ffs
  • nrb/gluon-master-cpe510
  • v2021.1-ffs
  • v2020.2.3-ffs
  • nrbffs/fastd-remove-delay
  • experimental-2025-05-27
  • experimental-2025-05-27-base
  • experimental-2025-05-18
  • experimental-2025-05-18-base
  • experimental-2025-05-15
  • experimental-2025-05-15-base
  • experimental-2025-05-13
  • experimental-2025-05-13-base
  • experimental-2025-05-08
  • experimental-2025-05-08-base
  • experimental-2025-05-05
  • experimental-2025-05-05-base
  • experimental-2025-05-02
  • experimental-2025-05-02-base
  • experimental-2025-05-01
  • experimental-2025-05-01-base
  • experimental-2025-04-29
  • experimental-2025-04-29-base
  • experimental-2025-04-27
  • experimental-2025-04-27-base
40 results

luasrc

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    David Bauer authored
    Gluon has multiple ways to obtain unique MAC-addresses. They are either
    provided by the WiFi driver or derived from the primary MAC-address.
    
    Quoting the same file:
    
    > It's necessary that the first 45 bits of the MAC address don't
    > vary on a single hardware interface, since some chips are using
    > a hardware MAC filter. (e.g 'rt305x')
    
    This currently fails in case the rt35xx based chips mac address differs
    from the primary MAC. In this case, the MAC address for the client0 radio
    (vif 1) comes from the WiFi driver. As there is only a single
    MAC-address provided by '/sys/class/ieee80211/phyX/addresses' but the
    MAC-address for mesh 0 (vif 2) is derived from the Node-ID, resulting in
    different first 45 bits. The WiFi won't come up altogether in this case.
    
    This commit verifies at least 4 MAC-Addresses are provided by the WiFi
    driver. If this is not the case, all MAC-addresses are derived from the
    primary MAC. This way, affected radios are working correctly.
    387a9b4f
    History
    Name Last commit Last update
    ..