Skip site navigation (1)Skip section navigation (2)

CVS log for src/sys/dev/usb/Attic/if_zyd.c

[BACK] Up to [FreeBSD] / src / sys / dev / usb

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.4.2.8.2.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:10:29 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_7_4
CVS tags: RELENG_7_4_0_RELEASE
Diff to: previous 1.4.2.8: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.8: +0 -0 lines
SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)

Revision 1.4.2.8: download - view: text, markup, annotated - select for diffs
Tue Nov 16 04:40:03 2010 UTC (14 months, 3 weeks ago) by sobomax
Branches: RELENG_7
CVS tags: RELENG_7_4_BP
Branch point for: RELENG_7_4
Diff to: previous 1.4.2.7: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.7: +1 -1 lines
SVN rev 215368 on 2010-11-16 04:40:03Z by sobomax

MFC r207554:

    Add new tunable 'net.link.ifqmaxlen' to set default send interface
    queue length. The default value for this parameter is 50, which is
    quite low for many of today's uses and the only way to modify this
    parameter right now is to edit if_var.h file. Also add read-only
    sysctl with the same name, so that it's possible to retrieve the
    current value.

Revision 1.4.2.7.6.1: download - view: text, markup, annotated - select for diffs
Wed Feb 10 00:26:20 2010 UTC (23 months, 4 weeks ago) by kensmith
Branches: RELENG_7_3
CVS tags: RELENG_7_3_0_RELEASE
Diff to: previous 1.4.2.7: preferred, colored; next MAIN 1.4.2.8: preferred, colored
Changes since revision 1.4.2.7: +0 -0 lines
SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)

Revision 1.4.2.7.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 15 03:14:26 2009 UTC (2 years, 9 months ago) by kensmith
Branches: RELENG_7_2
CVS tags: RELENG_7_2_0_RELEASE
Diff to: previous 1.4.2.7: preferred, colored; next MAIN 1.4.2.8: preferred, colored
Changes since revision 1.4.2.7: +0 -0 lines
SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)

Revision 1.26
Mon Feb 23 18:16:17 2009 UTC (2 years, 11 months ago) by thompsa
Branches: MAIN
CVS tags: HEAD
FILE REMOVED
Changes since revision 1.25: +1 -1 lines
SVN rev 188939 on 2009-02-23 18:16:17Z by thompsa

Move usb to a graveyard location under sys/legacy/dev, it is intended that the
new USB2 stack will fully replace this for 8.0.

Remove kernel modules, a subsequent commit will update conf/files. Unhook
usbdevs from the build.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Dec 25 04:29:40 2008 UTC (3 years, 1 month ago) by weongyo
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +4 -2 lines
SVN rev 186484 on 2008-12-25 04:29:40Z by weongyo

fix a silly bug that I missed a for-loop to initialize AL2230S PHY.

Reported by:    Hans Petter Selasky <hselasky_at_c2i.net>

Revision 1.4.2.7.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 25 02:59:29 2008 UTC (3 years, 2 months ago) by kensmith
Branches: RELENG_7_1
CVS tags: RELENG_7_1_0_RELEASE
Diff to: previous 1.4.2.7: preferred, colored; next MAIN 1.4.2.8: preferred, colored
Changes since revision 1.4.2.7: +0 -0 lines
SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)

Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue Nov 25 02:19:02 2008 UTC (3 years, 2 months ago) by weongyo
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +1031 -716 lines
SVN rev 185278 on 2008-11-25 02:19:02Z by weongyo

- 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

Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Oct 27 16:46:50 2008 UTC (3 years, 3 months ago) by sam
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +0 -5 lines
SVN rev 184345 on 2008-10-27 16:46:50Z by sam

o use the new association callback to notify the driver when joining a bss
  in sta and adhoc modes; this should've been done forever ago as most all
  drivers use this hook to set per-station transmit parameters such as for
  tx rate control
o adjust drivers to remove explicit calls to the driver newassoc method

Revision 1.4.2.7: download - view: text, markup, annotated - select for diffs
Sat Oct 18 04:11:25 2008 UTC (3 years, 3 months ago) by weongyo
Branches: RELENG_7
CVS tags: RELENG_7_3_BP, RELENG_7_2_BP, RELENG_7_1_BP
Branch point for: RELENG_7_3, RELENG_7_2, RELENG_7_1
Diff to: previous 1.4.2.6: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.6: +1 -0 lines
SVN rev 184009 on 2008-10-18 04:11:25Z by weongyo

MFC r182783:
  Add ZyXEL G-202

  Obtained from:	OpenBSD

Approved by:	re (kib)

Revision 1.22: download - view: text, markup, annotated - select for diffs
Fri Sep 19 07:40:30 2008 UTC (3 years, 4 months ago) by weongyo
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +18 -6 lines
SVN rev 183176 on 2008-09-19 07:40:30Z by weongyo

fix a another driver bug related with tsleep() during detaching that
this also can be happened if we pull the USN stick out forcibly.

Currently the ZyDAS driver uses tsleep() when it try to query a read
command to the device and it'd make a timeout if the device doesn't
response within about 1 sec.

In a case of that the USB stick is gone by hand and the driver's
scanning with changing the channel numbers, the thread which is sleeping
until a command requested is responded can be waked up after all
detaching routines finished that means the zyd softc already freed.
Tring to touch the softc freed by the wakeup thread makes a panic.

So make sure that all sleeping threads should be waken up before the
detach is completed and any other new requests to the device should be
prevented.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri Sep 19 05:10:33 2008 UTC (3 years, 4 months ago) by weongyo
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -0 lines
SVN rev 183175 on 2008-09-19 05:10:33Z by weongyo

clear pending callbacks when the driver try to change the state

Pointed by:	sam

Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Sep 10 03:40:51 2008 UTC (3 years, 5 months ago) by weongyo
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +7 -1 lines
SVN rev 182900 on 2008-09-10 03:40:51Z by weongyo

rename flags and add a ZYD_FLAG_DETACHING flag to indicate we're
detaching that when the USB is pulled out forcibly during the driver is
running background scan, a page fault can be occurred even if we called
usb_rem_task() when detaching.  It looks like a kind of races.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Sep 5 11:27:33 2008 UTC (3 years, 5 months ago) by weongyo
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +1 -0 lines
SVN rev 182783 on 2008-09-05 11:27:33Z by weongyo

Add ZyXEL G-202

Obtained from:	OpenBSD

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat Jun 7 18:38:02 2008 UTC (3 years, 8 months ago) by sam
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -2 lines
SVN rev 179643 on 2008-06-07 18:38:02Z by sam

Change the calling convention for ic_node_alloc to deal with
some longstanding issues:
o pass the vap since it's now the "coin of the realm" and required
  to do things like set initial tx parameters in private node
  state for use prior to association
o pass the mac address as cards that maintain outboard station
  tables require this to create an entry (e.g. in ibss mode)
o remove the node table reference, we only have one node table
  and it's unlikely this will change so this is not needed to
  find the com structure

Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon May 12 00:32:52 2008 UTC (3 years, 8 months ago) by sam
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +27 -3 lines
Update PLCP<->rate mapping support:
o correct mapping of CCK rates to PLCP; was using nonstandard Ralink
  values which just happened to also be used by Zydas (so went unnoticed)
o change ieee80211_plcp2rate api to take a phy type instead of a flag
  that indicates ofdm/!ofdm
o update drivers to match (restore per-driver code to map rate->PLCP)

Reviewed by:	sephe, weongyo, thompsa

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon May 12 00:15:29 2008 UTC (3 years, 8 months ago) by sam
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -1 lines
Minor cleanup of vap create work:
o add IEEE80211_C_STA capability to indicate sta mode is supported
  (was previously assumed) and mark drivers as capable
o add ieee80211_opcap array to map an opmode to the equivalent capability bit
o move IEEE80211_C_OPMODE definition to where capabilities are defined so it's
  clear it should be kept in sync (on future additions)
o check device capabilities in clone create before trying to create a vap;
  this makes driver checks unneeded
o make error codes return on failed clone request unique
o temporarily add console printfs on clone request failures to aid in
  debugging; these will move under DIAGNOSTIC or similar before release

Revision 1.4.2.6: download - view: text, markup, annotated - select for diffs
Sun May 11 05:53:19 2008 UTC (3 years, 9 months ago) by weongyo
Branches: RELENG_7
Diff to: previous 1.4.2.5: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.5: +1 -2 lines
MFC: rev. 1.13

don't set sniffer mode to ON when the driver is running with the
monitor mode.  This solves a problem that sometimes mangled frames
are passed.

Submitted by:	Werner Backes <werner_at_bit-1.de>
Tested by:	Werner Backes <werner_at_bit-1.de>
PR:		kern/121608
Approved by:	thompsa (mentor)

Revision 1.4.2.5: download - view: text, markup, annotated - select for diffs
Sun May 11 05:49:02 2008 UTC (3 years, 9 months ago) by weongyo
Branches: RELENG_7
Diff to: previous 1.4.2.4: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.4: +3 -3 lines
MFC: rev. 1.12

Fix incorrect dependencies of zyd(4).

Approved by:	thompsa (mentor)

Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu May 1 04:55:00 2008 UTC (3 years, 9 months ago) by thompsa
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +8 -7 lines
Unify all the wifi *_ioctl routines
 - Limit grabbing the lock to SIOCSIFFLAGS.
 - Move ieee80211_start_all() to SIOCSIFFLAGS.
 - Remove SIOCSIFMEDIA as it is not useful.
 - Limit ether_ioctl to only SIOCGIFADDR. SIOCSIFADDR and SIOCSIFMTU have no
   affect as there is no input/output path in the vap parent.  The vap code
   will handle the reinit of the mac address changes.
 - Split off ndis_ioctl_80211 as it was getting too different to wired devices.

This fixes a copyout while locked and a lock recursion.

Reviewed by:		sam

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Apr 20 20:35:38 2008 UTC (3 years, 9 months ago) by sam
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +266 -293 lines
Multi-bss (aka vap) support for 802.11 devices.

Note this includes changes to all drivers and moves some device firmware
loading to use firmware(9) and a separate module (e.g. ral).  Also there
no longer are separate wlan_scan* modules; this functionality is now
bundled into the wlan module.

Supported by:	Hobnob and Marvell
Reviewed by:	many
Obtained from:	Atheros (some bits)

Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Mar 17 02:30:13 2008 UTC (3 years, 10 months ago) by weongyo
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +1 -2 lines
don't set sniffer mode to ON when the driver is running with the
monitor mode.  This solves a problem that sometimes mangled frames
are passed.

Submitted by:	Werner Backes <werner_at_bit-1.de>
Tested by:	Werner Backes <werner_at_bit-1.de>
PR:		kern/121608
Approved by:	thompsa (mentor)

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Jan 7 11:31:55 2008 UTC (4 years, 1 month ago) by weongyo
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -3 lines
Fix incorrect dependencies of zyd(4).

Approved by:	thompsa (mentor)

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Dec 1 08:53:03 2007 UTC (4 years, 2 months ago) by kevlo
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +1 -1 lines
ieee80211com.ic_fixed_rate holds rate instead of rate index

Reviewed by: Weongyo Jeong

Revision 1.4.2.4: download - view: text, markup, annotated - select for diffs
Fri Nov 30 15:39:22 2007 UTC (4 years, 2 months ago) by ariff
Branches: RELENG_7
CVS tags: RELENG_7_0_BP, RELENG_7_0_0_RELEASE, RELENG_7_0
Diff to: previous 1.4.2.3: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.3: +81 -10 lines
MFC:

- Remove magic number and fit max rx buffer size accurately.
- Patch registers CR47 and CR157 on devices that require it.
- Fix power calibration setting on ZD1211B.

Obtained from:  OpenBSD

- Fix multicast transfer by properly reprogram multicast global
  hash table, which in turns fix promiscuous mode and IPv6
  autoconfiguration / local networking.

Reviewed by:	sam, Weongyo Jeong
Tested using:	Aztech WL230 , Belkin F5D7050, Unicorn WL-54G,
             	3COM 3CRUSB10075
Approved by:	re (kensmith)

Revision 1.4.2.3: download - view: text, markup, annotated - select for diffs
Wed Nov 28 06:10:16 2007 UTC (4 years, 2 months ago) by sam
Branches: RELENG_7
Diff to: previous 1.4.2.2: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.2: +1 -0 lines
MFC: add the Planex GW-US54GXS adapter

Approved by:	re (kensmith)

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Nov 23 05:44:29 2007 UTC (4 years, 2 months ago) by sam
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +1 -0 lines
- add the Planex GW-US54GXS adapter

Submitted by:	Weongyo Jeong <weongyo.jeong@gmail.com>
Obtained from:	openbsd
MFC after:	3 days

Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Sun Nov 11 00:23:39 2007 UTC (4 years, 3 months ago) by sam
Branches: RELENG_7
Diff to: previous 1.4.2.1: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.1: +1 -1 lines
MFC 1.7: fix a typo in rx radiotap's flags

Approved by:	re (gnn)

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Nov 8 08:25:58 2007 UTC (4 years, 3 months ago) by ariff
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +81 -10 lines
- Remove magic number and fit max rx buffer size accurately.
- Patch registers CR47 and CR157 on devices that require it.
- Fix power calibration setting on ZD1211B.

Obtained from:	OpenBSD

- Fix multicast transfer by properly reprogram multicast global
  hash table, which in turns fix promiscuous mode and IPv6
  autoconfiguration / local networking.

Reviewed by:	sam, Weongyo Jeong
Tested using:	Aztech WL230 , Belkin F5D7050, Unicorn WL-54G,
             	3COM 3CRUSB10075
MFC after:	1 week

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Nov 6 07:30:12 2007 UTC (4 years, 3 months ago) by kevlo
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +11 -0 lines
Check wep flag in *_tx_mgt since we need to encrypt some management frame
in case of shared authentification.

Obtained from: NetBSD

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Nov 3 19:22:54 2007 UTC (4 years, 3 months ago) by sam
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +1 -1 lines
fix a typo in rx radiotap's flags

Submitted by:	Weongyo Jeong
Reviewed by:	sam
MFC after:	3 days

Revision 1.4.2.1: download - view: text, markup, annotated - select for diffs
Mon Oct 29 20:15:51 2007 UTC (4 years, 3 months ago) by sam
Branches: RELENG_7
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +1 -1 lines
MFC 1.6: fix an incorrect setting of `retry times' in case of zd1211b

Submitted by:	Weongyo Jeong
Approved by:	re (kensmith)

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Oct 19 16:33:31 2007 UTC (4 years, 3 months ago) by sam
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +1 -1 lines
fix an incorrect setting of `retry times' in case of zd1211b, we
should set the ZYD_MACB_MAX_RETRY register instead of ZYD_MAC_RETRY

Submitted by:	Weongyo Jeong
MFC after:	1 week

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Oct 12 08:45:55 2007 UTC (4 years, 3 months ago) by takawata
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +1 -0 lines
Add another zydas device: Planex GW-US54GD (a.k.a Dempaotoko)

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Sep 15 23:30:10 2007 UTC (4 years, 4 months ago) by imp
Branches: MAIN
CVS tags: RELENG_7_BP
Branch point for: RELENG_7
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -1 lines
Zyd needs be under Giant because USB is under Giant.

Submitted by: Weongyo Jeong
Reviewed by: sam@
Approved by: re@ (blanket)

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Sep 7 03:54:54 2007 UTC (4 years, 5 months ago) by sam
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +11 -3 lines
- fix a bug that zyd_attach() returns 0 even if it encountered errors
  that can lead to a panic when the stick is yanked.
- make sure that zyd_attach() returns 0 or errno.

Submitted by:	Weongyo Jeong <weongyo.jeong@gmail.com>
Reported by:	Ted Lindgreen <ted@tednet.nl>
Reviewed by:	sam
Approved by:	re (blanket wireless)

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Sep 5 23:40:59 2007 UTC (4 years, 5 months ago) by sam
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +6 -0 lines
Add missing bg scanning bits; update ic_lastdata and cancel any
bg scan when there's outbound traffic.

Approved by:	re (blanket wireless)

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Aug 29 21:16:50 2007 UTC (4 years, 5 months ago) by imp
Branches: MAIN
A port of the zyd driver from NetBSD by .  This supports the ZyDAS
ZD1211/ZD1211B USB IEEE 802.11b/g wireless network devices.  Not (yet)
connected to the build process (next batch of commits once I've looped
the current back back).

Submitted by: Weongyo Jeong
Reviewed by: sam@
Approved by: re@

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options