- Nuke no longer needed macros.
- Use ieee80211_tim_ie, instead of local TIM ie definition.
- It turns out TIM template can contain more ies than I expected --
It is safe to put Exteneded Rate, WPA, RSN and WME ies into TIM template,
thus duplicated TIM ie in infrastructure BSS's beacon frames can be
eliminated:
o Move TIM template setup from template initalization routine to beacon
template setup routine.
o Use ies' location information provided by ieee80211_beacon_offset to put
all fixed fields and ies before TIM ie into beacon template. Ies starting
from TIM ie are put into TIM template.