]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: allow userspace to specify client P2P PS support
authorAyala Beker <ayala.beker@intel.com>
Thu, 17 Mar 2016 13:41:38 +0000 (15:41 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 5 Apr 2016 19:34:47 +0000 (21:34 +0200)
commit43502b7a8caad16d5ce4684aa7060778c6262113
tree51be5ecb4bf44ca4aa696ada96d8de6564bb80b6
parente54323a013279839d6a48c6c9d91beee20576981
cfg80211: allow userspace to specify client P2P PS support

Legacy clients don't support P2P power save mechanisms, and thus
if a P2P GO has a legacy client connected to it, it has to make
some changes in the PS behavior.

To handle this, add an attribute to specify whether a station supports
P2P PS or not. If the attribute was not specified cfg80211 will assume
that station supports it for P2P GO interface, and does NOT support it
for AP interface, matching the current assumptions in the code.

Signed-off-by: Ayala Beker <ayala.beker@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/wireless/nl80211.c