New version of the patchset, changes against:
v2:
        - no need of p2p_enabled in src/technology.c, just use existing
          enable_persistent
        - small compilation fix (device.h needs to include service.h
          as early as patch 8)
v1:
        - Jukka and Patrik comments applied.
        - corner case of p2p enabling/disabling fixed
        - proper scan stopped given to technology: by type rather than
          by device.

Please review,

Tomasz Bursztyka (24):
  doc: Add an overview documentation about WiFi P2P in ConnMan
  src: Add a new service type for P2P but only used as a technology
  technology: Check if a driver does not exist already before
    registration
  technology: Move down dbus registration related functions for futur
    work
  technology: Add P2P technology support
  technology: Move up Powered related functions for future work
  technology: Handle enabling/disabling P2P technology properly
  technology: Handle specific case of replying to a p2p scan
  gsupplicant: Add a mechanism to know whether P2P is supported or not
  wifi: Add support for (un)registering P2P technology if present
  gsupplicant: Add function to start/stop P2P discovery process
  device: Detail the service type to the scanning method
  wifi: Handling P2P find when relevant service type is given to scan
  gsupplicant: Add the logic handling P2P peers related
    events/properties
  peer: Add basic core logic for P2P peer objects
  peer: Add necessary functions to get the properties through DBus
  manager: Improve the API with P2P peers related method and signal
  dbus: Factorize a useful functions for changed objects
  service: Use the dbus helper to add an object path array to a message
  peer: Add the logic for signaling PeersChanged() relevantly
  wifi: Handle gsupplicant peer event and link the core logic for peers
  client: Add basic support for P2P peers related signal and method
  peer: Add and implement support for obsolete GetProperties method
  client: Add support to printout one specific peer

 Makefile.am                |   5 +-
 client/commands.c          | 167 +++++++++++++++++++++-
 client/peers.c             | 122 ++++++++++++++++
 client/peers.h             |  38 +++++
 doc/peer-api.txt           |  12 +-
 doc/wifi-p2p-overview.txt  |  54 +++++++
 gsupplicant/gsupplicant.h  |  19 ++-
 gsupplicant/supplicant.c   | 347 +++++++++++++++++++++++++++++++++++++++++++--
 include/dbus.h             |   1 +
 include/device.h           |   6 +-
 include/peer.h             |  45 ++++++
 include/service.h          |   3 +-
 plugins/bluetooth_legacy.c |   6 +-
 plugins/iospm.c            |   1 +
 plugins/wifi.c             | 209 +++++++++++++++++++++++++--
 src/connman.h              |  14 +-
 src/dbus.c                 |  19 +++
 src/device.c               |  28 ++--
 src/main.c                 |   2 +
 src/manager.c              |  25 ++++
 src/notifier.c             |   2 +
 src/peer.c                 | 317 +++++++++++++++++++++++++++++++++++++++++
 src/rfkill.c               |   1 +
 src/service.c              |  29 ++--
 src/session.c              |   1 +
 src/technology.c           | 339 ++++++++++++++++++++++++-------------------
 src/wispr.c                |   1 +
 27 files changed, 1609 insertions(+), 204 deletions(-)
 create mode 100644 client/peers.c
 create mode 100644 client/peers.h
 create mode 100644 doc/wifi-p2p-overview.txt
 create mode 100644 include/peer.h
 create mode 100644 src/peer.c

-- 
1.8.3.2

_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to