mac80211: introduce ieee80211_beacon_get_tim()
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 29 Oct 2009 07:30:35 +0000 (08:30 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 30 Oct 2009 20:50:39 +0000 (16:50 -0400)
commiteddcbb94f75c3e8944503e9f13c1d29acd0d7052
treeb5e4786dbafccea91d7ec42cb9e84af655414aca
parent750266646befe42ee8a3a9f9b6f692174635c5b8
mac80211: introduce ieee80211_beacon_get_tim()

Compared to ieee80211_beacon_get(), the new function
ieee80211_beacon_get_tim() returns information on the
location and length of the TIM IE, which some drivers
need in order to generate the TIM on the device. The
old function, ieee80211_beacon_get(), becomes a small
static inline wrapper around the new one to not break
all drivers.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/mac80211.h
net/mac80211/tx.c