Home | History | Annotate | Download | only in net80211
History log of /src/sys/net80211/ieee80211_rssadapt.c
RevisionDateAuthorComments
 1.21  27-Sep-2016  christos branches: 1.21.16;
- use ether_snprintf() so that we don't overwrite our buffer for printing
ethernet-like addresses
- make this compile againw without IEEE80211_DEBUG.
 1.20  07-Jul-2016  msaitoh branches: 1.20.2;
KNF. Remove extra spaces. No functional change.
 1.19  07-Apr-2014  pooka branches: 1.19.4;
Use module-compatible sysctl init instead of link sets.
 1.18  25-Feb-2014  pooka branches: 1.18.2;
Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before
the sysctl link sets are processed, and remove redundancy.

Shaves >13kB off of an amd64 GENERIC, not to mention >1k duplicate
lines of code.
 1.17  19-Oct-2009  rmind branches: 1.17.12; 1.17.22; 1.17.26;
Drop 3rd and 4th clauses from David Young's license.
Reviewed and approved by dyoung@ (copyright holder).
 1.16  12-Nov-2008  ad Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.15  24-Jun-2008  gmcgarry branches: 1.15.2; 1.15.4;
Replace gcc-style designated initialisers with c99-style.
 1.14  30-Aug-2006  christos branches: 1.14.50; 1.14.52; 1.14.56; 1.14.58; 1.14.60;
comment out impossible comparisons.
 1.13  11-Dec-2005  christos branches: 1.13.4; 1.13.8;
merge ktrace-lwp.
 1.12  26-Jul-2005  dyoung Resolve conflicts.
 1.11  22-Jun-2005  dyoung branches: 1.11.2;
Resolve conflicts in importation of 18-May-2005 ath(4) / net80211(9)
from FreeBSD. Introduce compatibility shims (sys/dev/ic/ath_netbsd.[ch],
sys/net80211/ieee80211_netbsd.[ch]). Update drivers (an, atu, atw,
awi, ipw, iwi, rtw, wi) for the new net80211(9) API.
 1.10  20-Jun-2005  atatat Change the rest of the sysctl subsystem to use const consistently.
The __UNCONST macro is now used only where necessary and the RW macros
are gone. Most of the changes here are consumers of the
sysctl_createv(9) interface that now takes a pair of const pointers
which used not to be.
 1.9  26-Feb-2005  perry nuke trailing whitespace
 1.8  23-Jul-2004  mycroft branches: 1.8.2; 1.8.6; 1.8.8;
Diff reduction vs. madwifi.
Change the signature of IEEE80211_DPRINTF() so that it uses a bitmask, and
convert some of the if_printf()s to IEEE80211_DPRINTF()s. XXX I'm using a
global variable at the moment rather than per-interface.
 1.7  25-May-2004  atatat Sysctl descriptions under net subtree (net.key not done)
 1.6  06-May-2004  dyoung Following Andrew Brown's suggestion, move net.ieee80211 to
net.link.ieee80211. The convention is that nodes directly under
net are protocol families (PF_*).

Also, simplify the sysctl setup for net80211 and rssadapt, following
another suggestion by Andrew.
 1.5  06-May-2004  dyoung Create ieee80211_rssadapt_debug to control rssadapt(9) debug messages
independently from net80211 debug messages. Create a new sysctl,
net.ieee80211.rssadapt.debug, for turning the debug messages on
and off.

Create a new sysctl, net.ieee80211.rssadapt.expavgctl, to control
the rate of decay for the exponential averages used by rssadapt(9).
 1.4  29-Mar-2004  dyoung Get the sense of ra->ra_nok and ra->ra_nfail right. They indicate
successes and failures, respectively, not the other way around.
 1.3  17-Mar-2004  dyoung In wi(4), wi_choose_rate used to contain device-independent code.
I have pulled that code into the function ieee80211_rssadapt_choose
so that I can re-use it in ath(4), atw(4), and in other drivers.

In rssadapt(9), I have also created a struct ieee80211_rssadapt_expavgctl
that contains parameters for rate adaptation. When IEEE80211_RSSADAPT_DEBUG
is enabled, I will using sysctl to expose an ieee80211_rssadapt_expavgctl
for each wireless device.

Also in rssadapt(9), I have introduced an interpolate() macro which
makes the exponential-averaging code more compact.
 1.2  07-Dec-2003  dyoung Oops. Make it compile with 'options IEEE80211_DEBUG'.
 1.1  26-Oct-2003  dyoung Support data-rate adaptation loosely based on the paper "Link
Adaptation Strategy for IEEE 802.11 WLAN via Received Signal Strength
Measurement" by Javier del Prado Pavon and Sunghyun Choi. This
module should provide faster adaptation and higher throughput than
Lucent's rate-adaptation scheme.

Individual drivers need to be modified to use this module. Patches
for wi(4) are forthcoming.
 1.8.8.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.8.6.1  29-Apr-2005  kent sync with -current
 1.8.2.6  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.8.2.5  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.8.2.4  21-Sep-2004  skrll Fix the sync with head I botched.
 1.8.2.3  18-Sep-2004  skrll Sync with HEAD.
 1.8.2.2  03-Aug-2004  skrll Sync with HEAD
 1.8.2.1  23-Jul-2004  skrll file ieee80211_rssadapt.c was added on branch ktrace-lwp on 2004-08-03 10:54:21 +0000
 1.11.2.1  30-Dec-2006  yamt sync with head.
 1.13.8.1  03-Sep-2006  yamt sync with head.
 1.13.4.1  09-Sep-2006  rpaulo sync with head
 1.14.60.1  27-Jun-2008  simonb Sync with head.
 1.14.58.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.14.56.2  11-Mar-2010  yamt sync with head
 1.14.56.1  04-May-2009  yamt sync with head.
 1.14.52.2  17-Jan-2009  mjf Sync with HEAD.
 1.14.52.1  29-Jun-2008  mjf Sync with HEAD.
 1.14.50.1  22-Feb-2008  skrll Beginning of a sync with net80211 from FreeBSD. Lots to do.

Sources taken from 2008-02-22.
 1.15.4.1  19-Jan-2009  skrll Sync with HEAD.
 1.15.2.1  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.17.26.1  18-May-2014  rmind sync with head
 1.17.22.2  03-Dec-2017  jdolecek update from HEAD
 1.17.22.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.17.12.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.18.2.1  10-Aug-2014  tls Rebase.
 1.19.4.2  05-Oct-2016  skrll Sync with HEAD
 1.19.4.1  09-Jul-2016  skrll Sync with HEAD
 1.20.2.1  04-Nov-2016  pgoyette Sync with HEAD
 1.21.16.5  10-Jun-2019  christos Sync with HEAD
 1.21.16.4  20-Jul-2018  phil State save:
urtwn: ifp->if_softc points to a vap, not the urtwn softc, fix code for this.
add missing routines, need to get them filled out correctly.
80211: Add back some NetBSD ioctls, start working on the sysctl tree.
 1.21.16.3  16-Jul-2018  phil State save.
urtwn now can attach and shows up in the "ifconfig -a" list.
 1.21.16.2  12-Jul-2018  phil State save. New kernel config for this brach only. TESTWIFI does
produce a kernel. It is not working. athn files not compiling yet
and commented out of the TESTWIFI kernel, which only has urtwn 802.11
driver enabled. ieee80211_alq.c and ieee80211_ddb.c not compiling yet.
 1.21.16.1  28-Jun-2018  phil Start of WiFi refresh. Copy of FreeBSD net80211 directory with git
mirror commit id of 09e3123164ec345822e00465039503686efde455, no
changes yet. ieee80211_netbsd.[ch] from ieee80211_freebsd.[ch].

RSS XML Feed