Home | History | Annotate | Download | only in ic
History log of /src/sys/dev/ic/rt2661reg.h
RevisionDateAuthorComments
 1.3  29-Apr-2008  scw Pull in some more changes from OpenBSD:

- replace rssadapt(9) with amrr for automatic rate control.
- don't blindly IFQ_DEQUEUE() then drop a Tx packet if there are no
available Tx resources.
- move default MAC/BBP/RF settings from rt2661.c to rt2661reg.h.
- enable packet bursting when operating as a STA.
- implement new ic_updateslot() callback.
- in hostap mode, we defer update of the slot time until all associated
STAs are notified with updated beacons.
- 802.11a uses a 16 microseconds short interframe space.
- Fix rt2661_set_macaddr() so that we don't override the "unicast to me"
flag in RT2661_MAC_CSR3 when setting the MAC address.
- fix index of ERP information element in beacons.

Add a couple of tweaks of my own:

- The RX/TX BUSY flag should be the last thing written to a descriptor.
- Check and service any additional h/w interrupts before returning
from the isr.

Tested in STA, AP, and Monitor modes. Tested with WEP, WPA, and WPA2 crypto.

Additional testing by xtraeme@
 1.2  17-Mar-2008  xtraeme branches: 1.2.2; 1.2.4;
Merge some changes from OpenBSD:

RT2560+RT2661: update the physical address in the RX descriptor after
bus_dmamap_load() in the case where the same mbuf is reloaded.

modify interrupt handlers to exit early and return 0 on shared interrupts.

RT2661:
flags for register TXRX_CSR4 were shifted one bit too much on the left.
this has probably affected short preamble support as well as hardware
multi-rate retries settings.

fix handling of the SIOCS80211CHANNEL ioctl in monitor mode:
don't call xxx_set_chan() if the interface is not up&running.

Tested with the following hw:

ral0 at pci5 dev 0 function 0: Ralink Technologies RT2561 802.11b/g (rev. 0x00)
ral0: interrupting at ioapic0 pin 20 (irq 10)
ral0: 802.11 address 00:80:5a:4f:ab:e2
ral0: MAC/BBP RT2561C, RF RT2527
 1.1  04-Jun-2006  rpaulo branches: 1.1.2; 1.1.6; 1.1.8; 1.1.10; 1.1.16; 1.1.42; 1.1.62; 1.1.66;
Driver for Ralink chipsets RT2460A, RT2560, RT2561S, RT2561 and RT2661
from FreeBSD/OpenBSD that supersedes ral*.[ch].

Not yet enabled because I don't have a CardBus controller to test and it
will most likely crash during detach.

I tried to include our modifications, but if something is missing please
tell me or add it.

Special thanks to minipci.biz for the donation of one PCI RT2661 and
one CardBus RT2661.
 1.1.66.2  02-Jun-2008  mjf Sync with HEAD.
 1.1.66.1  03-Apr-2008  mjf Sync with HEAD.
 1.1.62.1  24-Mar-2008  keiichi sync with head.
 1.1.42.1  23-Mar-2008  matt sync with HEAD
 1.1.16.2  09-Sep-2006  rpaulo sync with head
 1.1.16.1  04-Jun-2006  rpaulo file rt2661reg.h was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:50:03 +0000
 1.1.10.2  26-Jun-2006  yamt sync with head.
 1.1.10.1  04-Jun-2006  yamt file rt2661reg.h was added on branch yamt-pdpolicy on 2006-06-26 12:51:02 +0000
 1.1.8.3  24-Mar-2008  yamt sync with head.
 1.1.8.2  21-Jun-2006  yamt sync with head.
 1.1.8.1  04-Jun-2006  yamt file rt2661reg.h was added on branch yamt-lazymbuf on 2006-06-21 15:02:56 +0000
 1.1.6.2  19-Jun-2006  chap Sync with head.
 1.1.6.1  04-Jun-2006  chap file rt2661reg.h was added on branch chap-midi on 2006-06-19 03:58:14 +0000
 1.1.2.2  07-Jun-2006  kardel Sync with head.
 1.1.2.1  04-Jun-2006  kardel file rt2661reg.h was added on branch simonb-timecounters on 2006-06-07 15:51:09 +0000
 1.2.4.1  16-May-2008  yamt sync with head.
 1.2.2.1  18-May-2008  yamt sync with head.

RSS XML Feed