Hi,

Here is the first (and easiest) patch set about WiFi P2P support.
It provides mostly architectural basics for such feature plus scanning p2p
and providing peer objects.

Connect()/Disconnect() method are not implemented yet, and that will be
more fun (route issue, ipv4config, chicken and egg issue with p2p if getting 
up, etc...)

So, way more patches to come...

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         | 188 ++++++++++++++++++++++---
 client/peers.c            | 123 ++++++++++++++++
 client/peers.h            |  39 ++++++
 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          |   4 +-
 include/peer.h            |  45 ++++++
 include/service.h         |   3 +-
 plugins/iospm.c           |   1 +
 plugins/wifi.c            | 179 +++++++++++++++++++++++-
 src/connman.h             |  11 +-
 src/dbus.c                |  19 +++
 src/device.c              |  23 +--
 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          | 312 ++++++++++++++++++++++-------------------
 src/wispr.c               |   1 +
 26 files changed, 1567 insertions(+), 196 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