]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- improve AL2230 RF handling when the device type is zd1211. After this
authorWeongyo Jeong <weongyo@FreeBSD.org>
Tue, 25 Nov 2008 02:19:02 +0000 (02:19 +0000)
committerWeongyo Jeong <weongyo@FreeBSD.org>
Tue, 25 Nov 2008 02:19:02 +0000 (02:19 +0000)
commitc3d6943244c519c41e76a863d56238ec9ab66cd7
treee5fcd51d9b2f2618643b7f8a13ab7b1732b19b13
parentca938a2cb1ca28db764eb6d6afc6fc41f249928f
- improve AL2230 RF handling when the device type is zd1211.  After this
  patch the RX/TX performance becomes about 17~18 Mbps comparing with
  the previous whose values were RX 7~8Mbps and TX 13~14Mbps.
- improve AL2230 RF handling in zd1211b
- support AL2230S RF that PV2000 is renamed to AL2230S
- use register ZYD_CR244, ZYD_CR243, ZYD_CR242 when the driver writes
  values on RF.  This routine is more faster than the original one
- use private TX lock to avoid LOR at zyd_raw_xmit()
- increase TX slots from 1 to 5
- needs to set the channel at IEEE80211_S_AUTH not IEEE80211_S_RUN
- detailed error handling.  In previous the next command was sent to the
  device even if there was errors
- setting ZYD_MAC_RX_THRESHOLD value should be different between 1211
  and 1211b
- only try to stop the device at zyd_init_locked() if the device is
  UPed
- do not use MTX_RECURSE
- do not try to grap Giant lock when the channel is changing
- move the device initialization routines from zyd_attach to zyd_init to
  give a device full-reset chance to the driver.
- code cleanup at zyd_raw_xmit()
- simplify zyd_attach() routines
- resort functions and clean up variables
- DPRINTF style change.
- style(9)

Reviewed by: sam
sys/dev/usb/if_zyd.c
sys/dev/usb/if_zydreg.h