Age | Commit message (Collapse) | Author |
|
|
|
cards in hostap mode but it depends on the firmware version. support
for other wireless chipsets will be added in the future using the
net80211-framework.
ok robert@ bob@ danh@, tested by some others
|
|
From: Mike Pechkin <mpech at mail dot ru>
|
|
From part of rtw.c rev 1.42:
log message:
Add RTW_TPPOLL_ALL, RTW_TPPOLL_SALL to start and stop, respectively,
all of the transmit rings.
Revamp the transmit section to make better use of all the transmit
rings: beacon queue, high-, low-, and medium-priority rings. Put
beacon frames on the beacon ring. All other management frames,
and data frames, go on the medium-priority ring. Power-save data
frames go on the high-priority ring. (Note that powersaving is
not implemented!) This is a work in progress.
Send all 802.11 Management frames at 1Mbps.
After we put a packet on a transmit ring, tickle the right bit in
the TPPOLL to tell RTL8180. Stop all rings on error and in rtw_stop.
And rtw.c rev 1.33:
log message:
Consolidate variables related to the rx ring in sc_rxdesc_blk,
which is a struct rtw_rxdesc_blk.
Put a copy of the DMA tag and the DMA map into the rx- and tx-ring
blocks so that I don't have to pass them to subroutines all of the
time.
ok dlg@
|
|
false until scsi bus b is initialized.
Set TWIN_CHNLB bit that is used elsewhere. Missed chunk from last code
sync.
Problem found and fixes tested on HP Proliant ML310 by Valov Oleg.
|
|
sys/dev/ic/rtw.c rev 1.38:
Use clue from rtk(4) and re(4) to fix the rtw(4) packet
filter. Previously, I was using the wrong CRC32 function
to hash multicast addresses; to compensate, I set the
multicast filter to all 1s. Now that I hash the addresses
correctly, I do not any longer set the filter to all 1s.
In rtw_ioctl, avoid gratuitous re-initialization when the
interface flags change. If a !IFF_UP -> IFF_UP transition,
call rtw_init(); otherwise, only reload the packet filter.
sys/dev/ic/rtwreg.h rev 1.10:
Put useful combinations of Receiver Control Register flags
in RTW_RCR_PKTFILT_MASK, RTW_RCR_MONITOR, and
RTW_RCR_PKTFILT_DEFAULT. (XXX RTW_RCR_MONITOR should be
called RTW_RCR_PKTFILT_MONITOR.)
|
|
couple of specific adapters (such as mine) to be correctly initiated.
Discussed with and okay jsg@.
|
|
|
|
Thanks to mcbride@ for pointing me in the right direction.
|
|
From a diff posted to sparc@ by Pyun YongHyeon
ok dlg@, tested by mickey@ "i get some badass improvement here." and
a few other users.
|
|
|
|
quartz_done(); marco@ ok
|
|
ok mickey
|
|
|
|
ok millert@
CVS ----------------------------------------------------------------------
|
|
the dmesglog to be resolved proper. most unresolvants are bit-errors on the ac link anyway
|
|
|
|
ok millert@
|
|
- correct bounds checking in colormap ioctls.
- force the scment() pointer to NULL on < 8.04 revisions; 8.02 provide a
non-NULL pointer, but it does not point to any meaningful piece of code.
|
|
cache bit set in the region descriptor. Halves sti processing time on hp300.
ok mickey@
|
|
- specify which microcode bank (pa or m68k) to use at attachment time.
- compensate for broken 8.02 m68k code which reports wrong frame buffer
offset.
ok mickey@
|
|
From part of rtw.c rev 1.42:
Move the register access mode into struct rtw_regs. Change
rtw_set_access, rtw_set_access1 to match.
|
|
From rtw.c rev 1.34:
I like the tlp/atw-style names for software descriptors, txsoft,
better than txctl. Change from rtw_txctl/rtw_rxctl to
rtw_txsoft/rtw_rxsoft. Change the descriptor blocks' names to
match: rtw_txctl_blk becomes rtw_txsoft_blk. Change the member-name
prefixes for both software and hardware descriptors.
|
|
|
|
|
|
whether to use host or MAC controlled RF I/O.
From part of NetBSD rev 1.42
|
|
|
|
Newer chips do not need the receiver lock-up workaround; detect when it
is required.
From NetBSD
|
|
From NetBSD
NetBSD PR 27678 for details
ok mcbride@
|
|
|
|
Avoid an unnecessary copy of a packet if it is already in a single mbuf.
Introduce an additional device flag for those NICs which require the
transmit buffers to be aligned to 32-bit boundaries.
From FreeBSD
|
|
|
|
(pci/if_re_pci.c) for soon-to-come cardbus support; ok deraadt
|
|
scb may have been freed or made active. Only affects XS_RESET case.
More correctly mirrors FreeBSD code. Already done to aic79xx_openbsd.c
in r1.16.
|
|
adjusting twice for the instruction pointer indicating the *next*
instruction to execute.
From FreeBSD r1.101.
|
|
and much more reasonable.
|
|
Set initial conditions to guarantee that when read_seeprom toggles
Chip Select, it turns *on* rather than *off*.
|
|
for rev F devices which lets us get responses from access points.
Driver is still not fully working as yet.
From a discussion with David Young.
|
|
|
|
|
|
Don't read the MAC address from a copy of the EEPROM in the softc
that has been recorded earlier and overwrite it again later by
reading it directly from the EEPROM again.
Read the MAC address from the PAR0/PAR1 registers instead, which
are autoloaded on reboot.
From FreeBSD
Thanks to David Snyder <dasnyderx at yahoo dot com> for testing on
a AN983 based card which used to come up with a MAC address of
ff:ff:ff:ff:ff:ff.
|
|
ok krw@
|
|
of the work is done in the upper layer, but they get to see the ioctl,
so don't always return an error.
|
|
just ignore the vendor private one and continue. Fixes a problem
with hostap and some 802.11g cards. Adapted from a diff by drahn@
|
|
|
|
|
|
|
|
|
|
Defs for three (unused so far) bits in PCI command/status register
were off by one bit.
From FreeBSD
|
|
tested and ok niklas@
From NetBSD
|