]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Handle SMPS mode changes only in AP mode
authorIlan Peer <ilan.peer@intel.com>
Fri, 31 Jan 2020 11:12:53 +0000 (13:12 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 7 Feb 2020 11:47:30 +0000 (12:47 +0100)
commit657459854b8cc61120ca626815d6cc95f759c944
tree92600221e2e011cf1e2a84a05ecbb162b1a99933
parentecbc7e0dba82f826d4f6d3166eb8ae1e18b14eb1
mac80211: Handle SMPS mode changes only in AP mode

According to IEEE802.11 specifications the SM power save field
in the HT capability IE and the HE extended capability IE is valid
only in (re)association frames and should be ignored otherwise.
Remove code paths that handled this also for non AP modes.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/20200131111300.891737-17-luca@coelho.fi
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/he.c
net/mac80211/ht.c
net/mac80211/rx.c