summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_iwi.c
AgeCommit message (Collapse)Author
2007-11-17update the physical address of the RX buffer after bus_dmamap_load()Damien Bergamini
in the case where the old buffer is remapped.
2007-09-07use new malloc M_ZERO flag to shrink kernel.Damien Bergamini
remove <malloc.h> from files where malloc is not used.
2007-08-28unify firmware load failure messages; ok mglockerTheo de Raadt
2007-07-18replace the ieee80211_wepkey structure with a more generic ieee80211_keyDamien Bergamini
one that can be used with other ciphers than WEP.
2007-07-06typo in an error message.Damien Bergamini
reported a while back by Laurence Tratt, reminded more recently by brad@
2007-07-05fixes my previous commit.Damien Bergamini
the ESS bit must be set in (re)assocation requests.
2007-07-05don't set IEEE80211_CAPINFO_ESS bit since we're not operating as an AP.Damien Bergamini
2007-01-03M_DUP_PKTHDR() cleanup. On static mbufs M_DUP_PKTHDR() will leak mbuf tags.Claudio Jeker
See similar commit to dev/usb/if_rum.c for more info. With this commit all drivers have been switched away from the incorrect M_DUP_PKTHDR() usage. OK mglocker@
2006-11-26do not have each net80211 driver define its own rates structures. if they useTheo de Raadt
the standard rates, use some defined by net80211 itself. kernel shrinks a bit ok jsg mglocker
2006-10-23remove detach() function. this is not hotplug and this is dead code.Damien Bergamini
2006-10-22Check that ni->ni_rates.rs_nrates is not greater than sizeof rs.rates inDamien Bergamini
iwi_auth_and_assoc() before copying the rate set. The firmware command allows a maximum of 12 rates to be defined while the ieee80211_rateset structure can contain up to 15 rates. Notice that this should not happen since the rate set is supposed to be negotiated at that time but Jeremie Le Hen sees some evidence of this happening in FreeBSD. In case it happens, print a diagnostic message and truncate the rate set. Pointed out by Jeremie Le Hen.
2006-09-29add a missing format string to the beacon miss debug message.Brad Smith
2006-09-18don't use IF_PREPEND() on altq's.Damien Bergamini
use IFQ_POLL()/IFQ_DEQUEUE() logic instead as described in altq(4).
2006-08-19tweak dma sync opsDamien Bergamini
2006-08-19get rid of shared auth mode.Damien Bergamini
the ioctl is not supported by ifconfig and it has never worked anyway.
2006-08-19o Improve 802.11 radiotap support (correct Rx antenna and Rx rate,Damien Bergamini
add short preamble flag) o Add short slot time support o Ignore parity errors interrupts (as per Linux driver) o Fix DMA sync ops o Improve async commands processing o Fix hardware WEP encryption (40/104bit keys) o Set Tx power to the maximum value for 802.11a channels too o Disable bluetooth coexistence and hardware antenna diversity as it seems to panic the firmware on some adapters o Handle beacon miss and link degradation notifications (but don't automatically roam yet) o Remove unused prototypes o Cosmetic tweaks as always
2006-08-18set of unrelated cosmetic tweaks.Damien Bergamini
2006-06-14clear the IFF_UP interface flag before shutting down the interface.Brad Smith
ok damien@
2006-05-17sync handling of fatal firmware errors w/ wpi(4)Damien Bergamini
2006-05-01call iwi_stop() at beginning of iwi_init() so that all rings are properlyDamien Bergamini
reset when iwi_init() is called from iwi_ioctl() on ENETRESET. this fixes a firmware panic when setting a WEP key multiple times for instance. fix some printf while i'm here. pointed out by Kurt Miller (kurt@).
2006-04-02Prevent panic when loading pre-3.0 iwi firmware, and give a helpfulDimitry Andric
error message instead. Also return EINVAL for some other error paths. ok damien, deraadt
2006-04-01use proper types and not fetch iobase that is not used later; damien okMichael Shalayeff
2006-04-01Put Damien's latest changes back in, okay deraadt@.Pedro Martelletto
Please note that the driver now requires new firmware (version 3.0).
2006-03-31Backout, causes panicsPedro Martelletto
2006-03-27- complete rework of rings allocation (do things more like ral(4))Damien Bergamini
- upgrade to firmware v3.0 layout - enable s/w antenna diversity - many code cleanup
2006-03-25allow bpf(4) to ignore packets based on their direction (inbound orDamien Miller
outbound), using a new BIOCSDIRFILT ioctl; guidance, feedback and ok canacar@
2006-02-26prettify + u_int{8,16,32}_t -> uint{8,16,32}_tDamien Bergamini
2006-02-04silently discard f/w notifications that are unknown (fixes spuriousDamien Bergamini
"unknown notification 15" in logs with latest firmware)
2006-01-29re-enable scatter and fix scanning of 802.11a channels.Damien Bergamini
2006-01-18add some bits to control assoc led.Damien Bergamini
2006-01-04Remove redundant calls to bpfdetach.Can Erkin Acar
ok brad@
2005-11-23When defragmenting a mbuf chain before transmitting it, don't allocate a mbufDamien Bergamini
cluster if the payload fits in the header. From NetBSD (scw@)
2005-11-23fix my previous commit. don't leak an mbuf.Damien Bergamini
2005-11-23Be more robust when handling Rx interrupts. If we can't allocate and DMA mapDamien Bergamini
a new mbuf, just discard the received frame and reuse the old mbuf. From NetBSD (joerg@)
2005-11-23Fix endianness issues. iwi should now work on big endian architectures.Damien Bergamini
From NetBSD (scw@).
2005-10-07fixes rev 1.50. got a stack smashed.Damien Bergamini
looks like i committed the wrong version.
2005-10-06o Use firmware extended scan command; this one doesn't crash when scanningDamien Bergamini
the 5GHz band. o Enable 802.11a channels scanning for 2915ABG adapters. o Fix a typo (negociated->negotiated).
2005-09-19o Add initial bits for IBSS support.Damien Bergamini
o Fix association with APs not broadcasting their SSIDs. o Don't send anything if there is less than eight free slots in Tx ring.
2005-08-09do not set PCI_COMMAND_MASTER_ENABLE explicitly as it's already set in ↵Michael Shalayeff
pcisubmatch(); kettenis@ testing; brad@ ok
2005-07-12h/w doesn't decrypt rx frames in monitor mode so don't try to remove theDamien Bergamini
iv and crc fields or to clear the wep bit from the 802.11 header. fix by Pedro la Peu. closes kern/4284.
2005-07-02clear IFF_RUNNING & IFF_OACTIVE in foo_stop() before de-allocating resources.Brad Smith
2005-06-20fix a couple of 'use after free' bugs on mbuf chains in the tx path.Damien Bergamini
originally pointed out by Mike Silbersack on the fbsd version of the iwi driver.
2005-05-22fix setting of the "need ack" flag.Damien Bergamini
2005-05-22cosmetic. no need to initialize the read index.Damien Bergamini
2005-05-22set fragmentation threshold in iwi_config().Damien Bergamini
2005-05-22some changes for IBSS mode support (not yet working).Damien Bergamini
2005-05-22add monitor mode support. fast channel hop is not yet implemented though.Damien Bergamini
requires a firmware upgrade to version 1.0.4.
2005-05-14don't copy the capinfo field from the ap. forge our own based on whatDamien Bergamini
ieee80211_output.c does.
2005-05-13should support channel 165 too in 802.11a mode.Damien Bergamini
2005-05-13fix sensitivity setting.Damien Bergamini