cvs commit: src/sys/dev/netif/acx acx100.c acxcmd.c acxcmd.h if_acx.c
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Sat Dec 9 00:10:58 PST 2006
sephe 2006/12/09 00:10:04 PST
DragonFly src repository
Modified files:
sys/dev/netif/acx acx100.c acxcmd.c acxcmd.h if_acx.c
Log:
- 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 at 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.
Revision Changes Path
1.6 +0 -11 src/sys/dev/netif/acx/acx100.c
1.4 +1 -2 src/sys/dev/netif/acx/acxcmd.c
1.3 +1 -1 src/sys/dev/netif/acx/acxcmd.h
1.11 +44 -10 src/sys/dev/netif/acx/if_acx.c
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/acx/acx100.c.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/acx/acxcmd.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/acx/acxcmd.h.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/acx/if_acx.c.diff?r1=1.10&r2=1.11&f=u
More information about the Commits
mailing list