Commit Graph

128900 Commits

Author SHA1 Message Date
dyoung
74d2bb365f Straggler: *really* chain the ieee80211coms. 2004-07-16 02:54:05 +00:00
dyoung
e5c3be4f90 Send "no carrier"/"active" indications on the routing socket when
(most) 802.11 interfaces change state.
2004-07-16 02:38:34 +00:00
dyoung
d18cdaab4e Chain ieee80211coms together so that the 802.11 sysctls can walk
them all to retrieve their node tables.
2004-07-16 02:36:58 +00:00
itojun
3f35f96f9a prevent mbuf leak on IPsec tunnel mode. from iij seil team 2004-07-16 01:12:02 +00:00
xtraeme
5727d6c2d9 + SIP 2004-07-16 01:07:02 +00:00
dsl
85fdb1645f Nuke reask_sizemult() - it isn't used any more 2004-07-15 21:06:45 +00:00
manu
f6a07159af typo 2004-07-15 20:21:55 +00:00
skrll
7bdf35d6e3 Add a copyright message. 2004-07-15 19:58:00 +00:00
tron
5f16d6ef5b Synchronize with "src/doc/CHANGES" from the 2.0 branch. 2004-07-15 15:54:46 +00:00
tron
5e7fa574fe Remove entry for on-board MACE MAC-110 Ethernet on O2 because it has
been pulled into the 2.0 branch.
2004-07-15 15:52:27 +00:00
tron
0237ca34a7 Reduce transmit queue len to 16 for the Intel i82547 to avoid FIFO
overruns. This fixes the horrible send performance reported in
PR kern/23782. Reviewed by Frank van der Linden and Jason R. Thorpe.
2004-07-15 15:21:57 +00:00
junyoung
69051bd3c3 Add support for 3Com 3c920B-EMB-WNM Integrated Fast Ethernet,
as found on Asus P4R800-VM motherboards.

From BL on Korea BSD User Forum (sorry but I don't know his real name).
2004-07-15 13:18:08 +00:00
junyoung
88642578e4 Regen for 3c920B-EMB-WNM Integrated Fast Ethernet. 2004-07-15 13:11:36 +00:00
junyoung
4240a2f1f9 Add 3Com 3c920B-EMB-WNM Integrated Fast Ethernet. 2004-07-15 13:09:21 +00:00
junyoung
ffb3101064 round(3) and roundf(3) appeared in 2.0.
Bump date.
2004-07-15 12:12:39 +00:00
manu
1e147c565c Remove an outdated comment. 2004-07-15 11:51:56 +00:00
wiz
20aac67434 Bump date for previous. 2004-07-15 10:47:43 +00:00
wiz
cb255f199c Bump date for previous; mark up path with Pa. 2004-07-15 10:45:33 +00:00
yamt
fb79fa6390 define __GNUC_PREREQ__ if it isn't available on host. 2004-07-15 09:01:29 +00:00
lukem
f619a0eb00 Fix bug in Christos' recent cleanup which broke the "help" and "rhelp" commands. 2004-07-15 08:50:10 +00:00
dyoung
0f8b8b27c5 Insist that callers use atw_write_sram to copy even-length buffers
to even offsets in the ADM8211 SRAM.

assert->KASSERT
2004-07-15 07:31:05 +00:00
dyoung
3341b62f3e Totally revamp device initialization using clue from the reference
driver.  I also have re-organized the code a lot.
2004-07-15 07:26:17 +00:00
dyoung
9ad89f8c4a Totally revamp device resets using clue from the reference driver. 2004-07-15 07:25:40 +00:00
dyoung
d6014cf055 Make atw_read_srom static. 2004-07-15 07:25:06 +00:00
dyoung
611fc69801 Re-organize, add new, and remove old prototypes. 2004-07-15 07:22:13 +00:00
dyoung
e083028d58 Once again, stop calling the bus front-end's interrupt-acknowledgement
callback.
2004-07-15 07:20:46 +00:00
dyoung
d1b1d2ead4 Totally revamp the way that I program the synthesizer and baseband. 2004-07-15 07:19:46 +00:00
dyoung
3e1b8a977f Take the paranoia out of the code for writing baseband registers. 2004-07-15 07:13:44 +00:00
dyoung
7a7588432a Simplify the Rx filter setup, following the AL981 code in tlp(4). 2004-07-15 07:11:23 +00:00
dyoung
6a35b15406 Countdown correctly to the Target Beacon Transmission Time.
Borrowing an idea from the reference driver, use no 64-bit arithmetic.
2004-07-15 07:10:25 +00:00
dyoung
1146f43c7a In atw_start_beacon, set CAP0 as well as BCNT and CAP1. 2004-07-15 07:01:20 +00:00
dyoung
24e7e4403a Simplify IBSS merge code. 2004-07-15 07:00:43 +00:00
dyoung
1616cd784d Only write the SSID buffer to the ADM8211 SRAM up to the end of
the SSID, not up to the end of the buffer.  Given the (too
conservative?) delays involved, this should save some time when we
join a new network.
2004-07-15 06:53:11 +00:00
dyoung
0404143d84 Change the order in which I write the BSSID registers on the ADM8211,
to match the reference driver.  This probably does not make any
functional difference.
2004-07-15 06:50:34 +00:00
dyoung
81c734b57d Set up the Tx descriptor ring more safely. Fix an endianness bug.
"It's a wonder this ever worked."  (Actually, it's not.)
2004-07-15 06:48:45 +00:00
dyoung
fce6670792 Re-synchronize TSFT after an IBSS merge. 2004-07-15 06:46:08 +00:00
dyoung
6e5f00adc9 Here is the serial bus format for the RF3000. 2004-07-15 06:39:50 +00:00
dyoung
6e8ef3ee56 Delay for tens of milliseconds lot after writing the Network Access
Register.  I am slavishly imitating the reference driver, here.
I will come back and lower the delays later.
2004-07-15 06:38:46 +00:00
dyoung
9bd30b81ae In the transmit interrupt handler, do not unnecessarily synchronize
all the descriptors for a buffer chain.  Just synchronize the last
one, which has the interesting stuff.

I still synchronize all the descriptors for the buffer chain if
super-verbose debugging is enabled, since the driver will print
all the descriptors for the chain.
2004-07-15 06:37:22 +00:00
dyoung
73815df521 Remove a less-than-helpful comment. 2004-07-15 06:34:24 +00:00
dyoung
d7d89cb468 Clamp the length of a received packet, just in case the chip lies. 2004-07-15 06:33:43 +00:00
dyoung
e53ab344b8 When super-verbose debugging is enabled, convert Rx descriptors'
endianness before printing them.
2004-07-15 06:32:42 +00:00
dyoung
630f4475eb Delete some dead code.
Don't call back into the bus-specific code for resets any longer.
It does not seem to be necessary.
2004-07-15 06:31:43 +00:00
dyoung
02c31c63b0 During scans, initialize the BSSID to ff:ff:ff:ff:ff:ff before
sending the first probe request.
2004-07-15 06:30:12 +00:00
dyoung
196e58570e Clear dead code out of atw_clear_sram. 2004-07-15 06:28:37 +00:00
dyoung
769e7e2b01 Don't send data packets until the interface is in state RUN. This
stops ARP and IPv6 Neighbor Discovery packets from trickling out
the interface before it is time.
2004-07-15 06:20:58 +00:00
dyoung
50a1923f1d Simplify receive descriptor setup. 2004-07-15 06:13:44 +00:00
dyoung
8218b1f277 I'm not treating the lost beacon count specially any more. It is
kind of a dumb way to track the link condition, anyway....
2004-07-15 06:06:53 +00:00
dyoung
69529834b9 Rid atw of some dead code and some test instrumentation. 2004-07-15 05:54:13 +00:00
dyoung
5d0bf6495b Refine some register definitions. 2004-07-15 05:46:31 +00:00