hostapd: Add DUP_NETWORK global control interface command
authorAnton Nayshtut <qca_antonn@qca.qualcomm.com>
Mon, 20 Jul 2015 10:38:01 +0000 (13:38 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 21 Jul 2015 10:42:16 +0000 (13:42 +0300)
commit748febf34458b919418e4c60397400ac2336f207
tree89b2667b4b63be43c68696786345b608a7442b98
parentc497a024a2d658a7bb23180f03eea760f15fd8d7
hostapd: Add DUP_NETWORK global control interface command

This adds a new global control interface command DUP_NETWORK with the
following syntax:

DUP_NETWORK src_ifname dst_ifname param

The currently supported parameters:
  wpa
  wpa_key_mgmt
  wpa_pairwise
  rsn_pairwise
  wpa_passphrase
  wpa_psk

The specified configuration parameter is copied from the source
interface to the destination interface. The main use for this is to
allow cloning of security configuration without having to expose the
keys from the hostapd process.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
hostapd/ctrl_iface.c