]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: allow leaving MU-MIMO monitor configuration unchanged
authorJohannes Berg <johannes.berg@intel.com>
Wed, 12 Apr 2017 08:43:49 +0000 (10:43 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 13 Apr 2017 11:41:37 +0000 (13:41 +0200)
commitf56806e73ab8f80aefc2942d2b89a65657b430bb
treea4e9c2969fbfc0a9f0aaf717aa3eec7691e40741
parentfa04f5fad96da10ba58637a7ae29410b9ec40bd8
cfg80211: allow leaving MU-MIMO monitor configuration unchanged

When changing monitor parameters, not setting the MU-MIMO attributes
should mean that they're not changed - it's documented that to turn
the feature off it's necessary to set all-zero group membership and
an invalid follow-address. This isn't implemented.

Fix this by making the parameters pointers, stop reusing the macaddr
struct member, and documenting that NULL pointers mean unchanged.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
net/mac80211/cfg.c
net/wireless/nl80211.c