Sam Leffler
a92c6eb0f1
don't include 802.3 header in min frame length calculation as it may
...
not be present for a frag; fixes problem with small (fragmented) frames
being dropped
Obtained from: Atheros
MFC after: 3 days
2005-07-22 17:42:08 +00:00
Sam Leffler
e4918ecdb9
simplify ieee80211_node_authorize and ieee80211_node_unauthorize api's
...
MFC after: 3 days
2005-07-22 17:36:12 +00:00
Sam Leffler
f62121ce8e
simplifiy ieee80211_send_nulldata api
...
MFC after: 3 days
2005-07-22 17:31:18 +00:00
Sam Leffler
7d77cd5381
simplify rate set api's by removing ic parameter (implicit in node reference)
...
MFC after: 3 days
2005-07-22 17:29:03 +00:00
Sam Leffler
bdad3a1066
reject association requests with a wpa/rsn ie when wpa/rsn is not
...
configured on the ap; previously we either ignored the ie or (possibly)
failed an assertion
Obtained from: Atheros
MFC after: 3 days
2005-07-22 17:21:36 +00:00
Ken Smith
a84020c2b9
Bump the shared library version number of all libraries that have not
...
been bumped since RELENG_5.
Reviewed by: ru
Approved by: re (not needed for commit check but in principle...)
2005-07-22 17:19:05 +00:00
Sam Leffler
aa8c14c444
missed one in last commit; add device name to discard msgs
2005-07-22 17:16:37 +00:00
Sam Leffler
497c84ae3a
include device name in discard msgs
2005-07-22 17:13:44 +00:00
Sam Leffler
bd6f09d92f
add diag msgs for frames discarded because the direction field is wrong
2005-07-22 17:12:05 +00:00
Sam Leffler
1bd482ef57
split data frame delivery out to a new function ieee80211_deliver_data
2005-07-22 17:08:38 +00:00
Sam Leffler
70231e3d0a
o add IEEE80211_IOC_FRAGTHRESHOLD for getting+setting the
...
tx fragmentation threshold
o fix bounds checking on IEEE80211_IOC_RTSTHRESHOLD
MFC after: 3 days
2005-07-22 17:00:48 +00:00
Sam Leffler
33acb1cec1
o add IEEE80211_FRAG_DEFAULT
...
o move default settings for RTS and frag thresholds to ieee80211_var.h
2005-07-22 16:55:27 +00:00
Sam Leffler
2c39b32c94
diff reduction against p4: define IEEE80211_FIXED_RATE_NONE and use
...
it instead of -1
2005-07-22 16:50:18 +00:00
Sam Leffler
af8d224ec0
add flags missed in last merge
2005-07-22 16:37:56 +00:00
Sam Leffler
f6df31916c
Diff reduction against p4:
...
o add ic_flags_ext for eventual extention of ic_flags
o define/reserve flag+capabilities bits for superg,
bg scan, and roaming support
o refactor debug msg macros
MFC after: 3 days
2005-07-22 16:36:12 +00:00
Ruslan Ermilov
c5bf476aa9
Fallout from the previous revision: lnc isn't quite ready for amd64 yet.
2005-07-22 16:02:40 +00:00
Ruslan Ermilov
68f88450a7
Fix build (including both asm.h and asmacros.h is evil).
2005-07-22 15:01:07 +00:00
Ruslan Ermilov
a2f4d905bb
Don't drop frames if interface is in promiscuous mode.
...
PR: kern/83833
Submitted by: Eygene A. Ryabinkin
MFC after: 3 days
2005-07-22 11:27:07 +00:00
Ceri Davies
406f010d3f
Use "FreeBSD/i386" over "FreeBSD/ia32" to avoid any confusion.
2005-07-22 10:45:50 +00:00
Ruslan Ermilov
1ede9a7d0e
Require that DESTDIR be set before running "make distribution".
2005-07-22 10:35:35 +00:00
Ceri Davies
fc0b043d79
Correct some spelling and grammatical errors.
2005-07-22 10:35:34 +00:00
Jung-uk Kim
4b77209bcc
Fix ndisgen(8) for amd64
...
- file(1) does not recognize UTF-16 encoded .INF file:
netbc564.inf: MPEG ADTS, layer I, v1, 96 kBits, 32 kHz, Stereo
Use egrep(1) to match two strings, i. e., `Signature' and `Class=Net'.
- Fix linking failure. Generate a temporary Makefile to emluate
official kernel module build process.
- Some minor typo/style fixes.
Reviewed by: obrien
2005-07-22 05:49:41 +00:00
Sam Leffler
a3d1edc2b2
send a response when an auth request is denied due to an acl;
...
might be better to silently ignore the frame but this way we
give stations a chance of figuring out what's wrong
2005-07-22 05:17:52 +00:00
Sam Leffler
79198e858b
remove excess whitespace
2005-07-22 05:15:53 +00:00
Sam Leffler
b138c15024
use IF_HANDOFF when bridging frames internally so if_start gets
...
called; fixes communication between associated sta's
MFC after: 3 days
2005-07-22 04:55:40 +00:00
David E. O'Brien
b8b77732ff
Fix $FreeBSD$.
2005-07-22 04:03:25 +00:00
David E. O'Brien
a38c1f6ce8
This depends on syslogd due to logger(1).
2005-07-22 00:57:37 +00:00
David E. O'Brien
aaacd70897
Embellish the dependency lists - this script depends having awk(1),
...
and it needs syslogd due to using logger(1).
Have it run as early as possible to save battery power for laptop users.
2005-07-22 00:57:04 +00:00
David E. O'Brien
e8e92a219f
Minor comment re-alignment.
2005-07-22 00:38:55 +00:00
Craig Rodrigues
0167ce0d1d
Fix two small grammar mistakes.
...
Approved by: das (mentor)
2005-07-22 00:28:22 +00:00
Markus Brueffer
9519511c6a
- Fix spelling of 'multiplexer'
...
- Grammar fixes
Approved by: simon
MFC after: 3 days
2005-07-21 22:50:31 +00:00
Markus Brueffer
555fcf8786
- Reword a sentence
...
- Grammar fixes
- s/CAVEAT/CAVEATS/
Approved by: simon
MFC after: 3 days
2005-07-21 22:47:34 +00:00
Paul Saab
865b5cc7fd
Remove the NFS client rslock. The rslock was used to serialize
...
writers that want to extend the file. It was also used to serialize
readers that might want to read the last block of the file (with a
writer extending the file). Now that we support vnode locking for
NFS, the rslock is unnecessary. Writers grab the exclusive vnode
lock before writing and readers grab the shared (or in some cases
the exclusive) lock.
Submitted by: Mohan Srinivasan
2005-07-21 22:46:56 +00:00
Peter Wemm
9e76f9ad3f
Like on i386, bypass lock prefix for atomic ops on !SMP kernels.
2005-07-21 22:35:02 +00:00
Gleb Smirnoff
5bc15201f4
Fix cut-n-paste error, introduced in rev. 1.103.
2005-07-21 22:15:37 +00:00
Robert Watson
638ccea02a
Allocate one of the spare ifnet integer fields to hold if_drv_flags,
...
which in the future will hold IFF_OACTIVE and IFF_RUNNING, and have
its access synchronized by the device driver rather than the
protocol stack. This will avoid potential races in the management
of flags in if_flags.
Discussed with: various (scottl, jhb, ...)
MFC after: 1 week
2005-07-21 22:01:06 +00:00
Peter Wemm
4bf21bfef9
MFi386: add vpd driver (vital product data.. model & serial numbers etc)
2005-07-21 21:57:31 +00:00
Peter Wemm
6ec2971397
Add the ed driver for lint building. The PCI instances are still useful.
...
In theory, there are no isa slots on any amd64/em64t systems, but it
doesn't hurt to keep these tiny fragments compiling.
2005-07-21 21:55:11 +00:00
Peter Wemm
84d7e08229
Actually create the double fault stack page for AP cpus so that we have a
...
chance of getting a working double fault instead of converting it to an
instant triple fault reset.
2005-07-21 21:46:09 +00:00
Gleb Smirnoff
e58d779daa
Catch up with netgraph.h rev. 1.57 and fix build.
2005-07-21 20:34:40 +00:00
Robert Watson
00a254a8aa
Remove duplicate initialization of mpo_create_stub pointer.
...
PR: 83779
Submitted by: Wojciech A. Koszek <dunstan at freebsd dot czest dot pl>
MFC after: 3 days
2005-07-21 17:17:51 +00:00
John Baldwin
9cc8edda00
- Use the PCIR_BAR() macro rather than hardcoding rids.
...
- Use pci_enable_busmaster() rather than fiddling with the PCI command
register directly.
2005-07-21 16:43:07 +00:00
John Baldwin
88519d6427
Don't set if_start to tulip_ifstart all over the place. It is already
...
set in tulip_attach() and its value is never changed, so all the extra sets
are redundant. I'm guessing that at some point in time de(4) had an
alternate start routine, but that hasn't been true in recent history.
2005-07-21 16:42:21 +00:00
Poul-Henning Kamp
78df033abd
Remove the vttest program. It lives in ports/sysutils/vttest now.
2005-07-21 16:40:40 +00:00
John Baldwin
fe0c8544ff
Remove conditional code that has largely rotted that is also not on by
...
default:
- TULIP_NEED_FASTTIMEOUT - tulip_fasttimeout() wasn't called anywhere
- BIG_PACKET - only worked on i386 anyway
- TULIP_USE_SOFTINTR - doesn't compile and was never updated to handle
new netisr registration
- non-FreeBSD code
2005-07-21 16:40:08 +00:00
Hajimu UMEMOTO
885adbfa81
always copy ip6_pktopt. remove needcopy and needfree
...
argument/structure member accordingly.
Submitted by: Keiichi SHIMA <keiichi__at__iijlab.net>
Obtained from: KAME
2005-07-21 16:39:23 +00:00
John Baldwin
9862c11e9d
Use get_cyclecount() rather than hardcoding rdtsc and rpcc in asm for i386
...
and alpha, respectively.
2005-07-21 16:34:14 +00:00
John Baldwin
e5e871963c
Fix a typo and some whitespace nits.
2005-07-21 16:33:05 +00:00
Hajimu UMEMOTO
e07db7aa57
simplified udp6_output() and rip6_output(): do not override
...
in6p_outputopts at the entrance of the functions. this trick was
necessary when we passed an in6 pcb to in6_embedscope(), within which
the in6p_outputopts member was used, but we do not use this kind of
interface any more.
Submitted by: Keiichi SHIMA <keiichi__at__iijlab.net>
Obtained from: KAME
2005-07-21 16:32:50 +00:00
Maksim Yevmenkin
6502441272
Fix kernel panic with vkbd(4). Initialize mutex properly (set name), or else
...
WITNESS gets upset.
MFC after: 3 days
2005-07-21 16:19:08 +00:00