Commit Graph

18592 Commits

Author SHA1 Message Date
heas
e7144a2c1a Perform a s/w checksum for packets that are not the same length as the length
field of the IP header (ip->ip-len) indicates they should be.  This handles
the case where an ethernet frame has been padded to meet the minimum ethernet
frame length or erroneously (my cisco switch unnecessarily adds 4 bytes to its
SYN).  This padding will be included in the hardware checksum and may be
non-zero, thus making it incorrect.
2005-03-05 18:32:59 +00:00
jdolecek
5c1a928111 g/c debugging printf 2005-03-05 14:51:21 +00:00
jdolecek
f4707bed18 modify vge_m_defrag() to support > MCLBYTES chains, by allocating appropriate
number of mbuf clusters; also don't free the original mbuf chain

simplify vge_encap() and make error reporting more consistent

normalize vge_start() (including use of IFQ_* macros), and handle the case
when the input mbuf chain is defragmented

JUMBO packets seem to work fine now
2005-03-05 14:37:15 +00:00
thorpej
d72073667c txpullup event counters are no longer needed. 2005-03-05 05:05:43 +00:00
tacha
357eb4e7e6 Disestablish powerhook while detaching atabus. 2005-03-04 11:00:54 +00:00
mycroft
26fac798eb Not used any more. 2005-03-04 05:22:52 +00:00
mycroft
5c336d800d Regen. 2005-03-04 05:03:42 +00:00
mycroft
3839e0db1b Separate out vendors from the product table, to reduce string duplication.
Saves ~10K.
2005-03-04 05:03:19 +00:00
martin
585285c6fe Fix a conditional: sparc's will use the raster ops via RASTERCONSOL 2005-03-03 16:01:37 +00:00
martin
b402d19851 Make it (at least) compile w/o wsdisplay @ cgsix.
Pointed out by Juergen Hannken-Illjes.
2005-03-03 12:11:49 +00:00
itojun
a02091146b atu on OQO model 01 is confirmed to be working under basestation/no-WEP.
(WEP is not supported yet, it is an different issue)
2005-03-03 09:23:24 +00:00
itojun
8a4d93018c OQO wifi interface needs quirks
(not confirmed if it works or not, so commented out)
2005-03-03 08:10:35 +00:00
itojun
4bb7e85761 OQO ether port confirmed to be working 2005-03-03 08:10:01 +00:00
mycroft
1d50f417b8 Copyright maintenance. 2005-03-02 12:25:27 +00:00
mycroft
2d562a01e2 Copyright maintenance. 2005-03-02 11:37:27 +00:00
itojun
99b78187d5 OQO device still unstable on attach/whatever, so comment those entries out 2005-03-02 11:35:07 +00:00
dyoung
8125cd1769 Misc. changes to improve ad hoc mode and to enable hostap mode:
Fix the work-around for the NIC bug where it skips to rx
  descriptor 0.  The driver used to skip to rx descriptor 1.
  Hopefully this stops the out-of-order packet reception that
  Charles Hannum saw.
                                                                                  When debugging is enabled, print rx-descriptor status flags
  before printing the rx bit rate.

  Add a debug message for when a beacon tx buffer reclamation.

  Reset IFF_OACTIVE when we reset the transmitter.

  Pass the consolidated LED state, a struct rtw_led_state,
  to rtw_led_attach.

  Choose the bit-rate for management frames (1Mb/s) at the
  same place we choose for all other frames.

  Do not use the NIC's short preamble or RTS options for
  management frames.  Label beacons for the NIC.

  Following a Linux driver, take care not to zero arbitrary
  bits in the TPPOLL register.

  Use the new idiom for IBSS merges: disable transmitter,
  kick the state machine.
                                                                                  Add a second descriptor to the beacon ring.  The NIC seems
  to like this much better.
2005-03-02 05:20:43 +00:00
briggs
802400546d * Remove aif_get_mailboxstatus() from the aac_interface structure. Replace
with aif_get_mailbox().  Make it return uint32_t instead of 'int'.
* Add an AAC_GET_MAILBOX() macro and change AAC_GET_MAILBOXSTATUS() to use
  that.
* Update the Dell PERC 2QC quirk code to use AAC_GET_MAILBOX instead of the
  StrongARM-specific code.  While StrongARM access is correct for that card,
  it's a bad example of how to access the mailbox registers.
* Add the GETINFO command and use it to get and display the card's
  supported options at a verbose level during attachment.
2005-03-01 03:31:45 +00:00
itojun
039684b142 regen 2005-03-01 03:19:17 +00:00
itojun
3ea088e9f4 add OQO model 01 devices 2005-03-01 03:18:52 +00:00
perry
5153a936fe revert the whitespace kill -- these are binaries. 2005-03-01 01:10:43 +00:00
soren
999e530258 Remove a bit of old cruft. 2005-02-28 22:56:15 +00:00
jdolecek
224bdb2d8e le_mca_intredge(): g/c error semicolon, found by Simon Burge 2005-02-28 07:36:48 +00:00
simonb
0467cc278e Add a missing return after an "if" that checks for something then
did nothing.
2005-02-28 05:05:02 +00:00
joff
a446f7ac7a Misc changes from code review from someone who doesn't understand USB or
802.11 but wants this driver to work nonetheless...
 o Support WEP encryption, hopefully fix PR kern/29324 from Andreas Gustafsson
 o Correct ENETRESET reconfig while iface is already running
 o Correct bpfilter usage
 o Avoid leaking mbufs on failed TX
 o Reset ieee80211 state to INIT and stop atu_task() on atu_stop()
 o Don't stop interface on USB tx errs, just drop packet
 o use IFQ_IS_EMPTY rather than check if_snd for NULL head
2005-02-27 23:49:05 +00:00
perry
0cce50f2c9 do not leave spaces at the end of stripped RCS Ids 2005-02-27 15:37:33 +00:00
perry
4910249674 regen 2005-02-27 15:34:22 +00:00
perry
3bdad9eec5 do not leave spaces at the end of stripped RCS Ids 2005-02-27 15:33:58 +00:00
perry
48b2bd6932 regen 2005-02-27 15:32:15 +00:00
perry
73125c5ec0 don't leave spaces at the end of stripped RCS Ids 2005-02-27 15:31:01 +00:00
perry
c576ebdacb regen 2005-02-27 15:29:37 +00:00
perry
e25e66db2d don't leave spaces at the end of stripped RCS Ids 2005-02-27 15:29:09 +00:00
perry
cb2e3c4e50 regen 2005-02-27 15:19:25 +00:00
perry
7680ac9ca7 don't leave whitespace at the end of $ stripped RCS Ids
don't put unneeded tabs at the end of a line
2005-02-27 15:19:13 +00:00
perry
e99b3aba69 regen 2005-02-27 14:29:44 +00:00
perry
e153a1758d Don't leave blanks at the end of the "generated from:"
Also, don't print a space after "},"s at the end of line in one of the
files.
2005-02-27 14:29:18 +00:00
perry
226c71cf67 regen 2005-02-27 05:40:06 +00:00
perry
5358c3606c don't leave whitespace at the end of the stripped RCS Id 2005-02-27 05:39:56 +00:00
perry
99f7d4b43e regen 2005-02-27 05:35:40 +00:00
perry
a0ba57fb99 don't leave a whitespace at the end of the stripped RCS Id 2005-02-27 05:33:35 +00:00
perry
3d452a5332 regen 2005-02-27 05:29:24 +00:00
perry
59e1bf05d6 remove trailing whitespace from the stripped RCS Id 2005-02-27 05:29:05 +00:00
perry
f11b400470 regen 2005-02-27 05:18:58 +00:00
perry
23679f7026 remove trailing whitespace from the "generated from:" line 2005-02-27 05:18:32 +00:00
perry
f31bd063e9 nuke trailing whitespace 2005-02-27 00:26:58 +00:00
simonb
59864224e3 Remove some erroneous semicolons. 2005-02-26 12:51:16 +00:00
simonb
17948e75bb White space nits. 2005-02-26 12:45:06 +00:00
simonb
c1530b6999 Remove an erroneous semicolon. 2005-02-26 12:03:15 +00:00
bsh
987bbd3089 ASIX AX88796 is an NE2000 compatible ethernet chip, but doesn't seem to
have "remote DMA complete bit" is ISR.  So, don't wait for ISR.RDC bit
after writing a packet.
2005-02-26 10:29:20 +00:00
martin
5e69671993 From Michael Lorenz: add screen switching keyboard symbols 2005-02-25 16:04:36 +00:00