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)
commitb0265024b8b5fb35d1e1a1da6be65399e33e122e
treea4e9c2969fbfc0a9f0aaf717aa3eec7691e40741
parent30841f5cdeccd24c4a68b9df681b3ef11b0dda53
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