- Use ieee80211_probe_resp_alloc() to setup probe response template.
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 9 Dec 2006 08:10:04 +0000 (08:10 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 9 Dec 2006 08:10:04 +0000 (08:10 +0000)
commitcb698c7c1176b52588d6da8cc1644aeddf633b2a
tree6f0aeae406d72b9ce5935ad25ae6c53480338ab6
parent3da93495239190831e0125874ac71ad93f37c79e
- Use ieee80211_probe_resp_alloc() to setup probe response template.
- Check the return value of ieee80211_probe_resp_alloc() and
  ieee80211_beacon_alloc().  Since these two functions use MB_DONTWAIT
  to allocate mbuf, it is quite possible they will return NULL.
- Turn on IEEE80211_FC0_VERSION_0 when setup null data and probe request
  templates as what we do in netproto/802_11.
- Don't transmit probe responses injected by netproto/802_11 layer,
  firmware will handle them for us.
- Move acx100's TIM ie template setup into common templates initialization
  routine, so acx111 will get its TIM ie template properly set up.
  This makes firmware add well formatted TIM ies to the end of the beacons
  instead of junked ones.
Reported-by: Marcus Glocker <mglocker@openbsd.org>
- Obey DTIM period set in netproto/802_11, i.e. use ieee80211com.ic_dtim_period
- Reduce the length of Partial Virtual Bitmap in TIM template.
sys/dev/netif/acx/acx100.c
sys/dev/netif/acx/acxcmd.c
sys/dev/netif/acx/acxcmd.h
sys/dev/netif/acx/if_acx.c