Skip to content
Snippets Groups Projects
  1. Jun 16, 2019
  2. Apr 28, 2019
  3. Feb 12, 2019
  4. Feb 11, 2019
    • David Bauer's avatar
      gluon-core: assert WiFi driver provides 4 MAC-addresses (#1626) · 387a9b4f
      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
  5. Nov 21, 2018
  6. Jul 17, 2018
  7. Jul 13, 2018
  8. Apr 13, 2018
  9. Mar 17, 2018
  10. Feb 25, 2018
  11. Feb 15, 2018
  12. Jan 19, 2018
  13. Jan 18, 2018
  14. Aug 11, 2017
  15. Aug 08, 2017
  16. Jun 27, 2017
  17. Apr 10, 2017
  18. Feb 10, 2017
  19. Jan 18, 2017
  20. Dec 21, 2016
  21. Dec 10, 2016
  22. Sep 07, 2016
  23. Jul 27, 2016
  24. Jul 20, 2016
Loading