]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: add supported rates change notification in IBSS
authorAntonio Quartulli <ordex@autistici.org>
Sun, 12 Aug 2012 16:24:55 +0000 (18:24 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 20 Aug 2012 11:31:43 +0000 (13:31 +0200)
commit6bb9f14c94b3b926af84b457ce24468798732fad
tree3021da723c82f251fb2fd1cbef1083e804d53829
parent9bbfdb79619a9178a10de14987fc83ad130edc0e
mac80211: add supported rates change notification in IBSS

In IBSS it is possible that the supported rates set for a station changes over
time (e.g. it gets first initialised as an empty set because of no available
information about rates and updated later). In this case the driver has to be
notified about the change in order to update its internal table accordingly (if
needed).

This behaviour is needed by all those drivers that handle rc internally but
leave stations management to mac80211

Reported-by: Gui Iribarren <gui@altermundi.net>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
[Johannes - add docs, validate IBSS mode only, fix compilation]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/driver-ops.h
net/mac80211/ibss.c