Commit Graph

129271 Commits

Author SHA1 Message Date
mycroft
88a8480ea3 Implement passive scanning for APs in station and host-AP mode:
ieee80211_input():
  * Do not discard management frames in station mode just because they have
    the wrong BSSID.
  * Do not discard beacons in station and host-AP mode when not scanning.
  * Some minor rearrangement.  Update node statistics even if the packet is
    rejected.
  ieee80211_recv_mgmt():
  * Accept probe responses and beacons in station and host-AP even when not
    scanning.
  * Do not immediately free the node created by a beacon or probe response.
XXX Should I check BSSIDs more carefully in ieee80211_recv_mgmt() --
specifically for ASSOC_RESP, REASSOC_RESP, AUTH, DEAUTH and DISASSOC?

Fix a problem with APs that advertise multiple SSIDs:
Change the footprint of ieee80211_find_node_with_channel() to take a SSID as
well, and, if not empty, compared it with the existing nodes.  This causes
us to allocate multiple nodes for the same AP.  Without this we were only
leaving one SSID in the node table, which might not be the desired one, and
so the interface would fail to fully initialize.  (Reported by he@ with a
Cisco 350 AP.)
2004-07-29 22:28:05 +00:00
jkunz
4c72b79518 Import PCI support from OpenBSD and update GENERIC config for PCI devices. 2004-07-29 19:10:23 +00:00
jkunz
6ea3501621 Remove SMALL config. It is no longer needed after toolchain and bootloader
problems have been solved.
2004-07-29 19:08:19 +00:00
drochner
fd293d10fd remove some typecasts to "cfmatch_t" which are obviously relicts from
__BROKEN_INDIRECT_CONFIG times
2004-07-29 18:39:00 +00:00
nathanw
417df974b7 Add rwlock support to "thread sync" command, and clean up some
whitespace printing.
2004-07-29 17:57:40 +00:00
drochner
a5a5473c25 remove now unnecessary "pci_enumerate_bus" definitions 2004-07-29 16:55:25 +00:00
drochner
4f2a6309fe give the special PCI bus enumerator a sparc64_ prefix and make the
PCI_MACHDEP_ENUMERATE_BUS macro point to it
2004-07-29 16:53:15 +00:00
drochner
04a2fc0f5a make the "generic" PCI bus enumeration code the standard case which
gets used if nothing else is defined in MD headers,
introduce a "PCI_MACHDEP_ENUMERATE_BUS" CPP definition which can
be used by MD headers (just 1 port atm) to plug in special code
2004-07-29 16:51:01 +00:00
chs
d62ab9b894 fix parallel builds:
use DPSRCS instead of an incomplete set of ad-hoc dependencies.
2004-07-29 14:36:38 +00:00
is
fae5cbad97 Revert last change. It breaks the build due to interactions with
frame.h.
2004-07-29 12:54:46 +00:00
cube
5258679d27 Regen. 2004-07-29 12:12:08 +00:00
cube
b9eaa43c97 Add a bunch of devices that are in the Dell Dimension 8400 sitting on my
desk:  ATI Radeon X300, Broadcom BMC5751, Intel 915 chipset family (ICH6).
2004-07-29 12:11:31 +00:00
kochi
396a822687 ACPI-CA 20040715 2004-07-29 04:27:18 +00:00
thorpej
52aef894d6 Assign STOBJS the value of OBJS, and use that when referring to static
library objects, rather than using OBJS to refer to them.  This gives us
a separate variable to refer to static library objects that does not affect
profile library objects (which has POBJS) or shared library objects (which
has SOBJS).
2004-07-29 03:14:04 +00:00
heas
c597036b30 Note Postfix 2.1.4 import 2004-07-28 23:32:03 +00:00
heas
c5f2fcaa9d Resolve conflicts 2004-07-28 23:19:42 +00:00
heas
6bb314b03e Postfix 2.1.4 2004-07-28 22:48:49 +00:00
manu
cdd12932c6 Regen 2004-07-28 22:25:10 +00:00
manu
66fc5fb621 Empty shell for Darwin audit API 2004-07-28 22:24:06 +00:00
manu
bc620e30a6 Added the utrace system call 2004-07-28 21:30:00 +00:00
jmmv
b201726e89 Let's document the change: added support in wscons to configure console
and kernel colors from userland, after boot.
2004-07-28 19:44:13 +00:00
pk
8539b88f6e _sbus_bus_map: check for the existence of `ranges' in the tag before using them. 2004-07-28 19:15:47 +00:00
heas
24f0e42a18 Add tags in more places, remove useless files, & resolve symlinks.
Largely from grep2netbsd.
2004-07-28 17:18:20 +00:00
he
20304167d0 Add entries for TI CardBus bridges 1520 and 4520Yenta, as found in
IBM ThinkPad 40p and 41p respectively, so that the CardBus probes and
works on those machines.  Fixes PR#26380.
2004-07-28 15:32:49 +00:00
jmmv
bc47208cb0 Forgot to define WSDISPLAY_CUSTOM_OUTPUT here. 2004-07-28 15:12:07 +00:00
jmmv
92f81ea7d3 Implement support to dynamically change wscons console and kernel colors.
Two new ioctls are added to the wsdisplay device, named WSDISPLAY_GMSGATTRS
and WSDISPLAY_SMSGATTRS, used to retrieve the actual values and set them,
respectively (the name, if you are wondering, comes from "message attributes").

A new emulop is added to the underlying display driver (only vga, for now)
which sets the new attribute for the whole screen, without having to clear
it.  This is optional, which means that this also works with other drivers
that don't have this new operation.

Five new kernel options have been added, although only documented in
i386 kernels (for now):
- WSDISPLAY_CUSTOM_OUTPUT, which enables the ioctls described above to
  change the colors dynamically from userland.  This is enabled by default
  in the GENERIC kernel (as well as others) but disabled on all INSTALL*
  kernels (as this feature is useless there).
- WS_DEFAULT_COLATTR, WS_DEFAULT_MONOATTR, WS_DEFAULT_BG and WS_DEFAULT_FG,
  which specify the default colors for the console at boot time.  These have
  the same meaning as the (already existing) WS_KERNEL_* variables.

wsconsctl is modified to add msg.default.{attrs,bg,fg} and
msg.kernel.{attrs,bg,fg} to the display part, so that colors can be changed
after boot.

Tested on NetBSD/i386 with vga (and vga in mono mode), and on NetBSD/mac68k.
No objections in tech-kern@.
2004-07-28 12:34:02 +00:00
is
3f5c400809 For a while, we exported symbols in the user namespace (which should only
be interesting for the kernel), thus breaking (e.g.) vim. (PR 26048)
2004-07-28 11:39:37 +00:00
he
e92ef40b67 Now that one can choose boot image for i386 to produce a slightly
different cd-rom image (e.g. using the INSTALL_LAPTOP-derived boot
image), make it possible to add a string to the cd-rom image name
by setting the optional environment variable CDROM_NAME_ADD.
2004-07-28 11:35:44 +00:00
skrll
bc26aea7ac Build hp700's mkboot as a host tool called nbhp700-mkboot. mkboot also
gets built and installed in a hp700 distribution.

TODO

- merge with hp300

- pick a preferred method for dealing with the elf headers.
  hp700-mkboot and prep-mkbootimage (bintuils) vs mips-elf2ecoff and
  tools/installboot
2004-07-28 09:17:31 +00:00
dyoung
110ceded85 Finalize import of the Atheros HAL 0.9.9.13, bringing ath(4)
up-to-date where the HAL API changed.
2004-07-28 08:57:40 +00:00
dyoung
6f9ff5e059 Vastly simplify ieee80211_ibss_merge, eliminating the needless
callbacks.  Change the reference IBSS-merge implementation in atw
to match.
2004-07-28 08:12:49 +00:00
dyoung
1d27a29121 Always lookup/create a node table entry for Beacons and Probe
Responses.  Ad hoc mode uses these entries to track network peers.
This provides passive-scan information for the current channel in
infrastructure mode (XXX really should keep it in a different
table).  Host APs will someday use these entries to track APs in
the same ESS for AP-to-AP bridging.
2004-07-28 08:11:03 +00:00
simonb
73cc67cb1d For the "lid" keyword, change ULONG to INT32 since it's a 32bit type.
From Nicolas Joly in PR bin/26452.
2004-07-28 07:48:22 +00:00
simonb
e25bd305b6 Define LIB{CRT0,C,CRTBEGIN,CRTEND} as nothing, we don't need to link
against them.
2004-07-28 01:05:35 +00:00
dyoung
24fb56e3b4 Cancel scan callout when the device detaches. Pointed out by Todd
Miller.
2004-07-27 23:57:02 +00:00
jkunz
8ddbfec17f Implement bus_space_vaddr(9) and add flags for bus space map functions. 2004-07-27 22:16:40 +00:00
jkunz
efdaaa6c7d Clean up leftover OpenBSD speciffic multi platform disklabel handling. 2004-07-27 22:14:22 +00:00
manu
6c669327ef Add the emul.mach.exception.hang sysctl, which helps catching programs
that die before they disapear. This is usefull because we cannot start
Mach-O binaries under gdb. We attach the hung process instead.
2004-07-27 22:01:56 +00:00
yamt
706f324ed2 pthread_kill test.
(currently fail with concurrency > 1)
2004-07-27 22:01:51 +00:00
nathanw
8bf7374bcf In cond_wait() and cond_timedwait(), do the ERRORCHECK testing of the
waiters list in all cases, not just on cancellation; there are other
sources of spurious wakeups, such as single-stepping in the debugger.

regress/lib/libpthread/conddestroy1 now passes.
2004-07-27 21:44:48 +00:00
manu
09ee1c0349 The entropy collection sysctl returns the number of record and not the
copied data size.
2004-07-27 20:41:48 +00:00
manu
0a61854f64 Build with debug enabled 2004-07-27 20:41:13 +00:00
wiz
e9abe80526 Use \*[Lt]\*[Gt] or Aq instead of <>; sort SEE ALSO. 2004-07-27 14:35:56 +00:00
chs
3be324ecca call hppa_ras() with CALL() instead of "bl", since the latter has
a limited range.
2004-07-27 14:25:34 +00:00
yamt
230c4c9c74 err -> errx where appropriate. 2004-07-27 14:25:19 +00:00
wiz
11fcc8f947 New sentence, new line; use Aq Pa for header file inclusion;
no parentheses at eol.
2004-07-27 14:24:18 +00:00
wiz
816f9f8757 Add -D to usage; shorten -b argument for usage's sake; format usage.
Man page nits.
2004-07-27 14:20:11 +00:00
atatat
91e4762204 The message buffer datum instrumented by KERN_MSGBUFSIZE is actually a
long, not an int, and this causes "problems" on LP64be machines
(sparc64, etc).  Assign the value to a temporary int and instrument
that instead.  Should be fine until someone wants a message buffer
larger than two gigabytes.
2004-07-27 12:46:18 +00:00
wiz
0343a4abb9 Do not put parentheses on their own line; bump date for previous. 2004-07-27 12:45:35 +00:00
yamt
23ee682b3d PFIL_NEWIF -> PFIL_IFNET. 2004-07-27 12:25:36 +00:00