1. 04 Jan, 2019 1 commit
  2. 03 Jan, 2019 6 commits
  3. 22 Dec, 2018 1 commit
    • Zeeshan Ali's avatar
      wifi: Tell wpa_supplicant to keep scanning · 8e1ed80a
      Zeeshan Ali authored
      It seems by default, wpa_supplicant won't keep a list of BSS around but
      only if it has done a scan recently. This means we currently end up with
      very bad accuracy since we only send out the ESSID of the currently
      connected WiFi (if any).
      
      To fix this, we'll now tell wpa_supplicant to start a scan when the source is
      started. We keep doing that continuously if accuracy is street level or higher,
      but wait 5 minutues between scans if requested accuracy is lower than that.
      
      Fixes #91.
      8e1ed80a
  4. 17 Sep, 2018 1 commit
    • Zeeshan Ali's avatar
      wifi: Use WiFi-based geolocation for city level accuracy · fcd237b6
      Zeeshan Ali authored
      Since GeoIP can be easily extremely inaccurate, let's use WiFi-geolocation
      for city accuracy level. We scramble the location a bit so that apps
      requesting city accuracy level don't end up getting user's street
      location with 300 meters accuracy.
      
      Fixes #64.
      fcd237b6
  5. 22 Apr, 2018 1 commit
  6. 19 Nov, 2015 1 commit
  7. 26 Mar, 2015 1 commit
  8. 06 Nov, 2014 1 commit
    • Zeeshan Ali's avatar
      wifi: Remove a redundant condition · 22b2d7ca
      Zeeshan Ali authored
      We were only refreshing the location on starting of wifi source if
      requested accuracy level was 'city'. This resulted in clients requesting
      accuracy level other than 'city' to not get any location on machines
      without a wifi card (e.g VMs).
      
      This patches fixes the issue by removing the redundant condition.
      22b2d7ca
  9. 03 Oct, 2014 1 commit
    • Zeeshan Ali's avatar
      wifi: Map neighborhood-level accuracy to city-level · 969fbc0d
      Zeeshan Ali authored
      If we don't have a 3G-modem, currently geoclue would be unable to give
      you any location if you request neighborhood-level accuracy.
      
      This patch fixes it by mapping the neighborhood-level accuracy to
      city-level in WiFi source (only).
      969fbc0d
  10. 21 Jun, 2014 3 commits
  11. 17 Jun, 2014 3 commits
  12. 25 May, 2014 1 commit
  13. 24 May, 2014 1 commit
  14. 16 Apr, 2014 2 commits
  15. 15 Apr, 2014 1 commit
  16. 10 Apr, 2014 1 commit
  17. 09 Apr, 2014 3 commits
    • Zeeshan Ali's avatar
      wifi: Make geoip work for non-Linux · a25084f6
      Zeeshan Ali authored
      NetworkManager is Linux specific and to be able to build geoclue, other
      platforms (BSD) build with WiFi source disabled. Now that we don't have
      a separate geoip source, geoclue will be completely useless on those
      platforms.
      
      This patch replaces '--disable-wifi-source' configure option with
      '--disable-network-manager'. i-e now you disable usage of NetworkManger
      explicitly rather than wifi source, which is now always built and
      enabled.
      a25084f6
    • Zeeshan Ali's avatar
      wifi: Make it usable as geoip-only client · c9ddb6ce
      Zeeshan Ali authored
      c9ddb6ce
    • Zeeshan Ali's avatar
      wifi: Use 'constructed' for most initializations · 8afa359a
      Zeeshan Ali authored
      In a following commit, this will become mandatory when we depend on
      value of a construct property for these initializations.
      8afa359a
  18. 08 Apr, 2014 2 commits
  19. 06 Apr, 2014 3 commits
  20. 03 Apr, 2014 2 commits
  21. 24 Feb, 2014 1 commit
  22. 02 Feb, 2014 3 commits