summaryrefslogtreecommitdiffstats
path: root/sys/dev/wpi
Commit message (Collapse)AuthorAgeFilesLines
* remove references to ic_statssam2009-02-131-2/+0
| | | | Spotted by: Lucius Windschuh <lwindschuh@googlemail.com>
* o use the new association callback to notify the driver when joining a bsssam2008-10-271-5/+0
| | | | | | | 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
* Correct detection of particular wpi cards which only support b/gbenjsc2008-08-241-4/+4
| | | | | | | | | and fix the output to indicate b/g not a/g Submitted by: ischram at telenet.be Reviewed by: thompsa Approved by: sam (co-mentor) MFC after: 1 month
* - Fix compile if WPI_DEBUG is not definedthompsa2008-06-231-27/+39
| | | | | | - Allow debug.wpi to be set from a tunable - Put ring reset messages back under debug - Add more debug output around channel init
* Change the calling convention for ic_node_alloc to deal withsam2008-06-071-2/+4
| | | | | | | | | | | | 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
* The beacon miss notification must run without locks held has it calls back intothompsa2008-05-162-2/+16
| | | | wpi_raw_xmit();
* Minor cleanup of vap create work:sam2008-05-121-1/+2
| | | | | | | | | | | | | 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
* Unify all the wifi *_ioctl routinesthompsa2008-05-011-7/+8
| | | | | | | | | | | | | | - 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
* Multi-bss (aka vap) support for 802.11 devices.sam2008-04-202-408/+385
| | | | | | | | | | | 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)
* fix inverted test that disabled ACK's on xmitsam2008-03-121-1/+1
|
* Update wpi(4) with stability fixesthompsa2008-03-103-607/+514
| | | | | | | | | | | | | | - remove second taskqueue - busdma 16k alignment workaround - use busdma instead of external mbuf storage on Rx - locking fixes - net80211 state change fixes - improve scanning reliability - improve radio hw switch interaction - consolidate callouts Parts obtained from: benjsc, sam Tested by: many
* Give MEXTADD() another argument to make both void pointers to thephk2008-02-011-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | free function controlable, instead of passing the KVA of the buffer storage as the first argument. Fix all conventional users of the API to pass the KVA of the buffer as the first argument, to make this a no-op commit. Likely break the only non-convetional user of the API, after informing the relevant committer. Update the mbuf(9) manual page, which was already out of sync on this point. Bump __FreeBSD_version to 800016 as there is no way to tell how many arguments a CPP macro needs any other way. This paves the way for giving sendfile(9) a way to wait for the passed storage to have been accessed before returning. This does not affect the memory layout or size of mbufs. Parental oversight by: sam and rwatson. No MFC is anticipated.
* rx mbufs must have a pkthdr; use m_gethdr to populate the rx ringsam2008-01-261-1/+1
| | | | | | | (and while here correct the mbuf type) Submitted by: Sam Banks <w0lfie@clear.net.nz> MFC after: 1 week
* - Retire npe_defrag(), gem_defrag(), msk_defrag(), nfe_defrag(), andjhb2008-01-171-1/+1
| | | | | | re_defrag() and use m_collapse() instead. - Replace a reference to ath_defrag() in a comment in if_wpi.c with m_collapse().
* Fix up a race condition with the callout_stop method in newstate.benjsc2007-11-271-1/+4
| | | | | | | | | The call should happen with the driver lock held. We don't hold the driver lock in newstate as it's a separate thread where we can't sleep (and we only call wpi_cmd in async mode). Discovered By: Attillo's callout rework Approved By: mlaier (comentor)
* Handle missed beacons correctlybenjsc2007-11-272-1/+22
| | | | Approved by: mlaier (comentor)
* Remove the IEEE80211_C_WEP capability flag - setting it makes net80211 expectrink2007-11-131-2/+1
| | | | | | | | | | | | that the driver will handle WEP encryption. However, this does not seem to be implemented by this driver (or maybe the chipset doesn't support it?) Removing the flag makes my wpi card work using wpa_supplicant(8) on a network with 802.1x security (without this change it authenticated fine, but tcpdump only saw garbage packets) Reviewed by: benjsc, imp (mentor) Approved by: imp (mentor), sam
* Turn off debug output, its been confusing users.benjsc2007-11-081-1/+1
| | | | Approved by: mlaier (comentor)
* Initial Import of wpi driver based on p4 changeset 128641.benjsc2007-11-053-0/+4899
This import includes: o wpi Wireless driver for the Intel 3945 Wireless Lan Controller (802.11abg) (sys/dev/wpi) o Intel firmware revision 2.14.4 & associated LICENSE (sys/dev/contrib/wpi, sys/contrib/dev/wpi/LICENSE) o wpifw Firmware driver (sys/modules/wpifw) Approved by: mlaier, sam (co-mentors)
OpenPOWER on IntegriCloud