linux_old1/drivers/net/wireless/zd1211rw
Jussi Kivilinna 88a1159a37 zd1211rw: fix beacon interval setup
Vendor driver uses CR_BNC_INTERVAL at various places, one is HW_EnableBeacon()
that combinies beacon interval with BSS-type flag and DTIM value in upper 16bit
of u32. The other one is HW_UpdateBcnInterval() that set_aw_pt_bi()
appears to be based on. HW_UpdateBcnInterval() takes interval argument as u16
and uses that for calculations, set_aw_pt_bi() uses u32 value that has flags
and dtim in upper part. This clearly seems wrong. Also HW_UpdateBcnInterval()
updates only lower 16bit part of CR_BNC_INTERVAL. So make set_aw_pt_bi() do
calculations on only lower u16 part of s->beacon_interval.

Also set 32bit beacon interval register before reading values from device,
as HW_EnableBeacon() on vendor driver does. This is required to make beacon
work on AP-mode, simply reading and then writing updated values is not enough
at least with zd1211b.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-02-04 16:29:48 -05:00
..
Kconfig
Makefile
zd_chip.c zd1211rw: fix beacon interval setup 2011-02-04 16:29:48 -05:00
zd_chip.h wireless: remove remaining qual code 2009-12-28 16:19:45 -05:00
zd_def.h
zd_mac.c zd1211rw: add locking for mac->process_intr 2011-02-04 16:29:48 -05:00
zd_mac.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2010-06-17 14:19:06 -07:00
zd_rf.c
zd_rf.h
zd_rf_al2230.c
zd_rf_al7230b.c
zd_rf_rf2959.c
zd_rf_uw2453.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
zd_usb.c zd1211rw: add locking for mac->process_intr 2011-02-04 16:29:48 -05:00
zd_usb.h zd1211rw: use urb anchors for tx and fix tx-queue disabling 2011-02-04 16:29:48 -05:00