1. 17 Jun, 2014 3 commits
  2. 10 Jun, 2014 4 commits
    • Zeeshan Ali's avatar
      Drop now redundant GClueModemSource class · 61568c2a
      Zeeshan Ali authored
      Modem classes now directly use GClueModem and therefore not inherit from
      GClueModemSource anymore.
      61568c2a
    • Zeeshan Ali's avatar
      modem-gps: Use Modem class · 4a4bc54f
      Zeeshan Ali authored
      Instead of deriving from GClueModemSource class, GClueModemGPS now just
      uses GClueModem singleton to talk to ModemManager.
      
      Refer to 9231e644 ("Add GClueModem class") for rationale.
      4a4bc54f
    • Zeeshan Ali's avatar
      3g: Use Modem class · 78046b9a
      Zeeshan Ali authored
      Instead of deriving from GClueModemSource class, GClue3G now just uses
      GClueModem singleton to talk to ModemManager.
      
      Refer to 9231e644 ("Add GClueModem class") for rationale.
      78046b9a
    • Zeeshan Ali's avatar
      Add GClueModem class · 9231e644
      Zeeshan Ali authored
      Add a new class which is going to be responsible for dealing with
      ModemManager for us. This is so that:
      
      * We have ModemManager code isolated from rest of the code so its easy to
        add support for other backends (e.g ofono) in future.
      
      * We have only one entity dealing with modem. In the following patch(es),
        we'll drop GClueModemSource baseclass and, GClueModemGPS and GClue3G
        will just use GClueModem for talking to modem.
        * GClue3G can then derive from GClueWebSource instead and be more
          easily modified to submit cell tower data to Mozilla Location
          Service.
        * GClueModemGPS can be easily generalized so that it can be more easily
          modifed to talk to standalone GPS devices too in future (we'll
          probably want to change it's name to GClueGPS then).
      9231e644
  3. 06 Jun, 2014 1 commit
  4. 03 Jun, 2014 6 commits
  5. 02 Jun, 2014 1 commit
  6. 25 May, 2014 3 commits
  7. 24 May, 2014 4 commits
    • Zeeshan Ali's avatar
      web-source: Don't refresh location on _start · e8665a82
      Zeeshan Ali authored
      Since now wifi interface proxy is created async in Wifi (the only
      inheriting class), calling _refresh from _start() could easily mean that
      location query is created while we don't have an interface (or list of
      BSS proxies, which are also created async) and end-up making a
      geoip-only query to the server. Also we can easily end-up not making the
      wifi query at all if geoip-only query is still in process since we only
      allow one query at a time.
      
      Let's leave this to subclasses (we only have 1 right now anyway).
      e8665a82
    • Zeeshan Ali's avatar
      wifi: Use wpa_supplicant to retreive WiFI data · fb59be4c
      Zeeshan Ali authored
      wpa_supplicant seems to be a lot more ubiquitous than NetworkManager so
      lets use that instead of NetworkManager for getting WiFi data.
      fb59be4c
    • Zeeshan Ali's avatar
      bcdaedbd
    • Zeeshan Ali's avatar
      conf: Get us access to wpa_supplicant API · e7760ff5
      Zeeshan Ali authored
      We only need access to read properties and receive signals. A patch has
      been submitted to wpa_supplicant to make this redundant in here but at
      least for now, we need to get access ourselves.
      e7760ff5
  8. 29 Apr, 2014 1 commit
  9. 17 Apr, 2014 6 commits
  10. 16 Apr, 2014 4 commits
  11. 15 Apr, 2014 7 commits