mac80211: Handle scan result IEs in one block
authorJouni Malinen <jouni.malinen@atheros.com>
Fri, 15 Aug 2008 19:21:27 +0000 (22:21 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 29 Aug 2008 20:24:05 +0000 (16:24 -0400)
commit43ac2ca3840f64f699a239535c590fa7ebaaac27
tree4d60ba05ba1ba39635533f1dbf1a1babd75f52b5
parent19b73c7f68fb2eeb180eafa70f9859409ec9aa08
mac80211: Handle scan result IEs in one block

Clean up and extend scan result processing by storing all the IEs from
Beacon/Probe Response frames in a single block instead of allocating
memory for each specific IE separately. This removes lot of unnecessary
code and automatically supports reporting of new IEs (e.g., IEEE
802.11r) into user space without need to manually extend mac80211
scanning code whenever a new protocol adds IE(s).

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c