summaryrefslogtreecommitdiffstats
path: root/sys/dev/iwi
Commit message (Collapse)AuthorAgeFilesLines
* Fix endianness issues. iwi now works on big endian architectures too.damien2005-11-131-10/+10
| | | | | Obtained from: NetBSD (scw@) MFC after: 2 weeks
* Be more robust when handling Rx interrupts. If we can't allocate and DMA mapdamien2005-11-131-20/+40
| | | | | | | | a new mbuf, just discard the received frame and reuse the old mbuf. This should fix kernel panics on high network traffic. Obtained from: NetBSD (joerg@) MFC after: 2 weeks
* Fixes my previous commit (rev 1.20)damien2005-10-071-3/+3
| | | | MFC after: 1 day
* o Use firmware extended scan command; this one doesn't crash when scanningdamien2005-10-062-21/+29
| | | | | | | | | | the 5GHz band. o Enable 802.11a channels scanning for 2915ABG adapters. o Fix a typo (negociated->negotiated). With hints from NetBSD. MFC after: 2 days
* Use phk's kernel unit number allocator to associate unique ids to neighborsdamien2005-09-193-45/+76
| | | | | | | | in an IBSS. Store ids directly into ieee80211_node's instead of managing our own private association table. Idea and code by Sam Leffler. Submitted by: sam MFC after: 5 days
* It's safe to wait for command completion in iwi_config().damien2005-09-191-1/+2
| | | | MFC after: 5 days
* Make sure that we call if_free(ifp) after bus_teardown_intr. Since weimp2005-09-191-1/+2
| | | | | | | could get an interrupt after we free the ifp, and the interrupt handler depended on the ifp being still alive, this could, in theory, cause a crash. Eliminate this possibility by moving the if_free to after the bus_teardown_intr() call.
* o Add initial bits for IBSS support.damien2005-09-173-25/+110
| | | | | | | | | | o Allow association with APs that do not broadcast SSID (with hints from Nick Hudson and Hajimu Umemoto). o IFQ_DRV_PREPEND mbuf when h/w ring is full so it can be sent later. o Increment if_oerrors when appropriate. o Did some cleanup while I'm here. MFC after: 1 day
* Enhanced WME (802.11e) support.damien2005-08-212-5/+65
|
* Add some necessary bits for upcoming 802.11e support:damien2005-08-203-64/+183
| | | | | | | | o management of multiple tx rings (up to 4) o setting of WME IE in association requests Some features are still missing though, like the possibility to override the default cwmin/cwmax/asfn values of each tx queues.
* Export adapter's internal statistics sysctl even if IWI_DEBUG is not defined.damien2005-08-201-6/+0
| | | | MFC after: 1 week
* Don't automatically start scanning in if_init() if IEEE80211_ROAMING_MANUALdamien2005-08-201-4/+6
| | | | | | flag is set. MFC after: 1 week
* Catch up to ic_curchan changes by making the same change here that was madejhb2005-08-171-1/+1
| | | | | | | in ipw(4) in the earlier ic_curchan mega commit. Submitted by: Øyvind Kolbu oyvind at kolbu dot ws Tested by: Stefan Ehmann shoesoft at gmx dot net
* Propagate rename of IFF_OACTIVE and IFF_RUNNING to IFF_DRV_OACTIVE andrwatson2005-08-091-11/+11
| | | | | | | | | | | | | | IFF_DRV_RUNNING, as well as the move from ifnet.if_flags to ifnet.if_drv_flags. Device drivers are now responsible for synchronizing access to these flags, as they are in if_drv_flags. This helps prevent races between the network stack and device driver in maintaining the interface flags field. Many __FreeBSD__ and __FreeBSD_version checks maintained and continued; some less so. Reviewed by: pjd, bz MFC after: 7 days
* simplify ieee80211_node_authorize and ieee80211_node_unauthorize api'ssam2005-07-221-1/+1
| | | | MFC after: 3 days
* remove driver-private key allocators; use the default one insteadsam2005-07-101-12/+0
| | | | | | | so wpa keys are handled properly Reviewed by: avatar Approved by: re (scottl)
* reclaim node reference when ieee80211_encap failssam2005-07-081-1/+3
| | | | | Reviewed by: avatar Approved by: re (scottl)
* reclaim mbuf when ieee80211_crypto_encap failssam2005-07-071-1/+3
| | | | | Approved by: re (scottl) Obtained from: netbsd
* Fix a read mbuf-after-free error in the iwi driver that was provoked bysilby2005-06-231-9/+6
| | | | | | | the trash allocator being used on mbufs. Reviewed by: damien Approved by: re (scottl)
* Stop embedding struct ifnet at the top of driver softcs. Instead thebrooks2005-06-102-3/+12
| | | | | | | | | | | | | | | | | | | | struct ifnet or the layer 2 common structure it was embedded in have been replaced with a struct ifnet pointer to be filled by a call to the new function, if_alloc(). The layer 2 common structure is also allocated via if_alloc() based on the interface type. It is hung off the new struct ifnet member, if_l2com. This change removes the size of these structures from the kernel ABI and will allow us to better manage them as interfaces come and go. Other changes of note: - Struct arpcom is no longer referenced in normal interface code. Instead the Ethernet address is accessed via the IFP2ENADDR() macro. To enforce this ac_enaddr has been renamed to _ac_enaddr. - The second argument to ether_ifattach is now always the mac address from driver private storage rather than sometimes being ac_enaddr. Reviewed by: sobomax, sam
* o Clear device-specific PCI register 0x41 (Retry Timeout) during attachdamien2005-05-223-20/+140
| | | | | | | | | | | | | | | | | and on resume (reported to fix issues with ACPI) o Add monitor mode support o Add WPA (802.11i) support (not tested extensively though!) o Add a device specific sysctl to control the tx antenna (default to antenna diversity) o Fix sensitivity setting o Fix setting of the capinfo field when associating o Temporarly disable 802.11a channels scanning that was causing firmware panics with 2915ABG adapters until I find a better fix. This breaks 802.11a support. o Temporarly switch back to software WEP until I implement hardware encryption for AES and TKIP too. Approved by: silby (mentor)
* Print a warning once when trying to bring up interface before firmware load.imp2005-05-152-0/+4
|
* Initial import of ipw, iwi, ral and ural drivers:damien2005-04-183-0/+2825
ipw - Intel PRO/Wireless 2100 iwi - Intel PRO/Wireless 2200BG/2225BG/2915ABG ral - Ralink Technology RT2500 ural - Ralink Technology RT2500USB Approved by: silby (mentor)
OpenPOWER on IntegriCloud