Hello,

Here is the patch-set adding the logic when the local device needs to
be the dhcp server on a P2P connection, and not a dhcp client.

First case here is when the local device ends up as the P2P group owner.

Please review,

Tomasz Bursztyka (5):
  gsupplicant: Add an helper to know if a peer is connected as client or
    not
  peer: Add a function to tell the dhcp role of the peer
  peer: Run dhcp server when peer is supposed to be the connection
    master
  peer: Provide the proper ipv4 settings when peer is the dhcp server
  wifi: Set peer's connection master status when on configuration state

 gsupplicant/gsupplicant.h |   1 +
 gsupplicant/supplicant.c  |  22 ++++++
 include/peer.h            |   1 +
 plugins/wifi.c            |   2 +
 src/peer.c                | 182 ++++++++++++++++++++++++++++++++++++++++++----
 5 files changed, 195 insertions(+), 13 deletions(-)

-- 
1.8.5.5

_______________________________________________
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman

Reply via email to