Skip to content
Snippets Groups Projects
  1. May 24, 2020
  2. Mar 31, 2020
  3. Feb 15, 2018
  4. Aug 11, 2017
  5. Aug 08, 2017
  6. Apr 10, 2017
  7. Feb 10, 2017
  8. Jul 27, 2016
  9. Jul 20, 2016
  10. Jul 10, 2016
  11. May 13, 2016
  12. Apr 27, 2016
    • lemoer's avatar
      Change MAC schema generation (#715) · c73a12e0
      lemoer authored
      While ath9k/ath10k devices can supprt VIFs with any combination of MAC addresses, there are also adapters which have a hardware MAC filter which only allows a few bits to differ. This commit changes the addresses of all VIFs to ony differ in the last 3 bits, which is required to support many Ralink/Mediatek based WLAN adapters.
      
      Technically, the new addresses are generated by calculating an MD5 hash of the primary MAC address and using a part of this hash as a prefix for the MAC addresses.
      
      The addresses (BSSIDs) of the AP VIFs are also reused for the LAN and WAN interfaces in mesh-on-LAN/WAN mode to reduce the number of needed addresses, and thus reduce the chance of collisions. This is not a problem as the MAC addresses of the AP VIFs are never used except as BSSID, and thus not seen by routing protocols like batman-adv.
      
      Fixes #648
      
      [Matthias Schiffer: rewrote commit message]
      c73a12e0
  13. Apr 02, 2016
  14. Oct 26, 2015
Loading