]> git.ipfire.org Git - thirdparty/hostap.git/commit - src/drivers/driver.h
AP: Pass station P2P PS capabilities info during station add/set
authorAyala Beker <ayala.beker@intel.com>
Thu, 7 Apr 2016 10:31:01 +0000 (13:31 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 8 Apr 2016 10:02:49 +0000 (13:02 +0300)
commitae33239c555313e547b9a2a376c927ec50e2b9de
tree6c4f69d3a9b0bfa4d39b7e6f445a8eb0c47c3a2e
parent7405bb06ca29f8d06d105d49d2475b11be1f00eb
AP: Pass station P2P PS capabilities info during station add/set

If a legacy client with no P2P PS support is trying to connect to
a P2P GO, the driver should know that, and change its PS behavior
accordingly.

Add a parameter to hostapd_sta_add_params() indicating if P2P PS is
supported by the station and pass this parameter to kernel with nl80211
driver when the station is added/set.

Signed-off-by: Ayala Beker <ayala.beker@intel.com>
src/ap/ap_drv_ops.c
src/ap/ap_drv_ops.h
src/ap/ieee802_11.c
src/drivers/driver.h
src/drivers/driver_nl80211.c