nl80211: improve station flags handling
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 11 May 2009 18:57:56 +0000 (21:57 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 13 May 2009 19:44:35 +0000 (15:44 -0400)
commiteccb8e8f0c3af47aeb6dbe4012eb8d4fc888767a
tree3705a833e4a5efb08beb2bfc4175775171e74295
parent0e46724a48fcc3bac1fecea413d20af64a75844f
nl80211: improve station flags handling

It is currently not possible to modify station flags, but that
capability would be very useful. This patch introduces a new
nl80211 attribute that contains a set/mask for station flags,
and updates the internal API (and mac80211) to mirror that.

The new attribute is parsed before falling back to the old so
that userspace can specify both (if it can) to work on all
kernels.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/linux/nl80211.h
include/net/cfg80211.h
net/mac80211/cfg.c
net/wireless/nl80211.c