CVS log for src/sys/net80211/ieee80211_netbsd.c
Up to [cvs.NetBSD.org] / src / sys / net80211
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.31.2.10: download - view: text, markup, annotated - select for diffs
Thu Apr 16 15:30:00 2020 UTC (4 years, 7 months ago) by nat
Branches: phil-wifi
Diff to: previous 1.31.2.9: preferred, colored; branchpoint 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31.2.9: +27 -13
lines
Use if_stat functions.
Revision 1.31.2.9: download - view: text, markup, annotated - select for diffs
Tue Nov 19 19:17:16 2019 UTC (5 years ago) by phil
Branches: phil-wifi
Diff to: previous 1.31.2.8: preferred, colored; branchpoint 1.31: preferred, colored
Changes since revision 1.31.2.8: +3 -3
lines
Fix an ifdef
Revision 1.31.2.8: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:09:46 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.31.2.7: preferred, colored; branchpoint 1.31: preferred, colored
Changes since revision 1.31.2.7: +18 -36
lines
Sync with HEAD
Revision 1.30.2.3: download - view: text, markup, annotated - select for diffs
Wed Dec 26 14:02:05 2018 UTC (5 years, 11 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.30.2.2: preferred, colored; branchpoint 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.2.2: +3 -24
lines
Sync with HEAD, resolve a few conflicts
Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat Dec 22 14:28:56 2018 UTC (5 years, 11 months ago) by maxv
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
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-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
thorpej-altq-separation-base,
thorpej-altq-separation,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-9-base,
netbsd-9-4-RELEASE,
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,
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,
isaki-audio2-base,
isaki-audio2,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache,
HEAD
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -3
lines
Replace M_ALIGN and MH_ALIGN by m_align.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat Dec 22 13:55:56 2018 UTC (5 years, 11 months ago) by maxv
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -23
lines
Move m_align() back into the kernel, and switch M_ALIGN and MH_ALIGN to it.
Forcing a distinction between M_ALIGN and MH_ALIGN is too bug-friendly and
serves no particular purpose.
Revision 1.30.2.2: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:56:44 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.30.2.1: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.2.1: +3 -3
lines
Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.32: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:29:36 2018 UTC (6 years, 3 months ago) by riastradh
Branches: MAIN
CVS tags: pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -3
lines
Rename min/max -> uimin/uimax for better honesty.
These functions are defined on unsigned int. The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.
HOWEVER! Some subsystems have
#define min(a, b) ((a) < (b) ? (a) : (b))
#define max(a, b) ((a) > (b) ? (a) : (b))
even though our standard name for that is MIN/MAX. Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.
To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.
I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:
cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))
It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.
Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate. But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all. (Who knows, maybe in some cases integer
truncation is actually intended!)
Revision 1.31.2.7: download - view: text, markup, annotated - select for diffs
Wed Aug 15 17:07:03 2018 UTC (6 years, 3 months ago) by phil
Branches: phil-wifi
Diff to: previous 1.31.2.6: preferred, colored; branchpoint 1.31: preferred, colored
Changes since revision 1.31.2.6: +5 -9
lines
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.31.2.6: download - view: text, markup, annotated - select for diffs
Fri Aug 3 19:47:25 2018 UTC (6 years, 4 months ago) by phil
Branches: phil-wifi
Diff to: previous 1.31.2.5: preferred, colored; branchpoint 1.31: preferred, colored
Changes since revision 1.31.2.5: +65 -16
lines
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.31.2.5: download - view: text, markup, annotated - select for diffs
Sat Jul 28 00:49:43 2018 UTC (6 years, 4 months ago) by phil
Branches: phil-wifi
Diff to: previous 1.31.2.4: preferred, colored; branchpoint 1.31: preferred, colored
Changes since revision 1.31.2.4: +41 -4
lines
End of the week state save:
Got workqueues doing FreeBSD tasks. (still questions on how correct it is.)
Incremental changes in many places.
Still *lots* of debugging code that needs to go away some day.
"ifconfig urtwn0 up" now does not crash, still needs scan to work properly.
Revision 1.31.2.4: download - view: text, markup, annotated - select for diffs
Fri Jul 20 20:33:05 2018 UTC (6 years, 4 months ago) by phil
Branches: phil-wifi
Diff to: previous 1.31.2.3: preferred, colored; branchpoint 1.31: preferred, colored
Changes since revision 1.31.2.3: +120 -9
lines
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.
Revision 1.31.2.3: download - view: text, markup, annotated - select for diffs
Mon Jul 16 20:11:11 2018 UTC (6 years, 4 months ago) by phil
Branches: phil-wifi
Diff to: previous 1.31.2.2: preferred, colored; branchpoint 1.31: preferred, colored
Changes since revision 1.31.2.2: +16 -21
lines
State save.
urtwn now can attach and shows up in the "ifconfig -a" list.
Revision 1.31.2.2: download - view: text, markup, annotated - select for diffs
Thu Jul 12 16:35:34 2018 UTC (6 years, 5 months ago) by phil
Branches: phil-wifi
Diff to: previous 1.31.2.1: preferred, colored; branchpoint 1.31: preferred, colored
Changes since revision 1.31.2.1: +311 -34
lines
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.31.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 28 21:03:07 2018 UTC (6 years, 5 months ago) by phil
Branches: phil-wifi
CVS tags: phil-wifi-freebsd-base
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +764 -542
lines
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.30.2.1: download - view: text, markup, annotated - select for diffs
Wed May 2 07:20:23 2018 UTC (6 years, 7 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +73 -2
lines
Synch with HEAD
Revision 1.31: download - view: text, markup, annotated - select for diffs
Fri Apr 27 06:56:21 2018 UTC (6 years, 7 months ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502
Branch point for: phil-wifi
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +73 -2
lines
Move m_align and m_append into iee80211_netbsd.c. They are part of
net80211, and shouldn't be used outside.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Thu Jan 18 17:57:49 2018 UTC (6 years, 10 months ago) by maxv
Branches: MAIN
CVS tags: pgoyette-compat-base,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315
Branch point for: pgoyette-compat
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +34 -25
lines
Style, and zero out 'ns' entirely, otherwise some bytes get leaked to
userland (eg ns_rsvd0).
Revision 1.21.2.4: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:39:03 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.21.2.3: preferred, colored; branchpoint 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21.2.3: +5 -5
lines
update from HEAD
Revision 1.27.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:50 2017 UTC (7 years, 8 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.27.2.1: preferred, colored; branchpoint 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27.2.1: +3 -3
lines
Sync with HEAD
Revision 1.26.4.3: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:58 2017 UTC (7 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.26.4.2: preferred, colored; branchpoint 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26.4.2: +3 -3
lines
Sync with HEAD
Revision 1.29: download - view: text, markup, annotated - select for diffs
Sat Jan 14 16:34:44 2017 UTC (7 years, 10 months ago) by maya
Branches: 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,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
netbsd-8-base,
netbsd-8-3-RELEASE,
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
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -3
lines
appease coverity by using strlcpy instead of strncpy
ok riastradh
Revision 1.27.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 4 14:49:21 2016 UTC (8 years, 1 month ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +4 -4
lines
Sync with HEAD
Revision 1.26.4.2: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:56:08 2016 UTC (8 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.26.4.1: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.4.1: +7 -7
lines
Sync with HEAD
Revision 1.28: download - view: text, markup, annotated - select for diffs
Tue Sep 27 20:20:06 2016 UTC (8 years, 2 months ago) by christos
Branches: MAIN
CVS tags: pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +4 -4
lines
- 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.26.4.1: download - view: text, markup, annotated - select for diffs
Sun May 29 08:44:38 2016 UTC (8 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +4 -4
lines
Sync with HEAD
Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon May 16 09:53:59 2016 UTC (8 years, 6 months ago) by ozaki-r
Branches: MAIN
CVS tags: pgoyette-localcount-base,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +4 -4
lines
Use M_GETCTX and M_SETCTX instead of open-coding rcvif
No functional change.
Revision 1.21.2.3: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:04:35 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.21.2.2: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.2.2: +15 -77
lines
Rebase to HEAD as of a few days ago.
Revision 1.25.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:56:18 2014 UTC (10 years, 4 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +14 -6
lines
Rebase.
Revision 1.19.2.4: download - view: text, markup, annotated - select for diffs
Thu May 22 11:41:09 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.19.2.3: preferred, colored; branchpoint 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.2.3: +20 -82
lines
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.24.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:46:13 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +15 -12
lines
sync with head
Revision 1.26: download - view: text, markup, annotated - select for diffs
Mon Apr 7 00:07:40 2014 UTC (10 years, 8 months ago) by pooka
Branches: MAIN
CVS tags: yamt-pagecache-base9,
tls-maxphys-base,
tls-earlyentropy-base,
rmind-smpnet-nbase,
rmind-smpnet-base,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
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
Branch point for: nick-nhusb
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +14 -6
lines
Use module-compatible sysctl init instead of link sets.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Feb 25 18:30:12 2014 UTC (10 years, 9 months ago) by pooka
Branches: MAIN
CVS tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3
Branch point for: tls-earlyentropy
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -8
lines
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.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Jun 27 17:47:18 2013 UTC (11 years, 5 months ago) by christos
Branches: MAIN
CVS tags: riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2
Branch point for: rmind-smpnet
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -67
lines
- add m_add() that puts an mbuf to end of a chain
- m_append() and m_align() with their family
- remove parameters from prototypes
Revision 1.21.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:30:04 2013 UTC (11 years, 9 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.21.2.1: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.2.1: +7 -7
lines
resync with head
Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Feb 4 15:44:45 2013 UTC (11 years, 10 months ago) by christos
Branches: MAIN
CVS tags: khorben-n900,
agc-symver-base,
agc-symver
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +7 -7
lines
don't print the interface name 2ice.
Revision 1.19.2.3: download - view: text, markup, annotated - select for diffs
Wed Jan 16 05:33:49 2013 UTC (11 years, 10 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.19.2.2: preferred, colored; branchpoint 1.19: preferred, colored
Changes since revision 1.19.2.2: +6 -2
lines
sync with (a bit old) head
Revision 1.21.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:02:47 2012 UTC (12 years ago) by tls
Branches: tls-maxphys
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +6 -2
lines
Resync to 2012-11-19 00:00:00 UTC
Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Nov 14 18:34:05 2012 UTC (12 years ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base8,
yamt-pagecache-base7
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +6 -2
lines
Set max_linkhdr when attaching so when bridging/forwarding ethernet drivers
have a chance to reserve enough space to insert a max-sized 802.11 header.
Revision 1.19.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:22:45 2012 UTC (12 years, 1 month ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.19.2.1: preferred, colored; branchpoint 1.19: preferred, colored
Changes since revision 1.19.2.1: +3 -3
lines
sync with head
Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Jun 2 21:36:47 2012 UTC (12 years, 6 months ago) by dsl
Branches: MAIN
CVS tags: yamt-pagecache-base6
Branch point for: tls-maxphys
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -3
lines
Add some pre-processor magic to verify that the type of the data item
passed to sysctl_createv() actually matches the declared type for
the item itself.
In the places where the caller specifies a function and a structure
address (typically the 'softc') an explicit (void *) cast is now needed.
Fixes bugs in sys/dev/acpi/asus_acpi.c sys/dev/bluetooth/bcsp.c
sys/kern/vfs_bio.c sys/miscfs/syncfs/sync_subr.c and setting
AcpiGbl_EnableAmlDebugObject.
(mostly passing the address of a uint64_t when typed as CTLTYPE_INT).
I've test built quite a few kernels, but there may be some unfixed MD
fallout. Most likely passing &char[] to char *.
Also add CTLFLAG_UNSIGNED for unsiged decimals - not set yet.
Revision 1.19.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:08:39 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +5 -10
lines
sync with head
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Nov 19 22:51:25 2011 UTC (13 years ago) by tls
Branches: MAIN
CVS tags: yamt-pagecache-base5,
yamt-pagecache-base4,
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,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
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
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +5 -10
lines
First step of random number subsystem rework described in
<20111022023242.BA26F14A158@mail.netbsd.org>. This change includes
the following:
An initial cleanup and minor reorganization of the entropy pool
code in sys/dev/rnd.c and sys/dev/rndpool.c. Several bugs are
fixed. Some effort is made to accumulate entropy more quickly at
boot time.
A generic interface, "rndsink", is added, for stream generators to
request that they be re-keyed with good quality entropy from the pool
as soon as it is available.
The arc4random()/arc4randbytes() implementation in libkern is
adjusted to use the rndsink interface for rekeying, which helps
address the problem of low-quality keys at boot time.
An implementation of the FIPS 140-2 statistical tests for random
number generator quality is provided (libkern/rngtest.c). This
is based on Greg Rose's implementation from Qualcomm.
A new random stream generator, nist_ctr_drbg, is provided. It is
based on an implementation of the NIST SP800-90 CTR_DRBG by
Henric Jungheim. This generator users AES in a modified counter
mode to generate a backtracking-resistant random stream.
An abstraction layer, "cprng", is provided for in-kernel consumers
of randomness. The arc4random/arc4randbytes API is deprecated for
in-kernel use. It is replaced by "cprng_strong". The current
cprng_fast implementation wraps the existing arc4random
implementation. The current cprng_strong implementation wraps the
new CTR_DRBG implementation. Both interfaces are rekeyed from
the entropy pool automatically at intervals justifiable from best
current cryptographic practice.
In some quick tests, cprng_fast() is about the same speed as
the old arc4randbytes(), and cprng_strong() is about 20% faster
than rnd_extract_data(). Performance is expected to improve.
The AES code in src/crypto/rijndael is no longer an optional
kernel component, as it is required by cprng_strong, which is
not an optional kernel component.
The entropy pool output is subjected to the rngtest tests at
startup time; if it fails, the system will reboot. There is
approximately a 3/10000 chance of a false positive from these
tests. Entropy pool _input_ from hardware random numbers is
subjected to the rngtest tests at attach time, as well as the
FIPS continuous-output test, to detect bad or stuck hardware
RNGs; if any are detected, they are detached, but the system
continues to run.
A problem with rndctl(8) is fixed -- datastructures with
pointers in arrays are no longer passed to userspace (this
was not a security problem, but rather a major issue for
compat32). A new kernel will require a new rndctl.
The sysctl kern.arandom() and kern.urandom() nodes are hooked
up to the new generators, but the /dev/*random pseudodevices
are not, yet.
Manual pages for the new kernel interfaces are forthcoming.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Oct 7 16:51:45 2011 UTC (13 years, 2 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +6 -10
lines
Use atomic_ops(3) to increase/decrease node reference counts, just
like the upstream code did, because the current reference counting is
potentially racy. This works fine in light testing.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Jul 17 20:54:52 2011 UTC (13 years, 4 months ago) by joerg
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -4
lines
Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
Revision 1.16.10.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:14:16 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +3 -3
lines
sync with head.
Revision 1.16.18.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:20:12 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +3 -3
lines
Sync with HEAD.
Revision 1.16.6.1: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:29:32 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +3 -3
lines
Sync with HEAD.
Revision 1.16.16.1: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:15:26 2008 UTC (16 years ago) by haad
Branches: haad-dm
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +3 -3
lines
Update haad-dm branch to haad-dm-base2.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Nov 12 12:36:28 2008 UTC (16 years, 1 month ago) by ad
Branches: MAIN
CVS tags: 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,
mjf-devfs2-base,
matt-premerge-20091211,
matt-mips64-premerge-20101231,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend,
jruoho-x86intr-base,
jruoho-x86intr,
haad-nbase2,
haad-dm-base2,
haad-dm-base,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2,
ad-audiomp2-base,
ad-audiomp2
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3
lines
Remove LKMs and switch to the module framework, pass 1.
Proposed on tech-kern@.
Revision 1.14.16.1: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:05:05 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +27 -5
lines
sync with HEAD
Revision 1.16.4.1: download - view: text, markup, annotated - select for diffs
Fri Feb 22 16:50:25 2008 UTC (16 years, 9 months ago) by skrll
Branches: nick-net80211-sync
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +116 -141
lines
Beginning of a sync with net80211 from FreeBSD. Lots to do.
Sources taken from 2008-02-22.
Revision 1.14.22.1: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:07:07 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +27 -5
lines
Sync with HEAD.
Revision 1.4.2.4: download - view: text, markup, annotated - select for diffs
Mon Feb 4 09:24:38 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.4.2.3: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.3: +6 -5
lines
sync with head.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Jan 31 22:07:22 2008 UTC (16 years, 10 months ago) by christos
Branches: 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-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
nick-net80211-sync-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,
mjf-devfs-base,
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,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
haad-dm-base1,
ad-socklock-base1
Branch point for: yamt-nfs-mp,
nick-net80211-sync,
nick-hppapmap,
mjf-devfs2,
haad-dm
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +6 -5
lines
fix 0 bssid problem on rejoin. From FreeBSD.
Revision 1.4.2.3: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:47:09 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.4.2.2: preferred, colored
Changes since revision 1.4.2.2: +23 -2
lines
sync with head
Revision 1.14.28.1: download - view: text, markup, annotated - select for diffs
Sat Jan 19 12:15:30 2008 UTC (16 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +23 -2
lines
Sync with HEAD
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Jan 13 13:01:12 2008 UTC (16 years, 11 months ago) by degroote
Branches: MAIN
CVS tags: bouyer-xeni386-nbase,
bouyer-xeni386-base
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +23 -2
lines
Fix ieee80211_node leak
We can't use IF_PURGE here because m_pkthdr.rcvif have here a special meaning :
it holds ieee80211_node to which the management frame should be sent and the
node has its reference count bumped.
Introduce ieee80211_drain_ifq which release the node before freeing the mbuf.
Use it instead of IF_PURGE.
From DragonflyBSD
Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:42:29 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.4.2.1: preferred, colored
Changes since revision 1.4.2.1: +8 -7
lines
sync with head.
Revision 1.13.20.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:59:33 2007 UTC (17 years, 9 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +8 -7
lines
Sync with HEAD.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:03:19 2007 UTC (17 years, 9 months ago) by christos
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
yamt-idlelwp-base8,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking2,
vmlocking-nbase,
vmlocking-base,
vmlocking,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
reinoud-bufcleanup,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
mjf-ufs-trans-base,
mjf-ufs-trans,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
matt-armv6-base,
jmcneill-pm-base,
jmcneill-pm,
jmcneill-base,
hpcarm-cleanup,
cube-autoconf-base,
cube-autoconf,
bouyer-xeni386-merge1,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64
Branch point for: mjf-devfs,
matt-armv6,
bouyer-xeni386
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +8 -7
lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.12.2.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:58:25 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +26 -2
lines
sync with head
Revision 1.4.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:10:46 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +75 -33
lines
sync with head.
Revision 1.12.4.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:40:09 2006 UTC (18 years, 7 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +26 -2
lines
Sync with head.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Mar 2 03:38:48 2006 UTC (18 years, 9 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
yamt-splraiseipl-base2,
yamt-splraiseipl-base,
yamt-splraiseipl,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
yamt-pdpolicy,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
simonb-timecounters-base,
rpaulo-netinet-merge-pcb-base,
post-newlock2-merge,
peter-altq-base,
peter-altq,
newlock2-nbase,
newlock2-base,
newlock2,
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,
matt-nb4-arm-base,
matt-nb4-arm,
gdamore-uart-base,
gdamore-uart,
elad-kernelauth-base,
elad-kernelauth,
chap-midi-nbase,
chap-midi-base,
chap-midi,
ad-audiomp-base,
ad-audiomp,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-idlelwp
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +26 -2
lines
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.11.2.1: download - view: text, markup, annotated - select for diffs
Wed Feb 1 14:52:37 2006 UTC (18 years, 10 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +5 -3
lines
sync with head.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Jan 16 21:45:38 2006 UTC (18 years, 10 months ago) by yamt
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5
Branch point for: simonb-timecounters,
rpaulo-netinet-merge-pcb
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +5 -3
lines
- tweak RUN_ONCE api to allow init_func returns an error.
- physio: handle failure of workqueue_create.
Revision 1.7.6.3: download - view: text, markup, annotated - select for diffs
Sun Dec 11 10:29:22 2005 UTC (19 years ago) by christos
Branches: ktrace-lwp
Diff to: previous 1.7.6.2: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.6.2: +51 -35
lines
Sync with head.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Dec 4 19:15:21 2005 UTC (19 years ago) by christos
Branches: MAIN
CVS tags: ktrace-lwp-base
Branch point for: yamt-uio_vmspace
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -24
lines
Merge the 3 copies of m_getcl() so that fast ipsec compiles again together
with net80211. XXX: We don't really have an m_getcl(), we just emulate it.
Revision 1.7.8.2: download - view: text, markup, annotated - select for diffs
Tue Nov 29 21:23:30 2005 UTC (19 years ago) by yamt
Branches: yamt-readahead
Diff to: previous 1.7.8.1: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.8.1: +14 -5
lines
sync with head.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Nov 25 17:33:56 2005 UTC (19 years ago) by thorpej
Branches: MAIN
CVS tags: yamt-readahead-base3
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +14 -5
lines
Use a once control to call initialize the 802.11 layer when
ieee80211_ifattach() is called. "wlan" no longer needs-flag,
and remove the ieee80211_init() call from main().
Revision 1.7.8.1: download - view: text, markup, annotated - select for diffs
Tue Nov 22 16:08:16 2005 UTC (19 years ago) by yamt
Branches: yamt-readahead
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +41 -12
lines
sync with head.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Nov 20 09:39:04 2005 UTC (19 years ago) by dyoung
Branches: MAIN
CVS tags: yamt-readahead-base2
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +17 -7
lines
Mark ieee80211_nodes with their node-table membership: scan table
or client/neighbor table.
While I'm here, assert that ieee80211_getmgtframe returns a frame
that starts on a 32-bit boundary.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Nov 18 16:40:09 2005 UTC (19 years ago) by skrll
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +26 -7
lines
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.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Fri Nov 18 16:20:34 2005 UTC (19 years ago) by skrll
Branches: FreeBSD
CVS tags: net80211-1-nov-2005
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +9 -5
lines
Import FreeBSD's net80211(9) of 1-nov-2005
Revision 1.7.6.2: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:10:51 2005 UTC (19 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.7.6.1: preferred, colored; branchpoint 1.7: preferred, colored
Changes since revision 1.7.6.1: +717 -0
lines
Sync with HEAD. Here we go again...
Revision 1.7.6.1
Sat Sep 24 23:57:12 2005 UTC (19 years, 2 months ago) by skrll
Branches: ktrace-lwp
FILE REMOVED
Changes since revision 1.7: +0 -717
lines
file ieee80211_netbsd.c was added on branch ktrace-lwp on 2005-11-10 14:10:51 +0000
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Sep 24 23:57:12 2005 UTC (19 years, 2 months ago) by dyoung
Branches: 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,
ktrace-lwp
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -4
lines
Reduce gratuitous differences from FreeBSD.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Jul 26 22:52:48 2005 UTC (19 years, 4 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +0 -0
lines
Resolve conflicts.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Jul 10 08:11:40 2005 UTC (19 years, 5 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -2
lines
Bug fix: reset saw_bss when we start iterating over a new interface's
nodes, so that we list every interface's ic_bss node, instead of
listing only the first interface's.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Jul 3 20:44:46 2005 UTC (19 years, 5 months ago) by dyoung
Branches: MAIN
Branch point for: yamt-lazymbuf
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +7 -3
lines
Don't load the ic_bss node into the sysctl result twice, as we
would do in IBSS mode if the ic_bss had not expired from the
scan/neighbor node-table.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Jun 26 04:34:43 2005 UTC (19 years, 5 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +43 -20
lines
Add some debug messages to ieee80211_notify_node_{join,leave}.
Change the way we walk 802.11 peers/clients: for each eligible
interface, walk the ic_sta (peers/clients) table, first; walk the
ic_scan (scan results) table, second; then visit the ic_bss (node
for the network joined/created by the interface).
Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Jun 22 06:16:02 2005 UTC (19 years, 5 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +449 -104
lines
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.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Tue Jun 21 20:37:42 2005 UTC (19 years, 5 months ago) by dyoung
Branches: FreeBSD
CVS tags: net80211-2005-07-11,
net80211-2005-05-18
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0
lines
Import FreeBSD's net80211(9) of 2005-05-18
Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Jun 21 20:37:42 2005 UTC (19 years, 5 months ago) by dyoung
Branches: MAIN
Initial revision
CVSweb <webmaster@jp.NetBSD.org>