CVS: cvs.openbsd.org: src

2011-01-24 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2011/01/24 11:32:54

Modified files:
sys/dev/pci: if_iwn.c 

Log message:
unbreak 6200 support by forcing Tx/Rx chains masks since ROM
contains broken data.
reported by matthew@; verified by me against Linux driver.

remove two if_ierrors++ while i'm here.



CVS: cvs.openbsd.org: src

2011-01-15 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2011/01/15 04:39:28

Modified files:
sys/dev/ic : ar9285.c 

Log message:
carrier leakage calibration workaround for high temperature is not
applicable on AR9271.



CVS: cvs.openbsd.org: src

2011-01-15 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2011/01/15 04:41:14

Modified files:
share/man/man4 : urtwn.4 

Log message:
POWCHIP POW-N18



CVS: cvs.openbsd.org: src

2011-01-11 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2011/01/11 14:04:46

Modified files:
sys/dev/usb: if_urtw.c 

Log message:
use ic-ic_ibss_chan instead of ic-ic_bss-ni_chan for Rx radiotap
since the latter is not initialized in monitor mode.

should fix a panic reported by Benjamin Nadland with kismet.



CVS: cvs.openbsd.org: src

2011-01-10 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2011/01/10 09:56:43

Modified files:
sys/dev/usb: usbdevs 

Log message:
add the Buffalo WLI-UC-GNHP.
from Jordi Beltran Creix.



CVS: cvs.openbsd.org: src

2011-01-10 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2011/01/10 09:57:27

Modified files:
sys/dev/usb: usbdevs.h usbdevs_data.h 

Log message:
regen



CVS: cvs.openbsd.org: src

2011-01-10 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2011/01/10 09:59:05

Modified files:
share/man/man4 : run.4 
sys/dev/usb: if_run.c 

Log message:
add the Buffalo WLI-UC-GNHP.
from Jordi Beltran Creix.



CVS: cvs.openbsd.org: src

2011-01-09 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2011/01/09 08:45:37

Modified files:
sys/dev/pci: if_iwn.c if_iwnreg.h if_iwnvar.h 

Log message:
cleanup; change the way opns are attached.
include a fix for Intel Centrino Advanced-N 6250 devices
by Antonio R Nicolosi.



CVS: cvs.openbsd.org: src

2011-01-09 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2011/01/09 08:53:06

Modified files:
sys/dev/pci: if_iwn.c 

Log message:
trust the Tx/Rx chains masks in ROM except for the 4965 and 5100
which are known to have broken ROMs.



CVS: cvs.openbsd.org: src

2011-01-09 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2011/01/09 09:00:53

Modified files:
share/man/man4 : iwn.4 

Log message:
radio temperature sensor is gone.



CVS: cvs.openbsd.org: src

2011-01-08 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2011/01/08 03:02:32

Modified files:
sys/dev/pci: if_athn_pci.c 
sys/dev/cardbus: if_athn_cardbus.c 

Log message:
clear pci configuration register 0x41 on resume, like during attach.
only clear it if it is != 0 while i'm at it.



CVS: cvs.openbsd.org: src

2011-01-08 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2011/01/08 03:33:33

Modified files:
share/man/man4 : athn.4 

Log message:
s/;/:/



CVS: cvs.openbsd.org: src

2011-01-08 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2011/01/08 03:42:18

Modified files:
sys/dev/ic : athn.c 

Log message:
the USB frontend has its own switch_chan() function, so no need to
do AR9271-specific stuff here.



CVS: cvs.openbsd.org: src

2011-01-08 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2011/01/08 04:56:30

Modified files:
sys/arch/amd64/conf: GENERIC 
sys/arch/armish/conf: GENERIC 
sys/arch/landisk/conf: GENERIC 
sys/arch/loongson/conf: GENERIC 
sys/arch/macppc/conf: GENERIC 
sys/arch/socppc/conf: GENERIC 
sys/arch/sparc64/conf: GENERIC 

Log message:
The Ubiquiti WiFiStation EXT works on the Sun Blade 1500.
Enable athn at uhub on all USB 2.0 capable arches.



CVS: cvs.openbsd.org: src

2011-01-08 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2011/01/08 08:05:24

Modified files:
sys/dev/ic : athn.c athnvar.h 
sys/dev/usb: if_athn_usb.c 

Log message:
fix LEDs handling.
do not read back the LED GPIO pin since it is configured in output
only mode.
makes the link LED blink on the WiFiStation EXT when scanning (the
LEDs indicating the signal strength are not working yet).



CVS: cvs.openbsd.org: src

2011-01-08 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2011/01/08 08:18:01

Modified files:
sys/dev/usb: if_athn_usb.c if_athn_usb.h 

Log message:
reserve one xfer for beacons during init.



CVS: cvs.openbsd.org: src

2011-01-06 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2011/01/06 10:45:36

Modified files:
sys/dev/usb: if_athn_usb.c 

Log message:
create STA entry for our BSS upon association.
update Rx filter after association.
move RECV_START command outside of rx_enable since rx_enable callback
is not allowed to fail.



CVS: cvs.openbsd.org: src

2011-01-06 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2011/01/06 12:03:12

Modified files:
sys/dev/usb: if_athn_usb.c 

Log message:
implement fast channel change.
this dramatically reduces the number of register reads/writes and
thus the number of context switches when changing channel.
makes scanning much faster.



CVS: cvs.openbsd.org: src

2011-01-06 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2011/01/06 12:20:54

Modified files:
sys/dev/usb: if_athn_usb.c 

Log message:
cleanup athn_usb_rx_frame().
remove padding after 802.11 header if any.



CVS: cvs.openbsd.org: src

2011-01-06 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2011/01/06 12:32:10

Modified files:
sys/conf   : files 
sys/dev/usb: files.usb 

Log message:
only athn at uhub (not pci or cardbus) needs firmload



CVS: cvs.openbsd.org: src

2011-01-06 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2011/01/06 12:45:05

Modified files:
share/man/man4 : athn.4 

Log message:
indicate the number of spatial streams along with the number
of Tx/Rx chains.



CVS: cvs.openbsd.org: src

2011-01-06 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2011/01/06 12:47:46

Modified files:
share/man/man4 : athn.4 otus.4 uath.4 

Log message:
Remove dead links.
Atheros have reworked their website.



CVS: cvs.openbsd.org: src

2011-01-06 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2011/01/06 12:49:58

Modified files:
sys/dev/usb: if_otus.c if_uath.c 

Log message:
Remove dead links.
Atheros have reworked their website.



CVS: cvs.openbsd.org: src

2011-01-05 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2011/01/05 14:31:34

Modified files:
sys/dev/ic : ar9380.c 

Log message:
cosmetic, no binary change.



CVS: cvs.openbsd.org: src

2011-01-05 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2011/01/06 00:27:15

Modified files:
share/man/man4 : athn.4 usb.4 
sys/conf   : files 
sys/dev/usb: files.usb 
sys/dev/ic : athn.c athnreg.h athnvar.h ar5008.c ar9280.c 
 ar9285.c ar9285reg.h 
Added files:
sys/dev/usb: if_athn_usb.c if_athn_usb.h 

Log message:
athn* at uhub? port ?
this adds preliminary support for the Atheros AR9271 chipset and
probably the AR9280+AR7010 and AR9287+AR7010 too though those were
not tested.
scanning still takes a very long time (~1 sec per channel) but
otherwise, operation in STA mode seems stable.
will implement fast channel change soon.

committed over the Ubiquiti WifiStation EXT (AR9271) on i386 with WPA.
requires firmware (see man page for details)

ok deraadt@ (who checked the .h files)



CVS: cvs.openbsd.org: src

2011-01-05 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2011/01/06 00:28:45

Modified files:
sys/arch/i386/conf: GENERIC 

Log message:
enable athn at uhub



CVS: cvs.openbsd.org: src

2011-01-01 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2011/01/01 03:48:31

Modified files:
sys/dev/ic : athnvar.h ar9380reg.h ar9380.c ar9003reg.h 
 ar9003.c ar5008.c 

Log message:
add code to read OTPROM on the AR9485



CVS: cvs.openbsd.org: src

2011-01-01 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2011/01/01 05:58:33

Modified files:
sys/dev/ic : athnreg.h 

Log message:
unbreak kernel builds; sorry guys.

pointed out by Benoit Lecocq.



CVS: cvs.openbsd.org: src

2011-01-01 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2011/01/01 06:44:43

Modified files:
sys/dev/ic : ar9003.c ar9003reg.h ar9380.c ar9380reg.h 

Log message:
more AR9380/AR9485 bits.
add Tx gain initvals for high-power AR9380 solutions.



CVS: cvs.openbsd.org: src

2011-01-01 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2011/01/01 07:25:03

Modified files:
sys/dev/ic : ar9280.c ar9285.c ar9380.c 

Log message:
cleanup, no binary change.



CVS: cvs.openbsd.org: src

2011-01-01 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2011/01/01 09:00:57

Modified files:
sys/dev/usb: usbdevs 

Log message:
the ACCTON is an AR9280+AR7010, not an AR9271, so update id accordingly.
cleanup other AR928X+AR7010 ids while i'm here.



CVS: cvs.openbsd.org: src

2011-01-01 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2011/01/01 09:01:43

Modified files:
sys/dev/usb: usbdevs.h usbdevs_data.h 

Log message:
regen



CVS: cvs.openbsd.org: src

2010-12-31 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/12/31 07:06:05

Modified files:
sys/dev/pci: if_athn_pci.c 
sys/dev/cardbus: if_athn_cardbus.c 
sys/dev/ic : athn.c athnreg.h athnvar.h ar5008.c ar9003.c 
 ar9280.c ar9285.c ar9287.c ar9380.c 

Log message:
Make the athn(4) back-end more bus agnostic by moving read and write
operations to callbacks in the PCI and CardBus front-ends.
This will allow support of other buses like USB.
Assume the following memory model:
- writes are ordered but may be buffered and require explicit flush
- a read always flushes all buffered writes



CVS: cvs.openbsd.org: src

2010-12-31 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/12/31 07:37:15

Modified files:
sys/dev/ic : ar9285reg.h ar9380reg.h 

Log message:
add initvals for the AR9271.
add initvals for the AR9485.
update initvals for the AR9380 2.2 (from ath9k):
reduce the likelihood of false pulse detects in the hardware
improve carrier leak calibration/correction



CVS: cvs.openbsd.org: src

2010-12-31 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/12/31 07:52:47

Modified files:
sys/dev/pci: if_athn_pci.c 
sys/dev/cardbus: if_athn_cardbus.c 
sys/dev/ic : athn.c 

Log message:
move the printing of the MAC address to the same line than the MAC rev.



CVS: cvs.openbsd.org: src

2010-12-31 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/12/31 10:17:14

Modified files:
sys/dev/ic : ar5008.c ar9285.c ar9285reg.h athn.c athnreg.h 

Log message:
commit some bits that will be required by AR9271/AR7010



CVS: cvs.openbsd.org: src

2010-12-31 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/12/31 10:50:48

Modified files:
sys/dev/ic : ar5008.c ar5008reg.h ar9280.c ar9285.c ar9287.c 

Log message:
of course, GPIO handling on AR9271 and AR7010 had to be different
from all other chips... quite nightmarish.



CVS: cvs.openbsd.org: src

2010-12-31 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/12/31 11:08:14

Modified files:
sys/dev/ic : ar9380reg.h 

Log message:
Fix conformance test limit values in default AR9380 rom images.



CVS: cvs.openbsd.org: src

2010-12-31 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/12/31 11:24:41

Modified files:
sys/dev/ic : athn.c 

Log message:
move reading of the hardware revision earlier.



CVS: cvs.openbsd.org: src

2010-12-31 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/12/31 11:49:31

Modified files:
share/man/man4 : iwn.4 

Log message:
new firmware package with updated image for the 6250.



CVS: cvs.openbsd.org: src

2010-12-31 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/12/31 12:48:56

Modified files:
sys/dev/pci: pcidevs.h pcidevs_data.h if_iwn.c 

Log message:
regen



CVS: cvs.openbsd.org: src

2010-12-31 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/12/31 12:47:50

Modified files:
sys/dev/pci: pcidevs 

Log message:
cleanup the mess in iwn(4) intel wireless pci ids and add new ones.



CVS: cvs.openbsd.org: src

2010-12-31 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/12/31 13:50:14

Modified files:
sys/dev/usb: if_rsu.c if_urtwn.c 

Log message:
grrr... use the same style in the activate functions than in the
surrounding code.



CVS: cvs.openbsd.org: src

2010-12-31 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/12/31 14:23:55

Modified files:
sys/dev/ic : ar9380.c athnvar.h ar9380reg.h ar9003.c 

Log message:
limit the number of Tx chains used on some 3-stream AR9380 chips
for MCS0~15 to not exceed the PCIe power requirements.



CVS: cvs.openbsd.org: src

2010-12-31 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/12/31 14:44:38

Modified files:
sys/dev/ic : athn.c 

Log message:
when stopping Rx, set the AR_DIAG_RX_ABORT bit too.



CVS: cvs.openbsd.org: src

2010-12-15 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/12/15 09:51:39

Modified files:
sys/dev/usb: usbdevs.h usbdevs_data.h if_rsu.c 
share/man/man4 : rsu.4 

Log message:
attach the Hercules HWGUn-54 to rsu(4)

from pea@



CVS: cvs.openbsd.org: src

2010-12-15 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/12/15 09:49:03

Modified files:
sys/dev/usb: usbdevs 

Log message:
Add USB ID for the Hercules HWGUn-54;  from pea@
Use a better name for the Hercules HWNUm-300 while I'm here.



CVS: cvs.openbsd.org: src

2010-12-14 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/12/14 11:00:17

Modified files:
sys/dev/usb: usbdevs 

Log message:
bunch of Atheros AR9271 product ids.



CVS: cvs.openbsd.org: src

2010-12-14 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/12/14 11:01:08

Modified files:
sys/dev/usb: usbdevs.h usbdevs_data.h 

Log message:
regen



CVS: cvs.openbsd.org: www

2010-12-14 Thread Damien Bergamini
CVSROOT:/cvs
Module name:www
Changes by: dam...@cvs.openbsd.org  2010/12/14 11:33:06

Modified files:
.  : want.html 

Log message:
Someone sent money on my PayPal account to buy a Ubiquiti WifiStation-EXT.
Yay! Now I can fry my brain with a new toy!



CVS: cvs.openbsd.org: src

2010-12-13 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/12/13 10:11:20

Modified files:
sys/dev/usb: if_rsu.c 

Log message:
#undef RSU_DEBUG
print the firmware diagnostic messages only if IFF_DEBUG is set.



CVS: cvs.openbsd.org: www

2010-12-13 Thread Damien Bergamini
CVSROOT:/cvs
Module name:www
Changes by: dam...@cvs.openbsd.org  2010/12/13 10:09:16

Modified files:
.  : want.html 

Log message:
I'll write a driver for Atheros AR9271 802.11n USB devices if someone
sends me an Ubiquiti WifiStation or WifiStation-EXT.



CVS: cvs.openbsd.org: src

2010-12-13 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/12/13 10:32:44

Modified files:
share/man/man4 : urtwn.4 

Log message:
fixed urtwn-license.
the firmware image does not change, hence the p0.



CVS: cvs.openbsd.org: src

2010-12-13 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/12/13 11:45:00

Modified files:
share/man/man4 : otus.4 

Log message:
the 3Com 3CRUSBN275 is an otus(4).



CVS: cvs.openbsd.org: src

2010-12-12 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/12/12 07:03:41

Modified files:
sys/dev/usb: if_rsu.c if_rsureg.h 

Log message:
cosmetic



CVS: cvs.openbsd.org: src

2010-12-12 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/12/12 07:33:57

Modified files:
sys/arch/armish/conf: GENERIC 
sys/arch/landisk/conf: GENERIC 
sys/arch/macppc/conf: GENERIC 
sys/arch/socppc/conf: GENERIC 
sys/arch/loongson/conf: GENERIC 
sys/arch/sparc64/conf: GENERIC 

Log message:
rsu(4) works on the sparc64, so add it everywhere where urtwn(4) is.



CVS: cvs.openbsd.org: src

2010-12-11 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/12/11 06:27:27

Modified files:
sys/dev/usb: if_urtwn.c 

Log message:
rxi_flags was used uninitialized, and in some cases, received frames
were dropped.



CVS: cvs.openbsd.org: src

2010-12-11 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/12/11 13:48:21

Modified files:
share/man/man4 : usb.4 Makefile 
sys/dev/usb: files.usb 
sys/arch/i386/conf: GENERIC 
sys/arch/amd64/conf: GENERIC 
Added files:
share/man/man4 : rsu.4 
sys/dev/usb: if_rsu.c if_rsureg.h 

Log message:
rsu(4), a driver for Realtek RTL8188SU, RTL8191SU and RTL8192SU
802.11n USB devices.
These are FullMAC devices that require a firmware to operate;
see man page for details.

Great thanks to Brad for donating hardware.
Committed over the TRENDnet TEW-649UB.

ok deraadt@



CVS: cvs.openbsd.org: src

2010-12-11 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/12/11 14:07:38

Modified files:
sys/dev/usb: if_urtwn.c 

Log message:
drop Rx'd frames larger than MCLBYTES.



CVS: cvs.openbsd.org: src

2010-12-11 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/12/11 14:59:15

Modified files:
share/man/man4 : rsu.4 

Log message:
s/RTL8192CU/RTL8192SU/



CVS: cvs.openbsd.org: src

2010-12-07 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/12/07 10:01:04

Modified files:
share/man/man4 : urtwn.4 

Log message:
B-Link (not D-Link!) BL-LW05-5R



CVS: cvs.openbsd.org: src

2010-12-07 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/12/07 10:03:19

Modified files:
sys/dev/usb: if_urtwn.c 

Log message:
remove useless #include



CVS: cvs.openbsd.org: src

2010-12-01 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/12/01 10:07:37

Modified files:
sys/dev/pci: pcidevs 

Log message:
PCI id for Atheros AR9485.
This is a single-stream single-band AR9300.



CVS: cvs.openbsd.org: src

2010-12-01 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/12/01 10:08:20

Modified files:
sys/dev/pci: pcidevs.h pcidevs_data.h 

Log message:
regen



CVS: cvs.openbsd.org: src

2010-12-01 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/12/01 11:47:51

Modified files:
sys/dev/pci: pcireg.h 

Log message:
Add definition for Extended Synch bit in PCIe Link Control register.
From PCI Express(R) Base Specification Rev 2.0.



CVS: cvs.openbsd.org: src

2010-11-29 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/11/29 10:34:26

Modified files:
sys/dev/usb: usbdevs 

Log message:
bunch of RTL8192SU product ids.



CVS: cvs.openbsd.org: src

2010-11-29 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/11/29 10:35:25

Modified files:
sys/dev/usb: usbdevs.h usbdevs_data.h 

Log message:
regen



CVS: cvs.openbsd.org: src

2010-11-19 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/11/19 09:57:52

Modified files:
share/man/man4 : urtwn.4 

Log message:
More ultra-{micro,nano,pico,femto,atto,zepto,yocto} wifi dongles:
- Digitus DN-7042
- Solwise NET-WL-UMD-606N



CVS: cvs.openbsd.org: src

2010-11-19 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/11/19 09:59:35

Modified files:
share/man/man4 : urtwn.4 

Log message:
Another I'm the world's smallest No, this is me! player:
- TRENDnet TEW-648UBM



CVS: cvs.openbsd.org: src

2010-11-16 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/11/16 11:02:59

Modified files:
sys/dev/usb: if_urtwn.c if_urtwnreg.h 

Log message:
periodically measure temperature and redo LC calibration if temperature
changes significantly since last LC calibration.



CVS: cvs.openbsd.org: src

2010-11-16 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/11/16 12:25:27

Modified files:
sys/dev/usb: usbdevs 

Log message:
new FeiXun Communication vendor id and two associated
RTL8188CU product ids.



CVS: cvs.openbsd.org: src

2010-11-16 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/11/16 12:26:45

Modified files:
sys/dev/usb: usbdevs.h usbdevs_data.h 

Log message:
regen



CVS: cvs.openbsd.org: src

2010-11-16 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/11/16 12:28:56

Modified files:
sys/dev/usb: if_urtwn.c 

Log message:
attach FeiXun products.



CVS: cvs.openbsd.org: src

2010-11-16 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/11/16 13:01:31

Modified files:
share/man/man4 : urtwn.4 

Log message:
urtwn-firmware-1.1 contains V60 firmware (1.0 was V57).
please upgrade.



CVS: cvs.openbsd.org: src

2010-11-15 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/11/15 11:56:14

Modified files:
sys/dev/usb: if_urtwn.c 

Log message:
print board type in human readable form in dmesg.



CVS: cvs.openbsd.org: src

2010-11-15 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/11/15 12:07:34

Modified files:
sys/arch/armish/conf: GENERIC 
sys/arch/landisk/conf: GENERIC 
sys/arch/macppc/conf: GENERIC 
sys/arch/socppc/conf: GENERIC 
sys/arch/loongson/conf: GENERIC 

Log message:
add urtwn(4) to more USB 2.0 capable architectures, since it works
on sparc64 and macppc.

prodded by jsg@



CVS: cvs.openbsd.org: src

2010-11-10 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/11/10 10:23:44

Modified files:
share/man/man4 : run.4 

Log message:
s/NWD2705/NWD2205/



CVS: cvs.openbsd.org: src

2010-11-10 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/11/10 14:06:44

Modified files:
sys/dev/ic : athnvar.h ar9003.c ar9003reg.h ar9380.c 
 ar9380reg.h 

Log message:
Several updates for the Osprey (AR9380):
- Add the different ROM templates for the different chips
- Fix AR_PHY_65NM_CH0_TOP_XPABIASLVL definition
- Apply attenuation settings from the ROM



CVS: cvs.openbsd.org: src

2010-11-09 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/11/09 10:20:23

Modified files:
share/man/man4 : urtwn.4 

Log message:
more ultra nano adapters.
some, like the DWA-121 or GW-USNano2 are not yet available (they just
passed wi-fi alliance certification) but it shouldn't take too long
before they hit the shelves.



CVS: cvs.openbsd.org: src

2010-11-09 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/11/09 10:49:51

Modified files:
share/man/man4 : run.4 

Log message:
the ZyXEL NWD2705 is a run(4) RT3070



CVS: cvs.openbsd.org: src

2010-11-07 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/11/07 11:00:42

Modified files:
sys/dev/ic : ar5008.c 

Log message:
fix a test in ar5008_rx_free()



CVS: cvs.openbsd.org: src

2010-11-06 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/11/06 06:24:28

Modified files:
sys/arch/sparc64/conf: GENERIC 

Log message:
urtwn(4) works on sparc64 too.
committed from my Sun Blade 1500 with the HWNUp-150.



CVS: cvs.openbsd.org: src

2010-11-06 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/11/06 06:27:43

Modified files:
sys/dev/usb: if_urtwn.c if_urtwnreg.h 

Log message:
print the MAC address on the second line like with the other USB
802.11 drivers.



CVS: cvs.openbsd.org: src

2010-11-06 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/11/06 13:28:28

Modified files:
share/man/man4 : urtwn.4 

Log message:
The AirLink101 AWLL5088 Wireless N 150 Ultra Mini USB Adapter is
an RTL8188CUS urtwn(4) adapter.



CVS: cvs.openbsd.org: src

2010-11-06 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/11/06 13:36:30

Modified files:
share/man/man4 : urtwn.4 

Log message:
The EDUP EP-N8508 NANO-USB is an RTL8188CUS too.



CVS: cvs.openbsd.org: src

2010-11-06 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/11/06 13:48:18

Modified files:
share/man/man4 : urtwn.4 

Log message:
+ Aus. Linx AL-9604R1S



CVS: cvs.openbsd.org: src

2010-11-06 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/11/06 14:07:22

Modified files:
share/man/man4 : urtwn.4 

Log message:
Add two RTL8188CUS:
- Full River FR-W100NUL
- Planex GW-USValue-EZ

The GW-USValue-EZ is damn small! I hope it ships with tweezers.



CVS: cvs.openbsd.org: src

2010-11-06 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/11/06 14:21:33

Modified files:
share/man/man4 : run.4 

Log message:
The Buffalo WLI-UC-GNM is a Ralink RT3070V.



CVS: cvs.openbsd.org: src

2010-11-05 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/11/05 10:58:12

Modified files:
share/man/man4 : Makefile 
sys/dev/usb: files.usb 
sys/arch/i386/conf: GENERIC 
sys/arch/amd64/conf: GENERIC 
Added files:
share/man/man4 : urtwn.4 
sys/dev/usb: if_urtwn.c if_urtwnreg.h 

Log message:
urtwn(4), a driver for Realtek RTL8188CU/RTL8192CU 802.11n USB devices.
these devices are different from the RTL8191SU/RTL8192SU ones that are
not supported by this driver.
requires a firmware (urtwn-firmware-1.0)

committed over a Hercules HWNUp-150 (RTL8188CU).

ok deraadt@



CVS: cvs.openbsd.org: src

2010-11-05 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/11/05 11:01:59

Modified files:
share/man/man4 : usb.4 

Log message:
.Xr urtwn



CVS: cvs.openbsd.org: src

2010-11-05 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/11/05 11:26:38

Modified files:
sys/dev/usb: if_urtwn.c 

Log message:
double \n\n in dmesg



CVS: cvs.openbsd.org: src

2010-11-05 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/11/05 11:57:10

Modified files:
sys/dev/usb: if_urtwn.c 

Log message:
s/urtw_devs/urtwn_devs/
no binary change



CVS: cvs.openbsd.org: src

2010-11-05 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/11/05 12:45:11

Modified files:
share/man/man4 : ral.4 

Log message:
mention RT3090 in 4.9 in HISTORY section



CVS: cvs.openbsd.org: www

2010-11-01 Thread Damien Bergamini
CVSROOT:/cvs
Module name:www
Changes by: dam...@cvs.openbsd.org  2010/11/01 10:56:49

Modified files:
.  : 48.html 

Log message:
s/uscanner/usscanner/
change the ss(4) and usscanner(4) dead links to point to the 4.7 pages.



CVS: cvs.openbsd.org: src

2010-10-30 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/10/30 05:44:18

Modified files:
sys/dev/usb: if_run.c 

Log message:
use hw sequence numbering for non-QoS frames



CVS: cvs.openbsd.org: src

2010-10-30 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/10/30 05:46:47

Modified files:
sys/dev/usb: if_otus.c if_run.c 

Log message:
use (ifp-if_softc != NULL) instead of (ifp-if_flags != 0) to check
if interface was attached.
both are correct but this is for consistency with other drivers.



CVS: cvs.openbsd.org: src

2010-10-30 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/10/30 05:47:53

Modified files:
sys/dev/usb: if_run.c if_otus.c 

Log message:
don't release the node twice if tx() fails



CVS: cvs.openbsd.org: src

2010-10-30 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/10/30 05:52:29

Modified files:
sys/dev/usb: if_run.c if_otus.c 

Log message:
always decrement the number of xfers queued in txeof() even
if transfer failed.



CVS: cvs.openbsd.org: src

2010-10-30 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/10/30 05:59:05

Modified files:
sys/dev/usb: if_run.c 

Log message:
no need to compute hdrlen in (), it is not used.



CVS: cvs.openbsd.org: src

2010-10-30 Thread Damien Bergamini
CVSROOT:/cvs
Module name:src
Changes by: dam...@cvs.openbsd.org  2010/10/30 12:03:43

Modified files:
sys/dev/usb: if_run.c if_otus.c 

Log message:
in otus, tx() can return on error without releasing the node
so release the node in the caller (if_start) instead and do
the same in run(4) for consistency.



  1   2   3   4   5   6   >