Developing lightweight computation at the DSG edge

  1. 06 Jul, 2020 1 commit
    • Roger Pueyo Centelles's avatar
      [qmp-system] Fix viface for 2.4 GHz 80211s_aplan radios · b45499e1
      Roger Pueyo Centelles authored
      On first boot, routers with a single 2.4 GHz radio had it auto-
      configured as 80211s_aplan, with interface wlan0 as 80211s and
      wlan0ap as AP. However, the wlan0 interface was wrongly considered
      as being inside the virtual interface (viface) "lan" instead of
      "mesh_w0". This was a corner case in the qmp_get_virtual_iface()
      function, which ultimately made rescue_ip 169.254.x.y to be
      incorrectly assigned to "br-lan" instead of "mesh_w0".
      Fixes #481.
      Signed-off-by: default avatarRoger Pueyo Centelles <>
  2. 04 May, 2020 1 commit
  3. 14 Nov, 2019 1 commit
  4. 29 Sep, 2019 1 commit
    • Roger Pueyo Centelles's avatar
      [qmp-system] Detect non-wireless interfaces instead of wireless ones · a5b598a7
      Roger Pueyo Centelles authored
      Certain combinations of wireless drivers (e.g., ath10k, mt7615) and
      wireless modes (e.g., adhoc, 80211s) end up with the radio interfaces
      not being risen up and not appearing in /sys/class/net/. Therefore, they
      are never detected as wireless interfaces and, upon reconfiguration,
      they are treated as wired ones, leading to wrong settings in
      /etc/config/network. To avoid this behaviour, wireless interfaces are
      now tested for *not* being "non-wireless.
      Fixes #473
      Signed-off-by: default avatarRoger Pueyo Centelles <>
  5. 18 Sep, 2019 2 commits
  6. 17 Sep, 2019 2 commits
  7. 03 Oct, 2018 1 commit
    • Roger Pueyo Centelles's avatar
      [qmp-system] Reload network after restarting it · d3aecebc
      Roger Pueyo Centelles authored
      Commit commit:630bd7a8
       fixed #464 but introduced a new bug in devices
      with a switched Ethernet interface, where the VLAN interfaces would not
      come up on time after restarting the network during the
      autoconfiguration process.
      Just reloading the network instantly applies the changes for wired
      interfaces, but restarting it is needed to ensure wifi interfaces work
      correctly. Restarting *and* then reloading ensures the network is up and
      running before continuing the autoconfiguration process, therefore no
      devices missdetection should occur.
      Fixes #466
      Signed-off-by: default avatarRoger Pueyo Centelles <>
  8. 25 Sep, 2018 1 commit
  9. 16 Sep, 2018 1 commit
  10. 16 Jul, 2018 1 commit
  11. 10 May, 2018 1 commit
    • Roger Pueyo Centelles's avatar
      [qmp-system] Add backwards-compatible 802.11s+AdHoc mesh mode · 003700f2
      Roger Pueyo Centelles authored
      This commit sets the "Ad hoc (mesh)" wireless mode as "Ad hoc (legacy
      mesh)" on the web GUI.
      It also introduces a backwards-compatible mode, the "802.11s (mesh) + Ad
      hoc (legacy mesh)", on the web GUI and adds code to the configuration
      scripts to handle it properly.
      This whole thing will ease the transition from current Ad hoc mesh
      networks towards 802.11s mesh networks (e.g. networks in
      Barcelona like Sants-Les Corts-UPC).
      Signed-off-by: default avatarRoger Pueyo Centelles <>
  12. 22 Mar, 2017 1 commit
  13. 13 Mar, 2017 1 commit
  14. 07 Feb, 2017 1 commit
  15. 15 Nov, 2016 1 commit
  16. 25 Apr, 2016 1 commit
  17. 09 Mar, 2016 1 commit
  18. 17 Oct, 2015 1 commit
  19. 04 Aug, 2015 2 commits
  20. 20 Jul, 2015 1 commit
  21. 27 Nov, 2014 3 commits
  22. 02 Oct, 2014 2 commits
  23. 15 Jul, 2014 1 commit
  24. 04 Jul, 2014 1 commit
    • Pau Escrich's avatar
      Remove not used files · 90e7be61
      Pau Escrich authored
      Remove all license references for individual files and add a single file COPYING and AUTHORS
  25. 21 Apr, 2014 2 commits
  26. 13 Mar, 2014 1 commit
  27. 19 Feb, 2014 1 commit
  28. 26 Sep, 2013 1 commit
  29. 16 Sep, 2013 1 commit
    • p4u's avatar
      Remove OLSR code since it is not longer supported by qMp · 19810a6a
      p4u authored
      Move some networking functions from to
      Change VLAN options approach: vid_offset is removed and protocol_vids specify the full VLAN tag (bmx6:2 -> bmx6:12). In case VLAN is not specified, tagging is not used.
      Adapt the default configuration file to the new syntax
      Add uci-default scripts to adapt the qmp config file to this new approach
      Minor changes in the code
  30. 10 Sep, 2013 1 commit
  31. 27 Aug, 2013 1 commit
  32. 26 Aug, 2013 2 commits
    • p4u's avatar
      Change ID/IP functions from qmp_functions to qmp_common · 84aaef62
      p4u authored
      ULA/LAN autogenerated address now uses the crc16 hash
      Fix issue with gateways offer (translation was not done properly)
    • p4u's avatar
      Change the qMp id approach: · 25bdc3cc
      p4u authored
       before: last 8bit from MAC address
       now: crc16 from entire MAC address
      In case community mode (qmp.node.roaming=0) if the LAN address does not exist
      qMp autoconfiguration system generates an IP from this crc16 hash.
      It reduces the IP colision and hostname probability.