kernel-hacking-2024-linux-s.../net/mac80211
Johannes Berg e7ec86f54e mac80211: validate TIM IE length (redux)
The TIM IE must not be shorter than 4 bytes, so verify that
when parsing it and use the proper type. To ease that adjust
struct ieee80211_tim_ie to have a virtual bitmap of size
at least 1.

Also check that the TIM IE is actually present before trying
to parse it!

Because other people may need the function, make it a static
inline in ieee80211.h.

(The original "mac80211: validate TIM IE length" was a minimal fix for
2.6.30.  This purports to be the full, correct fix. -- JWL)

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-04-22 16:57:18 -04:00
..
aes_ccm.c
aes_ccm.h
aes_cmac.c
aes_cmac.h
agg-rx.c mac80211: Tear down aggregation sessions for suspend/resume 2009-03-27 20:12:55 -04:00
agg-tx.c mac80211/iwlwifi: move virtual A-MDPU queue bookkeeping to iwlwifi 2009-03-27 20:13:23 -04:00
cfg.c nl80211: Add set/get for frag/rts threshold and retry limits 2009-04-22 16:57:17 -04:00
cfg.h
debugfs.c nl80211: Add set/get for frag/rts threshold and retry limits 2009-04-22 16:57:17 -04:00
debugfs.h
debugfs_key.c
debugfs_key.h
debugfs_netdev.c mac80211: split IBSS/managed code 2009-02-27 14:51:42 -05:00
debugfs_netdev.h
debugfs_sta.c
debugfs_sta.h
event.c nl80211: Add Michael MIC failure event 2009-04-22 16:54:28 -04:00
ht.c cfg80211: clean up includes 2009-04-22 16:57:17 -04:00
ibss.c mac80211: convert to cfg80211 IBSS API 2009-04-22 16:57:17 -04:00
ieee80211_i.h mac80211: validate TIM IE length (redux) 2009-04-22 16:57:18 -04:00
iface.c mac80211: convert to cfg80211 IBSS API 2009-04-22 16:57:17 -04:00
Kconfig mac80211: enable PS by default 2009-04-22 16:57:16 -04:00
key.c mac80211: split IBSS/managed code 2009-02-27 14:51:42 -05:00
key.h
led.c
led.h
main.c nl80211: Add set/get for frag/rts threshold and retry limits 2009-04-22 16:57:17 -04:00
Makefile mac80211: split IBSS/managed code 2009-02-27 14:51:42 -05:00
mesh.c mac80211: use cfg80211s BSS infrastructure 2009-02-13 13:45:58 -05:00
mesh.h mac80211: use cfg80211s BSS infrastructure 2009-02-13 13:45:58 -05:00
mesh_hwmp.c mac80211: fix RX aggregation timeouts 2009-02-13 13:45:32 -05:00
mesh_pathtbl.c
mesh_plink.c
michael.c
michael.h
mlme.c mac80211: validate TIM IE length (redux) 2009-04-22 16:57:18 -04:00
pm.c mac80211: add hardware restart function 2009-04-22 16:57:14 -04:00
rate.c mac80211: rate control status only for controlled packets 2009-03-27 20:13:15 -04:00
rate.h mac80211: rate control status only for controlled packets 2009-03-27 20:13:15 -04:00
rc80211_minstrel.c
rc80211_minstrel.h
rc80211_minstrel_debugfs.c
rc80211_pid.h
rc80211_pid_algo.c
rc80211_pid_debugfs.c
rx.c nl80211: Add Michael MIC failure event 2009-04-22 16:54:28 -04:00
scan.c mac80211: convert to cfg80211 IBSS API 2009-04-22 16:57:17 -04:00
spectmgmt.c cfg80211: clean up includes 2009-04-22 16:57:17 -04:00
sta_info.c mac80211: convert to cfg80211 IBSS API 2009-04-22 16:57:17 -04:00
sta_info.h mac80211: convert to cfg80211 IBSS API 2009-04-22 16:57:17 -04:00
tkip.c
tkip.h
tx.c nl80211: Add set/get for frag/rts threshold and retry limits 2009-04-22 16:57:17 -04:00
util.c mac80211: validate TIM IE length (redux) 2009-04-22 16:57:18 -04:00
wep.c mac80211: rewrite fragmentation 2009-03-27 20:13:21 -04:00
wep.h
wext.c nl80211: Add set/get for frag/rts threshold and retry limits 2009-04-22 16:57:17 -04:00
wme.c mac80211: Fix WMM ACM parsing and AC downgrade operation 2009-03-16 18:09:27 -04:00
wme.h mac80211: fix aggregation for hardware with ampdu queues 2009-02-27 14:51:42 -05:00
wpa.c nl80211: Add Michael MIC failure event 2009-04-22 16:54:28 -04:00
wpa.h