summaryrefslogtreecommitdiff
path: root/sys/dev/ic/pgt.c
AgeCommit message (Collapse)Author
2007-09-18Only the most obvious bzero() -> M_ZERO changes. No cast changes, noKenneth R Westerback
MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an immediately adjacent bzero().
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-05-22Pass string to printf instead of struct that contains string.Ray Lai
OK tedu@ and miod@.
2007-02-14Add SIOCADDMULTI and SIOCDELMULTI ioctl handlers. Without them IPv6 doesClaudio Jeker
not work. Issue reported by brad@ OK mglocker@
2006-12-30Don't use M_DUP_PKTHDR() on static mbufs. M_DUP_PKTHDR() copies the mtagClaudio Jeker
chain and so a later MFREE() is needed to free the chain again. Just initialize a minimal mbuf header for bpf_mtap(). See earlier rum(4) commit for the full story. OK mglocker@ Sounds good jsg@
2006-12-07Fix some channel tweaks; e.g. solves a bug which sets the channel to 40Marcus Glocker
when switching into hostap mode. ok claudio@
2006-11-25remove a comment that only applies to freebsd.Damien Bergamini
2006-10-13Fix kernel page fault when the device gets detached after the firmwareMarcus Glocker
failed to load. Spotted by bernd@, aaron@ ok claudio@
2006-10-11more ether_sprintf()'sDamien Bergamini
ok claudio@
2006-10-11fix a potential null deref and a memleak (both in error path).Damien Bergamini
ok mglocker@
2006-10-11Use correct arguments in printfs. OK mglocker@Claudio Jeker
2006-10-09Kill unused debug flag.Marcus Glocker
2006-10-09Change historical leftovers (tsleep "pftres" to "pgtres").Marcus Glocker
2006-10-09Add powerhooks. Tested with a Netgear WG511v1 on my X40.Marcus Glocker
ok claudio@
2006-10-06Fix cardbus support for pgt(4). Tested with a Netgear WG511.Marcus Glocker
ok claudio@
2006-10-05Zap more dead dot1x code.Marcus Glocker
ok claudio@
2006-10-05Zap dead dot1x routine pgt_update_hw_from_nodes(). There is some moreMarcus Glocker
dot1x stuff spreaded around which needs to be removed. ok claudio@
2006-10-05Remove obsolete ioctl command.Marcus Glocker
ok claudio@
2006-10-05Zap dead routine pgt_80211_set().Marcus Glocker
ok claudio@
2006-10-04Merge pgt_start_body() into pgt_start().Marcus Glocker
ok claudio@
2006-10-04Mini cleanup.Marcus Glocker
ok claudio@
2006-10-03Do not use IF_PREPEND. Instead use IFQ_POLL and IFQ_DEQUEUE. This shouldClaudio Jeker
"fix" altq. OK mglocker@
2006-10-02Zap unused MLME routines. Probably they were just used in WPA mode.Marcus Glocker
ok claudio@
2006-10-02Simplify device attachment. From brad@ with a tiny correction.Marcus Glocker
2006-10-01Make monitor mode work by prepending the right kind headers and fixing theClaudio Jeker
channel selection code. Joint work with mglocker@, OK mglocker@
2006-10-01Get rid of this strange pgt_data_frame which is unused. Nice side-effect isClaudio Jeker
an easier to read pgt_datarx_completion. OK mglocker@
2006-10-01Kill some #if 0 code. OK mglocker@Claudio Jeker
2006-10-01Set ic_max_rssi to 255 the rssi value returned by the card is a u_int8_tClaudio Jeker
and mglocker@ and I both have seen values up to 240. OK mglocker@
2006-09-27- do not bother printing the attach error message from the attach hookBrad Smith
if pgt_attach() fails. - remove pgt_disable/pgt_reboot from the pgt_attach error path, just return for now. ok mglocker@
2006-09-26Start to get HostAP mode working for pgt(4). Works at the first try,Marcus Glocker
but surely needs more testing and some more modifications.
2006-09-23In pgt_media_status() also DPRINTF if the rate == 0.Marcus Glocker
2006-09-23Update media state correctly.Marcus Glocker
ok claudio@
2006-09-19add missing sys/device.h.Brad Smith
ok mglocker@
2006-09-16Don't panic if firmware files are not in place. Ja ja ja ja claudio@.Marcus Glocker
ok deraadt@
2006-09-16Bring pgt(4) in a working state. Much work also done by claudio@.Marcus Glocker
ok deraadt@
2006-08-31Start to get interface attach working.Marcus Glocker
ok deraadt@
2006-08-31Some first cleanup run.Marcus Glocker
ok deraadt@
2006-08-31Bring chip into initialized state.Marcus Glocker
ok deraadt@
2006-08-31Do proper chipset identification.Marcus Glocker
ok deraadt@
2006-08-31Get firmware loaded.Marcus Glocker
ok deraadt@
2006-08-28Port bus_dmamap_load(9) and bus_dmamap_sync(9).Marcus Glocker
2006-08-28Move DMA mapping code from if_pgt_pci.c to pgt.c and port it as is for now.Marcus Glocker
Remove dead code chunk from if_pgt_pci.c. For those who want to refer to the original code you can find it in ~mglocker/pgt/orig.
2006-08-24Add some first PCI glue.Marcus Glocker
2006-08-22Very initial import to support the PrismGT chipset (FullMAC for now).Marcus Glocker
ok deraadt@