summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2006-08-17Remove the link state check from re_start() for now. Allows the 8139C+Brad Smith
based adapters to work again. Issue reported by and workaround tested by maja@
2006-08-17reduce the stack usage of the ioctl function by malloc/free'ing a numberTheo de Raadt
of larger structures as need be. This was one of the worst offenders in the tree.
2006-08-16Not a bug, but change the ID strings for devices with hardware revBrad Smith
0x30000000 and 0x38000000 to both be 8168B/8111B. According to RealTek, they're both the same device, but 0x30000000 is an earlier silicon spin. From wpaul@FreeBSD
2006-08-15Remove DPRINTF from watchdog routine. To noisy even for debug mode.Marcus Glocker
2006-08-15Remove obsolete macros.Marcus Glocker
Pointed out by deraadt@
2006-08-15spacingTheo de Raadt
2006-08-15Some KNF and comment cleanup.Marcus Glocker
2006-08-15Improve watchdog handler.Marcus Glocker
ok jsg@
2006-08-14Fix bogus scanning mode.Marcus Glocker
2006-08-14Turn off debug messages by default.Jonathan Gray
Reminded by deraadt@
2006-08-13Enable hostap mode. Tested with acx100 and acx111.Marcus Glocker
2006-08-12KNF tweak.Marcus Glocker
2006-08-12Fill ic_max_rssi with values depending on the radio type. Makes signalMarcus Glocker
strength in percentage work. ok jsg@
2006-08-10- eliminate re-initialization's when adding IP addresses.Brad Smith
- simplify ioctl handler.
2006-08-10- ANSI functionsBrad Smith
- de-register - remove return at the end of void functions - some cosmetic tweaking
2006-08-10- move the promiscuous mode handling code to xl_setpromisc() and simplifyBrad Smith
the ioctl handler. - eliminate re-initialization's when adding IP addresses.
2006-08-09flags for register TXRX_CSR4 were shifted one bit too much on the left.Damien Bergamini
this has probably affected short preamble support as well as hardware multi-rate retries settings.
2006-08-08A more flexible method for deciding what firmware filenames to load.Jonathan Gray
ok mglocker@
2006-08-08Don't yell about failed channel enabling in none-debug mode, because weMarcus Glocker
use a static number of channels. ok jsg@
2006-08-08Mention which MAC we are using (ACX100 or ACX111) and fixJonathan Gray
newline in cardbus attachment.
2006-08-08Print a string for radio type.Jonathan Gray
2006-08-07Make radio type 0x11 work. Radio firmware needs longer to initializeMarcus Glocker
for those types. Increase tsleep() from 150ms to 300ms. Tested by Marc Winiger <mw@msys.ch> with 0x11 ACX100 CardBus & ACX100 PCI. ok claudio@
2006-08-07Remove some unused/uneeded code.Jonathan Gray
2006-08-07Enable WEP.Marcus Glocker
ok jsg@
2006-08-07Radio type is in hex not decimal. Therefore decide correctly whichMarcus Glocker
radio firmware to load. Spotted by Marc Winiger <mw@msys.ch>
2006-08-06Some KNF.Marcus Glocker
2006-08-06remove a dragonflybsd'ismDamien Bergamini
2006-08-06more s/f/wh/ that I forgot in rev 1.25Damien Bergamini
2006-08-06fix a comment.Damien Bergamini
2006-08-06use the same naming conventions than net80211.Damien Bergamini
set IEEE80211_FC0_VERSION_0 and IEEE80211_FC1_DIR_NODS instead of blindly assuming these constants are zero. ok mglocker@
2006-08-06Add bpf hooks. Based on slightly modified diff from jsg.Marcus Glocker
ok jsg@
2006-08-06fix swapping of the station address for big-endian archs.Brad Smith
From yongari@FreeBSD
2006-08-06fix the config space macro used with the TX start command.Brad Smith
From wpaul@FreeBSD
2006-08-06With the PCIe devices, it looks as if issuing a TX command whileBrad Smith
there is already a transmission in progress has no effect. In other words, if you send two packets in rapid succession, the second one may end up sitting in the TX DMA ring until another transmit command is issued later in the future. Basically, if re_txeof() sees that there are still descriptors outstanding, it needs to manually resume the TX DMA channel by issuing another TX command to make sure all transmissions are flushed out. (The PCI devices seem to keep the TX channel moving until all descriptors have been consumed. I'm not sure why the PCIe devices behave differently.) From wpaul@FreeBSD
2006-08-05- move the promiscuous mode handling code into re_setpromisc().Brad Smith
- have the NIC track the state and only set the promisc filter if IFF_PROMISC is adjusted, otherwise only init the NIC if it is not already running.
2006-08-05- restructure the TX descriptor handling code to decouple theBrad Smith
number of TX descriptors, the number of RX descriptors, and the number of mbufs. - bump the number of TX descriptors for the rtl8169 chipset. From yamt@NetBSD
2006-08-05don't set ifp->if_xname twice.Damien Bergamini
2006-08-05Use IFQ_POLL/IFQ_DEQUEUE instead of IFQ_DEQUEUE/IF_PREPEND.Brad Smith
2006-08-05Some KNF.Marcus Glocker
2006-08-05Adjust copyright.Marcus Glocker
2006-08-05If ieee80211_encap() returns NULL the node is already free,Jonathan Gray
do not try to free it again.
2006-08-05Be sure to call if_detach() so ghosts of hardwareJonathan Gray
don't come back to haunt us.
2006-08-05nuke latest remaining firmware ioctl bits.Damien Bergamini
ok jsg@ s/le32toh/letoh32/g and remove __offsetof definition while i'm here.
2006-08-05Replace one more dragonfly quirk by ether_sprintf(). Fixes debug outputMarcus Glocker
for AP rates.
2006-08-05Replace dragonfly quirk by ether_sprintf(). Fixes debug output forMarcus Glocker
rate up / rate down.
2006-08-05Slight KNF.Marcus Glocker
2006-08-04Fix comment typo, spotted by jasper@.Marcus Glocker
2006-08-04Make driver more silent when ACX_DEBUG is off.Marcus Glocker
2006-08-04use ic->ic_myaddr instead of LLADDR(ifp->if_sadl) to build managementDamien Bergamini
frames headers, just like net80211 does. ok mglocker@
2006-08-04Use ACX100 radio 11 firmware for ACX100 radio 11.Jonathan Gray
ok mglocker@