1. 10 Jun, 2014 2 commits
    • 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.
    • 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
        * 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).
  2. 06 Jun, 2014 1 commit
  3. 03 Jun, 2014 6 commits
  4. 02 Jun, 2014 1 commit
  5. 25 May, 2014 3 commits
  6. 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).
    • 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.
    • Zeeshan Ali's avatar
    • 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.
  7. 29 Apr, 2014 1 commit
  8. 17 Apr, 2014 6 commits
  9. 16 Apr, 2014 4 commits
  10. 15 Apr, 2014 9 commits
  11. 11 Apr, 2014 3 commits