The NetBSD Project

CVS log for src/sys/net80211/ieee80211_node.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / net80211

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.83 / (download) - annotate - [select for diffs], Sat Jun 24 05:12:03 2023 UTC (9 months, 3 weeks ago) by msaitoh
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.82: +3 -3 lines
Diff to previous 1.82 (colored)

Fix typo in comment.

Revision 1.82 / (download) - annotate - [select for diffs], Sun Sep 19 10:34:09 2021 UTC (2 years, 6 months ago) by andvar
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.81: +3 -3 lines
Diff to previous 1.81 (colored)

fix various typos in comments, messages and documentation.

Revision 1.80.6.1 / (download) - annotate - [select for diffs], Mon Dec 14 14:38:15 2020 UTC (3 years, 4 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (colored) next main 1.81 (colored)

Sync w/ HEAD.

Revision 1.81 / (download) - annotate - [select for diffs], Mon Nov 30 05:33:32 2020 UTC (3 years, 4 months ago) by msaitoh
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (colored)

s/ we we / we /

Revision 1.75.4.7 / (download) - annotate - [select for diffs], Mon Apr 13 08:05:16 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.75.4.6: +3 -3 lines
Diff to previous 1.75.4.6 (colored) to branchpoint 1.75 (colored) next main 1.76 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.79.2.1 / (download) - annotate - [select for diffs], Sat Feb 29 20:21:07 2020 UTC (4 years, 1 month ago) by ad
Branch: ad-namecache
Changes since 1.79: +3 -3 lines
Diff to previous 1.79 (colored) next main 1.80 (colored)

Sync with head.

Revision 1.80 / (download) - annotate - [select for diffs], Mon Feb 24 12:20:30 2020 UTC (4 years, 1 month ago) by rin
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3
Branch point for: thorpej-futex
Changes since 1.79: +3 -3 lines
Diff to previous 1.79 (colored)

0x%p --> %p for non-external codes.

Revision 1.79 / (download) - annotate - [select for diffs], Fri Dec 27 09:25:58 2019 UTC (4 years, 3 months ago) by msaitoh
Branch: MAIN
CVS Tags: ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.78: +3 -3 lines
Diff to previous 1.78 (colored)

s/inital/initial/

Revision 1.78 / (download) - annotate - [select for diffs], Thu Dec 19 15:54:21 2019 UTC (4 years, 3 months ago) by jakllsch
Branch: MAIN
Changes since 1.77: +3 -2 lines
Diff to previous 1.77 (colored)

Add comment for previous.

Revision 1.77 / (download) - annotate - [select for diffs], Thu Dec 19 15:27:07 2019 UTC (4 years, 3 months ago) by jakllsch
Branch: MAIN
Changes since 1.76: +5 -2 lines
Diff to previous 1.76 (colored)

Do not associate with with any access point if no SSID has been configured.

Revision 1.76 / (download) - annotate - [select for diffs], Sun Nov 10 21:16:38 2019 UTC (4 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: phil-wifi-20191119
Changes since 1.75: +5 -18 lines
Diff to previous 1.75 (colored)

in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.

Revision 1.75.4.6 / (download) - annotate - [select for diffs], Mon Jun 10 22:09:46 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.75.4.5: +5 -3 lines
Diff to previous 1.75.4.5 (colored) to branchpoint 1.75 (colored)

Sync with HEAD

Revision 1.75.4.5 / (download) - annotate - [select for diffs], Wed Aug 15 17:07:03 2018 UTC (5 years, 8 months ago) by phil
Branch: phil-wifi
Changes since 1.75.4.4: +8 -10 lines
Diff to previous 1.75.4.4 (colored) to branchpoint 1.75 (colored)

Final changes for 200 hour contract.  Still a lot of work to do.
With these changes, Station mode works with an open AP.

Revision 1.75.4.4 / (download) - annotate - [select for diffs], Fri Aug 3 19:47:25 2018 UTC (5 years, 8 months ago) by phil
Branch: phil-wifi
Changes since 1.75.4.3: +4 -4 lines
Diff to previous 1.75.4.3 (colored) to branchpoint 1.75 (colored)

State Save:
   Scanning works, can see the broadcasts and stations.
   Association appears to work.  (open networks only, no encryption yet.)
   IP traffic doesn't flow yet, not sure where the error is.
   Added back more NetBSD ioctls not in the FreeBSD code.  Still have
      more to go.
   Updated my TESTWIFI kernel config.

Revision 1.75.4.3 / (download) - annotate - [select for diffs], Mon Jul 16 20:11:11 2018 UTC (5 years, 9 months ago) by phil
Branch: phil-wifi
Changes since 1.75.4.2: +18 -1 lines
Diff to previous 1.75.4.2 (colored) to branchpoint 1.75 (colored)

State save.
urtwn now can attach and shows up in the "ifconfig -a" list.

Revision 1.75.4.2 / (download) - annotate - [select for diffs], Thu Jul 12 16:35:34 2018 UTC (5 years, 9 months ago) by phil
Branch: phil-wifi
Changes since 1.75.4.1: +31 -0 lines
Diff to previous 1.75.4.1 (colored) to branchpoint 1.75 (colored)

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.

Revision 1.75.4.1 / (download) - annotate - [select for diffs], Thu Jun 28 21:03:07 2018 UTC (5 years, 9 months ago) by phil
Branch: phil-wifi
CVS Tags: phil-wifi-freebsd-base
Changes since 1.75: +2118 -1612 lines
Diff to previous 1.75 (colored)

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].

Revision 1.75 / (download) - annotate - [select for diffs], Thu Jan 18 17:59:29 2018 UTC (6 years, 2 months ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-base, phil-wifi-20190609, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi
Changes since 1.74: +77 -27 lines
Diff to previous 1.74 (colored)

Style, no functional change.

Revision 1.74 / (download) - annotate - [select for diffs], Tue Jan 16 18:53:32 2018 UTC (6 years, 3 months ago) by maxv
Branch: MAIN
Changes since 1.73: +12 -7 lines
Diff to previous 1.73 (colored)

Various fixes: style, remove tiring XXXs, and prevent integer overflow in
ieee80211_setup_rates (normally it already can't happen, because I added a
length check on xrates in ieee80211_recv_mgmt_beacon).

Revision 1.73 / (download) - annotate - [select for diffs], Tue Jan 16 18:42:43 2018 UTC (6 years, 3 months ago) by maxv
Branch: MAIN
Changes since 1.72: +41 -39 lines
Diff to previous 1.72 (colored)

Prepend 'sp_' to the name of the fields, so that they can easily be found
via NXR or grep.

Revision 1.63.24.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:39:03 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.63.24.2: +7 -3 lines
Diff to previous 1.63.24.2 (colored) to branchpoint 1.63 (colored) next main 1.64 (colored)

update from HEAD

Revision 1.71.2.1 / (download) - annotate - [select for diffs], Fri Nov 4 14:49:21 2016 UTC (7 years, 5 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.71: +4 -2 lines
Diff to previous 1.71 (colored) next main 1.72 (colored)

Sync with HEAD

Revision 1.68.2.2 / (download) - annotate - [select for diffs], Wed Oct 5 20:56:08 2016 UTC (7 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.68.2.1: +4 -2 lines
Diff to previous 1.68.2.1 (colored) to branchpoint 1.68 (colored) next main 1.69 (colored)

Sync with HEAD

Revision 1.72 / (download) - annotate - [select for diffs], Tue Sep 27 20:20:06 2016 UTC (7 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.71: +4 -2 lines
Diff to previous 1.71 (colored)

- use ether_snprintf() so that we don't overwrite our buffer for printing
  ethernet-like addresses
- make this compile againw without IEEE80211_DEBUG.

Revision 1.71 / (download) - annotate - [select for diffs], Fri Apr 8 14:30:47 2016 UTC (8 years ago) by roy
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.70: +5 -5 lines
Diff to previous 1.70 (colored)

Revert prior.

Revision 1.70 / (download) - annotate - [select for diffs], Wed Apr 6 14:42:16 2016 UTC (8 years ago) by roy
Branch: MAIN
Changes since 1.69: +7 -7 lines
Diff to previous 1.69 (colored)

ieee80211 users in Other OS export rssi and noise as int8_t.
We should not be the odd one out for no good reason and the majority
of the ieee80211 drivers treat rssi as int8_t.

Revision 1.68.2.1 / (download) - annotate - [select for diffs], Tue Sep 22 12:06:11 2015 UTC (8 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.68: +4 -2 lines
Diff to previous 1.68 (colored)

Sync with HEAD

Revision 1.69 / (download) - annotate - [select for diffs], Mon Aug 24 22:21:26 2015 UTC (8 years, 7 months ago) by pooka
Branch: MAIN
CVS Tags: nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921
Changes since 1.68: +4 -2 lines
Diff to previous 1.68 (colored)

sprinkle _KERNEL_OPT

Revision 1.68 / (download) - annotate - [select for diffs], Sat Oct 18 08:33:29 2014 UTC (9 years, 6 months ago) by snj
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.67: +5 -5 lines
Diff to previous 1.67 (colored)

src is too big these days to tolerate superfluous apostrophes.  It's
"its", people!

Revision 1.63.14.2 / (download) - annotate - [select for diffs], Thu May 22 11:41:09 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.63.14.1: +30 -16 lines
Diff to previous 1.63.14.1 (colored) to branchpoint 1.63 (colored) next main 1.64 (colored)

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")

Revision 1.63.24.2 / (download) - annotate - [select for diffs], Sun Jun 23 06:20:25 2013 UTC (10 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.63.24.1: +30 -16 lines
Diff to previous 1.63.24.1 (colored) to branchpoint 1.63 (colored)

resync from head

Revision 1.67 / (download) - annotate - [select for diffs], Fri Mar 29 02:30:18 2013 UTC (11 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, khorben-n900
Changes since 1.66: +3 -3 lines
Diff to previous 1.66 (colored)

one we is enough.

Revision 1.66 / (download) - annotate - [select for diffs], Fri Mar 29 02:26:45 2013 UTC (11 years ago) by christos
Branch: MAIN
Changes since 1.65: +20 -6 lines
Diff to previous 1.65 (colored)

Don't hold 2 locks at the same time, causes lockdebug panic. Triggered by
running usb wifi interfaces as access points. What we do instead is check
the generation number upon restart, and if it changed we give up.

Revision 1.65 / (download) - annotate - [select for diffs], Fri Mar 29 02:20:17 2013 UTC (11 years ago) by christos
Branch: MAIN
Changes since 1.64: +11 -11 lines
Diff to previous 1.64 (colored)

trailing blanks police.

Revision 1.63.24.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:30:04 2013 UTC (11 years, 1 month ago) by tls
Branch: tls-maxphys
Changes since 1.63: +6 -6 lines
Diff to previous 1.63 (colored)

resync with head

Revision 1.63.14.1 / (download) - annotate - [select for diffs], Wed Jan 23 00:06:26 2013 UTC (11 years, 2 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.63: +6 -6 lines
Diff to previous 1.63 (colored)

sync with head

Revision 1.64 / (download) - annotate - [select for diffs], Thu Jan 10 17:40:10 2013 UTC (11 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8, agc-symver-base, agc-symver
Changes since 1.63: +6 -6 lines
Diff to previous 1.63 (colored)

The IEEE80211_F_ flag prefix was used for both the flags in ieee80211_var.h
and for the rates in ieee80211_proto.h; rename the rate bits as _R_ to avoid
confusion.

Revision 1.60.10.1 / (download) - annotate - [select for diffs], Mon May 4 08:14:16 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.60: +21 -15 lines
Diff to previous 1.60 (colored) next main 1.61 (colored)

sync with head.

Revision 1.61.4.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:20:12 2009 UTC (15 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.61: +11 -11 lines
Diff to previous 1.61 (colored) next main 1.62 (colored)

Sync with HEAD.

Revision 1.60.6.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:32 2009 UTC (15 years, 3 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.60.6.1: +9 -9 lines
Diff to previous 1.60.6.1 (colored) to branchpoint 1.60 (colored) next main 1.61 (colored)

Sync with HEAD.

Revision 1.63 / (download) - annotate - [select for diffs], Sat Jan 3 03:43:23 2009 UTC (15 years, 3 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, mjf-devfs2-base, matt-premerge-20091211, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.62: +3 -3 lines
Diff to previous 1.62 (colored)

remove extra semicolons.

Revision 1.62 / (download) - annotate - [select for diffs], Wed Dec 17 20:51:37 2008 UTC (15 years, 4 months ago) by cegger
Branch: MAIN
Changes since 1.61: +10 -10 lines
Diff to previous 1.61 (colored)

kill MALLOC and FREE macros.

Revision 1.60.12.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:37:00 2008 UTC (15 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.60: +12 -6 lines
Diff to previous 1.60 (colored) next main 1.61 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.60.6.1 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:19 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.60: +12 -6 lines
Diff to previous 1.60 (colored)

Sync with HEAD.

Revision 1.60.14.1 / (download) - annotate - [select for diffs], Fri Jun 27 15:11:48 2008 UTC (15 years, 9 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.60: +12 -6 lines
Diff to previous 1.60 (colored) next main 1.61 (colored)

Sync with head.

Revision 1.61 / (download) - annotate - [select for diffs], Tue Jun 24 10:33:08 2008 UTC (15 years, 9 months ago) by gmcgarry
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap
Changes since 1.60: +12 -6 lines
Diff to previous 1.60 (colored)

Fix uses of #ifdef/#endif inside macro expansions.

Revision 1.60.4.1 / (download) - annotate - [select for diffs], Fri Feb 22 16:50:25 2008 UTC (16 years, 1 month ago) by skrll
Branch: nick-net80211-sync
Changes since 1.60: +568 -896 lines
Diff to previous 1.60 (colored) next main 1.61 (colored)

Beginning of a sync with net80211 from FreeBSD. Lots to do.

Sources taken from 2008-02-22.

Revision 1.41.2.3 / (download) - annotate - [select for diffs], Mon Jan 21 09:47:09 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.41.2.2: +3 -2 lines
Diff to previous 1.41.2.2 (colored) next main 1.42 (colored)

sync with head

Revision 1.59.24.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:57:19 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.59: +3 -2 lines
Diff to previous 1.59 (colored) next main 1.60 (colored)

sync with HEAD

Revision 1.59.38.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:57:13 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.59: +3 -2 lines
Diff to previous 1.59 (colored) next main 1.60 (colored)

Sync with HEAD

Revision 1.59.34.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:57:35 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.59: +3 -2 lines
Diff to previous 1.59 (colored) next main 1.60 (colored)

Sync with head.

Revision 1.60 / (download) - annotate - [select for diffs], Thu Dec 20 20:56:18 2007 UTC (16 years, 3 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, wrstuden-revivesa-base-1, wrstuden-revivesa-base, vmlocking2-base3, nick-net80211-sync-base, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: yamt-nfs-mp, wrstuden-revivesa, simonb-wapbl, nick-net80211-sync, mjf-devfs2
Changes since 1.59: +3 -2 lines
Diff to previous 1.59 (colored)

Add IEEE80211_NODE_UNLOCK() to match the IEEE80211_NODE_LOCK() .

Revision 1.41.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:50:28 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.41.2.1: +31 -3 lines
Diff to previous 1.41.2.1 (colored)

sync with head.

Revision 1.57.6.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:19:06 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.57.6.1: +5 -5 lines
Diff to previous 1.57.6.1 (colored) to branchpoint 1.57 (colored) next main 1.58 (colored)

sync with head.

Revision 1.57.4.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:32 2006 UTC (17 years, 5 months ago) by ad
Branch: newlock2
Changes since 1.57: +4 -3 lines
Diff to previous 1.57 (colored) next main 1.58 (colored)

Sync with head.

Revision 1.59 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:41 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, post-newlock2-merge, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, mjf-ufs-trans-base, mjf-ufs-trans, mjf-devfs, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking2, matt-armv6, bouyer-xeni386
Changes since 1.58: +5 -5 lines
Diff to previous 1.58 (colored)

__unused removal on arguments; approved by core.

Revision 1.57.6.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:07:28 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.57: +6 -5 lines
Diff to previous 1.57 (colored)

sync with head

Revision 1.58 / (download) - annotate - [select for diffs], Thu Oct 12 01:32:31 2006 UTC (17 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.57: +6 -5 lines
Diff to previous 1.57 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.50.2.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:58:25 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.50: +68 -25 lines
Diff to previous 1.50 (colored) next main 1.51 (colored)

sync with head

Revision 1.52.2.4 / (download) - annotate - [select for diffs], Fri Aug 11 15:46:32 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.52.2.3: +29 -2 lines
Diff to previous 1.52.2.3 (colored) to branchpoint 1.52 (colored) next main 1.53 (colored)

sync with head

Revision 1.56.4.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:49:58 2006 UTC (17 years, 9 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.56: +29 -2 lines
Diff to previous 1.56 (colored) next main 1.57 (colored)

Merge from HEAD.

Revision 1.57 / (download) - annotate - [select for diffs], Fri Jun 30 06:17:10 2006 UTC (17 years, 9 months ago) by tacha
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, rpaulo-netinet-merge-pcb-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.56: +29 -2 lines
Diff to previous 1.56 (colored)

Make 802.11 devices to work with stealth AP even when scanning
channels marked passive.

From FreeBSD.

Revision 1.41.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:10:46 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.41: +632 -168 lines
Diff to previous 1.41 (colored)

sync with head.

Revision 1.50.4.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:38:45 2006 UTC (17 years, 10 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.50.4.1: +4 -4 lines
Diff to previous 1.50.4.1 (colored) next main 1.51 (colored)

Sync with head.

Revision 1.53.2.2 / (download) - annotate - [select for diffs], Wed May 24 15:50:44 2006 UTC (17 years, 10 months ago) by tron
Branch: peter-altq
Changes since 1.53.2.1: +4 -4 lines
Diff to previous 1.53.2.1 (colored) to branchpoint 1.53 (colored) next main 1.54 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.52.2.3 / (download) - annotate - [select for diffs], Wed May 24 10:59:02 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.52.2.2: +4 -4 lines
Diff to previous 1.52.2.2 (colored) to branchpoint 1.52 (colored)

sync with head.

Revision 1.52.4.2 / (download) - annotate - [select for diffs], Thu May 11 23:31:09 2006 UTC (17 years, 11 months ago) by elad
Branch: elad-kernelauth
Changes since 1.52.4.1: +4 -4 lines
Diff to previous 1.52.4.1 (colored) to branchpoint 1.52 (colored) next main 1.53 (colored)

sync with head

Revision 1.56 / (download) - annotate - [select for diffs], Wed May 3 16:50:58 2006 UTC (17 years, 11 months ago) by seanb
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi
Branch point for: gdamore-uart
Changes since 1.55: +4 -4 lines
Diff to previous 1.55 (colored)

- Make sure scangen sequence number is unique
  per iteration.
- From FreeBSD.
- CI: sam

Revision 1.50.4.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:40:09 2006 UTC (17 years, 11 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.50: +39 -23 lines
Diff to previous 1.50 (colored)

Sync with head.

Revision 1.52.4.1 / (download) - annotate - [select for diffs], Wed Apr 19 04:46:11 2006 UTC (18 years ago) by elad
Branch: elad-kernelauth
Changes since 1.52: +32 -20 lines
Diff to previous 1.52 (colored)

sync with head.

Revision 1.52.2.2 / (download) - annotate - [select for diffs], Sat Apr 1 12:07:43 2006 UTC (18 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.52.2.1: +31 -19 lines
Diff to previous 1.52.2.1 (colored) to branchpoint 1.52 (colored)

sync with head.

Revision 1.53.2.1 / (download) - annotate - [select for diffs], Tue Mar 28 09:42:28 2006 UTC (18 years ago) by tron
Branch: peter-altq
Changes since 1.53: +31 -19 lines
Diff to previous 1.53 (colored)

Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.

Revision 1.55 / (download) - annotate - [select for diffs], Tue Mar 28 00:48:10 2006 UTC (18 years ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3
Changes since 1.54: +25 -11 lines
Diff to previous 1.54 (colored)

Revamp ieee80211_get_rate.  Now it does not use the rateset in the
ic->ic_bss, but it uses the rateset in its new ieee80211_node
argument, instead.  If the rate is fixed by ic->ic_fixed_rate, but
the fixed rate is not in the node's rateset, choose a reasonable
default: prefer the lowest basic rate or, if there is no basic
rate, prefer the lowest rate, period.

Change a printf complaint to a debug message.

Adapt drivers to suit new ieee80211_get_rate calling convention.

XXX I really need to replace ieee80211_get_rate with a bitrate
XXX adaptation algorithm.  Soon, soon....

Revision 1.54 / (download) - annotate - [select for diffs], Fri Mar 17 23:29:10 2006 UTC (18 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.53: +8 -10 lines
Diff to previous 1.53 (colored)

don't use MALLOC with a non-constant size; use malloc instead.

Revision 1.52.2.1 / (download) - annotate - [select for diffs], Mon Mar 13 09:07:39 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.52: +3 -3 lines
Diff to previous 1.52 (colored)

sync with head.

Revision 1.53 / (download) - annotate - [select for diffs], Wed Mar 8 23:46:27 2006 UTC (18 years, 1 month ago) by lukem
Branch: MAIN
CVS Tags: yamt-pdpolicy-base2, peter-altq-base
Branch point for: peter-altq
Changes since 1.52: +3 -3 lines
Diff to previous 1.52 (colored)

Use the SI capitalization for "Hz", "kHz", and "MHz" in comments and strings.
Add a space between numbers and Hz unit.

Revision 1.52 / (download) - annotate - [select for diffs], Thu Mar 2 03:38:48 2006 UTC (18 years, 1 month ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pdpolicy-base
Branch point for: yamt-pdpolicy, elad-kernelauth
Changes since 1.51: +8 -4 lines
Diff to previous 1.51 (colored)

Miscellaneous ath(4) and net80211 updates and bug-fixes coming from
sam@ and various open source repositories:

ath(4):

        Ignore "phantom" beacon misses: should stabilize connections
        to access points (no more ceaseless link-UP/DOWN indications).
        Also, re-synchronize beacon timer using the TSF in the
        first beacon received after joining a BSS---this should
        also help suppress spurious beacon misses.  I am hopeful
        that this will help ath(4) lossage reported by perry@ and
        smb@.

        Add new configuration through sysctl.

        Use a shorter calibration interval until IQ calibration
        finishes.

        Report antenna noise through radiotap.

        Rudiments of Radar Detection / Dynamic Frequency Selection.

        Update to HAL version 0.9.16.13.

        Update open sources for changes to the HAL API.

        Add HALs for additional architectures: add big-endian ELF
        HALs for sparc64 and for PowerPC.  Also add a Alpha HAL.
        These new HALs are untested under NetBSD.

ath(4) + net80211:

        Make the multicast transmit rate configurable by ioctl.

        Miscellaneous bug fixes.

Revision 1.49.2.2 / (download) - annotate - [select for diffs], Wed Mar 1 09:28:47 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.49.2.1: +3 -3 lines
Diff to previous 1.49.2.1 (colored) next main 1.50 (colored)

sync with head.

Revision 1.51 / (download) - annotate - [select for diffs], Sat Feb 25 02:28:58 2006 UTC (18 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5
Changes since 1.50: +3 -3 lines
Diff to previous 1.50 (colored)

Fix some typos.

Revision 1.49.2.1 / (download) - annotate - [select for diffs], Sun Jan 15 10:03:04 2006 UTC (18 years, 3 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored)

sync with head.

Revision 1.50 / (download) - annotate - [select for diffs], Fri Jan 13 08:43:11 2006 UTC (18 years, 3 months ago) by skrll
Branch: MAIN
Branch point for: simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored)

KNF a comment.

Revision 1.49 / (download) - annotate - [select for diffs], Thu Dec 29 22:17:09 2005 UTC (18 years, 3 months ago) by dyoung
Branch: MAIN
Branch point for: yamt-uio_vmspace
Changes since 1.48: +17 -9 lines
Diff to previous 1.48 (colored)

Rewrite ieee80211_get_rate using clue from sys/dev/ic/athrate-sample.c:
Change -1 to named constant IEEE80211_FIXED_RATE_NONE.  ic_fixed_rate
is an index into the ic_sup_rates table, so lookup a fixed rate
there and search the ni->ni_rates table for it.

Revision 1.48 / (download) - annotate - [select for diffs], Thu Dec 29 22:13:40 2005 UTC (18 years, 3 months ago) by dyoung
Branch: MAIN
Changes since 1.47: +6 -3 lines
Diff to previous 1.47 (colored)

IBSS merge nit: clear IEEE80211_F_SIBSS (STATUS: start IBSS) when
we merge with another IBSS.

Revision 1.32.2.10 / (download) - annotate - [select for diffs], Sun Dec 11 10:29:22 2005 UTC (18 years, 4 months ago) by christos
Branch: ktrace-lwp
Changes since 1.32.2.9: +522 -124 lines
Diff to previous 1.32.2.9 (colored) next main 1.33 (colored)

Sync with head.

Revision 1.44.6.2 / (download) - annotate - [select for diffs], Tue Nov 29 21:23:30 2005 UTC (18 years, 4 months ago) by yamt
Branch: yamt-readahead
Changes since 1.44.6.1: +3 -3 lines
Diff to previous 1.44.6.1 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored)

sync with head.

Revision 1.47 / (download) - annotate - [select for diffs], Wed Nov 23 04:24:00 2005 UTC (18 years, 4 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-readahead-base3, ktrace-lwp-base
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (colored)

In ieee80211_init_neighbor, delete unsupported rates from an adhoc
node.  It's the right thing to do, but it is of pressing importance
because SampleRate's ath_rate_ctl_reset() will convert an unsupported
rate to an invalid rate-index of 0xff, and pass the index to
ath_hal_computetxtime().  ath_hal_computetxtime() does not tolerate
an invalid index; the CPU traps a divide-by-zero fault in
ath_hal_computetxtime().

Revision 1.44.6.1 / (download) - annotate - [select for diffs], Tue Nov 22 16:08:16 2005 UTC (18 years, 4 months ago) by yamt
Branch: yamt-readahead
Changes since 1.44: +522 -124 lines
Diff to previous 1.44 (colored)

sync with head.

Revision 1.46 / (download) - annotate - [select for diffs], Sun Nov 20 10:04:21 2005 UTC (18 years, 4 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-readahead-base2
Changes since 1.45: +32 -23 lines
Diff to previous 1.45 (colored)

Repair adhoc mode.

        1 Complete initialization of "faked up" ieee80211_nodes,
          whose capabilities and other fields are wrong, when we
          first receive a beacon or probe response from the
          corresponding neighbor.  This entails factoring
          ieee80211_init_neighbor out of ieee80211_add_neighbor.

        2 In adhoc mode, ic->ic_bss is present in the neighbors
          table, ic->ic_sta, and it is not necessarily the wrong
          node on which to mark statistics for a rx'd packet.  Do
          not reject ic->ic_bss and fake-up a new node without
          comparing its MAC address with the address of the sender
          in the rx'd packet.  This fixes a memory leak.

Revision 1.45 / (download) - annotate - [select for diffs], Fri Nov 18 16:40:09 2005 UTC (18 years, 5 months ago) by skrll
Branch: MAIN
Changes since 1.44: +513 -124 lines
Diff to previous 1.44 (colored)

Resolve conflicts and adapt to NetBSD.

Thanks to dyoung@, scw@, and perry@ for help testing.

2005-08-30 15:27  avatar

Properly set ic_curchan before calling back to device driver to do channel
switching(ifconfig devX channel Y).  This fix should make channel changing
works again in monitor mode.

Submitted by:	sam
X-MFC-With:	other ic_curchan changes

2005-08-13 18:50  sam

revert 1.64: we cannot use the channel characteristics to decide when to
do 11g erp sta accounting because b/g channels show up as false positives
when operating in 11b.

Noticed by:	Michal Mertl

2005-08-13 18:31  sam

Extend acl support to pass ioctl requests through and use this to
add support for getting the current policy setting and collecting
the list of mac addresses in the acl table.

Submitted by:	Michal Mertl (original version)
MFC after:	2 weeks

2005-08-10 18:42  sam

Don't use ic_curmode to decide when to do 11g station accounting,
use the station channel properties.  Fixes assert failure/bogus
operation when an ap is operating in 11a and has associated stations
then switches to 11g.

Noticed by:	Michal Mertl
Reviewed by:	avatar
MFC after:	2 weeks

2005-08-10 17:22  sam

Clarify/fix handling of the current channel:
o add ic_curchan and use it uniformly for specifying the current
  channel instead of overloading ic->ic_bss->ni_chan (or in some
  drivers ic_ibss_chan)
o add ieee80211_scanparams structure to encapsulate scanning-related
  state captured for rx frames
o move rx beacon+probe response frame handling into separate routines
o change beacon+probe response handling to treat the scan table
  more like a scan cache--look for an existing entry before adding
  a new one; this combined with ic_curchan use corrects handling of
  stations that were previously found at a different channel
o move adhoc neighbor discovery by beacon+probe response frames to
  a new ieee80211_add_neighbor routine

Reviewed by:	avatar
Tested by:	avatar, Michal Mertl
MFC after:	2 weeks

2005-08-09 11:19  rwatson

Propagate rename of IFF_OACTIVE and IFF_RUNNING to IFF_DRV_OACTIVE and
IFF_DRV_RUNNING, as well as the move from ifnet.if_flags to
ifnet.if_drv_flags.  Device drivers are now responsible for
synchronizing access to these flags, as they are in if_drv_flags.  This
helps prevent races between the network stack and device driver in
maintaining the interface flags field.

Many __FreeBSD__ and __FreeBSD_version checks maintained and continued;
some less so.

Reviewed by:	pjd, bz
MFC after:	7 days

2005-08-08 19:46  sam

Split crypto tx+rx key indices and add a key index -> node mapping table:

Crypto changes:
o change driver/net80211 key_alloc api to return tx+rx key indices; a
  driver can leave the rx key index set to IEEE80211_KEYIX_NONE or set
  it to be the same as the tx key index (the former disables use of
  the key index in building the keyix->node mapping table and is the
  default setup for naive drivers by null_key_alloc)
o add cs_max_keyid to crypto state to specify the max h/w key index a
  driver will return; this is used to allocate the key index mapping
  table and to bounds check table loookups
o while here introduce ieee80211_keyix (finally) for the type of a h/w
  key index
o change crypto notifiers for rx failures to pass the rx key index up
  as appropriate (michael failure, replay, etc.)

Node table changes:
o optionally allocate a h/w key index to node mapping table for the
  station table using the max key index setting supplied by drivers
  (note the scan table does not get a map)
o defer node table allocation to lateattach so the driver has a chance
  to set the max key id to size the key index map
o while here also defer the aid bitmap allocation
o add new ieee80211_find_rxnode_withkey api to find a sta/node entry
  on frame receive with an optional h/w key index to use in checking
  mapping table; also updates the map if it does a hash lookup and the
  found node has a rx key index set in the unicast key; note this work
  is separated from the old ieee80211_find_rxnode call so drivers do
  not need to be aware of the new mechanism
o move some node table manipulation under the node table lock to close
  a race on node delete
o add ieee80211_node_delucastkey to do the dirty work of deleting
  unicast key state for a node (deletes any key and handles key map
  references)

Ath driver:
o nuke private sc_keyixmap mechansim in favor of net80211 support
o update key alloc api

These changes close several race conditions for the ath driver operating
in ap mode.  Other drivers should see no change.  Station mode operation
for ath no longer uses the key index map but performance tests show no
noticeable change and this will be fixed when the scan table is eliminated
with the new scanning support.

Tested by:	Michal Mertl, avatar, others
Reviewed by:	avatar, others
MFC after:	2 weeks

2005-08-08 06:49  sam

use ieee80211_iterate_nodes to retrieve station data; the previous
code walked the list w/o locking

MFC after:	1 week

2005-08-08 04:30  sam

Cleanup beacon/listen interval handling:
o separate configured beacon interval from listen interval; this
  avoids potential use of one value for the other (e.g. setting
  powersavesleep to 0 clobbers the beacon interval used in hostap
  or ibss mode)
o bounds check the beacon interval received in probe response and
  beacon frames and drop frames with bogus settings; not clear
  if we should instead clamp the value as any alteration would
  result in mismatched sta+ap configuration and probably be more
  confusing (don't want to log to the console but perhaps ok with
  rate limiting)
o while here up max beacon interval to reflect WiFi standard

Noticed by:	Martin <nakal@nurfuerspam.de>
MFC after:	1 week

2005-08-06 05:57  sam

fix debug msg typo

MFC after:	3 days

2005-08-06 05:56  sam

Fix handling of frames sent prior to a station being authorized
when operating in ap mode.  Previously we allocated a node from the
station table, sent the frame (using the node), then released the
reference that "held the frame in the table".  But while the frame
was in flight the node might be reclaimed which could lead to
problems.  The solution is to add an ieee80211_tmp_node routine
that crafts a node that does exist in a table and so isn't ever
reclaimed; it exists only so long as the associated frame is in flight.

MFC after:	5 days

2005-07-31 07:12  sam

close a race between reclaiming a node when a station is inactive
and sending the null data frame used to probe inactive stations

MFC after:	5 days

2005-07-27 05:41  sam

when bridging internally bypass the bss node as traffic to it
must follow the normal input path

Submitted by:	Michal Mertl
MFC after:	5 days

2005-07-27 03:53  sam

bandaid ni_fails handling so ap's with association failures are
reconsidered after a bit; a proper fix involves more changes to
the scanning infrastructure

Reviewed by:	avatar, David Young
MFC after:	5 days

2005-07-23 01:16  sam

the AREF flag is only meaningful in ap mode; adhoc neighbors now
are timed out of the sta/neighbor table

2005-07-23 00:25  sam

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 22:11  sam

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:48  sam

split 802.11 frame xmit setup code into ieee80211_send_setup

MFC after:	3 days

2005-07-22 18:57  sam

simplify ic_newassoc callback

MFC after:	3 days

2005-07-22 18:54  sam

simplify ieee80211_ibss_merge api

MFC after:	3 days

2005-07-22 18:50  sam

add stats we know we'll need soon and some spare fields for future expansion

MFC after:	3 days

2005-07-22 18:45  sam

simplify tim callback api

MFC after:	3 days

2005-07-22 18:42  sam

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 18:36  sam

simplify ieee80211_node_authorize and ieee80211_node_unauthorize api's

MFC after:	3 days

2005-07-22 18:31  sam

simplifiy ieee80211_send_nulldata api

MFC after:	3 days

2005-07-22 18:29  sam

simplify rate set api's by removing ic parameter (implicit in node reference)

MFC after:	3 days

2005-07-22 18:21  sam

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 18:16  sam

missed one in last commit; add device name to discard msgs

2005-07-22 18:13  sam

include device name in discard msgs

2005-07-22 18:12  sam

add diag msgs for frames discarded because the direction field is wrong

2005-07-22 18:08  sam

split data frame delivery out to a new function ieee80211_deliver_data

2005-07-22 18:00  sam

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:55  sam

o add IEEE80211_FRAG_DEFAULT
o move default settings for RTS and frag thresholds to ieee80211_var.h

2005-07-22 17:50  sam

diff reduction against p4: define IEEE80211_FIXED_RATE_NONE and use
it instead of -1

2005-07-22 17:37  sam

add flags missed in last merge

2005-07-22 17:36  sam

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 06:17  sam

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 06:15  sam

remove excess whitespace

2005-07-22 05:55  sam

use IF_HANDOFF when bridging frames internally so if_start gets
called; fixes communication between associated sta's

MFC after:	3 days

2005-07-11 04:06  sam

Handle encrypt of arbitarily fragmented mbuf chains: previously
we bailed if we couldn't collect the 16-bytes of data required
for an aes block cipher in 2 mbufs; now we deal with it.  While
here make space accounting signed so a sanity check does the
right thing for malformed mbuf chains.

Approved by:	re (scottl)

2005-07-11 04:00  sam

nuke assert that duplicates real check

Reviewed by:	avatar
Approved by:	re (scottl)

Revision 1.1.1.6 / (download) - annotate - [select for diffs] (vendor branch), Fri Nov 18 16:20:42 2005 UTC (18 years, 5 months ago) by skrll
Branch: FreeBSD
CVS Tags: net80211-1-nov-2005
Changes since 1.1.1.5: +511 -122 lines
Diff to previous 1.1.1.5 (colored)

Import FreeBSD's net80211(9) of 1-nov-2005

Revision 1.32.2.9 / (download) - annotate - [select for diffs], Thu Nov 10 14:10:51 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.32.2.8: +1508 -463 lines
Diff to previous 1.32.2.8 (colored)

Sync with HEAD. Here we go again...

Revision 1.44 / (download) - annotate - [select for diffs], Sun Sep 25 00:03:06 2005 UTC (18 years, 6 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-readahead
Changes since 1.43: +7 -11 lines
Diff to previous 1.43 (colored)

Reduce diffs from FreeBSD: remove a gratuitous temporary variable.
Also, remove redundant code that honors the "desired BSSID"
(ic_des_bssid), since FreeBSD already does that.

Revision 1.43 / (download) - annotate - [select for diffs], Tue Jul 26 23:07:53 2005 UTC (18 years, 8 months ago) by dyoung
Branch: MAIN
Changes since 1.42: +5 -2 lines
Diff to previous 1.42 (colored)

In ieee80211_refine_node_for_beacon, deal gracefully with a node
that belongs to no table: don't dereference the null ni_table
pointer and panic.

Revision 1.42 / (download) - annotate - [select for diffs], Tue Jul 26 22:52:48 2005 UTC (18 years, 8 months ago) by dyoung
Branch: MAIN
Changes since 1.41: +55 -15 lines
Diff to previous 1.41 (colored)

Resolve conflicts.

Revision 1.1.1.5 / (download) - annotate - [select for diffs] (vendor branch), Tue Jul 26 21:49:03 2005 UTC (18 years, 8 months ago) by dyoung
Branch: FreeBSD
CVS Tags: net80211-2005-07-11
Changes since 1.1.1.4: +55 -15 lines
Diff to previous 1.1.1.4 (colored)

Import FreeBSD's net80211(9) of 2005-07-11

Revision 1.41 / (download) - annotate - [select for diffs], Tue Jul 5 19:56:04 2005 UTC (18 years, 9 months ago) by dyoung
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.40: +2 -4 lines
Diff to previous 1.40 (colored)

In ieee80211_refine_node_for_beacon, do not decrease the reference
count on the node that is passed in, because it belongs to the
driver.  Also, do not increase the reference count on the refined
node, because ieee80211_refine_node_for_beacon's caller (ieee80211_input)
will never decrease the reference count.

As a general rule, reference counts are used for driver code to
assert ownership of ieee80211_nodes that are shared by the driver
and net80211 layer.

Revision 1.40 / (download) - annotate - [select for diffs], Sun Jun 26 04:31:51 2005 UTC (18 years, 9 months ago) by dyoung
Branch: MAIN
Changes since 1.39: +6 -2 lines
Diff to previous 1.39 (colored)

Do not build AP support if 'options IEEE80211_NO_HOSTAP'.  I will
use this in the INSTALL kernel to save some space.

Revision 1.39 / (download) - annotate - [select for diffs], Wed Jun 22 06:16:02 2005 UTC (18 years, 9 months ago) by dyoung
Branch: MAIN
Changes since 1.38: +1467 -463 lines
Diff to previous 1.38 (colored)

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.

Revision 1.1.1.4 / (download) - annotate - [select for diffs] (vendor branch), Tue Jun 21 20:37:43 2005 UTC (18 years, 9 months ago) by dyoung
Branch: FreeBSD
CVS Tags: net80211-2005-05-18
Changes since 1.1.1.3: +1502 -298 lines
Diff to previous 1.1.1.3 (colored)

Import FreeBSD's net80211(9) of 2005-05-18

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:32 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.37: +12 -12 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

sync with -current

Revision 1.37.4.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:36:35 2005 UTC (19 years, 1 month ago) by yamt
Branch: yamt-km
Changes since 1.37: +12 -12 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.32.2.8 / (download) - annotate - [select for diffs], Fri Mar 4 16:53:17 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.32.2.7: +12 -12 lines
Diff to previous 1.32.2.7 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.38 / (download) - annotate - [select for diffs], Sat Feb 26 22:45:09 2005 UTC (19 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base
Changes since 1.37: +12 -12 lines
Diff to previous 1.37 (colored)

nuke trailing whitespace

Revision 1.32.2.7 / (download) - annotate - [select for diffs], Mon Jan 17 19:32:38 2005 UTC (19 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.32.2.6: +4 -4 lines
Diff to previous 1.32.2.6 (colored)

Sync with HEAD.

Revision 1.37 / (download) - annotate - [select for diffs], Tue Jan 4 00:56:52 2005 UTC (19 years, 3 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge
Branch point for: yamt-km, kent-audio2
Changes since 1.36: +4 -4 lines
Diff to previous 1.36 (colored)

IBSS-merge clean-up, inspired by some Linux patches from Jon Anderson
(mail@janderson.ca): remove ieee80211_ibss_merge's TSFT argument.
Do the TSFT comparison in the drivers (ath, atw).  Remove a lot of
extraneous debug statements from ieee80211_ibss_merge.

Set the ieee80211_node's state to IEEE80211_STA_BSS after it's been
copied to the ic_bss, not before.

In struct ieee80211_node, make the ni_tstamp field a union of a
uint64_t and the 8 TSF octets so that it's easier to compare a
neighbor's TSF with the local TSF.

Log IBSS merges (Greg Troxel's suggestion).  Also log IBSS creation.
These are rare and important events that deserve to be logged.

Revision 1.32.2.6 / (download) - annotate - [select for diffs], Tue Oct 19 15:58:11 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.32.2.5: +17 -15 lines
Diff to previous 1.32.2.5 (colored)

Sync with HEAD

Revision 1.36 / (download) - annotate - [select for diffs], Mon Oct 4 07:35:48 2004 UTC (19 years, 6 months ago) by dyoung
Branch: MAIN
CVS Tags: kent-audio1-base, kent-audio1
Changes since 1.35: +7 -5 lines
Diff to previous 1.35 (colored)

Drivers are not expected to call ieee80211_find_node_for_beacon,
so don't increase the reference count on a node before returning
it.

Revision 1.35 / (download) - annotate - [select for diffs], Mon Oct 4 07:17:41 2004 UTC (19 years, 6 months ago) by dyoung
Branch: MAIN
Changes since 1.34: +12 -12 lines
Diff to previous 1.34 (colored)

Bug fix: in ieee80211_find_txnode, we used to call ieee80211_ref_node(ni)
if ni == NULL and the operating mode was not "ad hoc" or "ad hoc
demo."  That crashed the kernel.  Now, if the operating mode is
not "ad hoc (demo)," and ni == NULL, return NULL right away.

Also, if ieee80211_dup_bss returns NULL, return NULL right away.
This doesn't fix a bug, but it makes clear how this works.

Revision 1.32.2.5 / (download) - annotate - [select for diffs], Tue Sep 21 13:36:55 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.32.2.4: +2 -2 lines
Diff to previous 1.32.2.4 (colored)

Fix the sync with head I botched.

Revision 1.32.2.4 / (download) - annotate - [select for diffs], Sat Sep 18 14:54:39 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.32.2.3: +2 -2 lines
Diff to previous 1.32.2.3 (colored)

Sync with HEAD.

Revision 1.32.2.3 / (download) - annotate - [select for diffs], Thu Aug 12 11:42:20 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.32.2.2: +103 -85 lines
Diff to previous 1.32.2.2 (colored)

Sync with HEAD.

Revision 1.34 / (download) - annotate - [select for diffs], Tue Aug 10 21:58:31 2004 UTC (19 years, 8 months ago) by dyoung
Branch: MAIN
Changes since 1.33: +2 -3 lines
Diff to previous 1.33 (colored)

Cosmetic: remove extraneous blank line.

Revision 1.33 / (download) - annotate - [select for diffs], Tue Aug 10 00:57:21 2004 UTC (19 years, 8 months ago) by dyoung
Branch: MAIN
Changes since 1.32: +103 -84 lines
Diff to previous 1.32 (colored)

Make the node table into an LRU cache: least-recently used nodes
are at the end of the node queue.  Change the reference-counting
discipline: ni->ni_refcnt indicates how many times net80211 has
granted ni to the driver.  Every node in the table with ni_refcnt=0
is eligible to be garbage-collected.  The mere presence of a node
in the table does not any longer indicate its auth/assoc state;
nodes have a ni_state variable, now.  A sysctl,
net.link.ieee80211.maxnodecache, controls the maximum LRU cache
size.

While I am here, patch ieee80211_find_node_for_beacon to do a "best
match" by bssid/ssid/channel, not a "perfect match."  This keeps
net80211 from caching duplicate nodes in the table.

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 16:54:45 2004 UTC (19 years, 8 months ago) by jmc
Branch: netbsd-2-0
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2
Changes since 1.10: +30 -3 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Pullup patch (requested by he in ticket #729)

Fix a problem with APs advertising multiple SSIDs by
allocating multiple nodes for the same AP when the announced
SSID differs.  Fixes PR#26377.

Revision 1.32.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:54:21 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.32.2.1: +959 -0 lines
Diff to previous 1.32.2.1 (colored)

Sync with HEAD

Revision 1.32.2.1, Thu Jul 29 23:17:29 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.32: +0 -959 lines
FILE REMOVED

file ieee80211_node.c was added on branch ktrace-lwp on 2004-08-03 10:54:21 +0000

Revision 1.32 / (download) - annotate - [select for diffs], Thu Jul 29 23:17:29 2004 UTC (19 years, 8 months ago) by mycroft
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.31: +4 -4 lines
Diff to previous 1.31 (colored)

Whoops, rearrange the function so the TAILQ_EMPTY() DTRT.

Revision 1.31 / (download) - annotate - [select for diffs], Thu Jul 29 22:59:19 2004 UTC (19 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.30: +4 -3 lines
Diff to previous 1.30 (colored)

Don't reset the inactivity timer every time we create a node -- this could
cause us to stall and never time out anything.

Revision 1.30 / (download) - annotate - [select for diffs], Thu Jul 29 22:28:05 2004 UTC (19 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.29: +7 -5 lines
Diff to previous 1.29 (colored)

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.)

Revision 1.29 / (download) - annotate - [select for diffs], Wed Jul 28 08:11:03 2004 UTC (19 years, 8 months ago) by dyoung
Branch: MAIN
Changes since 1.28: +17 -7 lines
Diff to previous 1.28 (colored)

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.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Jul 26 16:31:47 2004 UTC (19 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.27: +3 -10 lines
Diff to previous 1.27 (colored)

The adhoc mode changes are seriously broken.  In host-AP mode, at least, we
must use a full node for received management frames, or we are unable to
complete association and talk to the client.  I could add an
"if mode == HOSTAP" to fix this, but instead I am reverting the change and
remanding it to the person who broke it.

Revision 1.27 / (download) - annotate - [select for diffs], Sun Jul 25 05:21:36 2004 UTC (19 years, 8 months ago) by dyoung
Branch: MAIN
Changes since 1.26: +9 -6 lines
Diff to previous 1.26 (colored)

Call ieee80211_free_node, not ieee80211_node_leave, on timed-out
IBSS nodes.  Do not send an EXPIRE-type DEAUTH message when IBSS
nodes time-out.  This ends the panic that rev 1.25 fixed, but
without a dual-use ieee80211_node_leave.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Jul 25 05:08:33 2004 UTC (19 years, 8 months ago) by dyoung
Branch: MAIN
Changes since 1.25: +5 -2 lines
Diff to previous 1.25 (colored)

Undo last: Sam Leffler has shown me a better way to avoid ad hoc
lossage.

Revision 1.25 / (download) - annotate - [select for diffs], Sat Jul 24 04:44:51 2004 UTC (19 years, 8 months ago) by dyoung
Branch: MAIN
Changes since 1.24: +4 -7 lines
Diff to previous 1.24 (colored)

ieee80211_node_leave runs in all modes, not just hostap mode, so
it must not IASSERT that it is in hostap mode.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Jul 24 04:07:01 2004 UTC (19 years, 8 months ago) by dyoung
Branch: MAIN
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

NetBSD does not define ieee80211_node_refcnt().  Use ni->ni_refcnt,
instead.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Jul 23 10:15:13 2004 UTC (19 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.22: +48 -60 lines
Diff to previous 1.22 (colored)

Cleanup of ieee80211_node from madwifi:
* Don't use ifp pointers; use ieee80211com.
* Implement the locking macros that are used under FreeBSD and Linux.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Jul 23 09:22:15 2004 UTC (19 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.21: +104 -9 lines
Diff to previous 1.21 (colored)

Changes from madwifi:
Abstract some of the node management code into separate functions, and use them
throughout, plugging memory leaks.
Allocate the AID allocation map dynamically.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Jul 23 08:31:39 2004 UTC (19 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored)

IEEE80211_F_WEPON -> IEEE80211_F_PRIVACY

Revision 1.20 / (download) - annotate - [select for diffs], Fri Jul 23 08:25:25 2004 UTC (19 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.19: +7 -11 lines
Diff to previous 1.19 (colored)

Yet more DPRINTF() cleanup.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Jul 23 06:57:33 2004 UTC (19 years, 8 months ago) by dyoung
Branch: MAIN
Changes since 1.18: +15 -10 lines
Diff to previous 1.18 (colored)

Fix ieee80211_needs_rxnode so that net80211 does something akin to
a passive scan for APs and IBSSs, always, but without visiting new
channels.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Jul 23 06:44:55 2004 UTC (19 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.17: +13 -10 lines
Diff to previous 1.17 (colored)

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.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Jul 23 05:54:02 2004 UTC (19 years, 8 months ago) by dyoung
Branch: MAIN
Changes since 1.16: +8 -10 lines
Diff to previous 1.16 (colored)

Don't be so repetitive repetitive in the ieee80211_needs_rxnode
synopsis.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Jul 23 05:19:41 2004 UTC (19 years, 8 months ago) by dyoung
Branch: MAIN
Changes since 1.15: +8 -4 lines
Diff to previous 1.15 (colored)

Bug fix: in ad hoc mode, the principle of least surprise demands
that we create the network with the BSSID preferred by the operator.

[Say the operator set the desired BSSID with 'ifconfig atw0 bssid
02:25:25:75:75:75'.  If no such network is found during scanning,
then create the network with that BSSID.]

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jul 2 23:54:08 2004 UTC (19 years, 9 months ago) by dyoung
Branch: MAIN
Changes since 1.14: +23 -22 lines
Diff to previous 1.14 (colored)

Remove a few levels of indentation in ieee80211_find_rxnode by
return'ing early.

Revision 1.14 / (download) - annotate - [select for diffs], Sun May 9 09:18:47 2004 UTC (19 years, 11 months ago) by dyoung
Branch: MAIN
Changes since 1.13: +9 -2 lines
Diff to previous 1.13 (colored)

In ieee80211_find_rxnode, when we "fake up" a node for an ad hoc
peer, we have to copy the "master" rate table to the faked-up node's
rate table, or else ath0 will complain, "ath0: bogus xmit rate
0x0".  Thank you Konstantin KABASSANOV for reporting this problem.

Revision 1.13 / (download) - annotate - [select for diffs], Thu May 6 03:07:10 2004 UTC (19 years, 11 months ago) by dyoung
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

Add a sysctl, net.ieee80211.debug, for turning debug messages on
and off.

Add a sysctl, net.ieee80211.maxinact, for adjusting the node time-out
interval.  After net.ieee80211.maxinact seconds of inactivity, an
AP will purge a peer/client-record.  Now the client has to reassociate.

Revision 1.12 / (download) - annotate - [select for diffs], Sat May 1 01:49:03 2004 UTC (19 years, 11 months ago) by dyoung
Branch: MAIN
Changes since 1.11: +3 -4 lines
Diff to previous 1.11 (colored)

Doh.  Make it compile w/o IEEE80211_DEBUG.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Apr 30 23:58:14 2004 UTC (19 years, 11 months ago) by dyoung
Branch: MAIN
Changes since 1.10: +88 -40 lines
Diff to previous 1.10 (colored)

From FreeBSD.  Handle ad hoc-mode nodes better.
Use FREE/MALLOC instead of free/malloc.  Add back _ieee80211_find_node,
the helper for ieee80211_find_node.

Revision 1.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Thu Apr 29 03:54:39 2004 UTC (19 years, 11 months ago) by dyoung
Branch: FreeBSD
CVS Tags: net80211-28-apr-2004
Changes since 1.1.1.2: +158 -70 lines
Diff to previous 1.1.1.2 (colored)

Import FreeBSD's net80211 of 28-apr-2004

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jan 13 23:37:30 2004 UTC (20 years, 3 months ago) by dyoung
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.9: +6 -6 lines
Diff to previous 1.9 (colored)

NetBSD's KASSERT takes just one argument while FreeBSD's takes two,
so I have added IASSERT(cond, complaint) to the compatibility header
file and s/KASSERT/IASSERT/'d.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Dec 14 09:56:53 2003 UTC (20 years, 4 months ago) by dyoung
Branch: MAIN
Changes since 1.8: +49 -14 lines
Diff to previous 1.8 (colored)

Synchronize with FreeBSD sources from 12 Dec 2003.

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Sat Dec 13 08:36:06 2003 UTC (20 years, 4 months ago) by dyoung
Branch: FreeBSD
CVS Tags: net80211-12-dec-2003
Changes since 1.1.1.1: +62 -28 lines
Diff to previous 1.1.1.1 (colored)

Import FreeBSD's net80211 of 12 Dec 2003

Revision 1.8 / (download) - annotate - [select for diffs], Sun Nov 2 01:29:05 2003 UTC (20 years, 5 months ago) by dyoung
Branch: MAIN
Changes since 1.7: +17 -19 lines
Diff to previous 1.7 (colored)

Cosmetic: get rid of an indent level in ieee80211_find_txnode by
changing an if () ... else to an if () return.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Oct 29 21:50:57 2003 UTC (20 years, 5 months ago) by dyoung
Branch: MAIN
Changes since 1.6: +139 -2 lines
Diff to previous 1.6 (colored)

Add ieee80211_find_rxnode and its helper ieee80211_needs_rxnode.
802.11 drivers will use ieee80211_find_rxnode to match each received
packet with the ieee80211_node belonging to the sender. The driver
will use the ieee80211_node to track the sender's RSSI and other
statistics for, e.g., rate adaptation.

ieee80211_find_rxnode "fakes-up" missing ieee80211_nodes in IBSS
mode and in ad-hoc demo mode when it is appropriate. See the comments
in the source.

Also add ieee80211_find_txnode, which looks up the ieee80211_node
belonging to a MAC destination. ieee80211_find_txnode will also
fake-up missing nodes in IBSS/ad-hoc demo mode.

In ieee80211_encap, use ieee80211_find_txnode.  This fixes the bug
in ad hoc packet-transmission reported by Greg Troxel, Urban Boquist,
and Kurt Schreiner.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Oct 15 11:43:51 2003 UTC (20 years, 6 months ago) by dyoung
Branch: MAIN
Changes since 1.5: +7 -2 lines
Diff to previous 1.5 (colored)

Add WEP shared-key authentication.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Oct 13 04:20:23 2003 UTC (20 years, 6 months ago) by dyoung
Branch: MAIN
Changes since 1.4: +90 -57 lines
Diff to previous 1.4 (colored)

More changes to the new 802.11 layer:

* Add Kevin Lahey's power-saving support from the old 802.11 layer

* Add my stop-gap rate-selection routine, ieee80211_get_rate,
  from the old 802.11 layer

* Also from the old 802.11 layer: factor ieee80211_match_bss out
  of ieee80211_end_scan, since atw(4) uses it for IBSS merges.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Sep 23 15:59:09 2003 UTC (20 years, 6 months ago) by dyoung
Branch: MAIN
Changes since 1.3: +11 -2 lines
Diff to previous 1.3 (colored)

Make ieee80211_unref_node compile.

#ifdef __FreeBSD__ a lot of lines, and put the NetBSDisms into the #else
half.

Add ieee80211_node_{dec,inc}ref to ieee80211_node.h.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Sep 14 01:14:55 2003 UTC (20 years, 7 months ago) by dyoung
Branch: MAIN
Changes since 1.2: +5 -0 lines
Diff to previous 1.2 (colored)

Insert RCSIDs.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Sep 7 01:22:21 2003 UTC (20 years, 7 months ago) by dyoung
Branch: MAIN
Changes since 1.1: +33 -19 lines
Diff to previous 1.1 (colored)

First stab at producing a unified NetBSD/FreeBSD 802.11 layer,
striving to keep the diffs short and simple.

  * Replace FreeBSDisms (e.g. struct arpcom) with conditionally-compiled
    NetBSDism (struct ethercom).

  * Add compatibility shims in ieee80211_compat.*: provide NetBSD with
    if_printf, for example.

  * Convert FreeBSD node mutex uses to generic node critical-section
    protection (ieee80211_node_critsect_begin, _end), replace
    FreeBSD atomic arithmetic with generic alternative, and implement
    generics in NetBSD

  * Provide NetBSD-style 802.11 ioctls

  * Style nits

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sat Aug 30 21:26:04 2003 UTC (20 years, 7 months ago) by dyoung
Branch: FreeBSD
CVS Tags: net80211-6-sep-2003, net80211-29-aug-2003
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Pull in net80211/ from FreeBSD. This contains Sam Leffler's
enhancements to the 802.11 layer, which are necessary for ath(4),
the Atheros-chipset driver.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Aug 30 21:26:04 2003 UTC (20 years, 7 months ago) by dyoung
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>