diff -ru wlan-sam.before/ieee80211.9 wlan-sam.after/ieee80211.9 --- wlan-sam.before/ieee80211.9 2009-08-08 03:05:00.000000000 +0000 +++ wlan-sam.after/ieee80211.9 2009-08-08 23:16:58.000000000 +0000 @@ -55,7 +55,7 @@ .Pp A .Nm -device driver implements a virtual radio api that is exported to +device driver implements a virtual radio API that is exported to users through network interfaces (aka vaps) that are cloned from the underlying device. These interfaces have an operating mode @@ -308,11 +308,11 @@ Drivers that off-load scan work to firmware typically use this method to trigger per-channel scan activity. .It Dv ic_scan_mindwell -Handle reaching the mimimum dwell time on a channel when scanning. +Handle reaching the minimum dwell time on a channel when scanning. This event is triggered when one or more stations have been found on -a channel and the minmum dwell time has been reached. +a channel and the minimum dwell time has been reached. This callback is done in a sleepable context. -The default method signalls the scan machinery to advance +The default method signals the scan machinery to advance to the next channel as soon as possible. Drivers can use this method to preempt further work (e.g. if scanning is handled by firmware) or ignore the request to force maximum dwell time diff -ru wlan-sam.before/ieee80211_amrr.9 wlan-sam.after/ieee80211_amrr.9 --- wlan-sam.before/ieee80211_amrr.9 2009-08-08 03:09:12.000000000 +0000 +++ wlan-sam.after/ieee80211_amrr.9 2009-08-08 23:17:33.000000000 +0000 @@ -81,7 +81,7 @@ for drivers that use the .Nm net80211 software layer. -A rate control algorithm is reponsible for choosing the transmit +A rate control algorithm is responsible for choosing the transmit rate for each frame. To maximize throughput algorithms try to use the highest rate that is appropriate for the operating conditions. diff -ru wlan-sam.before/ieee80211_beacon.9 wlan-sam.after/ieee80211_beacon.9 --- wlan-sam.before/ieee80211_beacon.9 2009-08-08 03:11:59.000000000 +0000 +++ wlan-sam.after/ieee80211_beacon.9 2009-08-08 23:17:48.000000000 +0000 @@ -95,7 +95,7 @@ .Sh MULTI-VAP BEACON SCHEDULING Drivers that support multiple vaps that can each beacon need to consider how to schedule beacon frames. -There are two possibilites at the moment: +There are two possibilities at the moment: .Em burst all beacons at TBTT or .Em stagger beacons diff -ru wlan-sam.before/ieee80211_crypto.9 wlan-sam.after/ieee80211_crypto.9 --- wlan-sam.before/ieee80211_crypto.9 2009-08-08 03:19:33.000000000 +0000 +++ wlan-sam.after/ieee80211_crypto.9 2009-08-08 23:18:55.000000000 +0000 @@ -185,7 +185,7 @@ Once a key is allocated it's contents can be set using .Fn ieee80211_crypto_setkey and deleted with -.Fn ieee80211_cypto_delkey +.Fn ieee80211_crypto_delkey (with any cipher and driver resources reclaimed). .Pp .Fn ieee80211_crypto_delglobalkeys diff -ru wlan-sam.before/ieee80211_ddb.9 wlan-sam.after/ieee80211_ddb.9 --- wlan-sam.before/ieee80211_ddb.9 2009-08-07 22:03:14.000000000 +0000 +++ wlan-sam.after/ieee80211_ddb.9 2009-08-08 23:19:29.000000000 +0000 @@ -51,7 +51,7 @@ .Xr ddb 4 support for displaying important data structures. This is especially important because wireless applications are often -built for embedded environments where cross-machine or post-morterm +built for embedded environments where cross-machine or post-mortem debugging facilities like .Xr kgdb 1 infeasible. diff -ru wlan-sam.before/ieee80211_node.9 wlan-sam.after/ieee80211_node.9 --- wlan-sam.before/ieee80211_node.9 2009-08-08 03:25:27.000000000 +0000 +++ wlan-sam.after/ieee80211_node.9 2009-08-08 23:20:19.000000000 +0000 @@ -88,7 +88,7 @@ the station is associated to. AP mode vaps create entries for associated stations. Adhoc and mesh mode vaps create entries for neighbor stations. -WDS mode vaps creat an entry for the peer station. +WDS mode vaps create an entry for the peer station. Stations for all vaps reside in the same table; each node entry has a .Vt ni_vap @@ -110,7 +110,7 @@ .Fn ieee80211_ref_node and .Fn ieee80211_unref_node -calls explicitly incremenet/decrement the reference count of a node, +calls explicitly increment/decrement the reference count of a node, but are rarely used. Instead most callers use .Fn ieee80211_free_node diff -ru wlan-sam.before/ieee80211_scan.9 wlan-sam.after/ieee80211_scan.9 --- wlan-sam.before/ieee80211_scan.9 2009-08-08 04:19:30.000000000 +0000 +++ wlan-sam.after/ieee80211_scan.9 2009-08-08 23:22:34.000000000 +0000 @@ -281,7 +281,7 @@ routines do explicit iteration through the scan set and should not normally be used by drivers. .Fn ieee80211_probe_curchan -handles the work of transmiting ProbeRequest frames when visiting +handles the work of transmitting ProbeRequest frames when visiting a channel during an active scan. When the channel attributes are marked with .Dv IEEE80211_CHAN_PASSIVE @@ -340,7 +340,7 @@ The cache contents can be viewed using the .Fn ieee80211_scan_iterate call. -Cache entries are expored in a public format that is exported to user +Cache entries are exported in a public format that is exported to user applications through the .Dv IEEE80211_SCAN_RESULTS request. diff -ru wlan-sam.before/ieee80211_vap.9 wlan-sam.after/ieee80211_vap.9 --- wlan-sam.before/ieee80211_vap.9 2009-08-07 22:03:14.000000000 +0000 +++ wlan-sam.after/ieee80211_vap.9 2009-08-08 23:22:54.000000000 +0000 @@ -58,7 +58,7 @@ The .Nm net80211 software layer provides a support framework for drivers that includes -a virtual radio api that is exported to +a virtual radio API that is exported to users through network interfaces (aka vaps) that are cloned from the underlying device. These interfaces have an operating mode