dragonfly.git
17 years agoNuke old TX rate control algorithm coming with ral(4).
Sepherosa Ziehau [Mon, 2 Apr 2007 14:25:38 +0000 (14:25 +0000)]
Nuke old TX rate control algorithm coming with ral(4).

17 years agoAdd Sample and Onoe TX rate control algorithm support in 2661/2561 part
Sepherosa Ziehau [Mon, 2 Apr 2007 13:46:07 +0000 (13:46 +0000)]
Add Sample and Onoe TX rate control algorithm support in 2661/2561 part
of ral(4), and use Sample as default TX rate control algorithm, which
leads to same dramatic TX performance boosts as it does for 2560 part.

17 years agoDocument that ifconfig(8) knows Sample TX rate control algorithm.
Sepherosa Ziehau [Sun, 1 Apr 2007 14:17:03 +0000 (14:17 +0000)]
Document that ifconfig(8) knows Sample TX rate control algorithm.

17 years ago- Define 802.11 modulation types as 'enum ieee80211_modtype'.
Sepherosa Ziehau [Sun, 1 Apr 2007 13:59:41 +0000 (13:59 +0000)]
- Define 802.11 modulation types as 'enum ieee80211_modtype'.
- Expose ieee80211_rate2modtype() for pubic use.
- Add definition for DIFS, slot time and contention window.
- Add addition field in TX rate control state structure, so drivers can
  give hints to TX rate control algorithms about their capabilities.
- Add Sample TX rate control support:
  http://www.pdos.lcs.mit.edu/papers/jbicket-ms.pdf
  It is factored out and adapted from the one in ath(4).
- In ieee80211_ratectl.h, expose only IEEE80211_RATECTL_{ONOE,AMRR,SAMPLE}
  for user space program.
- Teach ifconfig(8) to show and set Sample TX rate control algorithm.
- Fix a node leakage on rt2560_tx_mgt() error handling path.
- Support Onoe and Sample TX rate control algorithm in 2560 part of
  ral(4), and use Sample TX rate control algorithm as the default TX
  rate control algorithm. [*]
- Make ral(4) depend on wlan_ratectl_{onoe,sample}.
- Hook Sample TX rate control algorithm into GENERIC and LINT.

# [*]
# If Sample TX rate control algorithm is used, I get almost 100~200%
# UDP_STREAM netperf TX performance boost than the original TX rate
# control algorithm in open/noisy enviroments, and +200~500Kbits/s
# UDP_STREAM netperf TX performance boost under good conditions.

17 years agoSort all entries in dictionary order ignoring case.
Sascha Wildner [Sun, 1 Apr 2007 13:19:49 +0000 (13:19 +0000)]
Sort all entries in dictionary order ignoring case.

17 years agoUnbreak make -j X buildkernel KERNCONF=LINT, X > 1
Sepherosa Ziehau [Sun, 1 Apr 2007 13:09:36 +0000 (13:09 +0000)]
Unbreak make -j X buildkernel KERNCONF=LINT, X > 1

17 years ago* Fix some comments.
Sascha Wildner [Sun, 1 Apr 2007 12:20:50 +0000 (12:20 +0000)]
* Fix some comments.

* Add URL for DragonFly cvsup mirrors to the README.

* Sync FreeBSD supfiles.

* Don't specify a cvsup host for NetBSD and OpenBSD.

* Remove OpenDarwin supfile (project died).

Part of this commit was submitted by Trevor Kendall.

17 years agoRemove some obsolete MLINKS via 'make upgrade'.
Sascha Wildner [Sat, 31 Mar 2007 19:16:05 +0000 (19:16 +0000)]
Remove some obsolete MLINKS via 'make upgrade'.

17 years agoAdd an EVENTHANDLER(9) manual page.
Sascha Wildner [Sat, 31 Mar 2007 11:21:47 +0000 (11:21 +0000)]
Add an EVENTHANDLER(9) manual page.

Submitted-by: Hasso Tepper <hasso@estpak.ee>
Adapted-from: FreeBSD

17 years agoAdd references to crit_enter(9) and serializer(9).
Sascha Wildner [Sat, 31 Mar 2007 10:59:36 +0000 (10:59 +0000)]
Add references to crit_enter(9) and serializer(9).

17 years agoAdd a first version of a serializer(9) manual page.
Sascha Wildner [Sat, 31 Mar 2007 10:54:52 +0000 (10:54 +0000)]
Add a first version of a serializer(9) manual page.

Submitted-by: Hasso Tepper <hasso@estpak.ee>
Reviewed-by: sephe
I did the markup and added a few things.

17 years ago- Call bge_setmulti(), if bge(4) is up and running and IFF_ALLMULTI is to
Sepherosa Ziehau [Sat, 31 Mar 2007 09:31:57 +0000 (09:31 +0000)]
- Call bge_setmulti(), if bge(4) is up and running and IFF_ALLMULTI is to
  be set.
  Obtained-from: FreeBSD (ru@freebsd.org)
- Cleanup the logic of SIOCSIFFLAGS.
- Factor out bge_setpromisc(), use it in bge_{init,ioctl}().

17 years agoCorrect two cases which I overlooked in my previous commit.
Sascha Wildner [Sat, 31 Mar 2007 08:16:52 +0000 (08:16 +0000)]
Correct two cases which I overlooked in my previous commit.

17 years agoIt is TIGON1 that uses NIC local memory.
Sepherosa Ziehau [Sat, 31 Mar 2007 07:47:17 +0000 (07:47 +0000)]
It is TIGON1 that uses NIC local memory.

17 years agoAdd support for BCM5752.
Sepherosa Ziehau [Sat, 31 Mar 2007 07:24:34 +0000 (07:24 +0000)]
Add support for BCM5752.

Obtained-from: FreeBSD

17 years agoregen
Sepherosa Ziehau [Sat, 31 Mar 2007 07:19:22 +0000 (07:19 +0000)]
regen

17 years agoAdd PCI id for Broadcom BCM5752 GigE.
Sepherosa Ziehau [Sat, 31 Mar 2007 06:38:10 +0000 (06:38 +0000)]
Add PCI id for Broadcom BCM5752 GigE.

17 years ago- Add suspend and resume device methods support.
Sepherosa Ziehau [Sat, 31 Mar 2007 06:07:16 +0000 (06:07 +0000)]
- Add suspend and resume device methods support.
  Obtained-from: FreeBSD (pjd@freebsd.org)
- Add serializer assertion in bge_{init,ioctl,stop}()
- Properly serialize bge_shutdown()

17 years ago- Correctly configure BGE_RX_MTU register. Since we set the IFCAP_VLAN_MTU
Sepherosa Ziehau [Sat, 31 Mar 2007 05:12:24 +0000 (05:12 +0000)]
- Correctly configure BGE_RX_MTU register.  Since we set the IFCAP_VLAN_MTU
  flag, we must allow reception of frames up to 1522 bytes in size rather
  than 1518.
- Update FreeBSD's RCSIDs.

Obtained-from: FreeBSD (wpaul@freebsd.org)

17 years agoYet another RTL8110SC
Sepherosa Ziehau [Fri, 30 Mar 2007 14:15:58 +0000 (14:15 +0000)]
Yet another RTL8110SC

Obtained-from: FreeBSD (remko@freebsd.org)

17 years agoAdd support for 82562GX
Sepherosa Ziehau [Fri, 30 Mar 2007 14:07:13 +0000 (14:07 +0000)]
Add support for 82562GX

Obtained-from: FreeBSD (remko@freebsd.org)

17 years agoAllow "join bss command" argument's essid field to be IEEE80211_NWID_LEN long.
Sepherosa Ziehau [Fri, 30 Mar 2007 12:46:58 +0000 (12:46 +0000)]
Allow "join bss command" argument's essid field to be IEEE80211_NWID_LEN long.

17 years agoFirmware TX buffer length is 2bytes not 4.
Sepherosa Ziehau [Fri, 30 Mar 2007 12:44:35 +0000 (12:44 +0000)]
Firmware TX buffer length is 2bytes not 4.

Obtained-from: OpenBSD (claudio@openbsd.org)

17 years ago- Add a definition for the length of 802.11 MAC frame's FCS. Use it instead
Sepherosa Ziehau [Fri, 30 Mar 2007 11:39:34 +0000 (11:39 +0000)]
- Add a definition for the length of 802.11 MAC frame's FCS.  Use it instead
  of the magic number '4' in ral(4), rum(4) and ural(4).
- In ral(4), rum(4) and ural(4), use sizeof(struct ieee80211_frame_{ack,cts})
  to calculate ACK and CTS size, instead of using the magic number '10'.
- In rum(4) and ural(4), nuke unused macro RAL_CTS_SIZE.
- Correct SIFS setting in ral(4), rum(4) and ural(4).
- Implement ieee80211_txtime(), according to 802.11 standards' TXTIME
  calculation.
- Nuke {ral,rum,ural}_txtime(), use ieee80211_txtime() instead.

# We are one step closer to the generic Sample TX rate control algorithm.

17 years agoPut debugging information into a section of its own.
Sascha Wildner [Fri, 30 Mar 2007 09:08:57 +0000 (09:08 +0000)]
Put debugging information into a section of its own.

17 years agoSort all entries in dictionary order ignoring case.
Sascha Wildner [Fri, 30 Mar 2007 08:45:28 +0000 (08:45 +0000)]
Sort all entries in dictionary order ignoring case.

17 years agoUpgrade to OpenSSH 4.6p1.
Peter Avalos [Thu, 29 Mar 2007 00:49:01 +0000 (00:49 +0000)]
Upgrade to OpenSSH 4.6p1.

17 years agoMerge from vendor branch OPENSSH:
Peter Avalos [Thu, 29 Mar 2007 00:46:51 +0000 (00:46 +0000)]
Merge from vendor branch OPENSSH:
Import OpenSSH 4.6p1.

17 years agoImport OpenSSH 4.6p1.
Peter Avalos [Thu, 29 Mar 2007 00:46:51 +0000 (00:46 +0000)]
Import OpenSSH 4.6p1.

17 years agoUpgrade to OpenSSL 0.9.8e.
Peter Avalos [Wed, 28 Mar 2007 19:06:02 +0000 (19:06 +0000)]
Upgrade to OpenSSL 0.9.8e.

17 years agoMerge from vendor branch OPENSSL:
Peter Avalos [Wed, 28 Mar 2007 19:01:30 +0000 (19:01 +0000)]
Merge from vendor branch OPENSSL:
Import OpenSSL 0.9.8e.

17 years agoImport OpenSSL 0.9.8e.
Peter Avalos [Wed, 28 Mar 2007 19:01:30 +0000 (19:01 +0000)]
Import OpenSSL 0.9.8e.

17 years agoFix typo.
Peter Avalos [Wed, 28 Mar 2007 17:28:08 +0000 (17:28 +0000)]
Fix typo.

17 years ago- Implement ieee80211_ack_rate() according to IEEE Std 802.11g-2003
Sepherosa Ziehau [Tue, 27 Mar 2007 13:34:53 +0000 (13:34 +0000)]
- Implement ieee80211_ack_rate() according to IEEE Std 802.11g-2003
  clause 9.6
- Nuke non-standard conforming ACK rate calculation in ral(4), rum(4)
  and ural(4).  Use ieee80211_ack_rate() instead.

17 years agoConvert to mdoc.
Sascha Wildner [Tue, 27 Mar 2007 10:08:02 +0000 (10:08 +0000)]
Convert to mdoc.

Taken-from: NetBSD

17 years agoTurn on hardware vlan tagging and vlan mtu for NICs which have these
Sepherosa Ziehau [Mon, 26 Mar 2007 12:13:58 +0000 (12:13 +0000)]
Turn on hardware vlan tagging and vlan mtu for NICs which have these
capabilities.

Submitted-by: Gary Allan <dragonfly@gallan.plus.com>
Reviewed-by: dillon@
17 years agoDon't contraint size of Supported Rates ie as specified in 11g standard,
Sepherosa Ziehau [Mon, 26 Mar 2007 11:08:30 +0000 (11:08 +0000)]
Don't contraint size of Supported Rates ie as specified in 11g standard,
since for some field pre-11g implementation, Supported Rates ie is used
to carry all BSS supported rates, whose size exceeds 8.

Pointed-out-by: Sam Leffler
17 years agoAdd ACPI_DEBUG_CACHE debug option to module build of acpi driver
YONETANI Tomokazu [Mon, 26 Mar 2007 02:34:39 +0000 (02:34 +0000)]
Add ACPI_DEBUG_CACHE debug option to module build of acpi driver
to catch the current and the first caller of AcpiOsReleaseObject().

17 years agoGC old readline version.
Peter Avalos [Mon, 26 Mar 2007 02:27:37 +0000 (02:27 +0000)]
GC old readline version.

17 years agoGC old libarchive/bsdtar.
Peter Avalos [Mon, 26 Mar 2007 00:30:55 +0000 (00:30 +0000)]
GC old libarchive/bsdtar.

17 years agoUpgrade to libarchive 2.0.25 which gives us a nice speed boost along with
Peter Avalos [Mon, 26 Mar 2007 00:03:44 +0000 (00:03 +0000)]
Upgrade to libarchive 2.0.25 which gives us a nice speed boost along with
some bug fixes.

17 years agoAdd our READMEs for the libarchive 2.0 import.
Peter Avalos [Sun, 25 Mar 2007 22:33:02 +0000 (22:33 +0000)]
Add our READMEs for the libarchive 2.0 import.

17 years agoMerge from vendor branch LIBARCHIVE:
Peter Avalos [Sun, 25 Mar 2007 22:19:51 +0000 (22:19 +0000)]
Merge from vendor branch LIBARCHIVE:
Import libarchive and bsdtar version 2.0.25

17 years agoImport libarchive and bsdtar version 2.0.25
Peter Avalos [Sun, 25 Mar 2007 22:19:51 +0000 (22:19 +0000)]
Import libarchive and bsdtar version 2.0.25

17 years agoAdjust various paths for xorg.
Sascha Wildner [Sun, 25 Mar 2007 11:35:11 +0000 (11:35 +0000)]
Adjust various paths for xorg.

17 years ago- Make sure size of Supported Rates ie does not exceed the limit set by
Sepherosa Ziehau [Sun, 25 Mar 2007 08:10:51 +0000 (08:10 +0000)]
- Make sure size of Supported Rates ie does not exceed the limit set by
  802.11 standard.
- Make sure the sum of Supported Rates ie size and Extended Supported
  Rates ie size is within the range netproto/802_11 can support.

17 years agoChange NXCFLAGS+= to NXCFLAGS=, so include path inherited from CFLAGS
Sepherosa Ziehau [Sun, 25 Mar 2007 07:50:50 +0000 (07:50 +0000)]
Change NXCFLAGS+= to NXCFLAGS=, so include path inherited from CFLAGS
is eliminated and the patched file.h will be picked by compiler during
mkmagic.nx compiling.

Reviewed-by: pavalos@
17 years agoMerge from vendor branch FILE:
Peter Avalos [Sun, 25 Mar 2007 03:33:59 +0000 (03:33 +0000)]
Merge from vendor branch FILE:
Update to 4.20 which, among other things, fixes a heap overflow.

17 years agoUpdate to 4.20 which, among other things, fixes a heap overflow.
Peter Avalos [Sun, 25 Mar 2007 03:33:59 +0000 (03:33 +0000)]
Update to 4.20 which, among other things, fixes a heap overflow.

17 years agoUpdate to 4.20 which, among other things, fixes a heap overflow.
Peter Avalos [Sun, 25 Mar 2007 03:33:59 +0000 (03:33 +0000)]
Update to 4.20 which, among other things, fixes a heap overflow.

17 years agoRaise WARNS to 6 and perform some style(9) cleanup.
Sascha Wildner [Sat, 24 Mar 2007 21:52:14 +0000 (21:52 +0000)]
Raise WARNS to 6 and perform some style(9) cleanup.

17 years agoRaise WARNS to 6 and perform some style(9) cleanup.
Sascha Wildner [Sat, 24 Mar 2007 21:29:06 +0000 (21:29 +0000)]
Raise WARNS to 6 and perform some style(9) cleanup.

17 years agoReformulate the syslink_msg structure a bit. Instead of trying to create
Matthew Dillon [Sat, 24 Mar 2007 19:11:15 +0000 (19:11 +0000)]
Reformulate the syslink_msg structure a bit.  Instead of trying to create
unique sessions with a combination of logical and transaction ids, which
when all said and done is not very robust and not easy to index,
create a 'session' abstraction which can be used as a rendezvous for
a transaction as well as recorded by the route node for tracking and
caching purposes.

The 64 bit session ids are cluster-wide unique numbers, unique for all-time
(which means 'for long enough'... i.e. at least a year), which identify
abstracted connections between entities... almost the equivalent of
an 'open'.  The universal uniqueness of the number combined with the
logical end-point tracking greatly improves robustness in the face of an
ever-changing dynamic cluster mesh and guarentees that a syslink message
will never be misinterpreted.  Stale sessions can now be trivially
detected and acted upon.

This also allows us to reformulate the sysids we store in the message
structure into something that is far more suitable for tracking and routing
purposes without having to bloat the structure (three 64 bit ids in the
structure is plenty already!).

17 years agoUpdate the syslink documentation. A number of major design changes have
Matthew Dillon [Sat, 24 Mar 2007 18:53:57 +0000 (18:53 +0000)]
Update the syslink documentation.  A number of major design changes have
been made.  In particular, there was insufficient uniqueness in the logical
id methodology in the face of any major (live) change made in the cluster
topology.  Introduce a session id abstraction to deal with the issue.
This also allows us to avoid adding another sysid_t to the message structure
(there are already three).

17 years agoVge(4) is miibus(4) aware, so nuke the already commented out link state change
Sepherosa Ziehau [Sat, 24 Mar 2007 08:42:42 +0000 (08:42 +0000)]
Vge(4) is miibus(4) aware, so nuke the already commented out link state change
reporting code.

17 years agoAdd routing socket's link state change message support for 802.11 layer.
Sepherosa Ziehau [Sat, 24 Mar 2007 08:39:03 +0000 (08:39 +0000)]
Add routing socket's link state change message support for 802.11 layer.

Submitted-by: Hasso Tepper <hasso@estpak.ee>
17 years agoAdapt lnc(4), which is miibus(4) unaware, to support routing socket's
Sepherosa Ziehau [Sat, 24 Mar 2007 08:29:57 +0000 (08:29 +0000)]
Adapt lnc(4), which is miibus(4) unaware, to support routing socket's
link state change messages.

Submitted-by: Hasso Tepper <hasso@estpak.ee>
17 years agoReport link states changes (link up/down and braudrate changes) through
Sepherosa Ziehau [Sat, 24 Mar 2007 05:57:49 +0000 (05:57 +0000)]
Report link states changes (link up/down and braudrate changes) through
routing socket.

Miibus(4) aware network drivers can benifit from this change without
adapatation.  Em(4), which is not miibus(4) aware, is adapted to support
this change.

Submitted-by: Hasso Tepper <hasso@estpak.ee>
Obtained-from: OpenBSD w/ modification
Reviewed-by: dillon@
17 years agoBring in numerous fixes from FreeBSD.
Sascha Wildner [Fri, 23 Mar 2007 15:54:34 +0000 (15:54 +0000)]
Bring in numerous fixes from FreeBSD.

17 years agoAdd -O and -T to the SYNOPSIS.
Sascha Wildner [Fri, 23 Mar 2007 14:51:31 +0000 (14:51 +0000)]
Add -O and -T to the SYNOPSIS.

Noticed-by: Hasso Tepper <hasso@estpak.ee>
17 years agoThe R state is followed by the CPU number.
Sascha Wildner [Fri, 23 Mar 2007 10:11:54 +0000 (10:11 +0000)]
The R state is followed by the CPU number.

17 years agoAdd a make.conf variable GROFF_PAPER_SIZE which allows to set the paper
Sascha Wildner [Thu, 22 Mar 2007 23:31:22 +0000 (23:31 +0000)]
Add a make.conf variable GROFF_PAPER_SIZE which allows to set the paper
size that groff is built for, either "letter" (default) or "A4".

Suggested-by: Steve O'Hara-Smith <steve@sohara.org>
17 years agoUse .Dv for ioctls.
Sascha Wildner [Thu, 22 Mar 2007 23:02:31 +0000 (23:02 +0000)]
Use .Dv for ioctls.

17 years agoFix message.
Sascha Wildner [Thu, 22 Mar 2007 22:58:22 +0000 (22:58 +0000)]
Fix message.

17 years agoKill trailing whitespace, fix some typos and remove an unneeded .Pp
Sascha Wildner [Thu, 22 Mar 2007 22:55:24 +0000 (22:55 +0000)]
Kill trailing whitespace, fix some typos and remove an unneeded .Pp

17 years agoWriting PstateControl(formerly named PstateCnt) to SMI_CMD is a notification
YONETANI Tomokazu [Wed, 21 Mar 2007 22:19:00 +0000 (22:19 +0000)]
Writing PstateControl(formerly named PstateCnt) to SMI_CMD is a notification
of taking over Px states, not throttling.  This corresponds to rev 1.51
of acpi_cpu.c in FreeBSD.  We still don't have Px states support, though.

Lockup-reported-by: Mariano Aliaga <marianoaliaga at gmail.com>
17 years agosyslink work - Implement code for a reformulated system call, giving the
Matthew Dillon [Wed, 21 Mar 2007 20:06:36 +0000 (20:06 +0000)]
syslink work - Implement code for a reformulated system call, giving the
kernel the ability to manage multiple syslink routing hubs.  Include the
physical id space reservation and allocation and assignment of same.

17 years agoSync zoneinfo database with tzdata2007d from elsie.
Sascha Wildner [Wed, 21 Mar 2007 09:20:53 +0000 (09:20 +0000)]
Sync zoneinfo database with tzdata2007d from elsie.

Theory:         8.1  -> 8.2
asia:           8.8  -> 8.10
australasia:    8.5  -> 8.6
europe:         8.8  -> 8.10
leapseconds:    8.2  -> 8.3
northamerica:   8.12 -> 8.15
southamerica:   8.9  -> 8.10
zone.tab:       8.9  -> 8.10

From Paul Eggert's comments:

Changes affecting current time stamps

* Cuba observed DST starting Sunday.

* Resolute, Nunavut switched from Central to Eastern time last November.
  (Thanks to Chris Walton.)

Changes affecting near-future time stamps.

* Mongolia has abolished DST.  (Thanks to Ganbold Ts.)

* Turkey will use EU rules this year, changing at 01:00 UTC rather than
  01:00 standard time.  (Thanks to Steffen Thorsen.)

Changes affecting historical time stamps

* Indonesia couldn't have switched from JST on August 1, 1945.
  Use September 23 instead, as we have a source for that date.
  Similarly, change Jayapura's 1944-01-01 to 1944-09-01.
  (Thanks to JohnTWB.)

* Pangnirtung was founded in 1921, so it couldn't have been observing
  local time before that.  Similarly, Iqaluit was founded August 1942,
  Rankin Inlet 1957, Cambridge Bay 1920, Yellowknife 1935, Inuvik 1953.
  (Some of these dates are approximate; corrections welcome.)

Changes affecting comments only

* Ecuador observed DST in 1992, but we have no data.
  (Thanks to Ron Echeverri.)

* We have more formal announcements for Canada.
  (Thanks to Chris Walton.)

* Wisconsin's legal time now matches the US's.
  (Thanks to Douglas R. Bomberg.)

17 years agoAdd syslink.2 to the install list.
Matthew Dillon [Tue, 20 Mar 2007 03:51:29 +0000 (03:51 +0000)]
Add syslink.2 to the install list.

17 years agoTry to catch double-free bugs in the ACPI code. For now generate a warning
Matthew Dillon [Tue, 20 Mar 2007 00:56:30 +0000 (00:56 +0000)]
Try to catch double-free bugs in the ACPI code.  For now generate a warning
if a double-free is detected but do not panic.

17 years agoGenerate a warning if a wired page is encountered on a queue during a free
Matthew Dillon [Tue, 20 Mar 2007 00:55:10 +0000 (00:55 +0000)]
Generate a warning if a wired page is encountered on a queue during a free
to attempt to track down a later panic.

17 years agoMinor syntax cleanup
Matthew Dillon [Tue, 20 Mar 2007 00:54:26 +0000 (00:54 +0000)]
Minor syntax cleanup

17 years agoRename "short/long" retry counter to "data/rts" retry counter. The
Sepherosa Ziehau [Mon, 19 Mar 2007 13:38:43 +0000 (13:38 +0000)]
Rename "short/long" retry counter to "data/rts" retry counter.  The
original names are inherited from ath(4)'s rate control algorithms,
while ath(4) actually uses short retry counter as rts retry counter,
and long retry counter as data retry counter.  According to the short
retry counter usage in 802.11 standard, it can be used as data retry
counter too.  Using the "short/long" retry counter is confusing (yah,
I was confused) and most hardwares seem to provide "data/rts" retry
counter, so switch to the new name: "data/rts" retry counter.

This change does not affect ONOE/AMRR TX rate control algorithms
operation in netproto/802_11, but it paves the way for Sample TX rate
control algorithm.

17 years agoRevert rtw.c rev1.7, though it works well with my ral(4)/ath(4) based
Sepherosa Ziehau [Mon, 19 Mar 2007 12:38:47 +0000 (12:38 +0000)]
Revert rtw.c rev1.7, though it works well with my ral(4)/ath(4) based
hostap, it seems to have trouble with my Linksys WRT54G.

17 years agoGet rid of long rety counter; it is never adopted. And for NICs, which
Sepherosa Ziehau [Sun, 18 Mar 2007 11:49:32 +0000 (11:49 +0000)]
Get rid of long rety counter; it is never adopted.  And for NICs, which
can't provide per MPDU/RTS+MPDU retry counters, it is impossible to
differentiate MPDU retries and RTS retries, so use one retry counter at
least for now.

17 years agoRTL8180L is capable of short preamble.
Sepherosa Ziehau [Sun, 18 Mar 2007 05:44:23 +0000 (05:44 +0000)]
RTL8180L is capable of short preamble.

17 years agoSet Short Slot Time subfield in Capability field, if ieee80211com.ic_caps
Sepherosa Ziehau [Sun, 18 Mar 2007 05:35:54 +0000 (05:35 +0000)]
Set Short Slot Time subfield in Capability field, if ieee80211com.ic_caps
has IEEE80211_C_SHSLOT and the current channel is a 2GHz one, as according
to IEEE Std 802.11g-2003 subclause 7.3.1.4:

"STAs shall set the Short Slot Time subfield to 1 in transmitted Association
 Request and Reassociation Request MMPDUs when the MIB attribute
 dot11ShortSlotTimeOptionImplemented and dot11ShortSlotTimeOptionEnabled are
 true. ..."

For us "dot11ShortSlotTimeOptionImplemented" is IEEE80211_C_SHSLOT bit in
ieee80211com.ic_caps and dot11ShortSlotTimeOptionEnabled is always true.

In the original way, we will be counted as long slot time STA, if the BSS
that we are joining temporarily turns off short slot time, since some already
joined STAs are incapable of short slot time.  After our joining, even if all
long slot time STAs leave, BSS still can't use short slot time, because we
misinformed AP that we are incapable of short slot time in association request.

17 years agos/natapiraid/nataraid/
Sascha Wildner [Sat, 17 Mar 2007 21:24:11 +0000 (21:24 +0000)]
s/natapiraid/nataraid/

Spotted-by: Rumko <rumcic@gmail.com>
17 years agoReword a couple of sentences and do some minor mdoc cleanup.
Sascha Wildner [Fri, 16 Mar 2007 22:02:02 +0000 (22:02 +0000)]
Reword a couple of sentences and do some minor mdoc cleanup.

No-objection: corecode

17 years agoFix message.
Sascha Wildner [Fri, 16 Mar 2007 15:27:10 +0000 (15:27 +0000)]
Fix message.

17 years agoDocument the new behavior of -r.
Sascha Wildner [Fri, 16 Mar 2007 13:42:11 +0000 (13:42 +0000)]
Document the new behavior of -r.

17 years agoAdd code for creating multiple virtual disks. Multiple -r options
Sascha Wildner [Fri, 16 Mar 2007 13:41:40 +0000 (13:41 +0000)]
Add code for creating multiple virtual disks. Multiple -r options
can now be passed to the vkernel with the first one specifying the
root device.

Submitted-by: Chris Turner <c.turner@199technologies.org>
17 years agoDocument that the maximum number of vke interfaces is 16.
Sascha Wildner [Fri, 16 Mar 2007 13:34:13 +0000 (13:34 +0000)]
Document that the maximum number of vke interfaces is 16.

17 years agoOops, forgot to hook CVE-2007-1218 fix into building.
Sepherosa Ziehau [Fri, 16 Mar 2007 13:18:13 +0000 (13:18 +0000)]
Oops, forgot to hook CVE-2007-1218 fix into building.

17 years agoActivate -i and add some documentation for it.
Sascha Wildner [Fri, 16 Mar 2007 13:17:20 +0000 (13:17 +0000)]
Activate -i and add some documentation for it.

17 years agoAdd a fix for CVE-2007-1218
Sepherosa Ziehau [Fri, 16 Mar 2007 13:12:23 +0000 (13:12 +0000)]
Add a fix for CVE-2007-1218

Obtained-from: tcpdump.org

17 years agoMake libpcap parse following expressions, so tcpdump can filter 802.11 frames
Sepherosa Ziehau [Fri, 16 Mar 2007 12:59:10 +0000 (12:59 +0000)]
Make libpcap parse following expressions, so tcpdump can filter 802.11 frames
based on frame types and/or subtypes:
tcpdump -ni wifi_iface -y ieee802_11 wlan type TYPE
tcpdump -ni wifi_iface -y ieee802_11 wlan type TYPE subtype SUBTYPE
tcpdump -ni wifi_iface -y ieee802_11 wlan subtype SUBTYPE

Thank Sam Leffer to point out that libpcap supports dynamic link layer headers.

# This commit has been merged into main stream code, so local patches can
# be nuked upon next vendor release updating.

17 years agoUse .Dv for defined values.
Sascha Wildner [Fri, 16 Mar 2007 12:32:50 +0000 (12:32 +0000)]
Use .Dv for defined values.

17 years agoFix typo.
Sascha Wildner [Thu, 15 Mar 2007 21:41:11 +0000 (21:41 +0000)]
Fix typo.

Submitted-by: Hasso Tepper <hasso@@estpak.ee>
17 years agoUse .Dv for ioctls.
Sascha Wildner [Thu, 15 Mar 2007 21:26:05 +0000 (21:26 +0000)]
Use .Dv for ioctls.

17 years agoUse .Dv for defined values.
Sascha Wildner [Thu, 15 Mar 2007 21:17:45 +0000 (21:17 +0000)]
Use .Dv for defined values.

17 years ago* Use .Dv for ioctls.
Sascha Wildner [Thu, 15 Mar 2007 20:58:57 +0000 (20:58 +0000)]
* Use .Dv for ioctls.

* Fix two "typos":

  s/CDIOCREADTOCHEADER/CDIOREADTOCHEADER/
  s/CDIOCREADTOCENTRYS/CDIOREADTOCENTRYS/

  I think the real typo is in the header file but let's just document
  the status quo.

17 years agoInitial syslink system call documentation and overview.
Matthew Dillon [Wed, 14 Mar 2007 21:09:34 +0000 (21:09 +0000)]
Initial syslink system call documentation and overview.

17 years agoAdd a note that getopt_long_only(3) is deprecated.
Sascha Wildner [Wed, 14 Mar 2007 14:50:07 +0000 (14:50 +0000)]
Add a note that getopt_long_only(3) is deprecated.

Requested-by: joerg
17 years agoOops, really add the MLINK.
Sascha Wildner [Wed, 14 Mar 2007 10:37:42 +0000 (10:37 +0000)]
Oops, really add the MLINK.

17 years ago1) Fix typo in getopt_long's prototype.
Sascha Wildner [Wed, 14 Mar 2007 10:34:17 +0000 (10:34 +0000)]
1) Fix typo in getopt_long's prototype.

2) Document the index argument.

3) s/floride/fluoride/

4) Document getopt_long_only() and add an MLINK.

Taken-from:  NetBSD (1-3) and FreeBSD (4)
Reported-by: Slava Semushin <php-coder@altlinux.ru> (4)
17 years agoReword a couple of sentences and do some minor mdoc cleanup.
Sascha Wildner [Tue, 13 Mar 2007 10:16:56 +0000 (10:16 +0000)]
Reword a couple of sentences and do some minor mdoc cleanup.

OK'd-by: corecode

17 years agoAdd /dev/vkd0 to the list of devices to be searched when the
Sascha Wildner [Tue, 13 Mar 2007 09:42:20 +0000 (09:42 +0000)]
Add /dev/vkd0 to the list of devices to be searched when the
device name is omitted.

17 years agoAdapt libthread_xu to use the new lwp kernel functions.
Simon Schubert [Tue, 13 Mar 2007 00:19:29 +0000 (00:19 +0000)]
Adapt libthread_xu to use the new lwp kernel functions.

17 years agoDrop this strange start/endzero thing for procs and lwps.
Simon Schubert [Tue, 13 Mar 2007 00:18:59 +0000 (00:18 +0000)]
Drop this strange start/endzero thing for procs and lwps.

Instead, unconditionally bzero the new proc/lwp.  This also allows us
to remove now superfluous initializations.