]> 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)
commit26d853cfb2f5819ea63368dd4b427f4d780acbbd
tree3021da723c82f251fb2fd1cbef1083e804d53829
parentc9701a748834e06e6e319df6834f909d4da06a52
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