Joseph Koshy
9133b63902
Sync usage message with the code and manual page.
...
Submitted by: maxim
2005-07-23 13:49:04 +00:00
Pawel Jakub Dawidek
3c0a99e66e
Change jail IP from 1.0.0.127 to 127.0.0.1, which shows, that this test
...
doesn't examine the real issue as it pass without problems.
2005-07-23 05:40:17 +00:00
Sam Leffler
4866e6c248
o move ath_sysctlattach down so variables it depends on are setup
...
o use any fixed tx antenna for beacons transmitted in adhoc mode
Submitted by: David Young
MFC after: 3 days
2005-07-23 05:34:29 +00:00
Greg Lehey
8af732d13c
Use a random number to seed the random number generator. Goodby, Rush
...
Limbaugh.
This should have already worked properly if random(4) has been
initialized correctly, but it seems that this is frequently not the
case. Instead, use the microsecond part of the current time as the
seed.
2005-07-23 01:46:50 +00:00
Giorgos Keramidas
a09ad79379
Misc spelling and/or English fixes in comments.
...
Reviewed by: glebius, andre
2005-07-23 00:59:13 +00:00
Sam Leffler
44b666cd0e
the AREF flag is only meaningful in ap mode; adhoc neighbors now
...
are timed out of the sta/neighbor table
2005-07-23 00:16:46 +00:00
Sam Leffler
1686ab4639
update for recent additions
2005-07-22 23:37:03 +00:00
Sam Leffler
0b42c00c0e
update with new msg classes
2005-07-22 23:33:33 +00:00
Sam Leffler
f66d97f6bc
o move inactivity-related debug msgs under IEEE80211_MSG_INACT
...
o probe inactive neighbors in adhoc mode (they don't have an
association id so previously were being timed out)
MFC after: 3 days
2005-07-22 23:25:46 +00:00
Peter Grehan
2fcb4181ad
Make code match comment: make the smallest unit of page allocation
...
from OpenFirmware be 16 pages to avoid fragmentation in the list
of mappings returned when the kernel requests it in pmap_bootstrap.
This allows a static buffer to be used when obtaining the existing
mappings - very useful on the G5 when random physical pages can't
be grabbed because they can't be BAT-mapped.
MFC after: 3 days
2005-07-22 23:22:29 +00:00
Nate Lawson
a3ab9d1e3e
Standardize __FBSDID identifiers.
...
MFC after: 2 days
2005-07-22 23:10:02 +00:00
Jonathan Chen
c5a096e0e0
fix innetgr() returning false positives and negatives when reverse netgroup
...
matching is used.
PR: 35506
MFC after: 3 days
2005-07-22 22:20:26 +00:00
Sam Leffler
af8418dcb1
split xmit of probe request frame out into a separate routine that
...
takes explicit parameters; this will be needed when scanning is
decoupled from the state machine to do bg scanning
MFC after: 3 days
2005-07-22 21:11:26 +00:00
Sam Leffler
add59d0875
split 802.11 frame xmit setup code into ieee80211_send_setup
...
MFC after: 3 days
2005-07-22 20:48:11 +00:00
Robert Watson
b7b85f242e
Add a simple multicast socket regression test set:
...
- Test that the basic socket options have the right defaults, that we can
change them, read them back, etc.
- Add and remove some multicast addresses.
- Send a loopback multicast address and make sure it arrives intact.
There's more that could be done here, but it's a start.
MFC after: 3 days
2005-07-22 19:36:29 +00:00
Nate Lawson
d551ef2b72
Use the current BST/BIF ioctls, not the deprecated ones.
...
MFC after: 2 days
2005-07-22 19:19:00 +00:00
Hajimu UMEMOTO
bb518265f1
mention getaddrinfo(3) ABI breakage on 64 bit arch.
2005-07-22 18:51:36 +00:00
Hajimu UMEMOTO
85a71a15c8
Remove padding for ABI compatibility of ai_addrlen member
...
from struct addrinfo. This change break ABI compatibility
on 64 bit arch.
2005-07-22 18:21:28 +00:00
Sam Leffler
e996233220
simplify ic_newassoc callback
...
MFC after: 3 days
2005-07-22 17:57:16 +00:00
Sam Leffler
641b4d0b2d
simplify ieee80211_ibss_merge api
...
MFC after: 3 days
2005-07-22 17:54:40 +00:00
Sam Leffler
0677adcdb0
add stats we know we'll need soon and some spare fields for future expansion
...
MFC after: 3 days
2005-07-22 17:50:13 +00:00
Sam Leffler
edfa57d0f0
simplify tim callback api
...
MFC after: 3 days
2005-07-22 17:45:48 +00:00
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