summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/if_rum.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* in ieee80211_input(), call if_start() after enqueuing frames in if_snddamien2008-08-141-8/+1
| | | | | | | when acting as an access point instead of having each driver doing the job. tested by krw@ (ral AP) and me with several drivers.
* Free the correct buffer list on failure.damien2008-07-301-2/+2
| | | | From Andrew Thompson at FreeBSD.
* instead of passing rx tstamp and rssi to the ieee80211_input function,damien2008-07-211-2/+6
| | | | | | | pass a pointer to an ieee80211_rxinfo structure containing those two fields plus an extra flags field that indicates whether the frame was decrypted by hardware or not. required for a future fix.
* new belkin rum with california designed plasticderaadt2008-06-291-1/+2
|
* D-Link DWA-111, from kevlo via FreeBSD.jsg2008-06-131-1/+2
|
* Kernel implementation of the 4-way handshake and group-keydamien2008-04-161-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | handshake protocols (both supplicant and authenticator state machines) as defined in the IEEE 802.11i standard. Software implementation of the TKIP (Temporal Key Integrity Protocol) and CCMP (CTR with CBC-MAC Protocol) protocols. This diff doesn't implement any of the 802.1X authentication protocols and thus only PSK authentication (using pre-shared keys) is currently supported. In concrete terms, this adds support for WPA-PSK and WPA2-PSK protocols, both in station and hostap modes. The following drivers are marked as WPA-capable and should work: bwi(4), malo(4), ral(4), iwn(4), wpi(4), ural(4), rum(4), upgt(4), and zyd(4) The following options have been added to ifconfig(8): wpa, wpapsk, wpaprotos, wpaakms, wpaciphers, wpagroupcipher wpa-psk(8) can be used to generate keys from passphrases. tested by many@ ok deraadt@
* Add Corega CG-WLUSB2GPX.jsg2008-04-011-1/+2
| | | | From FreeBSD.
* Two more rum devices from Ralink driver via sephe@dragonfly.jsg2008-03-031-2/+4
| | | | discussed with deraadt@
* I-O Data USB-RSAQ5 serial from Masao Uebayashi in NetBSD.jsg2008-02-221-1/+2
| | | | Corega CG-WLUSB2GL WLAN from KIYOHARA Takashi in NetBSD.
* SPARKLAN RT2573, found in HP s3200n, owned by laa@laa.zp.uaderaadt2008-01-051-2/+3
| | | | rum vs ural determination done by jsg
* treat usb vendor/product names as a locator, and have usbd_print handle it,deraadt2007-10-111-6/+1
| | | | | | so that it shows up before the :. as a result, all the usb devices do not need to have name printing code anymore. all this now works and prints nicely because usbd_probe_and_attach() is serialized. ok kettenis
* use new malloc M_ZERO flag to shrink kernel.damien2007-09-071-2/+1
| | | | remove <malloc.h> from files where malloc is not used.
* Remove the definition and usage of the USB_DECLARE_DRIVER_CLASS andmbalmer2007-06-141-2/+17
| | | | | | | | USB_DECLARE_DRIVER macros. No binary change. ok dlg.
* Remove the definition and use of the device_ptr_t which was a struct device *.mbalmer2007-06-121-2/+2
| | | | | | No binary change. ok mk.
* Remove the definition and use of the USBDEVNAME macro.mbalmer2007-06-101-39/+39
| | | | | | | (This might look easy, but it was a big diff. Thanks to dlg and especially jsg for looking over it; we found at least four mistakes in the initial diff.) ok jsg.
* Remove the definition and use of the USBDEV macro. It only created confusionmbalmer2007-06-101-3/+3
| | | | | | | | and the address of it's argument: USBDEV(sc->sc_dev) yields &sc->sc_dev. No binary changes. ok jsg.
* Remove the definition and use of if_deactivate(). It was defined empty andmbalmer2007-06-091-2/+1
| | | | | | | | thus produced no code at all. No binary change. ok jsg.
* re-indent prototypes after "Static" removal.damien2007-06-091-29/+19
| | | | no binary change.
* Remove the "Static" declaration of many functions. It was defined to be emptymbalmer2007-06-051-101/+101
| | | | | | | and it was not consistently used. It was confusing as it suggested these functions were static, which they were not. discussed with dlg and jsg, ok jsg.
* Farewell USB_{ATTACH,MATCH,DETACH}* you will not be missed.jsg2007-05-271-16/+17
| | | | ok deraadt@ krw@ mbalmer@
* Remove le{16,32}toh macrosjsg2007-05-211-3/+3
|
* Remove logprintf macrojsg2007-05-211-3/+3
|
* do not do a curproc test for interrupt context, because it is plainly wrong.deraadt2007-02-191-7/+3
| | | | | this lets these work on macppc, for instance diagnosed by kettenis, but damien is not around, so ok jsg and others
* commit the correct version of this, which matches recent additions.jsg2007-02-081-1/+6
|
* add entry for WLI-U2-SG54HP. forgotten on previous commit.itojun2007-02-081-1/+2
| | | | tnx to: yuo at nui.org
* Add quite a few more rum(4) devices.jsg2007-02-081-5/+15
| | | | Two from Yojiro UO in NetBSD PR 35552
* attach to Gigabyte GN-WI05GS Mini-PCI Express adapters.damien2007-01-081-2/+3
| | | | bump copyright while i'm here.
* Don't use M_DUP_PKTHDR() on static mbufs. M_DUP_PKTHDR() copies the mtagclaudio2006-12-301-5/+7
| | | | | | | | chain and so a later MFREE() is needed to free the chain again. In this special case we get away by initializing a minimal mbuf header instead of the M_DUP_PKTHDR() because bpf_mtap() does not access the pkthdr. This fixes kettenis@ mtag memory leak on armish. Tested by kettenis@ OK mglocker@ Sounds good jsg@
* http://www.ralinktech.com/ domain name is for sale.damien2006-12-071-2/+2
| | | | use official url instead: http://www.ralinktech.com.tw/
* fix handling of the SIOCS80211CHANNEL ioctl in monitor mode:damien2006-12-031-3/+6
| | | | | | | | | don't call xxx_set_chan() if the interface is not up&running. patch from Steffen Schuetz (st dot sch at gmx dot net) with minor modifications by me. closes kernel/5313
* don't schedule a USB task in {ural,rum}_newstate() if we're called fromdamien2006-12-031-4/+7
| | | | a process context. this avoids potential races in {ural,rum}_stop().
* do not have each net80211 driver define its own rates structures. if they usederaadt2006-11-261-16/+4
| | | | | the standard rates, use some defined by net80211 itself. kernel shrinks a bit ok jsg mglocker
* restore the workaround for rate==0 bug.damien2006-11-191-1/+3
| | | | | | | i removed it in my last commit because i thought it was gone. looks like it's not the case. pointed out by niallo@
* first round of commits for proper 11b/g protection support:damien2006-11-131-76/+131
| | | | | | | | | | | | | | - use the newly introduced ieee80211_get_rts() and ieee80211_get_cts_to_self() functions. - use CTS-to-self instead of RTS/CTS to protect OFDM frames in a mixed 11b/g BSS. - make sure multicast frames are sent using CCK modulation. remove support for 5GHz radios in ral(4) RT2560 and ural(4). i'm not aware of any such adapters on the market and 11a code is known to be broken. some cleanup while i'm here.
* make sure ni->ni_txrate is always initialized to a meaningful value bydamien2006-10-221-10/+18
| | | | | | redefining ic->ic_newassoc. this should prevent "bogus xmit rate" panics when operating in HostAP mode.
* Support later versions of the ASUS WL-167g which have switchedjsg2006-10-191-1/+2
| | | | | | from ural to rum. From Jason Crawford <jasonrcrawford@gmail.com>
* don't use IF_PREPEND() on altq's.damien2006-09-181-4/+3
| | | | use IFQ_POLL()/IFQ_DEQUEUE() logic instead as described in altq(4).
* s/IEEE80211_MTU_MAX/IEEE80211_MAX_LEN/ in my previous commit.damien2006-08-241-2/+2
|
* - fall back to 1Mbps if tx rate is returned as zero. avoids divide by zero. should never happen, but sometimes it does on my amd64.niallo2006-08-231-1/+3
| | | | ok damien@
* the maximum MTU allowed for IEEE802.11 is 2290 which is greater thandamien2006-08-231-2/+2
| | | | | | MCLBYTES (usually 2048). allocate tx xfer buffers of IEEE80211_MTU_MAX instead of MCLBYTES. rx buffers are still limited to MCLBYTES though.
* in rum_rxeof(), don't check xfer length against IEEE80211_MIN_LEN sincedamien2006-08-231-2/+3
| | | | | the CRC is not included in the xfer. check against sizeof(struct ieee80211_frame_min) instead.
* set of unrelated cosmetic tweaks.damien2006-08-181-2/+6
|
* fix a printf format stringdamien2006-08-181-2/+2
|
* - fix support for RT5225 (802.11a MIMO)damien2006-08-181-169/+54
| | | | | | | | | - set default Tx power for 802.11a channels - in rum_newstate(), save the "arg" parameter so we can pass it to the ieee80211_new_state() function in the usb task - merge rum_tx_data() and rum_tx_mgt() - s/le32toh/letoh32/g (le32toh is defined in usb_port.h) - cosmetic while i'm here
* Separate rum(4) firmware from ral(4) ones.damien2006-08-171-7/+7
| | | | | | | | | ral(4) firmwares are built on PCI-capable architectures only while rum(4) firmware is built on USB-capable architectures only. Rename ral-rt2573 into rum-rt2573 and build rum-rt2573 on the zaurus too (pointed out by Patrick Heim). ok deraadt@
* Belkin RT2601USB.jsg2006-08-161-1/+2
|
* Add a bunch more devices.jsg2006-08-141-2/+17
|
* Disable default debug setting now rum works.jsg2006-08-141-4/+2
|
* tell if chipset supports MIMO in dmesg output.damien2006-08-101-5/+3
|
* mega-commit of unrelated changes to bring rum(4) into a working state.damien2006-08-091-346/+582
| | | | | | | more to come but works well enough for me to commit this over a rum(4). it shares a lot of code with ral(4) rt2661.c. thanks to jsg@ for sending me a rum(4).