summaryrefslogtreecommitdiff
path: root/sys/dev/ic/bwi.c
AgeCommit message (Collapse)Author
2007-10-04Since we know the firmware load works, merge the single firmware filesMarcus Glocker
together to one single, finally. You need to bump the firmware package to version 1.3! OK jsg@
2007-10-01Spacing.Marcus Glocker
2007-10-01Fix `bogus xmit rate setup' panic, which mostly happened while associatingMarcus Glocker
to an 11b AP due to not correct initialized tx rates.
2007-10-01remove rate_fb variable as it always gets set to the same valueJonathan Gray
as rate anyway.
2007-10-01Print the MAC address.Jonathan Gray
2007-10-01Disable default debug setting, make tx power map printing debug only.Jonathan Gray
2007-10-01Use uint_* consistent.Marcus Glocker
Agreed with jsg@
2007-09-30Spacing.Marcus Glocker
2007-09-30Don't count interrupts with state "not of interest".Marcus Glocker
From Oleg Safiullin. OK jsg@
2007-09-30BWI_BBP_ATTEN is a 16-bit register, so use CSR_WRITE_2 to access it.Mark Kettenis
Fixes unaligned access on strict-alignment architectures. ok mglocker@
2007-09-29Fix two panic's on macppc. Allows me first network communication overMarcus Glocker
my PowerBook G4 internal BCM4306 device.
2007-09-27Spacing.Marcus Glocker
2007-09-27Add automatic rate control (AMRR).Marcus Glocker
2007-09-27Spacing.Marcus Glocker
2007-09-27Kill __BIT* macros.Marcus Glocker
Help and OK jsg@
2007-09-24Add radio tap support. We still need to calculate correct RX rate andMarcus Glocker
RX signal strength.
2007-09-23Fix page fault kernel crash when changing media and device is up.Marcus Glocker
2007-09-23Add missing device name printf arguments for firmware load error output.Marcus Glocker
2007-09-23More debug ouput cleanup.Marcus Glocker
2007-09-23Correctly clear PCI_STATUS_TARGET_TARGET_ABORT bit.Marcus Glocker
2007-09-23Properly handle the physical address in bwi_encap() as well.Jonathan Gray
With this change I can now scan, associate and ssh via bwi(4)
2007-09-23Make sure to set physical address in bwi_newbuf()Jonathan Gray
2007-09-18Drag back the original DragonFlyBSD firmware loading routines, so we canMarcus Glocker
load the same firmware revision as they do. Our previously used firmware images seem to contain the wrong revision. You need to bump your firmware package to version 1.2. Other than expected, loading the right firmware revision still doesn't fix a fatal chip error at initialization time.
2007-09-17If device is down, don't handle any interrupts. Even don't read theMarcus Glocker
interrupt status register instead return directly. This fixes the machine freeze on amd64 and let me receive proper interrupts if device is up. This bit was originaly in the DragonFly code, and must have sneaked out while porting ...
2007-09-17Several DPRINTF arguments was missing, which can lead to ugly kernelMarcus Glocker
crashes. Fix them.
2007-09-17In case of IV load failure free ucode.Marcus Glocker
2007-09-16Remove more obsolete firmware specific bits.Marcus Glocker
2007-09-16Remove obsolete firmware specific bits.Marcus Glocker
2007-09-16Better version of fake KKASSERT until they are changed properly.Jonathan Gray
2007-09-16Do sc_disable when device gets stopped.Marcus Glocker
OK jsg@
2007-09-16Clear error before starting m_defrag() equivalent.Jonathan Gray
2007-09-16Move some noisy debug printfs to higher levels.Jonathan Gray
2007-09-16CardBus works much better when sc_enable is called.Jonathan Gray
Remove some safety returns while here. ok mglocker@
2007-09-16Free ucode if an error happens while FW / IV load. Always return a properMarcus Glocker
code in case of error.
2007-09-16Convert most of the remaining non firmware handling code.Jonathan Gray
2007-09-16Remove most of the __unused due to to code being enabled.Jonathan Gray
2007-09-15Adapt firmware images prefix to driver name. Needs bump to firmwareMarcus Glocker
package version 1.1.
2007-09-15Get IV load working. Simplified IV loading routine (mainly a rewrite).Marcus Glocker
Adapted IV loading routines so we can use it with our one file firmware.
2007-09-15Give hardware physical addresses and add some missingJonathan Gray
bus_dmamap_create() calls.
2007-09-15most of the remaining bus_dma conversionJonathan Gray
2007-09-15Convert bus_dmamap_sync() calls.Jonathan Gray
2007-09-15Convert bus_dma_load_mbuf() calls and remove unrequired callbackJonathan Gray
code previously used.
2007-09-15suitible -> suitableBrad Smith
ok mglocker@ dlg@
2007-09-15convert bus_dmamap_unload() callsJonathan Gray
remove bus_dma_tag_destroy() calls as we don't use/require them.
2007-09-15convert bus_dmamap_load() callsJonathan Gray
2007-09-15Properly fill in some of the pci information the driver uses internally.Jonathan Gray
2007-09-15define BWI_DEBUG to make things easierJonathan Gray
2007-09-14Get firmware load working. Adapt firmware routines that way so we canMarcus Glocker
use our one file firmware.
2007-09-14Use our standard ratesets from ieee80211 instead.Marcus Glocker
2007-09-14Sort prototypes.Marcus Glocker