summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2006-11-25ANSIBrad Smith
2006-11-25remove a comment which is now untrue after i fixed itDavid Gwynne
2006-11-25Cleanup obsolete rate bits and pass right value to the TX rate descriptor.Marcus Glocker
ok claudio@
2006-11-25If no TX rate has been calculated yet, set rate value to autoselectMarcus Glocker
instead DS1. Add 'mode' informations to malo_media_status(). Some KNF.
2006-11-25fix use of gem_bitwait().Brad Smith
2006-11-25Split the GEM registers into two halfs and provide a bus_space_handle_tBrad Smith
for each. While there, fix a typo in gem_bitwait(). From martin@NetBSD
2006-11-25additional registers and some comment fixes.Brad Smith
From NetBSD
2006-11-25Fix a copy and pasto.Brad Smith
From martin@NetBSD
2006-11-24Small KNF fix.Marcus Glocker
2006-11-24Enable setting of fixed rates.Marcus Glocker
2006-11-24Enable automatic rate adapation (done by firmware and hardware).Marcus Glocker
ok claudio@
2006-11-24From Jon Simola <jsimola@gmail.com>:Marcus Glocker
Completely rewrote bcw_reset() based on new specs, this cleared up the random attach warning I occasionally had during warm boots. Also change the license, as nearly nothing is left of the original bce code.
2006-11-24replace a magic number (reserved TX descs?) with macroBrad Smith
From tsutsui@NetBSD
2006-11-23Remove 802.11a stuff. There is one RF chip (88W8030) which supports 5GHz,Marcus Glocker
but it seems rarely used and we don't know in connecton with which chip. 88W8335/88W8310 uses 88W8000G RF (2.4GHz).
2006-11-23The duration field is calculated by the firmware. Remove malo_txtime()Marcus Glocker
therefore. ok claudio@
2006-11-22style(9): remove variables names from prototypes.Damien Bergamini
ok mglocker@
2006-11-22Remove rssadapt(9) bits; Firmware supports rate adaption. Also,Marcus Glocker
remove unused arguments in the TX descriptor setup routine. ok claudio@
2006-11-22don't write to BBP before it is ready and fully initializedDamien Bergamini
-> move rt2560_set{tx,rx}antenna() after rt2560_bbp_init(). from <sephe at dragonflybsd dot org>
2006-11-22From Jon Simola <jon@mecha.ca>:Marcus Glocker
Attach to cardbus based bcw cards, and more cleanup. This should help with a few of the card lockup reports I've received.
2006-11-21Fail wi_get_txpower() on USB wi(4), so that we don't CSR_READ on them.Miod Vallat
ok mickey@ jsg@
2006-11-21Free allocated mbufs at TX done. While there also reset some TX descriptorMarcus Glocker
values. Fixes "WARNING: mclpool limit reached; increase kern.maxclusters" ok claudio@
2006-11-21From Jon Simola <simola@mecha.com>:Marcus Glocker
Lots of help from Jonathan Gray. bcw_regs has been removed, and DMA/descriptor style changes that look more normal. Tested, no loss in current unfunctionality.
2006-11-18- set descriptor DMA addresses before enabling TX and RXBrad Smith
- set RL_EARLY_TX_THRESH before starting TX and RX - clear a TX timeout only if all queued packets are handled - declare struct rl_txq separately - minor style tweaks in re_txeof() From tsutsui@NetBSD Tested by brad@, maja@ and kettenis@ Tested on amd64/armish/i386/sparc64
2006-11-17Minor cleanup.Marcus Glocker
2006-11-17KNFMarcus Glocker
2006-11-17This is a very initial import for a driver which supports the IEEE 802.11Marcus Glocker
Broadcom BCM43xx chipset. Device attaches, but has no further functionality yet. The work has been done by Jon Simola <jsimola@gmail.com>, based on the existing bce(4) code. He will continue to work on the driver and try to make further progress. ok deraadt@
2006-11-16Drop malo_reset() for now and do ENETRESET and media changes usingMarcus Glocker
malo_stop() / malo_init(). ok claudio@
2006-11-16Minor cleanup; reactivate malo_cmd_reset() which seems to work now, removeMarcus Glocker
some dead code, protect ieee80211_next_scan() from network interrupts, fix some comments. ok claudio@
2006-11-15Quiet down debug output by default. Improve cmd response/result handling.Marcus Glocker
discussed with claudio@
2006-11-15Enable data packet transmission.Marcus Glocker
Diff done in co-operation with claudio, commited via malo(4). ok claudio@
2006-11-15Fix the loop in malo_tx_intr(). This fixes a infinit loop that happend afterClaudio Jeker
resetting the card. OK mglocker@
2006-11-13first round of commits for proper 11b/g protection support:Damien Bergamini
- use the newly introduced ieee80211_get_rts() and ieee80211_get_cts_to_self() functions. - use CTS-to-self instead of RTS/CTS to protect OFDM frames in a mixed 11b/g BSS. - make sure multicast frames are sent using CCK modulation. remove support for 5GHz radios in ral(4) RT2560 and ural(4). i'm not aware of any such adapters on the market and 11a code is known to be broken. some cleanup while i'm here.
2006-11-12In malo_send_cmd_dma() reduce the poll loop to 10 and increase the delayClaudio Jeker
to 100. Even the slowest command take only about half of the time so this should be enough. Discussed with mglocker@
2006-11-12Rewrite part of malo_tx_mgt() to do the mbuf dance in a nicer way. ThisClaudio Jeker
is still ugly beyond any help but what do you expect from HW that needs to insert unused fields between header and data? OK mglocker@
2006-11-12Simplify code and remove a delay() by actually waiting for the command toClaudio Jeker
finish. OK mglocker@
2006-11-11be silentTheo de Raadt
2006-11-10Fix typo.Mark Kettenis
2006-11-10Add support for Sun 1000baseSX cards.Mark Kettenis
ok deraadt@
2006-11-10Fix DMA firmware command interface (poll for command response), and get theMarcus Glocker
card to associate successfully with an AP. ok claudio@
2006-11-09Correctly update the m_pkthdr.len in the raw bpf tap. OK mglocker@Claudio Jeker
2006-11-09Fix a bug in the firmware command function and check if the main firmwareMarcus Glocker
has been loaded by polling for the firmware response instead just waiting a static amount of time. ok claudio@
2006-11-07Add TX done cleanup.Marcus Glocker
2006-11-07- The ASIX AX88796 is an NE2000 compatible ethernet chip, but doesn't seemBrad Smith
to have "remote DMA complete bit" is ISR. So, don't wait for ISR.RDC bit after writing a packet. From bsh@NetBSD - Figure out whether the shared memory region is word-accessible in the same place we figure out its size, and store this in the softc, rather than using a series of comparisons later. From mycroft@NetBSD - support for the NE2000 type AX88790. From Yong-Jhen Hong <yongjhen at alqualonde dot org> via NetBSD Tested by deraadt@ and Adriaan <misc dot adriaan at gmail dot com> ok deraadt@
2006-11-06Also reset the TX ring if the card gets stopped.Marcus Glocker
2006-11-06Enable TX of management frames. Fix/add firmware commands, add more debugMarcus Glocker
informations, minor cleanup.
2006-11-06Don't advertise USB wi adapters as supported hostap devices,Jonathan Gray
the code would need to be largely overhauled if the hardware actually supports it. Fixes a panic when trying to set hostap on a usb wi, PR 5154.
2006-11-06figured out by tdeval@:Reyk Floeter
>During factorization in 1.57, the switch block was moved too early. >Hence it's updating an uninitialized ah structure.
2006-11-05ANSIBrad Smith
2006-11-01Put common data for each RX DMA descriptor into a new rxsoft structure.Brad Smith
From tsutsui@NetBSD Tested by brad@ otto@ Tested on amd64/i386/sparc64
2006-10-31- Rename a variable to clarify meaning of index.Brad Smith
- Rename RL_[TR]X_DESC_INC() macro to RL_NEXT_[TR]X_DESC() and change them to return rvalues to avoid possible side effects. - Also define RL_NEXT_TXQ() for rl_txq index and use it as well. From tsutsui@NetBSD