WPS: Change concurrent radio AP to use only one WPS UPnP instance
authorJouni Malinen <jouni.malinen@atheros.com>
Thu, 11 Nov 2010 12:50:13 +0000 (14:50 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 11 Nov 2010 12:50:13 +0000 (14:50 +0200)
commitfd806bac5fdd31d142262d31c0ccdd677bc92eb5
tree7c3ac5b5efe205d76521140dc36edd4e5affb38d
parentd318c534da6eb07a45b636e00b3d90e0af4e7436
WPS: Change concurrent radio AP to use only one WPS UPnP instance

WPS external Registrars can get confused about multiple UPnP
instances (one per radio) on a dual-concurrent APs. Simplify the
design by sharing a single UPnP state machine for all wireless
interfaces controlled by hostapd. This matches with the previous
changes that made a single command enable WPS functionality on
all interfaces.

This is relatively minimal change to address the sharing of the
state among multiple struct hostapd_data instances. More cleanup
can be done separately to remove unnecessary copies of information.
src/ap/wps_hostapd.c
src/wps/wps_upnp.c
src/wps/wps_upnp.h
src/wps/wps_upnp_i.h
src/wps/wps_upnp_ssdp.c
src/wps/wps_upnp_web.c