CVS log for src/sys/net80211/ieee80211_input.c
Up to [cvs.NetBSD.org] / src / sys / net80211
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.117.4.1.2.1: download - view: text, markup, annotated - select for diffs
Thu Nov 16 05:02:23 2023 UTC (17 months, 1 week ago) by thorpej
Branches: thorpej-ifq
Diff to: previous 1.117.4.1: preferred, colored
Changes since revision 1.117.4.1: +5 -3
lines
Clean up the locking protocol around altq_etherclassify(). It's no longer
required to acquire KERNEL_LOCK *just* because ALTQ is compiled into the
kernel; you only have to acquire it if ALTQ is enabled on the interface
in question.
Revision 1.117.4.1: download - view: text, markup, annotated - select for diffs
Sat Nov 11 13:16:31 2023 UTC (17 months, 1 week ago) by thorpej
Branches: thorpej-altq-separation
CVS tags: thorpej-ifq-base
Branch point for: thorpej-ifq
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +3 -3
lines
Mostly de-tangle ifnet::if_snd from ifaltq, in a way that's minimally-
invasive to the ALTQ code itself.
The point of this is to lay the groundwork for future changes to ifqueue,
which among other benefits, will also hide the ALTQ ABI from drivers.
Revision 1.117: download - view: text, markup, annotated - select for diffs
Sat Nov 19 07:57:51 2022 UTC (2 years, 5 months ago) by yamt
Branches: MAIN
CVS tags: thorpej-altq-separation-base,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
netbsd-10-1-RELEASE,
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,
HEAD
Branch point for: thorpej-altq-separation
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +6 -6
lines
ieee80211_input.c: Fix a few debug messages
Revision 1.115.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:21:07 2020 UTC (5 years, 1 month ago) by ad
Branches: ad-namecache
Diff to: previous 1.115: preferred, colored; next MAIN 1.116: preferred, colored
Changes since revision 1.115: +9 -9
lines
Sync with head.
Revision 1.116: download - view: text, markup, annotated - select for diffs
Wed Jan 29 05:21:14 2020 UTC (5 years, 2 months ago) by thorpej
Branches: 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-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
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
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +9 -9
lines
Adopt <net/if_stats.h>.
Revision 1.114.2.6: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:09:46 2019 UTC (5 years, 10 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.114.2.5: preferred, colored; branchpoint 1.114: preferred, colored; next MAIN 1.115: preferred, colored
Changes since revision 1.114.2.5: +58 -9
lines
Sync with HEAD
Revision 1.110.2.4: download - view: text, markup, annotated - select for diffs
Wed Dec 26 14:02:04 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.110.2.3: preferred, colored; branchpoint 1.110: preferred, colored; next MAIN 1.111: preferred, colored
Changes since revision 1.110.2.3: +3 -3
lines
Sync with HEAD, resolve a few conflicts
Revision 1.115: download - view: text, markup, annotated - select for diffs
Sat Dec 22 13:11:37 2018 UTC (6 years, 4 months ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-20191119,
phil-wifi-20190609,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
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,
isaki-audio2-base,
isaki-audio2,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +3 -3
lines
Replace: M_MOVE_PKTHDR -> m_move_pkthdr. No functional change, since the
former is a macro to the latter.
Revision 1.114.2.5: download - view: text, markup, annotated - select for diffs
Wed Aug 15 17:07:02 2018 UTC (6 years, 8 months ago) by phil
Branches: phil-wifi
Diff to: previous 1.114.2.4: preferred, colored; branchpoint 1.114: preferred, colored
Changes since revision 1.114.2.4: +1 -2
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.110.2.3: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:38:10 2018 UTC (6 years, 8 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.110.2.2: preferred, colored; branchpoint 1.110: preferred, colored
Changes since revision 1.110.2.2: +5 -5
lines
Sync with HEAD
Revision 1.114.2.4: download - view: text, markup, annotated - select for diffs
Sat Jul 28 00:49:43 2018 UTC (6 years, 8 months ago) by phil
Branches: phil-wifi
Diff to: previous 1.114.2.3: preferred, colored; branchpoint 1.114: preferred, colored
Changes since revision 1.114.2.3: +3 -1
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.114.2.3: download - view: text, markup, annotated - select for diffs
Mon Jul 16 20:11:11 2018 UTC (6 years, 9 months ago) by phil
Branches: phil-wifi
Diff to: previous 1.114.2.2: preferred, colored; branchpoint 1.114: preferred, colored
Changes since revision 1.114.2.2: +9 -1
lines
State save.
urtwn now can attach and shows up in the "ifconfig -a" list.
Revision 1.114.2.2: download - view: text, markup, annotated - select for diffs
Thu Jul 12 16:35:34 2018 UTC (6 years, 9 months ago) by phil
Branches: phil-wifi
Diff to: previous 1.114.2.1: preferred, colored; branchpoint 1.114: preferred, colored
Changes since revision 1.114.2.1: +32 -0
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.114.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 28 21:03:07 2018 UTC (6 years, 9 months ago) by phil
Branches: phil-wifi
CVS tags: phil-wifi-freebsd-base
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +663 -2988
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.114: download - view: text, markup, annotated - select for diffs
Tue Jun 26 06:48:03 2018 UTC (6 years, 9 months ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728
Branch point for: phil-wifi
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +5 -5
lines
Implement the BPF direction filter (BIOC[GS]DIRECTION). It provides backward
compatibility with BIOC[GS]SEESENT ioctl. The userland interface is the same
as FreeBSD.
This change also fixes a bug that the direction is misunderstand on some
environment by passing the direction to bpf_mtap*() instead of checking
m->m_pkthdr.rcvif.
Revision 1.110.2.2: download - view: text, markup, annotated - select for diffs
Mon Jun 25 07:26:06 2018 UTC (6 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.110.2.1: preferred, colored; branchpoint 1.110: preferred, colored
Changes since revision 1.110.2.1: +17 -14
lines
Sync with HEAD
Revision 1.113: download - view: text, markup, annotated - select for diffs
Thu Jun 21 17:03:45 2018 UTC (6 years, 10 months ago) by maxv
Branches: MAIN
CVS tags: pgoyette-compat-0625
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +9 -10
lines
remove unused arguments
Revision 1.112: download - view: text, markup, annotated - select for diffs
Thu Jun 21 16:53:10 2018 UTC (6 years, 10 months ago) by maxv
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +10 -6
lines
Fix use-after-free, m_cat can free m.
Revision 1.110.2.1: download - view: text, markup, annotated - select for diffs
Mon May 21 04:36:16 2018 UTC (6 years, 11 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +2 -22
lines
Sync with HEAD
Revision 1.111: download - view: text, markup, annotated - select for diffs
Tue May 8 07:02:07 2018 UTC (6 years, 11 months ago) by maxv
Branches: MAIN
CVS tags: pgoyette-compat-0521
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +2 -22
lines
Remove three useless debug messages, remove meaningless XXXs, and remove
ieee80211_note_frame (unused).
Revision 1.110: download - view: text, markup, annotated - select for diffs
Sun Jan 21 14:13:49 2018 UTC (7 years, 3 months ago) by maxv
Branches: MAIN
CVS tags: pgoyette-compat-base,
pgoyette-compat-0502,
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.109: preferred, colored
Changes since revision 1.109: +3 -3
lines
Appease the overflow check, 4 is enough.
Revision 1.109: download - view: text, markup, annotated - select for diffs
Wed Jan 17 16:03:16 2018 UTC (7 years, 3 months ago) by maxv
Branches: MAIN
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +151 -93
lines
Several changes:
* Style in several places, to make the code more readable or easier to
understand.
* Instead of checking m->m_pkthdr.len, check m->m_len. m_pkthdr.len is
the total size of the packet, not the size of the current mbuf (which
may be smaller).
* Add a missing length check when handling QoS frames.
* Cast the lengths passed in IEEE80211_VERIFY_LENGTH to size_t.
* Remove the length check on scan.sp_xrates, that I added yesterday.
xrates gets silently truncated in ieee80211_setup_rates().
* Fix several buffer overflows in the parsers of the MANAGEMENT frames.
Revision 1.108: download - view: text, markup, annotated - select for diffs
Tue Jan 16 18:53:32 2018 UTC (7 years, 3 months ago) by maxv
Branches: MAIN
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +18 -8
lines
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.107: download - view: text, markup, annotated - select for diffs
Tue Jan 16 18:42:43 2018 UTC (7 years, 3 months ago) by maxv
Branches: MAIN
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +45 -45
lines
Prepend 'sp_' to the name of the fields, so that they can easily be found
via NXR or grep.
Revision 1.106: download - view: text, markup, annotated - select for diffs
Tue Jan 16 16:54:54 2018 UTC (7 years, 3 months ago) by maxv
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +13 -2
lines
Add comments about the length checks, and check xrates.
Revision 1.105: download - view: text, markup, annotated - select for diffs
Tue Jan 16 16:31:37 2018 UTC (7 years, 3 months ago) by maxv
Branches: MAIN
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +36 -37
lines
Gather related code.
Revision 1.104: download - view: text, markup, annotated - select for diffs
Tue Jan 16 16:20:57 2018 UTC (7 years, 3 months ago) by maxv
Branches: MAIN
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +95 -57
lines
Style on the new functions.
Revision 1.103: download - view: text, markup, annotated - select for diffs
Tue Jan 16 16:09:30 2018 UTC (7 years, 3 months ago) by maxv
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +62 -50
lines
Introduce ieee80211_recv_mgmt_disassoc.
Revision 1.102: download - view: text, markup, annotated - select for diffs
Tue Jan 16 16:04:16 2018 UTC (7 years, 3 months ago) by maxv
Branches: MAIN
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +58 -44
lines
Introduce ieee80211_recv_mgmt_deauth.
Revision 1.101: download - view: text, markup, annotated - select for diffs
Tue Jan 16 16:00:17 2018 UTC (7 years, 3 months ago) by maxv
Branches: MAIN
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +139 -124
lines
Introduce ieee80211_recv_mgmt_assoc_resp.
Revision 1.100: download - view: text, markup, annotated - select for diffs
Tue Jan 16 15:55:14 2018 UTC (7 years, 3 months ago) by maxv
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +225 -209
lines
Introduce ieee80211_recv_mgmt_assoc_req.
Revision 1.99: download - view: text, markup, annotated - select for diffs
Tue Jan 16 15:48:32 2018 UTC (7 years, 3 months ago) by maxv
Branches: MAIN
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +83 -69
lines
Introduce ieee80211_recv_mgmt_auth.
Revision 1.98: download - view: text, markup, annotated - select for diffs
Tue Jan 16 15:42:52 2018 UTC (7 years, 3 months ago) by maxv
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +366 -333
lines
Start splitting ieee80211_recv_mgmt.
Revision 1.97: download - view: text, markup, annotated - select for diffs
Tue Jan 16 15:18:37 2018 UTC (7 years, 3 months ago) by maxv
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +5 -2
lines
More overflows...
Revision 1.96: download - view: text, markup, annotated - select for diffs
Tue Jan 16 14:37:24 2018 UTC (7 years, 3 months ago) by maxv
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +13 -7
lines
Fix overflow.
Revision 1.95: download - view: text, markup, annotated - select for diffs
Tue Jan 16 14:01:13 2018 UTC (7 years, 3 months ago) by maxv
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +6 -3
lines
Fix memory leak. If m1 == m, m = NULL, so it's safe to just call m_freem.
Revision 1.94: download - view: text, markup, annotated - select for diffs
Tue Jan 16 09:42:11 2018 UTC (7 years, 3 months ago) by maxv
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +31 -16
lines
Style, remove pointless XXXs, and add a comment about LLC.
Revision 1.93: download - view: text, markup, annotated - select for diffs
Tue Jan 16 08:39:29 2018 UTC (7 years, 3 months ago) by maxv
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +364 -275
lines
Split ieee80211_input into three sub-functions, that parse received
packets depending on their type:
DATA -> ieee80211_input_data
MANAGEMENT -> ieee80211_input_management
CONTROL -> ieee80211_input_control
No real functional change, but makes the code much clearer.
Revision 1.92: download - view: text, markup, annotated - select for diffs
Tue Jan 16 07:53:02 2018 UTC (7 years, 3 months ago) by maxv
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +44 -19
lines
Start cleaning up this mess.
Revision 1.91: download - view: text, markup, annotated - select for diffs
Sun Dec 10 08:56:23 2017 UTC (7 years, 4 months ago) by maxv
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +2 -2
lines
Fix use-after-free: ieee80211_crypto_decap does a pullup on the mbuf but
the updated pointer is not passed back. Looks like it is triggerable
remotely.
Revision 1.90: download - view: text, markup, annotated - select for diffs
Sun Dec 10 08:48:15 2017 UTC (7 years, 4 months ago) by maxv
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +4 -2
lines
Update the pointer after m_pullup, otherwise possible use-after-free.
Revision 1.72.6.4: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:39:03 2017 UTC (7 years, 4 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.72.6.3: preferred, colored; branchpoint 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72.6.3: +125 -68
lines
update from HEAD
Revision 1.88.6.1: download - view: text, markup, annotated - select for diffs
Tue Oct 24 08:39:00 2017 UTC (7 years, 6 months ago) by snj
Branches: netbsd-8
CVS tags: 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,
matt-nb8-mediatek-base,
matt-nb8-mediatek
Diff to: previous 1.88: preferred, colored; next MAIN 1.89: preferred, colored
Changes since revision 1.88: +4 -12
lines
Pull up following revision(s) (requested by knakahara in ticket #302):
sys/arch/powerpc/booke/dev/pq3etsec.c: 1.30-1.31
sys/arch/x86/pci/if_vmx.c: 1.20
sys/dev/ic/i82557.c: 1.148
sys/dev/ic/rtl8169.c: 1.152
sys/dev/pci/cxgb/cxgb_sge.c: 1.5
sys/dev/pci/if_age.c: 1.51
sys/dev/pci/if_alc.c: 1.25
sys/dev/pci/if_ale.c: 1.23
sys/dev/pci/if_bge.c: 1.311
sys/dev/pci/if_bge.c: 1.312
sys/dev/pci/if_bnx.c: 1.62
sys/dev/pci/if_jme.c: 1.32
sys/dev/pci/if_nfe.c: 1.64
sys/dev/pci/if_sip.c: 1.167
sys/dev/pci/if_stge.c: 1.63-1.64
sys/dev/pci/if_ti.c: 1.102
sys/dev/pci/if_txp.c: 1.48
sys/dev/pci/if_vge.c: 1.61
sys/dev/pci/if_wm.c: 1.538
sys/dev/pci/ixgbe/ix_txrx.c: 1.29 via patch
sys/net/agr/if_agrether_hash.c: 1.4
sys/net/if_ether.h: 1.67-1.68
sys/net/if_ethersubr.c: 1.244
sys/net/if_vlan.c: 1.100
sys/net80211/ieee80211_input.c: 1.89
sys/net80211/ieee80211_output.c: 1.59
sys/sys/mbuf.h: 1.171
VLAN ID uses pkthdr instead of mtag now. Contributed by s-yamaguchi@IIJ.
I just commit by proxy. Reviewed by joerg@n.o and christos@n.o, thanks.
See http://mail-index.netbsd.org/tech-net/2017/09/26/msg006459.html
--
only get vtag when we have vtag like the other drivers.
--
- only get the vtag if we have it like the other drivers
- mask the hardware vlan tag
--
- add a constant for the vlan mask.
- enforce that we have a tag before we get it.
only get vtag when we have vtag like the other drivers.
like if_bge.c:1.312 and if_stge.c:1.64.
fixed by s-yamaguchi@IIJ, thanks.
Revision 1.89: download - view: text, markup, annotated - select for diffs
Tue Sep 26 07:42:06 2017 UTC (7 years, 6 months ago) by knakahara
Branches: MAIN
CVS tags: tls-maxphys-base-20171202
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +4 -12
lines
VLAN ID uses pkthdr instead of mtag now. Contributed by s-yamaguchi@IIJ.
I just commit by proxy. Reviewed by joerg@n.o and christos@n.o, thanks.
See http://mail-index.netbsd.org/tech-net/2017/09/26/msg006459.html
XXX need pullup to -8 branch
Revision 1.78.2.7: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:53:11 2017 UTC (7 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.78.2.6: preferred, colored; branchpoint 1.78: preferred, colored; next MAIN 1.79: preferred, colored
Changes since revision 1.78.2.6: +3 -3
lines
Sync with HEAD
Revision 1.86.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:54:05 2017 UTC (8 years ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86: +6 -3
lines
Sync with HEAD
Revision 1.84.2.3: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:50 2017 UTC (8 years, 1 month ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.84.2.2: preferred, colored; branchpoint 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84.2.2: +6 -3
lines
Sync with HEAD
Revision 1.88: download - view: text, markup, annotated - select for diffs
Mon Mar 6 08:36:20 2017 UTC (8 years, 1 month ago) by ozaki-r
Branches: MAIN
CVS tags: 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,
netbsd-8-base,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1
Branch point for: netbsd-8
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +3 -3
lines
Fix incrementing wrong counter
Revision 1.78.2.6: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:58 2017 UTC (8 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.78.2.5: preferred, colored; branchpoint 1.78: preferred, colored
Changes since revision 1.78.2.5: +5 -7
lines
Sync with HEAD
Revision 1.87: download - view: text, markup, annotated - select for diffs
Thu Feb 2 10:05:35 2017 UTC (8 years, 2 months ago) by nonaka
Branches: MAIN
CVS tags: nick-nhusb-base-20170204
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +5 -2
lines
wlan interfaces make interrupt routine running on softint context.
see http://mail-index.netbsd.org/tech-kern/2016/12/06/msg021281.html
tested device:
* ath at pci: AR5212, AR5424
* athn at pci: AR9287
* ipw at pci: 2100BG
* iwi at pci: 2915ABG
* iwm at pci: 3165, 7260, 8260
* iwn at pci: 4945, 6235
* ral at pci: RT2560
* rtwn at pci: RTL8192CE
Revision 1.84.2.2: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:51 2017 UTC (8 years, 3 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.84.2.1: preferred, colored; branchpoint 1.84: preferred, colored
Changes since revision 1.84.2.1: +2 -7
lines
Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
Revision 1.86: download - view: text, markup, annotated - select for diffs
Thu Dec 15 09:28:06 2016 UTC (8 years, 4 months ago) by ozaki-r
Branches: MAIN
CVS tags: pgoyette-localcount-20170107,
bouyer-socketcan-base
Branch point for: bouyer-socketcan
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +2 -7
lines
Move bpf_mtap and if_ipackets++ on Rx of each driver to percpuq if_input
The benefits of the change are:
- We can reduce codes
- We can provide the same behavior between drivers
- Where/When if_ipackets is counted up
- Note that some drivers still update packet statistics in their own
way (periodical update)
- Moved bpf_mtap run in softint
- This makes it easy to MP-ify bpf
Proposed on tech-kern and tech-net
Revision 1.84.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 4 14:49:21 2016 UTC (8 years, 5 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +82 -41
lines
Sync with HEAD
Revision 1.78.2.5: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:56:08 2016 UTC (8 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.78.2.4: preferred, colored; branchpoint 1.78: preferred, colored
Changes since revision 1.78.2.4: +82 -41
lines
Sync with HEAD
Revision 1.85: download - view: text, markup, annotated - select for diffs
Tue Sep 27 20:20:06 2016 UTC (8 years, 6 months ago) by christos
Branches: MAIN
CVS tags: pgoyette-localcount-20161104,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +82 -41
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.72.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 31 15:15:57 2016 UTC (8 years, 7 months ago) by bouyer
Branches: netbsd-6
Diff to: previous 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72: +29 -9
lines
Pull up following revision(s) (requested by mlelstv in ticket #1382):
sys/net80211/ieee80211_input.c: revision 1.83
sys/net80211/ieee80211_input.c: revision 1.84
Don't check sequence number on multicast packets in station mode.
Handle overflow of 12bit sequence number.
In station mode filter packets that or not for us in case the
interface is in promiscous mode or doesn't filter packets itself.
Revision 1.78.2.4: download - view: text, markup, annotated - select for diffs
Sun May 29 08:44:38 2016 UTC (8 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.78.2.3: preferred, colored; branchpoint 1.78: preferred, colored
Changes since revision 1.78.2.3: +29 -9
lines
Sync with HEAD
Revision 1.77.4.1: download - view: text, markup, annotated - select for diffs
Sun May 15 09:07:57 2016 UTC (8 years, 11 months ago) by martin
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
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
Diff to: previous 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77: +29 -9
lines
Pull up following revision(s) (requested by mlelstv in ticket #1167):
sys/net80211/ieee80211_input.c: revision 1.83-1.84
Don't check sequence number on multicast packets in station mode.
Handle overflow of 12bit sequence number.
In station mode filter packets that or not for us in case the
interface is in promiscous mode or doesn't filter packets itself.
Revision 1.84: download - view: text, markup, annotated - select for diffs
Sat May 14 13:35:40 2016 UTC (8 years, 11 months ago) by mlelstv
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.83: preferred, colored
Changes since revision 1.83: +14 -2
lines
In station mode filter packets that or not for us in case the
interface is in promiscous mode or doesn't filter packets itself.
Revision 1.83: download - view: text, markup, annotated - select for diffs
Sat May 7 12:36:50 2016 UTC (8 years, 11 months ago) by mlelstv
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +17 -9
lines
Don't check sequence number on multicast packets in station mode.
Handle overflow of 12bit sequence number.
Revision 1.78.2.3: download - view: text, markup, annotated - select for diffs
Fri Apr 22 15:44:17 2016 UTC (9 years ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.78.2.2: preferred, colored; branchpoint 1.78: preferred, colored
Changes since revision 1.78.2.2: +4 -6
lines
Sync with HEAD
Revision 1.82: download - view: text, markup, annotated - select for diffs
Wed Apr 20 09:01:04 2016 UTC (9 years ago) by knakahara
Branches: MAIN
CVS tags: nick-nhusb-base-20160422
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +3 -4
lines
IFQ_ENQUEUE refactor (3/3) : eliminate pktattr argument from IFQ_ENQUEUE caller
Revision 1.81: download - view: text, markup, annotated - select for diffs
Wed Apr 20 08:58:48 2016 UTC (9 years ago) by knakahara
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +3 -4
lines
IFQ_ENQUEUE refactor (2/3) : eliminate pktattr argument from altq implemantation
Revision 1.78.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 19 11:30:32 2016 UTC (9 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.78.2.1: preferred, colored; branchpoint 1.78: preferred, colored
Changes since revision 1.78.2.1: +9 -3
lines
Sync with HEAD
Revision 1.80: download - view: text, markup, annotated - select for diffs
Tue Feb 9 08:32:12 2016 UTC (9 years, 2 months ago) by ozaki-r
Branches: MAIN
CVS tags: nick-nhusb-base-20160319
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +9 -3
lines
Introduce softint-based if_input
This change intends to run the whole network stack in softint context
(or normal LWP), not hardware interrupt context. Note that the work is
still incomplete by this change; to that end, we also have to softint-ify
if_link_state_change (and bpf) which can still run in hardware interrupt.
This change softint-ifies at ifp->if_input that is called from
each device driver (and ieee80211_input) to ensure Layer 2 runs
in softint (e.g., ether_input and bridge_input). To this end,
we provide a framework (called percpuq) that utlizes softint(9)
and percpu ifqueues. With this patch, rxintr of most drivers just
queues received packets and schedules a softint, and the softint
dequeues packets and does rest packet processing.
To minimize changes to each driver, percpuq is allocated in struct
ifnet for now and that is initialized by default (in if_attach).
We probably have to move percpuq to softc of each driver, but it's
future work. At this point, only wm(4) has percpuq in its softc
as a reference implementation.
Additional information including performance numbers can be found
in the thread at tech-kern@ and tech-net@:
http://mail-index.netbsd.org/tech-kern/2016/01/14/msg019997.html
Acknowledgment: riastradh@ greatly helped this work.
Thank you very much!
Revision 1.78.2.1: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:06:11 2015 UTC (9 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +4 -2
lines
Sync with HEAD
Revision 1.79: download - view: text, markup, annotated - select for diffs
Mon Aug 24 22:21:26 2015 UTC (9 years, 8 months ago) by pooka
Branches: MAIN
CVS tags: nick-nhusb-base-20151226,
nick-nhusb-base-20150921
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +4 -2
lines
sprinkle _KERNEL_OPT
Revision 1.78: download - view: text, markup, annotated - select for diffs
Sat Oct 18 08:33:29 2014 UTC (10 years, 6 months ago) by snj
Branches: MAIN
CVS tags: nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +4 -4
lines
src is too big these days to tolerate superfluous apostrophes. It's
"its", people!
Revision 1.72.6.3: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:04:35 2014 UTC (10 years, 8 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.72.6.2: preferred, colored; branchpoint 1.72: preferred, colored
Changes since revision 1.72.6.2: +0 -6
lines
Rebase to HEAD as of a few days ago.
Revision 1.71.2.3: download - view: text, markup, annotated - select for diffs
Thu May 22 11:41:09 2014 UTC (10 years, 11 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.71.2.2: preferred, colored; branchpoint 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71.2.2: +15 -21
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.76.4.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:46:13 2014 UTC (10 years, 11 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76: +2 -8
lines
sync with head
Revision 1.77: download - view: text, markup, annotated - select for diffs
Fri Sep 13 20:19:53 2013 UTC (11 years, 7 months ago) by joerg
Branches: MAIN
CVS tags: yamt-pagecache-base9,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
rmind-smpnet-nbase,
rmind-smpnet-base,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
netbsd-7-base,
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
Branch point for: netbsd-7
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +2 -8
lines
GC unused functions. Don't bother building ieee80211_acl.c, nothing in
it is non-static.
Revision 1.72.6.2: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:20:25 2013 UTC (11 years, 10 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.72.6.1: preferred, colored; branchpoint 1.72: preferred, colored
Changes since revision 1.72.6.1: +15 -15
lines
resync from head
Revision 1.76: download - view: text, markup, annotated - select for diffs
Sat Mar 30 19:03:02 2013 UTC (12 years ago) by christos
Branches: MAIN
CVS tags: riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
khorben-n900
Branch point for: rmind-smpnet
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +3 -3
lines
Putting extra l's in align does not make it more so.
Revision 1.75: download - view: text, markup, annotated - select for diffs
Sat Mar 30 15:12:28 2013 UTC (12 years ago) by christos
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +5 -5
lines
remove trailing whitespace
Revision 1.74: download - view: text, markup, annotated - select for diffs
Sat Mar 30 03:24:55 2013 UTC (12 years ago) by christos
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +14 -14
lines
remove trailing space
Revision 1.72.6.1: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:30:04 2013 UTC (12 years, 2 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +8 -8
lines
resync with head
Revision 1.71.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 23 00:06:26 2013 UTC (12 years, 3 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.71.2.1: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.2.1: +8 -8
lines
sync with head
Revision 1.73: download - view: text, markup, annotated - select for diffs
Thu Jan 10 17:40:10 2013 UTC (12 years, 3 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base8,
agc-symver-base,
agc-symver
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +8 -8
lines
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.71.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:08:39 2012 UTC (13 years ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +4 -4
lines
sync with head
Revision 1.71.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:35:38 2012 UTC (13 years, 2 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71: +4 -4
lines
merge to -current.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Sat Dec 31 20:41:58 2011 UTC (13 years, 3 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base7,
yamt-pagecache-base6,
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,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
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
Branch point for: tls-maxphys,
netbsd-6
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +4 -4
lines
- fix offsetof usage, and redundant defines
- kill pointer casts to 0
Revision 1.71: download - view: text, markup, annotated - select for diffs
Sun Jul 17 20:54:52 2011 UTC (13 years, 9 months ago) by joerg
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache,
jmcneill-usbmp
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +2 -3
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.66.40.4: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:54:56 2010 UTC (14 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.66.40.3: preferred, colored; branchpoint 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66.40.3: +7 -12
lines
sync with head.
Revision 1.69.4.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:18:02 2010 UTC (14 years, 10 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +7 -12
lines
sync with head
Revision 1.69.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:44:20 2010 UTC (14 years, 11 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +7 -12
lines
Sync with HEAD.
Revision 1.70: download - view: text, markup, annotated - select for diffs
Mon Apr 5 07:22:24 2010 UTC (15 years ago) by joerg
Branches: MAIN
CVS tags: yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
matt-mips64-premerge-20101231,
jruoho-x86intr-base,
jruoho-x86intr,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +7 -12
lines
Push the bpf_ops usage back into bpf.h. Push the common ifp->if_bpf
check into the inline functions as well the fourth argument for
bpf_attach.
Revision 1.66.40.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:04:28 2010 UTC (15 years, 1 month ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.66.40.2: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.40.2: +7 -20
lines
sync with head
Revision 1.69: download - view: text, markup, annotated - select for diffs
Tue Jan 19 22:08:17 2010 UTC (15 years, 3 months ago) by pooka
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
uebayasi-xip-base
Branch point for: uebayasi-xip,
rmind-uvmplock
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +7 -20
lines
Redefine bpf linkage through an always present op vector, i.e.
#if NBPFILTER is no longer required in the client. This change
doesn't yet add support for loading bpf as a module, since drivers
can register before bpf is attached. However, callers of bpf can
now be modularized.
Dynamically loadable bpf could probably be done fairly easily with
coordination from the stub driver and the real driver by registering
attachments in the stub before the real driver is loaded and doing
a handoff. ... and I'm not going to ponder the depths of unload
here.
Tested with i386/MONOLITHIC, modified MONOLITHIC without bpf and rump.
Revision 1.66.40.2: download - view: text, markup, annotated - select for diffs
Wed Sep 16 13:38:02 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.66.40.1: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.40.1: +7 -4
lines
sync with head
Revision 1.68: download - view: text, markup, annotated - select for diffs
Wed Sep 2 22:03:08 2009 UTC (15 years, 7 months ago) by joerg
Branches: MAIN
CVS tags: yamt-nfs-mp-base8,
matt-premerge-20091211,
jym-xensuspend-nbase
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +7 -4
lines
Fix ALTQ for bridge mode. Based on FreeBSD's revision 1.115.
Tested by roy@.
Revision 1.66.40.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:14:16 2009 UTC (15 years, 11 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +8 -8
lines
sync with head.
Revision 1.66.50.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:20:12 2009 UTC (16 years, 3 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66: +8 -8
lines
Sync with HEAD.
Revision 1.66.36.1: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:29:32 2009 UTC (16 years, 3 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66: +8 -8
lines
Sync with HEAD.
Revision 1.67: download - view: text, markup, annotated - select for diffs
Wed Dec 17 20:51:37 2008 UTC (16 years, 4 months ago) by cegger
Branches: MAIN
CVS tags: yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
mjf-devfs2-base,
jymxensuspend-base,
jym-xensuspend-base,
jym-xensuspend
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +8 -8
lines
kill MALLOC and FREE macros.
Revision 1.66.34.1: download - view: text, markup, annotated - select for diffs
Fri Feb 22 16:50:25 2008 UTC (17 years, 2 months ago) by skrll
Branches: nick-net80211-sync
Diff to: previous 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66: +970 -394
lines
Beginning of a sync with net80211 from FreeBSD. Lots to do.
Sources taken from 2008-02-22.
Revision 1.43.2.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:42:27 2007 UTC (17 years, 7 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.43.2.2: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43.2.2: +8 -8
lines
sync with head.
Revision 1.64.4.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:59:32 2007 UTC (18 years, 1 month ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +8 -8
lines
Sync with HEAD.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Sun Mar 4 07:54:11 2007 UTC (18 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
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,
yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
yamt-idlelwp-base8,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking2,
vmlocking-nbase,
vmlocking-base,
vmlocking,
thorpej-atomic-base,
thorpej-atomic,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
reinoud-bufcleanup,
nick-net80211-sync-base,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
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-ufs-trans-base,
mjf-ufs-trans,
mjf-devfs-base,
mjf-devfs,
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-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
matt-armv6-nbase,
matt-armv6-base,
matt-armv6,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
jmcneill-pm-base,
jmcneill-pm,
jmcneill-base,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
hpcarm-cleanup,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
haad-dm,
cube-autoconf-base,
cube-autoconf,
bouyer-xeni386-nbase,
bouyer-xeni386-merge1,
bouyer-xeni386-base,
bouyer-xeni386,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64,
ad-socklock-base1,
ad-audiomp2-base,
ad-audiomp2
Branch point for: yamt-nfs-mp,
nick-net80211-sync,
nick-hppapmap,
mjf-devfs2
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +3 -3
lines
fix fallout from caddr_t changes.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:03:18 2007 UTC (18 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +8 -8
lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.43.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:50:28 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.43.2.1: preferred, colored
Changes since revision 1.43.2.1: +31 -9
lines
sync with head.
Revision 1.62.4.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:19:06 2006 UTC (18 years, 4 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.62.4.1: preferred, colored; branchpoint 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62.4.1: +6 -6
lines
sync with head.
Revision 1.62.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:39:32 2006 UTC (18 years, 5 months ago) by ad
Branches: newlock2
Diff to: previous 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62: +4 -4
lines
Sync with head.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:33:40 2006 UTC (18 years, 5 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
post-newlock2-merge,
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,
matt-nb4-arm-base,
matt-nb4-arm,
ad-audiomp-base,
ad-audiomp
Branch point for: yamt-idlelwp
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +6 -6
lines
__unused removal on arguments; approved by core.
Revision 1.62.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:07:28 2006 UTC (18 years, 6 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +7 -7
lines
sync with head
Revision 1.63: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:32:30 2006 UTC (18 years, 6 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +7 -7
lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
Revision 1.56.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:58:25 2006 UTC (18 years, 7 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +32 -9
lines
sync with head
Revision 1.57.2.3: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:25:35 2006 UTC (18 years, 7 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.57.2.2: preferred, colored; branchpoint 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.2.2: +17 -7
lines
sync with head.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Wed Aug 30 15:34:58 2006 UTC (18 years, 7 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl,
newlock2
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +7 -7
lines
wrong place for __inline
Revision 1.61: download - view: text, markup, annotated - select for diffs
Fri Aug 25 21:04:07 2006 UTC (18 years, 8 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +12 -2
lines
In promiscuous mode, some WNICs stop filtering management frames
whose destination does not match our MAC address. Filter those
frames in ieee80211_recv_mgmt, to prevent spurious
deauthentication/disassociation.
Revision 1.57.2.2: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:46:32 2006 UTC (18 years, 8 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.57.2.1: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.2.1: +14 -2
lines
sync with head
Revision 1.59.4.1: download - view: text, markup, annotated - select for diffs
Thu Jul 13 17:49:57 2006 UTC (18 years, 9 months ago) by gdamore
Branches: gdamore-uart
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +14 -2
lines
Merge from HEAD.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Fri Jun 30 06:17:10 2006 UTC (18 years, 9 months ago) by tacha
Branches: MAIN
CVS tags: yamt-pdpolicy-base7,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +14 -2
lines
Make 802.11 devices to work with stealth AP even when scanning
channels marked passive.
From FreeBSD.
Revision 1.43.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:10:45 2006 UTC (18 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +491 -378
lines
sync with head.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Sun May 14 21:19:33 2006 UTC (18 years, 11 months ago) by elad
Branches: MAIN
CVS tags: yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
simonb-timecounters-base,
gdamore-uart-base,
chap-midi-nbase,
chap-midi-base,
chap-midi
Branch point for: gdamore-uart
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +2 -2
lines
integrate kauth.
Revision 1.56.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:40:08 2006 UTC (19 years ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +5 -4
lines
Sync with head.
Revision 1.57.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 19 04:46:11 2006 UTC (19 years ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +3 -3
lines
sync with head.
Revision 1.57.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 1 12:07:43 2006 UTC (19 years ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -3
lines
sync with head.
Revision 1.57.6.1: download - view: text, markup, annotated - select for diffs
Tue Mar 28 09:42:27 2006 UTC (19 years, 1 month ago) by tron
Branches: peter-altq
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +3 -3
lines
Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
Revision 1.58: download - view: text, markup, annotated - select for diffs
Fri Mar 17 23:29:09 2006 UTC (19 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
elad-kernelauth-base
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -3
lines
don't use MALLOC with a non-constant size; use malloc instead.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Thu Mar 2 03:38:48 2006 UTC (19 years, 1 month ago) by dyoung
Branches: MAIN
CVS tags: yamt-pdpolicy-base2,
yamt-pdpolicy-base,
peter-altq-base
Branch point for: yamt-pdpolicy,
peter-altq,
elad-kernelauth
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +4 -3
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.56: download - view: text, markup, annotated - select for diffs
Thu Dec 29 10:06:52 2005 UTC (19 years, 3 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace
Branch point for: simonb-timecounters,
rpaulo-netinet-merge-pcb
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +70 -53
lines
Cosmetic: extract a subroutine ieee80211_update_adhoc_node() from
ieee80211_recv_mgmt(). ieee80211_update_adhoc_node() updates IBSS
nodes based on received beacons and probe responses. I extract a
subroutine to maintain a tolerable indentation level.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Fri Dec 16 11:27:33 2005 UTC (19 years, 4 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +23 -15
lines
In IBSS mode, track all nodes' change of BSSID, not only the BSS
node's change. Thanks to Konstantin Kabassanov for pointing out
the problem.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Fri Dec 16 10:04:58 2005 UTC (19 years, 4 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +10 -10
lines
Cosmetic: normalize whitespace.
Revision 1.34.2.9: download - view: text, markup, annotated - select for diffs
Sun Dec 11 10:29:22 2005 UTC (19 years, 4 months ago) by christos
Branches: ktrace-lwp
Diff to: previous 1.34.2.8: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34.2.8: +314 -269
lines
Sync with head.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Thu Dec 8 23:08:39 2005 UTC (19 years, 4 months ago) by dyoung
Branches: MAIN
CVS tags: ktrace-lwp-base
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +3 -5
lines
Cosmetic: remove unnecessary stairstep.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Thu Dec 8 20:19:49 2005 UTC (19 years, 4 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +14 -8
lines
Always record a change of the BSS node's BSSID, even if a desired
BSSID is set.
In IBSS mode, if the BSS node's BSSID changes, and a desired BSSID
is *not* set, make a RUN->RUN transition to give the driver an
opportunity to reprogram its BSSID filter. This fixes a bug where
both wlanctl(8) and ifconfig(8) indicated that an interface had
joined a new BSS, but no packets would get through, except in
promiscuous mode, because the hardware still filtered packets based
on the old BSSID.
Revision 1.46.6.2: download - view: text, markup, annotated - select for diffs
Tue Nov 29 21:23:30 2005 UTC (19 years, 4 months ago) by yamt
Branches: yamt-readahead
Diff to: previous 1.46.6.1: preferred, colored; branchpoint 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46.6.1: +17 -2
lines
sync with head.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Wed Nov 23 04:32:12 2005 UTC (19 years, 5 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-readahead-base3
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +17 -2
lines
In adhoc mode, mark the "BSS" node's (ic->ic_bss) change of BSSID.
If the operator did not configure a "desired BSSID," then we simply
adopt the BSS node's new BSSID. If the operator configured a
"desired BSSID," the new BSSID is (probably) not the desired one,
so start scanning for it.
Note that a change of BSSID will occur as two ad hoc networks merge.
Revision 1.46.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 22 16:08:16 2005 UTC (19 years, 5 months ago) by yamt
Branches: yamt-readahead
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +293 -268
lines
sync with head.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Sun Nov 20 10:04:21 2005 UTC (19 years, 5 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-readahead-base2
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +16 -6
lines
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.49: download - view: text, markup, annotated - select for diffs
Sat Nov 19 21:09:17 2005 UTC (19 years, 5 months ago) by he
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +4 -2
lines
Add an overlooked #if NBPFILTER > 0 / #endif.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Sat Nov 19 01:06:21 2005 UTC (19 years, 5 months ago) by riz
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -3
lines
Move the (ALTQ-conditional) declaration of struct altq_pktattr pktattr
into ieee80211_deliver_data(), since the code which uses it has been
moved there. Fixes build with options ALTQ.
reviewed by christos@
Revision 1.47: download - view: text, markup, annotated - select for diffs
Fri Nov 18 16:40:08 2005 UTC (19 years, 5 months ago) by skrll
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +277 -264
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.6 (vendor branch): download - view: text, markup, annotated - select for diffs
Fri Nov 18 16:20:37 2005 UTC (19 years, 5 months ago) by skrll
Branches: FreeBSD
CVS tags: net80211-1-nov-2005
Diff to: previous 1.1.1.5: preferred, colored
Changes since revision 1.1.1.5: +254 -245
lines
Import FreeBSD's net80211(9) of 1-nov-2005
Revision 1.34.2.8: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:10:51 2005 UTC (19 years, 5 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.34.2.7: preferred, colored
Changes since revision 1.34.2.7: +1936 -719
lines
Sync with HEAD. Here we go again...
Revision 1.46: download - view: text, markup, annotated - select for diffs
Sat Sep 24 23:04:51 2005 UTC (19 years, 7 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
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +2 -21
lines
Reduce diffs against FreeBSD by removing some redundant checks on
the BSSID and destination address.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Thu Aug 18 00:30:59 2005 UTC (19 years, 8 months ago) by yamt
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +3 -3
lines
- introduce M_MOVE_PKTHDR and use it where appropriate.
intended to be mostly API compatible with openbsd/freebsd.
- remove a glue #define in netipsec/ipsec_osdep.h.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue Jul 26 22:52:48 2005 UTC (19 years, 9 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +185 -123
lines
Import changes in FreeBSD's net80211 between 2005-05-18 and 2005-07-11.
A summary of changes is forthcoming.
Revision 1.1.1.5 (vendor branch): download - view: text, markup, annotated - select for diffs
Tue Jul 26 21:49:01 2005 UTC (19 years, 9 months ago) by dyoung
Branches: FreeBSD
CVS tags: net80211-2005-07-11
Diff to: previous 1.1.1.4: preferred, colored
Changes since revision 1.1.1.4: +185 -125
lines
Import FreeBSD's net80211(9) of 2005-07-11
Revision 1.43: download - view: text, markup, annotated - select for diffs
Sun Jul 3 21:18:42 2005 UTC (19 years, 9 months ago) by dyoung
Branches: MAIN
Branch point for: yamt-lazymbuf
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +10 -3
lines
Restore ALTQ-classification to the AP-bridge, as pointed out by
Bernd Ernesti.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Sun Jul 3 21:10:27 2005 UTC (19 years, 9 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +6 -6
lines
Refine an ieee80211_node-match using the SSID and the channel before
increasing the _node's beacon/probe count.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Sun Jun 26 04:31:51 2005 UTC (19 years, 10 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +34 -5
lines
Do not build AP support if 'options IEEE80211_NO_HOSTAP'. I will
use this in the INSTALL kernel to save some space.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Wed Jun 22 06:16:02 2005 UTC (19 years, 10 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +1820 -681
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.4 (vendor branch): download - view: text, markup, annotated - select for diffs
Tue Jun 21 20:37:41 2005 UTC (19 years, 10 months ago) by dyoung
Branches: FreeBSD
CVS tags: net80211-2005-05-18
Diff to: previous 1.1.1.3: preferred, colored
Changes since revision 1.1.1.3: +1990 -468
lines
Import FreeBSD's net80211(9) of 2005-05-18
Revision 1.39: download - view: text, markup, annotated - select for diffs
Mon May 30 04:16:10 2005 UTC (19 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +5 -5
lines
avoid shadowing of m1
Revision 1.37.2.2: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:29:32 2005 UTC (19 years, 11 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.37.2.1: preferred, colored; branchpoint 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37.2.1: +1634 -0
lines
sync with -current
Revision 1.37.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:36:35 2005 UTC (20 years, 1 month ago) by yamt
Branches: yamt-km
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +11 -11
lines
sync with head. xen and whitespace. xen part is not finished.
Revision 1.34.2.7: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:53:17 2005 UTC (20 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.34.2.6: preferred, colored
Changes since revision 1.34.2.6: +11 -11
lines
Sync with HEAD.
Hi Perry!
Revision 1.38: download - view: text, markup, annotated - select for diffs
Sat Feb 26 22:45:09 2005 UTC (20 years, 2 months ago) by perry
Branches: 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
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +11 -11
lines
nuke trailing whitespace
Revision 1.34.2.6: download - view: text, markup, annotated - select for diffs
Mon Jan 17 19:32:38 2005 UTC (20 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.34.2.5: preferred, colored
Changes since revision 1.34.2.5: +9 -49
lines
Sync with HEAD.
Revision 1.37.2.1
Sun Jan 16 11:36:54 2005 UTC (20 years, 3 months ago) by kent
Branches: kent-audio2
FILE REMOVED
Changes since revision 1.37: +0 -1634
lines
file ieee80211_input.c was added on branch kent-audio2 on 2005-04-29 11:29:32 +0000
Revision 1.37: download - view: text, markup, annotated - select for diffs
Sun Jan 16 11:36:54 2005 UTC (20 years, 3 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-km-base2,
yamt-km-base
Branch point for: yamt-km,
kent-audio2
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3
lines
Fix a misuse of ether_sprintf so that IBSS merges are printed
xx:xx:xx:xx:xx:xx -> yy:yy:yy:yy:yy:yy instead of
xx:xx:xx:xx:xx:xx -> xx:xx:xx:xx:xx:xx.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Jan 4 00:56:51 2005 UTC (20 years, 3 months ago) by dyoung
Branches: MAIN
CVS tags: kent-audio1-beforemerge
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +9 -49
lines
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.34.2.5: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:36:55 2004 UTC (20 years, 7 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.34.2.4: preferred, colored
Changes since revision 1.34.2.4: +2 -2
lines
Fix the sync with head I botched.
Revision 1.34.2.4: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:54:39 2004 UTC (20 years, 7 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.34.2.3: preferred, colored
Changes since revision 1.34.2.3: +2 -2
lines
Sync with HEAD.
Revision 1.34.2.3: download - view: text, markup, annotated - select for diffs
Thu Aug 12 11:42:20 2004 UTC (20 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.34.2.2: preferred, colored
Changes since revision 1.34.2.2: +22 -30
lines
Sync with HEAD.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue Aug 10 00:57:21 2004 UTC (20 years, 8 months ago) by dyoung
Branches: MAIN
CVS tags: kent-audio1-base,
kent-audio1
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +22 -30
lines
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.21.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 16:54:42 2004 UTC (20 years, 8 months ago) by jmc
Branches: 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
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +4 -4
lines
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.34.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:54:21 2004 UTC (20 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.34.2.1: preferred, colored
Changes since revision 1.34.2.1: +1682 -0
lines
Sync with HEAD
Revision 1.34.2.1
Fri Jul 30 17:45:21 2004 UTC (20 years, 8 months ago) by skrll
Branches: ktrace-lwp
FILE REMOVED
Changes since revision 1.34: +0 -1682
lines
file ieee80211_input.c was added on branch ktrace-lwp on 2004-08-03 10:54:21 +0000
Revision 1.34: download - view: text, markup, annotated - select for diffs
Fri Jul 30 17:45:21 2004 UTC (20 years, 8 months ago) by mycroft
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +8 -6
lines
Put a check for an impossible case inside '#ifdef DIAGNOSTIC'.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Jul 29 22:28:05 2004 UTC (20 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +57 -66
lines
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.32: download - view: text, markup, annotated - select for diffs
Wed Jul 28 08:12:49 2004 UTC (20 years, 9 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +23 -45
lines
Vastly simplify ieee80211_ibss_merge, eliminating the needless
callbacks. Change the reference IBSS-merge implementation in atw
to match.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Jul 24 23:53:49 2004 UTC (20 years, 9 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +125 -2
lines
Pull the IBSS merge logic out of atw and into net80211, since ath
will eventually share it.
In the IBSS merge logic, check conditions in a different order so
that they run faster in the common case---no merge. Fix the
rate-limiting on the debug outputs (enabled by IFF_LINK0).
Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri Jul 23 10:15:13 2004 UTC (20 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -3
lines
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.29: download - view: text, markup, annotated - select for diffs
Fri Jul 23 09:22:15 2004 UTC (20 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +8 -49
lines
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.28: download - view: text, markup, annotated - select for diffs
Fri Jul 23 08:31:39 2004 UTC (20 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +5 -5
lines
IEEE80211_F_WEPON -> IEEE80211_F_PRIVACY
Revision 1.27: download - view: text, markup, annotated - select for diffs
Fri Jul 23 08:25:25 2004 UTC (20 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +41 -30
lines
Yet more DPRINTF() cleanup.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Fri Jul 23 08:05:00 2004 UTC (20 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +58 -52
lines
More diff reduction; mainly IEEE80211_DPRINTF() stuff.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Fri Jul 23 06:44:55 2004 UTC (20 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +135 -106
lines
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.24: download - view: text, markup, annotated - select for diffs
Mon May 31 11:12:24 2004 UTC (20 years, 10 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -3
lines
Prevent ad hoc lossage: copy the SSID from a beacon into the
beacon-sender's ieee80211_node, if ni->ni_esslen == 0. This fixes
WEP for Matthew. I think that it also will save us from IBSS
splits.
Thanks again, Matthew Gream.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu May 6 02:56:48 2004 UTC (20 years, 11 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +14 -74
lines
Incorporate new authentication debug statements from FreeBSD.
Fix authentication where I had botched it with the FreeBSD import.
(In FreeBSD, net80211 is strangely subroutine-averse, so where we
have ieee80211_auth_open and ieee80211_auth_shared, they incorporate
all of ieee80211_auth_open into ieee80211_recv_mgmt. I had not
realized that was why the 20 lines of new code.)
Revision 1.22: download - view: text, markup, annotated - select for diffs
Fri Apr 30 23:58:08 2004 UTC (20 years, 11 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +115 -27
lines
From FreeBSD. Be more consistent with ieee80211_node
reference counts, and treat ad hoc nodes properly. More complete
authentication support.
Revision 1.1.1.3 (vendor branch): download - view: text, markup, annotated - select for diffs
Thu Apr 29 03:54:39 2004 UTC (21 years ago) by dyoung
Branches: FreeBSD
CVS tags: net80211-28-apr-2004
Diff to: previous 1.1.1.2: preferred, colored
Changes since revision 1.1.1.2: +47 -29
lines
Import FreeBSD's net80211 of 28-apr-2004
Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Feb 11 10:19:32 2004 UTC (21 years, 2 months ago) by mrg
Branches: MAIN
CVS tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -3
lines
fix int/size_t issues in debug code.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Feb 1 08:25:57 2004 UTC (21 years, 2 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +20 -12
lines
This patch from Sam Leffler fixes bugs in the client-side of
shared-key authentication. This should help with your Apple products.
Any bugs, new or old, are mine.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Jan 15 08:16:24 2004 UTC (21 years, 3 months ago) by onoe
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +7 -4
lines
For FH phy, accept beacons whose hop pattern in FH params is different
from current setting, because the rssi value would be correct once the
datagram is received regardless the hopping pattern.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Jan 14 04:11:09 2004 UTC (21 years, 3 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +5 -5
lines
Don't panic on frames without a second address field. Tap them for
BPF, instead.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Jan 13 23:37:30 2004 UTC (21 years, 3 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -4
lines
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.16: download - view: text, markup, annotated - select for diffs
Sun Dec 14 09:56:53 2003 UTC (21 years, 4 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +122 -31
lines
Synchronize with FreeBSD sources from 12 Dec 2003.
Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Sat Dec 13 08:36:05 2003 UTC (21 years, 4 months ago) by dyoung
Branches: FreeBSD
CVS tags: net80211-12-dec-2003
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +124 -32
lines
Import FreeBSD's net80211 of 12 Dec 2003
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Dec 7 05:34:22 2003 UTC (21 years, 4 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +7 -3
lines
Diagnostics: complain if packet decapsulation fails.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Oct 27 17:11:19 2003 UTC (21 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -3
lines
Eliminate bogus initializer.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Oct 25 18:32:22 2003 UTC (21 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3
lines
Fix uninitialized variable warning
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Oct 25 03:18:37 2003 UTC (21 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -3
lines
Do that replacement in one more place.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Oct 25 01:17:39 2003 UTC (21 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -3
lines
Replace a constant with a symbol.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Oct 23 06:30:32 2003 UTC (21 years, 6 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -4
lines
In the input path, do not discard management frames belonging to
a different BSS, because that keeps drivers like atw from detecting
ad hoc beacons with the same SSID but different BSSID for the
purpose of IBSS merges.
This should be revisited: maybe drivers should check for beacons
before handing packets up with ieee80211_input(). However, this
restores the atw(4) to working like it did with the old 802.11
layer, and it *is* nice to re-use the 802.11 layer's packet-decode
& -dispatch code (i.e., the ic_recv_mgmt callback).
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Oct 18 05:06:43 2003 UTC (21 years, 6 months ago) by itojun
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +6 -4
lines
print "association failed" message only if IFF_DEBUG
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Oct 18 03:33:51 2003 UTC (21 years, 6 months ago) by onoe
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3
lines
Do not update SSID by beacon, because hidden SSID implementation is vary.
ex. 0-length, single space, 0x00 with correct length.
So, we don't update SSID in node table by beacon, but always update by
Probe Response.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Oct 15 11:43:51 2003 UTC (21 years, 6 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +231 -57
lines
Add WEP shared-key authentication.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Oct 14 23:02:52 2003 UTC (21 years, 6 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -2
lines
Add missing pktattr declaration. Should compile w/ ALTQ, now.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Oct 13 04:25:26 2003 UTC (21 years, 6 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +178 -13
lines
Add Kevin Lahey's power-saving support from the old 802.11 layer
Spelling fix: s/unmatch/mismatch/g
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Sep 28 02:35:20 2003 UTC (21 years, 7 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +22 -5
lines
More NetBSD-FreeBSD compatibility changes in the pattern
#ifdef __FreeBSD__
/* FreeBSDism */
#else
/* NetBSDism */
#endif
An important and non-obvious change is in ieee80211_mgmt_output,
#ifdef __FreeBSD__
KASSERT(m->m_pkthdr.rcvif == NULL, ("rcvif not null"));
#endif
Because NetBSD mbufs are not bzero'd like FreeBSD's, we cannot
count on rcvif == NULL.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Sep 14 01:14:55 2003 UTC (21 years, 7 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +5 -0
lines
Insert RCSIDs.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Sep 7 01:22:20 2003 UTC (21 years, 7 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +5 -1
lines
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 (vendor branch): download - view: text, markup, annotated - select for diffs
Sat Aug 30 21:26:04 2003 UTC (21 years, 7 months ago) by dyoung
Branches: FreeBSD
CVS tags: net80211-6-sep-2003,
net80211-29-aug-2003
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0
lines
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 - view: text, markup, annotated - select for diffs
Sat Aug 30 21:26:04 2003 UTC (21 years, 7 months ago) by dyoung
Branches: MAIN
Initial revision
CVSweb <webmaster@jp.NetBSD.org>