OSDN Git Service

mac80211: Use proper smps_mode enum in sta opmode event
authortamizhr@codeaurora.org <tamizhr@codeaurora.org>
Tue, 27 Mar 2018 13:46:16 +0000 (19:16 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 29 Mar 2018 08:19:55 +0000 (10:19 +0200)
commit57566b20033f23bdc9f25d5fa4c36a7287aa08d2
tree305656d75bf16a8f45fdb7ce429543ab9fdcb0c5
parent5e78abd075e562fd5748ac3bfb067941e8baf6c7
mac80211: Use proper smps_mode enum in sta opmode event

SMPS_MODE change value notified via nl80211 contains mac80211
specific value(ieee80211_smps_mode) and user space application
will not know those values. This patch add support to map
the mac80211 enum value to nl80211_smps_mode which will be
understood by the userspace application.

Signed-off-by: Tamizh chelvam <tamizhr@codeaurora.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ht.c
net/mac80211/ieee80211_i.h
net/mac80211/rx.c