CVS log for src/sys/dev/ic/ath.c
Up to [cvs.NetBSD.org] / src / sys / dev / ic
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.139: download - view: text, markup, annotated - select for diffs
Fri Jul 5 04:31:50 2024 UTC (6 months, 1 week ago) by rin
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +4 -6
lines
sys: Drop redundant NULL check before m_freem(9)
m_freem(9) safely has accepted NULL argument at least since 4.2BSD:
https://www.tuhs.org/cgi-bin/utree.pl?file=4.2BSD/usr/src/sys/sys/uipc_mbuf.c
Compile-tested on amd64/ALL.
Suggested by knakahara@
Revision 1.138: download - view: text, markup, annotated - select for diffs
Sat Nov 6 06:44:41 2021 UTC (3 years, 2 months ago) by msaitoh
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
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,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +3 -3
lines
Fix typo in comment. s/notifcation/notification/
Revision 1.137: download - view: text, markup, annotated - select for diffs
Tue Sep 21 14:41:28 2021 UTC (3 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +3 -3
lines
don't opencode kauth_cred_get()
Revision 1.136: download - view: text, markup, annotated - select for diffs
Mon Aug 9 20:49:10 2021 UTC (3 years, 5 months ago) by andvar
Branches: MAIN
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +3 -3
lines
fix various typos in compatibility, mainly in comments.
Revision 1.134.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 17 04:46:28 2021 UTC (3 years, 7 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.134: preferred, colored; next MAIN 1.135: preferred, colored
Changes since revision 1.134: +3 -4
lines
Sync w/ HEAD.
Revision 1.135: download - view: text, markup, annotated - select for diffs
Sat Jun 12 12:15:54 2021 UTC (3 years, 7 months ago) by riastradh
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-futex2-base,
thorpej-futex2,
thorpej-cfargs2-base,
thorpej-cfargs2
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +3 -4
lines
ath(4): Use config_deactivate; don't abuse autoconf private dv_flags.
Revision 1.133.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 17 17:26:18 2021 UTC (3 years, 9 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.133: preferred, colored; next MAIN 1.134: preferred, colored
Changes since revision 1.133: +3 -3
lines
Sync with HEAD.
Revision 1.134: download - view: text, markup, annotated - select for diffs
Tue Apr 13 03:27:13 2021 UTC (3 years, 9 months ago) by mrg
Branches: MAIN
CVS tags: thorpej-cfargs-base,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +3 -3
lines
use correct enum types for various functions.
Revision 1.132.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 14 14:38:06 2020 UTC (4 years, 1 month ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.132: preferred, colored; next MAIN 1.133: preferred, colored
Changes since revision 1.132: +4 -4
lines
Sync w/ HEAD.
Revision 1.133: download - view: text, markup, annotated - select for diffs
Mon Nov 16 00:12:13 2020 UTC (4 years, 2 months ago) by msaitoh
Branches: MAIN
CVS tags: thorpej-futex-base
Branch point for: thorpej-cfargs
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +4 -4
lines
s/reseting/resetting/
Revision 1.132: download - view: text, markup, annotated - select for diffs
Wed Jul 22 01:24:40 2020 UTC (4 years, 5 months ago) by msaitoh
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +3 -3
lines
s/reseting/resetting/
Revision 1.131: download - view: text, markup, annotated - select for diffs
Fri Jun 12 15:34:20 2020 UTC (4 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +3 -3
lines
pmf-powerdown == false --> pmf-no-powerdown == true
Revision 1.124.2.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:21 2020 UTC (4 years, 9 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.124.2.2: preferred, colored; branchpoint 1.124: preferred, colored; next MAIN 1.125: preferred, colored
Changes since revision 1.124.2.2: +4 -23
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.124.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:06 2020 UTC (4 years, 9 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.124.2.1: preferred, colored; branchpoint 1.124: preferred, colored
Changes since revision 1.124.2.1: +29 -18
lines
Merge changes from current as of 20200406
Revision 1.129.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:19:08 2020 UTC (4 years, 10 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.129: preferred, colored; next MAIN 1.130: preferred, colored
Changes since revision 1.129: +22 -18
lines
Sync with head.
Revision 1.130: download - view: text, markup, annotated - select for diffs
Wed Jan 29 14:09:58 2020 UTC (4 years, 11 months ago) by thorpej
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +22 -18
lines
Adopt <net/if_stats.h>.
Revision 1.116.6.1: download - view: text, markup, annotated - select for diffs
Tue Dec 17 16:35:28 2019 UTC (5 years, 1 month ago) by martin
Branches: netbsd-7-0
Diff to: previous 1.116: preferred, colored; next MAIN 1.117: preferred, colored
Changes since revision 1.116: +9 -2
lines
Pull up following revision(s) (requested by christos in ticket #1718):
sys/dev/ic/ath.c: revision 1.129
Protect network ioctls from non-authorized users. (Ilja Van Sprundel)
Revision 1.116.10.1: download - view: text, markup, annotated - select for diffs
Tue Dec 17 16:34:26 2019 UTC (5 years, 1 month ago) by martin
Branches: netbsd-7-1
Diff to: previous 1.116: preferred, colored; next MAIN 1.117: preferred, colored
Changes since revision 1.116: +9 -2
lines
Pull up following revision(s) (requested by christos in ticket #1718):
sys/dev/ic/ath.c: revision 1.129
Protect network ioctls from non-authorized users. (Ilja Van Sprundel)
Revision 1.116.4.1: download - view: text, markup, annotated - select for diffs
Tue Dec 17 16:32:51 2019 UTC (5 years, 1 month ago) by martin
Branches: netbsd-7
Diff to: previous 1.116: preferred, colored; next MAIN 1.117: preferred, colored
Changes since revision 1.116: +9 -2
lines
Pull up following revision(s) (requested by christos in ticket #1718):
sys/dev/ic/ath.c: revision 1.129
Protect network ioctls from non-authorized users. (Ilja Van Sprundel)
Revision 1.123.6.1: download - view: text, markup, annotated - select for diffs
Tue Dec 17 16:18:50 2019 UTC (5 years, 1 month ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE
Diff to: previous 1.123: preferred, colored; next MAIN 1.124: preferred, colored
Changes since revision 1.123: +9 -2
lines
Pull up following revision(s) (requested by christos in ticket #1475):
sys/dev/ic/ath.c: revision 1.129
Protect network ioctls from non-authorized users. (Ilja Van Sprundel)
Revision 1.127.2.1: download - view: text, markup, annotated - select for diffs
Tue Dec 17 16:12:54 2019 UTC (5 years, 1 month ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2
Diff to: previous 1.127: preferred, colored; next MAIN 1.128: preferred, colored
Changes since revision 1.127: +9 -2
lines
Pull up following revision(s) (requested by christos in ticket #569):
sys/dev/usb/if_umb.c: revision 1.10
sys/net/if.c: revision 1.466
sys/dev/ic/ath.c: revision 1.129
Protect network ioctls from non-authorized users. (Ilja Van Sprundel)
Revision 1.129: download - view: text, markup, annotated - select for diffs
Tue Dec 17 04:54:36 2019 UTC (5 years, 1 month ago) by christos
Branches: MAIN
CVS tags: ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +9 -2
lines
Protect network ioctls from non-authorized users. (Ilja Van Sprundel)
Revision 1.128: download - view: text, markup, annotated - select for diffs
Sun Nov 10 21:16:35 2019 UTC (5 years, 2 months ago) by chs
Branches: MAIN
CVS tags: phil-wifi-20191119
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +6 -25
lines
in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.
Revision 1.124.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:10 2019 UTC (5 years, 7 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +37 -32
lines
Sync with HEAD
Revision 1.127: download - view: text, markup, annotated - select for diffs
Tue May 28 07:41:48 2019 UTC (5 years, 7 months ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-20190609,
netbsd-9-base,
netbsd-9-0-RC1
Branch point for: netbsd-9
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +6 -3
lines
Use ETHER_LOCK()/ETHER_UNLOCK() for all ethernet drivers to protect ec_multi*.
Revision 1.126: download - view: text, markup, annotated - select for diffs
Thu May 23 13:10:51 2019 UTC (5 years, 7 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +21 -21
lines
Whitespace fix (mainly tabify).
Revision 1.125: download - view: text, markup, annotated - select for diffs
Thu May 23 10:57:28 2019 UTC (5 years, 7 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +16 -14
lines
-No functional change:
- KNF
- u_int*_t -> uint*_t.
Revision 1.123.12.1: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:37:44 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.123: preferred, colored; next MAIN 1.124: preferred, colored
Changes since revision 1.123: +7 -6
lines
Sync with HEAD
Revision 1.124: download - view: text, markup, annotated - select for diffs
Tue Jun 26 06:48:00 2018 UTC (6 years, 6 months ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
jdolecek-ncqfixes-base,
jdolecek-ncqfixes,
isaki-audio2-base,
isaki-audio2
Branch point for: phil-wifi
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +7 -6
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.113.8.4: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:03 2017 UTC (7 years, 1 month ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.113.8.3: preferred, colored; branchpoint 1.113: preferred, colored; next MAIN 1.114: preferred, colored
Changes since revision 1.113.8.3: +78 -5
lines
update from HEAD
Revision 1.122.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:46 2017 UTC (7 years, 8 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.122: preferred, colored; next MAIN 1.123: preferred, colored
Changes since revision 1.122: +75 -2
lines
Sync with HEAD
Revision 1.122.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:28 2017 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.122: preferred, colored; next MAIN 1.123: preferred, colored
Changes since revision 1.122: +75 -2
lines
Sync with HEAD
Revision 1.117.2.4: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:27 2017 UTC (7 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.117.2.3: preferred, colored; branchpoint 1.117: preferred, colored; next MAIN 1.118: preferred, colored
Changes since revision 1.117.2.3: +75 -2
lines
Sync with HEAD
Revision 1.123: download - view: text, markup, annotated - select for diffs
Thu Feb 2 10:05:35 2017 UTC (7 years, 11 months ago) by nonaka
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-compat-base,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
netbsd-8-base,
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,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1
Branch point for: pgoyette-compat,
netbsd-8
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +75 -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.117.2.3: download - view: text, markup, annotated - select for diffs
Sat Jul 9 20:25:02 2016 UTC (8 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.117.2.2: preferred, colored; branchpoint 1.117: preferred, colored
Changes since revision 1.117.2.2: +3 -3
lines
Sync with HEAD
Revision 1.122: download - view: text, markup, annotated - select for diffs
Fri Jun 10 13:27:13 2016 UTC (8 years, 7 months ago) by ozaki-r
Branches: MAIN
CVS tags: pgoyette-localcount-base,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
localcount-20160914,
bouyer-socketcan-base
Branch point for: pgoyette-localcount,
bouyer-socketcan
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +3 -3
lines
Introduce m_set_rcvif and m_reset_rcvif
The API is used to set (or reset) a received interface of a mbuf.
They are counterpart of m_get_rcvif, which will come in another
commit, hide internal of rcvif operation, and reduce the diff of
the upcoming change.
No functional change.
Revision 1.117.2.2: download - view: text, markup, annotated - select for diffs
Sun May 29 08:44:21 2016 UTC (8 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.117.2.1: preferred, colored; branchpoint 1.117: preferred, colored
Changes since revision 1.117.2.1: +4 -4
lines
Sync with HEAD
Revision 1.121: download - view: text, markup, annotated - select for diffs
Thu May 26 05:04:46 2016 UTC (8 years, 7 months ago) by ozaki-r
Branches: MAIN
CVS tags: nick-nhusb-base-20160529
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +3 -3
lines
Introduce M_CLEARCTX and use it instead of open-coding rcvif
No functional change.
Revision 1.120: download - view: text, markup, annotated - select for diffs
Thu May 26 05:01:11 2016 UTC (8 years, 7 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +3 -3
lines
Use M_GETCTX
No functional change.
Revision 1.117.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 22 15:44:13 2016 UTC (8 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +2 -2
lines
Sync with HEAD
Revision 1.119: download - view: text, markup, annotated - select for diffs
Fri Apr 8 14:52:56 2016 UTC (8 years, 9 months ago) by roy
Branches: MAIN
CVS tags: nick-nhusb-base-20160422
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +2 -2
lines
Revert prior.
Revision 1.118: download - view: text, markup, annotated - select for diffs
Wed Apr 6 15:10:35 2016 UTC (8 years, 9 months ago) by roy
Branches: MAIN
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +4 -4
lines
Fix rssi
Revision 1.117: download - view: text, markup, annotated - select for diffs
Sat Oct 18 08:33:27 2014 UTC (10 years, 3 months ago) by snj
Branches: MAIN
CVS tags: nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +4 -4
lines
src is too big these days to tolerate superfluous apostrophes. It's
"its", people!
Revision 1.113.8.3: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:37 2014 UTC (10 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.113.8.2: preferred, colored; branchpoint 1.113: preferred, colored
Changes since revision 1.113.8.2: +2 -4
lines
Rebase to HEAD as of a few days ago.
Revision 1.112.2.3: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:21 2014 UTC (10 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.112.2.2: preferred, colored; branchpoint 1.112: preferred, colored; next MAIN 1.113: preferred, colored
Changes since revision 1.112.2.2: +8 -6
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.115.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:37 2014 UTC (10 years, 8 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.115: preferred, colored; next MAIN 1.116: preferred, colored
Changes since revision 1.115: +2 -4
lines
sync with head
Revision 1.116: download - view: text, markup, annotated - select for diffs
Thu Sep 12 12:17:53 2013 UTC (11 years, 4 months ago) by martin
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-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE
Branch point for: netbsd-7-1,
netbsd-7-0,
netbsd-7
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +2 -4
lines
Remove unused variable
Revision 1.113.8.2: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:29:14 2013 UTC (11 years, 10 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.113.8.1: preferred, colored; branchpoint 1.113: preferred, colored
Changes since revision 1.113.8.1: +8 -4
lines
resync with head
Revision 1.115: download - view: text, markup, annotated - select for diffs
Sun Jan 27 12:48:56 2013 UTC (11 years, 11 months ago) by jmcneill
Branches: MAIN
CVS tags: riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
khorben-n900,
agc-symver-base,
agc-symver
Branch point for: rmind-smpnet
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +8 -4
lines
don't transmit while in a key change is in progress
Revision 1.112.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 16 05:33:14 2013 UTC (12 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.112.2.1: preferred, colored; branchpoint 1.112: preferred, colored
Changes since revision 1.112.2.1: +31 -30
lines
sync with (a bit old) head
Revision 1.113.8.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:02:02 2012 UTC (12 years, 2 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +31 -30
lines
Resync to 2012-11-19 00:00:00 UTC
Revision 1.114: download - view: text, markup, annotated - select for diffs
Thu Nov 8 20:43:55 2012 UTC (12 years, 2 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-pagecache-base8,
yamt-pagecache-base7
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +31 -30
lines
Use NetBSD's own KASSERT() and KASSERTMSG() instead of #undef and re-#defining
KASSERT(), which is awkward at best.
Revision 1.112.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:31 2012 UTC (12 years, 9 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +3 -3
lines
sync with head
Revision 1.113: download - view: text, markup, annotated - select for diffs
Mon Nov 28 00:30:17 2011 UTC (13 years, 1 month ago) by jmcneill
Branches: MAIN
CVS tags: 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,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base10,
jmcneill-usbmp-base,
jmcneill-usbmp
Branch point for: tls-maxphys
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +3 -3
lines
SVN r220966 from FreeBSD:
Fix a corner-case of interrupt handling which resulted in potentially
spurious (and fatal) interrupt errors.
Revision 1.112: download - view: text, markup, annotated - select for diffs
Fri Oct 7 16:58:11 2011 UTC (13 years, 3 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +17 -16
lines
Get rid of the "I don't know what I was thinking / somebody should have
stopped me / does anybody read source-changes?" ATH_LOCK()/ATH_UNLOCK()
and bracket with splnet()/splx() instead. This is still not *good*,
since ifnet ioctls are not (yet) synchronized, but could be no worse
than what we have, now. Survives light testing with my (forthcoming)
ifnet ioctl synchronization patch.
Revision 1.109.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:07:50 2011 UTC (13 years, 7 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.109: preferred, colored; next MAIN 1.110: preferred, colored
Changes since revision 1.109: +8 -4
lines
Sync with HEAD.
Revision 1.108.4.3: download - view: text, markup, annotated - select for diffs
Thu Apr 21 01:41:46 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.108.4.2: preferred, colored; branchpoint 1.108: preferred, colored; next MAIN 1.109: preferred, colored
Changes since revision 1.108.4.2: +4 -2
lines
sync with head
Revision 1.111: download - view: text, markup, annotated - select for diffs
Mon Mar 7 11:25:41 2011 UTC (13 years, 10 months ago) by cegger
Branches: MAIN
CVS tags: rmind-uvmplock-nbase,
rmind-uvmplock-base,
cherry-xenmp-base,
cherry-xenmp
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +6 -4
lines
Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
Revision 1.108.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:53:12 2011 UTC (13 years, 10 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.108.4.1: preferred, colored; branchpoint 1.108: preferred, colored
Changes since revision 1.108.4.1: +4 -2
lines
sync with head
Revision 1.109.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 15:10:18 2011 UTC (13 years, 10 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.109: preferred, colored; next MAIN 1.110: preferred, colored
Changes since revision 1.109: +4 -2
lines
Sync with HEAD
Revision 1.110: download - view: text, markup, annotated - select for diffs
Sun Feb 20 03:55:56 2011 UTC (13 years, 11 months ago) by jmcneill
Branches: MAIN
CVS tags: bouyer-quota2-nbase
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +4 -2
lines
support building as a module
Revision 1.99.4.5: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:53:23 2010 UTC (14 years, 5 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.99.4.4: preferred, colored; branchpoint 1.99: preferred, colored; next MAIN 1.100: preferred, colored
Changes since revision 1.99.4.4: +9 -12
lines
sync with head.
Revision 1.108.4.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:17:20 2010 UTC (14 years, 7 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +9 -12
lines
sync with head
Revision 1.108.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:43:13 2010 UTC (14 years, 8 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.108: preferred, colored; next MAIN 1.109: preferred, colored
Changes since revision 1.108: +9 -12
lines
Sync with HEAD.
Revision 1.102.8.1: download - view: text, markup, annotated - select for diffs
Wed Apr 21 00:27:35 2010 UTC (14 years, 9 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-k15
Diff to: previous 1.102: preferred, colored; next MAIN 1.103: preferred, colored
Changes since revision 1.102: +238 -65
lines
sync to netbsd-5
Revision 1.109: download - view: text, markup, annotated - select for diffs
Mon Apr 5 07:19:33 2010 UTC (14 years, 9 months 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,
matt-mips64-premerge-20101231,
jruoho-x86intr-base,
bouyer-quota2-base
Branch point for: jruoho-x86intr,
bouyer-quota2
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +9 -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.99.4.4: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:28 2010 UTC (14 years, 10 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.99.4.3: preferred, colored; branchpoint 1.99: preferred, colored
Changes since revision 1.99.4.3: +31 -40
lines
sync with head
Revision 1.108: download - view: text, markup, annotated - select for diffs
Tue Jan 19 22:06:24 2010 UTC (15 years 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.107: preferred, colored
Changes since revision 1.107: +13 -32
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.107: download - view: text, markup, annotated - select for diffs
Wed Sep 16 16:34:50 2009 UTC (15 years, 4 months ago) by dyoung
Branches: MAIN
CVS tags: matt-premerge-20091211,
jym-xensuspend-nbase
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +20 -10
lines
In pmf(9), improve the implementation of device self-suspension
and make suspension by self, by drvctl(8), and by ACPI system sleep
play nice together. Start solidifying some temporary API changes.
1. Extract a new header file, <sys/device_if.h>, from <sys/device.h> and
#include it from <sys/pmf.h> instead of <sys/device.h> to break the
circular dependency between <sys/device.h> and <sys/pmf.h>.
2. Introduce pmf_qual_t, an aggregate of qualifications on a PMF
suspend/resume call. Start to replace instances of PMF_FN_PROTO,
PMF_FN_ARGS, et cetera, with a pmf_qual_t.
3. Introduce the notion of a "suspensor," an entity that holds a
device in suspension. More than one suspensor may hold a device
at once. A device stays suspended as long as at least one
suspensor holds it. A device resumes when the last suspensor
releases it.
Currently, the kernel defines three suspensors,
3a the system-suspensor: for system suspension, initiated
by 'sysctl -w machdep.sleep_state=3', by lid closure, by
power-button press, et cetera,
3b the drvctl-suspensor: for device suspension by /dev/drvctl
ioctl, e.g., drvctl -S sip0.
3c the system self-suspensor: for device drivers that suspend
themselves and their children. Several drivers for network
interfaces put the network device to sleep while it is not
administratively up, that is, after the kernel calls if_stop(,
1). The self-suspensor should not be used directly. See
the description of suspensor delegates, below.
A suspensor can have one or more "delegates". A suspensor can
release devices that its delegates hold suspended. Right now,
only the system self-suspensor has delegates. For each device
that a self-suspending driver attaches, it creates the device's
self-suspensor, a delegate of the system self-suspensor.
Suspensors stop a system-wide suspend/resume cycle from waking
devices that the operator put to sleep with drvctl before the cycle.
They also help self-suspension to work more simply, safely, and in
accord with expectations.
4. Add the notion of device activation level, devact_level_t,
and a routine for checking the current activation level,
device_activation(). Current activation levels are DEVACT_LEVEL_BUS,
DEVACT_LEVEL_DRIVER, and DEVACT_LEVEL_CLASS, which respectively
indicate that the device's bus is active, that the bus and device are
active, and that the bus, device, and the functions of the device's
class (network, audio) are active.
Suspend/resume calls can be qualified with a devact_level_t.
The power-management framework treats a devact_level_t that
qualifies a device suspension as the device's current activation
level; it only runs hooks to reduce the activation level from
the presumed current level to the fully suspended state. The
framework treats a devact_level_t qualifying device resumption
as the target activation level; it only runs hooks to raise the
activation level to the target.
5. Use pmf_qual_t, devact_level_t, and self-suspensors in several
drivers.
6. Temporarily add an unused power-management workqueue that I will
remove or replace, soon.
Revision 1.99.4.3: download - view: text, markup, annotated - select for diffs
Wed Aug 19 18:47:06 2009 UTC (15 years, 5 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.99.4.2: preferred, colored; branchpoint 1.99: preferred, colored
Changes since revision 1.99.4.2: +120 -42
lines
sync with head.
Revision 1.102.4.2: download - view: text, markup, annotated - select for diffs
Fri Aug 7 06:48:09 2009 UTC (15 years, 5 months ago) by snj
Branches: netbsd-5
CVS tags: 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,
matt-nb5-pq3-base,
matt-nb5-pq3
Diff to: previous 1.102.4.1: preferred, colored; branchpoint 1.102: preferred, colored; next MAIN 1.103: preferred, colored
Changes since revision 1.102.4.1: +120 -42
lines
Pull up following revision(s) (requested by jmcneill in ticket #775):
sys/dev/ic/ath.c: revision 1.106
sys/dev/ic/athvar.h: revision 1.28
- fix TKIP, changes adapted from FreeBSD
- reduce diffs between FreeBSD and NetBSD athvar.h
Revision 1.102.4.1: download - view: text, markup, annotated - select for diffs
Fri Aug 7 06:43:27 2009 UTC (15 years, 5 months ago) by snj
Branches: netbsd-5
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +152 -57
lines
Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
Revision 1.106: download - view: text, markup, annotated - select for diffs
Sun Aug 2 13:26:33 2009 UTC (15 years, 5 months ago) by jmcneill
Branches: MAIN
CVS tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +120 -42
lines
- fix TKIP, changes adapted from FreeBSD
- reduce diffs between FreeBSD and NetBSD athvar.h
Revision 1.99.4.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:40 2009 UTC (15 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.99.4.1: preferred, colored; branchpoint 1.99: preferred, colored
Changes since revision 1.99.4.1: +187 -81
lines
sync with head.
Revision 1.102.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:17:54 2009 UTC (16 years ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.102: preferred, colored; next MAIN 1.103: preferred, colored
Changes since revision 1.102: +152 -57
lines
Sync with HEAD.
Revision 1.98.6.5: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:54 2009 UTC (16 years ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.98.6.4: preferred, colored; branchpoint 1.98: preferred, colored; next MAIN 1.99: preferred, colored
Changes since revision 1.98.6.4: +150 -55
lines
Sync with HEAD.
Revision 1.101.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:14:13 2008 UTC (16 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.101.2.1: preferred, colored; branchpoint 1.101: preferred, colored; next MAIN 1.102: preferred, colored
Changes since revision 1.101.2.1: +152 -57
lines
Update haad-dm branch to haad-dm-base2.
Revision 1.105: download - view: text, markup, annotated - select for diffs
Thu Dec 11 06:04:01 2008 UTC (16 years, 1 month ago) by alc
Branches: MAIN
CVS tags: 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,
haad-nbase2,
haad-dm-base2,
haad-dm-base
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +2 -4
lines
Doh! What should have happened happens ...
Restore the check to see if the chip does MIC correctly when
WME is turned on. Btw, define IEEE80211_C_WME_TKIPMIC and fix build :/
Revision 1.104: download - view: text, markup, annotated - select for diffs
Thu Dec 11 05:45:29 2008 UTC (16 years, 1 month ago) by alc
Branches: MAIN
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +152 -57
lines
Sync ath(4) with the new HAL, mostly based on <jmcneill>'s patches.
Everything should be fine again !
Revision 1.103: download - view: text, markup, annotated - select for diffs
Fri Nov 7 00:20:02 2008 UTC (16 years, 2 months ago) by dyoung
Branches: MAIN
CVS tags: ad-audiomp2-base,
ad-audiomp2
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +4 -2
lines
*** Summary ***
When a link-layer address changes (e.g., ifconfig ex0 link
02:de:ad:be:ef:02 active), send a gratuitous ARP and/or a Neighbor
Advertisement to update the network-/link-layer address bindings
on our LAN peers.
Refuse a change of ethernet address to the address 00:00:00:00:00:00
or to any multicast/broadcast address. (Thanks matt@.)
Reorder ifnet ioctl operations so that driver ioctls may inherit
the functions of their "class"---ether_ioctl(), fddi_ioctl(), et
cetera---and the class ioctls may inherit from the generic ioctl,
ifioctl_common(), but both driver- and class-ioctls may override
the generic behavior. Make network drivers share more code.
Distinguish a "factory" link-layer address from others for the
purposes of both protecting that address from deletion and computing
EUI64.
Return consistent, appropriate error codes from network drivers.
Improve readability. KNF.
*** Details ***
In if_attach(), always initialize the interface ioctl routine,
ifnet->if_ioctl, if the driver has not already initialized it.
Delete if_ioctl == NULL tests everywhere else, because it cannot
happen.
In the ioctl routines of network interfaces, inherit common ioctl
behaviors by calling either ifioctl_common() or whichever ioctl
routine is appropriate for the class of interface---e.g., ether_ioctl()
for ethernets.
Stop (ab)using SIOCSIFADDR and start to use SIOCINITIFADDR. In
the user->kernel interface, SIOCSIFADDR's argument was an ifreq,
but on the protocol->ifnet interface, SIOCSIFADDR's argument was
an ifaddr. That was confusing, and it would work against me as I
make it possible for a network interface to overload most ioctls.
On the protocol->ifnet interface, replace SIOCSIFADDR with
SIOCINITIFADDR. In ifioctl(), return EPERM if userland tries to
invoke SIOCINITIFADDR.
In ifioctl(), give the interface the first shot at handling most
interface ioctls, and give the protocol the second shot, instead
of the other way around. Finally, let compatibility code (COMPAT_OSOCK)
take a shot.
Pull device initialization out of switch statements under
SIOCINITIFADDR. For example, pull ..._init() out of any switch
statement that looks like this:
switch (...->sa_family) {
case ...:
..._init();
...
break;
...
default:
..._init();
...
break;
}
Rewrite many if-else clauses that handle all permutations of IFF_UP
and IFF_RUNNING to use a switch statement,
switch (x & (IFF_UP|IFF_RUNNING)) {
case 0:
...
break;
case IFF_RUNNING:
...
break;
case IFF_UP:
...
break;
case IFF_UP|IFF_RUNNING:
...
break;
}
unifdef lots of code containing #ifdef FreeBSD, #ifdef NetBSD, and
#ifdef SIOCSIFMTU, especially in fwip(4) and in ndis(4).
In ipw(4), remove an if_set_sadl() call that is out of place.
In nfe(4), reuse the jumbo MTU logic in ether_ioctl().
Let ethernets register a callback for setting h/w state such as
promiscuous mode and the multicast filter in accord with a change
in the if_flags: ether_set_ifflags_cb() registers a callback that
returns ENETRESET if the caller should reset the ethernet by calling
if_init(), 0 on success, != 0 on failure. Pull common code from
ex(4), gem(4), nfe(4), sip(4), tlp(4), vge(4) into ether_ioctl(),
and register if_flags callbacks for those drivers.
Return ENOTTY instead of EINVAL for inappropriate ioctls. In
zyd(4), use ENXIO instead of ENOTTY to indicate that the device is
not any longer attached.
Add to if_set_sadl() a boolean 'factory' argument that indicates
whether a link-layer address was assigned by the factory or some
other source. In a comment, recommend using the factory address
for generating an EUI64, and update in6_get_hw_ifid() to prefer a
factory address to any other link-layer address.
Add a routing message, RTM_LLINFO_UPD, that tells protocols to
update the binding of network-layer addresses to link-layer addresses.
Implement this message in IPv4 and IPv6 by sending a gratuitous
ARP or a neighbor advertisement, respectively. Generate RTM_LLINFO_UPD
messages on a change of an interface's link-layer address.
In ether_ioctl(), do not let SIOCALIFADDR set a link-layer address
that is broadcast/multicast or equal to 00:00:00:00:00:00.
Make ether_ioctl() call ifioctl_common() to handle ioctls that it
does not understand.
In gif(4), initialize if_softc and use it, instead of assuming that
the gif_softc and ifp overlap.
Let ifioctl_common() handle SIOCGIFADDR.
Sprinkle rtcache_invariants(), which checks on DIAGNOSTIC kernels
that certain invariants on a struct route are satisfied.
In agr(4), rewrite agr_ioctl_filter() to be a bit more explicit
about the ioctls that we do not allow on an agr(4) member interface.
bzero -> memset. Delete unnecessary casts to void *. Use
sockaddr_in_init() and sockaddr_in6_init(). Compare pointers with
NULL instead of "testing truth". Replace some instances of (type
*)0 with NULL. Change some K&R prototypes to ANSI C, and join
lines.
Revision 1.101.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:16:25 2008 UTC (16 years, 3 months ago) by haad
Branches: haad-dm
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +24 -24
lines
Sync with HEAD.
Revision 1.98.6.4: download - view: text, markup, annotated - select for diffs
Sun Sep 28 10:40:22 2008 UTC (16 years, 3 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.98.6.3: preferred, colored; branchpoint 1.98: preferred, colored
Changes since revision 1.98.6.3: +22 -22
lines
Sync with HEAD.
Revision 1.100.2.2: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:35:03 2008 UTC (16 years, 4 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.100.2.1: preferred, colored; branchpoint 1.100: preferred, colored; next MAIN 1.101: preferred, colored
Changes since revision 1.100.2.1: +24 -24
lines
Sync with wrstuden-revivesa-base-2.
Revision 1.100.4.2: download - view: text, markup, annotated - select for diffs
Fri Jul 18 16:37:32 2008 UTC (16 years, 6 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.100.4.1: preferred, colored; branchpoint 1.100: preferred, colored; next MAIN 1.101: preferred, colored
Changes since revision 1.100.4.1: +24 -24
lines
Sync with head.
Revision 1.102: download - view: text, markup, annotated - select for diffs
Wed Jul 9 19:47:24 2008 UTC (16 years, 6 months ago) by joerg
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
simonb-wapbl-nbase,
simonb-wapbl-base,
netbsd-5-base,
netbsd-5-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,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20091211,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
haad-dm-base1
Branch point for: nick-hppapmap,
netbsd-5,
matt-nb5-mips64
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +24 -24
lines
- device/softc split for ath(4)
Revision 1.98.6.3: download - view: text, markup, annotated - select for diffs
Sun Jun 29 09:33:06 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.98.6.2: preferred, colored; branchpoint 1.98: preferred, colored
Changes since revision 1.98.6.2: +14 -3
lines
Sync with HEAD.
Revision 1.100.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:31:04 2008 UTC (16 years, 6 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +16 -5
lines
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.100.4.1: download - view: text, markup, annotated - select for diffs
Wed Jun 18 16:33:10 2008 UTC (16 years, 7 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +16 -5
lines
Sync with head.
Revision 1.99.2.2: download - view: text, markup, annotated - select for diffs
Tue Jun 17 09:14:34 2008 UTC (16 years, 7 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.99.2.1: preferred, colored; branchpoint 1.99: preferred, colored; next MAIN 1.100: preferred, colored
Changes since revision 1.99.2.1: +16 -5
lines
sync with head.
Revision 1.101: download - view: text, markup, annotated - select for diffs
Tue Jun 17 02:01:58 2008 UTC (16 years, 7 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-pf42-base4,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base
Branch point for: haad-dm
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +16 -5
lines
Repair a discrepancy between the 802.11 standard and ath(4) operation
where transmit fragmentation is concerned.
Extract from ath_tx_start() the code for subtracting padding from
the packet length, creating subroutine deduct_pad_bytes(). Note
that the arithmetic in deduct_pad_bytes() is suspicious.
Use deduct_pad_bytes() to repair the computation of the 802.11
Duration field for fragments. The computation used to leave out
the FCS, among other things.
Some discrepancies between ath(4) operation and the standard may
still remain. According to my observations, the gaps between
transmitted fragments may be approximately 8 microseconds too long.
Revision 1.98.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:18 2008 UTC (16 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.98.6.1: preferred, colored; branchpoint 1.98: preferred, colored
Changes since revision 1.98.6.1: +4 -1
lines
Sync with HEAD.
Revision 1.99.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:33:41 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +6 -3
lines
sync with head.
Revision 1.99.4.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:24:02 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +6 -3
lines
sync with head.
Revision 1.100: download - view: text, markup, annotated - select for diffs
Sun May 4 20:02:06 2008 UTC (16 years, 8 months ago) by rumble
Branches: MAIN
CVS tags: yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base2,
hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa,
simonb-wapbl
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +6 -3
lines
If a device transmit timeout occurs and sc_txintrperiod is greater than
one, throttle it down before the reset. This way the user need not know
the magic `hw.ath0.txintrperiod=1' fix if the default value is too high
for their machine.
Revision 1.98.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:39 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +102 -155
lines
Sync with HEAD.
Revision 1.98.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:15:16 2008 UTC (16 years, 9 months ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.98: preferred, colored; next MAIN 1.99: preferred, colored
Changes since revision 1.98: +102 -155
lines
sync with head.
Revision 1.84.8.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:37 2008 UTC (16 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.84.8.2: preferred, colored; branchpoint 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84.8.2: +102 -155
lines
sync with HEAD
Revision 1.53.2.8: download - view: text, markup, annotated - select for diffs
Mon Mar 17 09:14:41 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.53.2.7: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53.2.7: +102 -155
lines
sync with head.
Revision 1.99: download - view: text, markup, annotated - select for diffs
Wed Mar 12 18:02:21 2008 UTC (16 years, 10 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
ad-socklock-base1
Branch point for: yamt-pf42,
yamt-nfs-mp
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +102 -155
lines
Use device_t and its accessors throughout. Use aprint_*_dev().
Improve PMF-ability.
Add a 'flags' argument to suspend/resume handlers and
callers such as pmf_system_suspend().
Define a flag, PMF_F_SELF, which indicates to PMF that a
device is suspending/resuming itself. Add helper routines,
pmf_device_suspend_self(dev) and pmf_device_resume_self(dev),
that call pmf_device_suspend(dev, PMF_F_SELF) and
pmf_device_resume(dev, PMF_F_SELF), respectively. Use
PMF_F_SELF to suspend/resume self in ath(4), audio(4),
rtw(4), and sip(4).
In ath(4) and in rtw(4), replace the icky sc_enable/sc_disable
callbacks, provided by the bus front-end, with
self-suspension/resumption. Also, clean up the bus
front-ends. Make sure that the interrupt handler is
disestablished during suspension. Get rid of driver-private
flags (e.g., RTW_F_ENABLED, ath_softc->sc_invalid); use
device_is_active()/device_has_power() calls, instead.
In the network-class suspend handler, call if_stop(, 0)
instead of if_stop(, 1), because the latter is superfluous
(bus- and driver-suspension hooks will 'disable' the NIC),
and it may cause recursion.
In the network-class resume handler, prevent infinite
recursion through if_init() by getting out early if we are
self-suspending (PMF_F_SELF).
rtw(4) improvements:
Destroy rtw(4) callouts when we detach it. Make rtw at
pci detachable. Print some more information with the "rx
frame too long" warning.
Remove activate() methods:
Get rid of rtw_activate() and ath_activate(). The device
activate() methods are not good for much these days.
Make ath at cardbus resume with crypto functions intact:
Introduce a boolean device property, "pmf-powerdown". If
pmf-powerdown is present and false, it indicates that a
bus back-end should not remove power from a device.
Honor this property in cardbus_child_suspend().
Set this property to 'false' in ath_attach(), since removing
power from an ath at cardbus seems to lobotomize the WPA
crypto engine. XXX Should the pmf-powerdown property
propagate toward the root of the device tree?
Miscellaneous ath(4) changes:
Warn if ath(4) tries to write crypto keys to suspended
hardware.
Reduce differences between FreeBSD and NetBSD in ath(4)
multicast filter setup.
Make ath_printrxbuf() print an rx descriptor's status &
key index, to help debug crypto errors.
Shorten a staircase in ath_ioctl(). Don't check for
ieee80211_ioctl() return code ERESTART, it never happens.
Revision 1.87.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:05:40 2008 UTC (16 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.87.2.2: preferred, colored; branchpoint 1.87: preferred, colored; next MAIN 1.88: preferred, colored
Changes since revision 1.87.2.2: +2 -3
lines
Sync with HEAD.
Revision 1.53.2.7: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:42:54 2008 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.53.2.6: preferred, colored
Changes since revision 1.53.2.6: +7 -76
lines
sync with head
Revision 1.84.8.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:52:46 2008 UTC (17 years ago) by matt
Branches: matt-armv6
Diff to: previous 1.84.8.1: preferred, colored; branchpoint 1.84: preferred, colored
Changes since revision 1.84.8.1: +36 -90
lines
sync with HEAD
Revision 1.93.2.2: download - view: text, markup, annotated - select for diffs
Tue Jan 8 22:11:01 2008 UTC (17 years ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.93.2.1: preferred, colored; branchpoint 1.93: preferred, colored; next MAIN 1.94: preferred, colored
Changes since revision 1.93.2.1: +2 -3
lines
Sync with HEAD
Revision 1.98: download - view: text, markup, annotated - select for diffs
Fri Jan 4 21:17:54 2008 UTC (17 years ago) by ad
Branches: MAIN
CVS tags: nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-base,
hpcarm-cleanup-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base
Branch point for: mjf-devfs2,
keiichi-mipv6
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +2 -3
lines
Start detangling lock.h from intr.h. This is likely to cause short term
breakage, but the mess of dependencies has been regularly breaking the
build recently anyhow.
Revision 1.93.2.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:54:07 2008 UTC (17 years ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +5 -3
lines
Sync with HEAD
Revision 1.87.2.2: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:45:05 2007 UTC (17 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.87.2.1: preferred, colored; branchpoint 1.87: preferred, colored
Changes since revision 1.87.2.1: +7 -75
lines
Sync with HEAD.
Revision 1.92.2.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:46:16 2007 UTC (17 years ago) by ad
Branches: vmlocking2
Diff to: previous 1.92: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92: +7 -75
lines
Sync with head.
Revision 1.97: download - view: text, markup, annotated - select for diffs
Sat Dec 22 00:41:01 2007 UTC (17 years, 1 month ago) by dyoung
Branches: MAIN
CVS tags: vmlocking2-base3
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +2 -3
lines
Remove the remnants of the powerhooks.
Revision 1.96: download - view: text, markup, annotated - select for diffs
Fri Dec 14 02:46:49 2007 UTC (17 years, 1 month ago) by dyoung
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +5 -2
lines
Exit from ath_init() with EBUSY if the device does not have power.
Revision 1.95: download - view: text, markup, annotated - select for diffs
Thu Dec 13 09:17:43 2007 UTC (17 years, 1 month ago) by dyoung
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +2 -5
lines
Back out previous my previous change, it stops device resumption
entirely.
Revision 1.94: download - view: text, markup, annotated - select for diffs
Thu Dec 13 09:04:39 2007 UTC (17 years, 1 month ago) by dyoung
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +5 -2
lines
Do not reinitialize the NIC while it is suspended.
Revision 1.92.4.1: download - view: text, markup, annotated - select for diffs
Tue Dec 11 15:27:38 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-kmem
Diff to: previous 1.92: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92: +4 -74
lines
sync with head.
Revision 1.93: download - view: text, markup, annotated - select for diffs
Sun Dec 9 20:27:57 2007 UTC (17 years, 1 month ago) by jmcneill
Branches: MAIN
CVS tags: yamt-kmem-base3,
yamt-kmem-base2,
cube-autoconf-base,
cube-autoconf
Branch point for: bouyer-xeni386
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +4 -74
lines
Merge jmcneill-pm branch.
Revision 1.87.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:19:33 2007 UTC (17 years, 1 month ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +31 -16
lines
Sync with HEAD.
Revision 1.53.2.6: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:29:50 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.53.2.5: preferred, colored
Changes since revision 1.53.2.5: +31 -16
lines
sync with head
Revision 1.84.6.5: download - view: text, markup, annotated - select for diffs
Tue Nov 27 19:37:04 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.84.6.4: preferred, colored; branchpoint 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84.6.4: +31 -16
lines
Sync with HEAD. amd64 Xen support needs testing.
Revision 1.92: download - view: text, markup, annotated - select for diffs
Tue Nov 27 00:07:42 2007 UTC (17 years, 1 month ago) by dyoung
Branches: MAIN
CVS tags: yamt-kmem-base,
vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
jmcneill-pm-base
Branch point for: yamt-kmem,
vmlocking2
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +5 -3
lines
Bug fix: in ath_init(), if ath_enable() fails, ATH_UNLOCK() before
returning.
Revision 1.91: download - view: text, markup, annotated - select for diffs
Mon Nov 26 23:54:48 2007 UTC (17 years, 1 month ago) by dyoung
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +2 -3
lines
Don't process the CAB queue twice in ath_tx_proc_q0123.
Revision 1.90: download - view: text, markup, annotated - select for diffs
Mon Nov 26 23:52:40 2007 UTC (17 years, 1 month ago) by dyoung
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +4 -5
lines
Eliminate redundant check for read-only mbuf data, since
M_TRAILINGSPACE() does a more complete check on NetBSD.
Revision 1.89: download - view: text, markup, annotated - select for diffs
Mon Nov 26 23:49:55 2007 UTC (17 years, 1 month ago) by dyoung
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +20 -5
lines
Bug fix: restore antenna diversity settings after reset.
Revision 1.88: download - view: text, markup, annotated - select for diffs
Mon Nov 26 23:48:37 2007 UTC (17 years, 1 month ago) by dyoung
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +8 -8
lines
Use device_xname(). Make device_printf() take a device_t argument.
Add __attribute__((__format__(__printf__,2,3))) to device_printf()
so that the compiler will help us detect bad arguments.
Retire unused subroutine m_defrag(), and unused declaration m_getcl().
Revision 1.84.8.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:26:23 2007 UTC (17 years, 2 months ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +5 -8
lines
sync with HEAD
Revision 1.53.2.5: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:30:30 2007 UTC (17 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.53.2.4: preferred, colored
Changes since revision 1.53.2.4: +3 -3
lines
sync with head.
Revision 1.84.6.4: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:44:37 2007 UTC (17 years, 2 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.84.6.3: preferred, colored; branchpoint 1.84: preferred, colored
Changes since revision 1.84.6.3: +3 -3
lines
Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
Revision 1.86.4.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:37:30 2007 UTC (17 years, 2 months ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86: +3 -3
lines
Sync with HEAD.
Revision 1.82.2.4: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:07:14 2007 UTC (17 years, 2 months ago) by ad
Branches: vmlocking
Diff to: previous 1.82.2.3: preferred, colored; branchpoint 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82.2.3: +3 -3
lines
Sync with head.
Revision 1.87: download - view: text, markup, annotated - select for diffs
Fri Oct 19 11:59:47 2007 UTC (17 years, 3 months ago) by ad
Branches: MAIN
CVS tags: jmcneill-base,
bouyer-xenamd64-base2,
bouyer-xenamd64-base
Branch point for: mjf-devfs
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +3 -3
lines
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
Revision 1.82.2.3: download - view: text, markup, annotated - select for diffs
Tue Oct 9 13:41:21 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.82.2.2: preferred, colored; branchpoint 1.82: preferred, colored
Changes since revision 1.82.2.2: +4 -7
lines
Sync with head.
Revision 1.84.6.3: download - view: text, markup, annotated - select for diffs
Mon Oct 1 05:37:24 2007 UTC (17 years, 3 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.84.6.2: preferred, colored; branchpoint 1.84: preferred, colored
Changes since revision 1.84.6.2: +11 -2
lines
Extend device API by device_power_private and device_power_set_private.
The latter is a temporary mean until the pnp_register API itself is
overhault. This functions allow a generic power handler to store its
state independent of the driver.
Use this and revamp the PCI power handling. Pretty much all PCI devices
had power handlers that did the same thing, generalize this in
pci_generic_power_register/deregister and the handler. This interface
offers callbacks for the drivers to save and restore state on
transistions. After a long discussion with jmcneill@ it was considered
to be powerful enough until evidence is shown that devices can handle
D1/D2 with less code and higher speed than without the full
save/restore. The generic code is carefully written to handle device
without PCI-PM support and ensure that the correct registers are written
to when D3 loses all state.
Reimplement the generic PCI network device handling on
top of PCI generic power handling.
Introduce pci_disable_retry as used and implemented locally at least by
ath(4) and iwi(4). Use it in this drivers to restore behaviour from
before the introduction of generic PCI network handling.
Convert all PCI drivers that were using pnp_register to the new
framework. The only exception is vga(4) as it is commonly used as
console device. Add a note therein that this should be fixed later.
Revision 1.84.6.2: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:47:57 2007 UTC (17 years, 4 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.84.6.1: preferred, colored; branchpoint 1.84: preferred, colored
Changes since revision 1.84.6.1: +4 -7
lines
Sync with HEAD.
Revision 1.53.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:34:19 2007 UTC (17 years, 4 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.53.2.3: preferred, colored
Changes since revision 1.53.2.3: +52 -45
lines
sync with head.
Revision 1.84.2.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 10:20:17 2007 UTC (17 years, 4 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84: +4 -7
lines
Sync with HEAD.
Revision 1.86: download - view: text, markup, annotated - select for diffs
Sat Sep 1 07:32:25 2007 UTC (17 years, 4 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
vmlocking-base,
nick-csl-alignment-base5
Branch point for: bouyer-xenamd64
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +3 -6
lines
Change a bazillion occurrences of code resembling this,
error = (cmd == SIOCADDMULTI) ?
ether_addmulti(ifr, &sc->sc_ec) :
ether_delmulti(ifr, &sc->sc_ec);
if (error == ENETRESET) {
to this,
if ((error = ether_ioctl(ifp, cmd, data)) == ENETRESET) {
which does the same thing.
(A bazillion is a very large number. This seems to make the i386
ALL kernel smaller by 3kB to 4kB.)
Use ifreq_getaddr() twice in es(4).
Whitespace nits.
Revision 1.85: download - view: text, markup, annotated - select for diffs
Wed Aug 29 22:33:42 2007 UTC (17 years, 4 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +3 -3
lines
Constify: LLADDR() -> CLLADDR().
Revision 1.84.6.1: download - view: text, markup, annotated - select for diffs
Thu Aug 23 16:19:47 2007 UTC (17 years, 4 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +3 -82
lines
Convert ath(4) to new style power management.
Remove the resetting of the PCI retry register on resume,
the restored configuration should have it already.
Revision 1.82.2.2: download - view: text, markup, annotated - select for diffs
Mon Aug 20 18:36:44 2007 UTC (17 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.82.2.1: preferred, colored; branchpoint 1.82: preferred, colored
Changes since revision 1.82.2.1: +22 -16
lines
Sync with HEAD.
Revision 1.84: download - view: text, markup, annotated - select for diffs
Tue Jul 17 01:26:17 2007 UTC (17 years, 6 months ago) by dyoung
Branches: MAIN
CVS tags: nick-csl-alignment-base,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: nick-csl-alignment,
matt-armv6,
jmcneill-pm
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +22 -16
lines
Suppress spurious timeouts and avoid wedging in OACTIVE state:
1 Set or clear OACTIVE as transmit buffers are depleted or
replenished, respectively. Do not use 802.11 acknowledgements
as a criteria for clearing OACTIVE.
2 Let each transmit queue count down to timeout independently,
and get rid of the shared countdown (sc_tx_timer). When
we add a packet to a transmit queue, restart the queue's
countdown. Stop a transmit queue's countdown when the
queue empties.
Revision 1.82.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:05:41 2007 UTC (17 years, 6 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82: +16 -12
lines
Sync with head.
Revision 1.82.2.1: download - view: text, markup, annotated - select for diffs
Sun May 27 14:30:00 2007 UTC (17 years, 7 months ago) by ad
Branches: vmlocking
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +16 -12
lines
Sync with head.
Revision 1.81.2.2: download - view: text, markup, annotated - select for diffs
Mon May 7 10:55:25 2007 UTC (17 years, 8 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.81.2.1: preferred, colored; branchpoint 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81.2.1: +16 -12
lines
sync with head.
Revision 1.83: download - view: text, markup, annotated - select for diffs
Tue Apr 17 22:01:43 2007 UTC (17 years, 9 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-idlelwp-base8,
mjf-ufs-trans-base
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +16 -12
lines
Plug an mbuf leak. Found by inspection.
Do not clear IFF_OACTIVE and reset the transmit watchdog timer
unless we have actually freed some transmit resources. This prevents
my wireless routers from needlessly entering ath_start() without
any transmit resources. If the MAC's transmitter has frozen, also,
then the driver will take the "out of xmit buffers" path in
ath_start(), which sets OACTIVE without activating the transmit
watchdog. That freezes the transmit path until the driver is reset.
XXX The "out of xmit buffers" path in ath_start() needs more
XXX attention.
Revision 1.81.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:53:26 2007 UTC (17 years, 10 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +22 -22
lines
Sync with HEAD.
Revision 1.82: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:01:49 2007 UTC (17 years, 10 months ago) by christos
Branches: MAIN
CVS tags: thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup
Branch point for: vmlocking,
mjf-ufs-trans
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +22 -22
lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.53.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:10:06 2007 UTC (17 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.53.2.2: preferred, colored
Changes since revision 1.53.2.2: +133 -15
lines
sync with head.
Revision 1.76.4.3: download - view: text, markup, annotated - select for diffs
Thu Feb 1 08:48:18 2007 UTC (17 years, 11 months ago) by ad
Branches: newlock2
Diff to: previous 1.76.4.2: preferred, colored; branchpoint 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76.4.2: +2 -4
lines
Sync with head.
Revision 1.81: download - view: text, markup, annotated - select for diffs
Mon Jan 29 01:52:45 2007 UTC (17 years, 11 months ago) by hubertf
Branches: MAIN
CVS tags: post-newlock2-merge,
newlock2-nbase,
newlock2-base,
ad-audiomp-base,
ad-audiomp
Branch point for: yamt-idlelwp
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +2 -4
lines
Remove more duplicate headers.
Patch by Slava Semushin <slava.semushin@gmail.com>
Again, this was tested by comparing obj files from a pristine and a patched
source tree against an i386/ALL kernel, and also for src/sbin/fsck_ffs,
src/sbin/fsdb and src/usr.sbin/makefs. Only changes in assert() line numbers
were detected in 'objdump -d' output.
Revision 1.76.4.2: download - view: text, markup, annotated - select for diffs
Fri Jan 12 00:57:35 2007 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.76.4.1: preferred, colored; branchpoint 1.76: preferred, colored
Changes since revision 1.76.4.1: +133 -13
lines
Sync with head.
Revision 1.80: download - view: text, markup, annotated - select for diffs
Tue Jan 9 09:30:24 2007 UTC (18 years ago) by dyoung
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +133 -13
lines
ath-specific support for 802.11 fragmentation. From Sam Leffler.
Screen-scraped by me from the WWW source browser at perforce.freebsd.org.
Revision 1.53.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:48:01 2006 UTC (18 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.53.2.1: preferred, colored
Changes since revision 1.53.2.1: +4 -11
lines
sync with head.
Revision 1.76.6.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:17:04 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.76.6.1: preferred, colored; branchpoint 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76.6.1: +10 -10
lines
sync with head.
Revision 1.76.4.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:34:08 2006 UTC (18 years, 2 months ago) by ad
Branches: newlock2
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +4 -3
lines
Sync with head.
Revision 1.79: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:32:51 2006 UTC (18 years, 2 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,
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
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +10 -10
lines
__unused removal on arguments; approved by core.
Revision 1.76.6.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:05:43 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +12 -11
lines
sync with head
Revision 1.78: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:30:59 2006 UTC (18 years, 3 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +10 -10
lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
Revision 1.77: download - view: text, markup, annotated - select for diffs
Sun Sep 24 03:53:08 2006 UTC (18 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +4 -3
lines
Add "name" parameter to powerhook_establish, to aid debugging. No objections
on tech-kern@
Revision 1.66.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:50:01 2006 UTC (18 years, 4 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66: +533 -251
lines
sync with head
Revision 1.68.2.5: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:44:10 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.68.2.4: preferred, colored; branchpoint 1.68: preferred, colored; next MAIN 1.69: preferred, colored
Changes since revision 1.68.2.4: +2 -10
lines
sync with head
Revision 1.76: download - view: text, markup, annotated - select for diffs
Fri Jul 14 13:37:25 2006 UTC (18 years, 6 months ago) by seanb
Branches: MAIN
CVS tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
rpaulo-netinet-merge-pcb-base,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-splraiseipl,
newlock2
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +2 -10
lines
Consistently establish / disestablish shutdown hook
in the bus layer and remove from common ath_attach().
Having it in both layers (on some bus architectures)
was causing a double call to ath_stop() on shutdown
which in turn was tickling the bus lockup described
therin on slower machines.
Revision 1.68.2.4: download - view: text, markup, annotated - select for diffs
Mon Jun 26 12:51:01 2006 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.68.2.3: preferred, colored; branchpoint 1.68: preferred, colored
Changes since revision 1.68.2.3: +79 -38
lines
sync with head.
Revision 1.53.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:02:53 2006 UTC (18 years, 7 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +850 -392
lines
sync with head.
Revision 1.72.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 19 03:58:12 2006 UTC (18 years, 7 months ago) by chap
Branches: chap-midi
Diff to: previous 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72: +79 -38
lines
Sync with head.
Revision 1.75: download - view: text, markup, annotated - select for diffs
Thu Jun 8 22:42:24 2006 UTC (18 years, 7 months ago) by gdamore
Branches: MAIN
CVS tags: yamt-pdpolicy-base6,
gdamore-uart-base,
gdamore-uart,
chap-midi-nbase,
chap-midi-base
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +20 -16
lines
Print bus_addr_t using PRIx64 (casting to uint64_t), which fixes builds
on 32-bit sparc (which have 64-bit bus_addr_t, but only 32-bit pointers.)
Revision 1.66.6.3: download - view: text, markup, annotated - select for diffs
Wed Jun 7 15:51:08 2006 UTC (18 years, 7 months ago) by kardel
Branches: simonb-timecounters
Diff to: previous 1.66.6.2: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66.6.2: +44 -7
lines
Sync with head.
Revision 1.74: download - view: text, markup, annotated - select for diffs
Mon Jun 5 05:15:31 2006 UTC (18 years, 7 months ago) by gdamore
Branches: MAIN
CVS tags: simonb-timecounters-base
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +44 -7
lines
Import new HAL 0.9.17.2. Approved by sam@
New HAL includes some driver changes to register accesses.
Adds support for WLAN devices on AR5312 family devices.
Adds support 32-bit SPARC ath devices (untested).
ath enabled in SPARC64 GENERIC builds.
This HAL is tested and known to work for i386 PCI devices, SPARC64 PCI devices,
and AR5312 WiSoC devices. MIPS PCI devices appear to be busted (possibly only
on Alchemy hardware, unconfirmed), and cardbus support is untested due to
lack of test hardware.
Please report any new problems with this import to garrett@.
Revision 1.66.6.2: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:36:23 2006 UTC (18 years, 7 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.66.6.1: preferred, colored
Changes since revision 1.66.6.1: +22 -22
lines
Sync with head.
Revision 1.73: download - view: text, markup, annotated - select for diffs
Fri May 26 12:39:31 2006 UTC (18 years, 7 months ago) by blymn
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +19 -19
lines
Clean up bogus whitespace
Revision 1.69.2.1: download - view: text, markup, annotated - select for diffs
Wed May 24 15:50:24 2006 UTC (18 years, 7 months ago) by tron
Branches: peter-altq
Diff to: previous 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +9 -11
lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
Revision 1.68.2.3: download - view: text, markup, annotated - select for diffs
Wed May 24 10:57:41 2006 UTC (18 years, 7 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.68.2.2: preferred, colored; branchpoint 1.68: preferred, colored
Changes since revision 1.68.2.2: +5 -7
lines
sync with head.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Thu May 11 22:26:54 2006 UTC (18 years, 8 months ago) by mrg
Branches: MAIN
CVS tags: yamt-pdpolicy-base5
Branch point for: chap-midi
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +5 -5
lines
cast the return value of several macros that evaluate to "(func() == FOO)"
to (void) to avoid "computed value not used" warnings.
Revision 1.66.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:38:54 2006 UTC (18 years, 9 months ago) by simonb
Branches: simonb-timecounters
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +454 -205
lines
Sync with head.
Revision 1.68.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 19 03:24:37 2006 UTC (18 years, 9 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.68: preferred, colored; next MAIN 1.69: preferred, colored
Changes since revision 1.68: +9 -11
lines
sync with head.
Revision 1.71: download - view: text, markup, annotated - select for diffs
Fri Apr 14 20:20:33 2006 UTC (18 years, 9 months ago) by christos
Branches: MAIN
CVS tags: elad-kernelauth-base
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +2 -4
lines
Coverity CID 725: Remove dead code.
Revision 1.68.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 11 11:55:13 2006 UTC (18 years, 9 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.68.2.1: preferred, colored; branchpoint 1.68: preferred, colored
Changes since revision 1.68.2.1: +6 -6
lines
sync with head
Revision 1.70: download - view: text, markup, annotated - select for diffs
Sun Apr 2 05:52:50 2006 UTC (18 years, 9 months ago) by gdamore
Branches: MAIN
CVS tags: yamt-pdpolicy-base4
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +6 -6
lines
Reorganize ath layout as requested by sam@ and suggested by dyoung@ in
http://mail-index.netbsd.org/tech-net/2006/03/15/0000.html.
The new layout almost precisely matches FreeBSD, and should make
future imports much easier.
At the same time, import the current 0.9.16.16 HAL from FreeBSD. According
to sam@, this is the proper version we should be using.
Revision 1.68.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 13 09:07:20 2006 UTC (18 years, 10 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +5 -5
lines
sync with head.
Revision 1.69: download - view: text, markup, annotated - select for diffs
Wed Mar 8 23:46:24 2006 UTC (18 years, 10 months ago) by lukem
Branches: MAIN
CVS tags: yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
peter-altq-base
Branch point for: peter-altq
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +5 -5
lines
Use the SI capitalization for "Hz", "kHz", and "MHz" in comments and strings.
Add a space between numbers and Hz unit.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Thu Mar 2 03:38:45 2006 UTC (18 years, 10 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-pdpolicy-base
Branch point for: yamt-pdpolicy,
elad-kernelauth
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +444 -194
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.66.2.1: download - view: text, markup, annotated - select for diffs
Wed Mar 1 09:28:12 2006 UTC (18 years, 10 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66: +8 -7
lines
sync with head.
Revision 1.67: download - view: text, markup, annotated - select for diffs
Mon Feb 27 06:18:47 2006 UTC (18 years, 10 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +8 -7
lines
Quiet ath(4) when debug output is enabled with the hw.athX.debug
sysctl: only print messages pertaining to transmission when
ATH_DEBUG_XMIT is set, instead of printing them when ATH_DEBUG_ANY
is set.
Patch via Sam Leffler.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Sat Dec 24 20:27:29 2005 UTC (19 years ago) by perry
Branches: MAIN
Branch point for: yamt-uio_vmspace,
simonb-timecounters,
rpaulo-netinet-merge-pcb
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +3 -3
lines
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
Revision 1.32.2.12: download - view: text, markup, annotated - select for diffs
Sun Dec 11 10:28:50 2005 UTC (19 years, 1 month ago) by christos
Branches: ktrace-lwp
Diff to: previous 1.32.2.11: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.2.11: +116 -129
lines
Sync with head.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Sat Dec 3 21:20:07 2005 UTC (19 years, 1 month ago) by rpaulo
Branches: MAIN
CVS tags: ktrace-lwp-base
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +3 -3
lines
s/NBFILTER/NBPFILTER
Revision 1.64: download - view: text, markup, annotated - select for diffs
Sat Dec 3 21:18:32 2005 UTC (19 years, 1 month ago) by rpaulo
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +10 -3
lines
Make this compile without bpf(4).
Revision 1.60.6.2: download - view: text, markup, annotated - select for diffs
Tue Nov 29 21:23:08 2005 UTC (19 years, 1 month ago) by yamt
Branches: yamt-readahead
Diff to: previous 1.60.6.1: preferred, colored; branchpoint 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60.6.1: +5 -3
lines
sync with head.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Thu Nov 24 09:58:39 2005 UTC (19 years, 1 month ago) by dyoung
Branches: MAIN
CVS tags: yamt-readahead-base3
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +4 -3
lines
Put the microsecond timestamp in the radiotap header for received
frames.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Wed Nov 23 01:04:37 2005 UTC (19 years, 1 month ago) by dyoung
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +3 -2
lines
Non-functional change: a missing '}' in an #ifdef __FreeBSD__
section confuses ctags(1), so I add the '}'.
Revision 1.60.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 22 16:08:06 2005 UTC (19 years, 1 month ago) by yamt
Branches: yamt-readahead
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +105 -127
lines
sync with head.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Fri Nov 18 16:48:31 2005 UTC (19 years, 2 months ago) by skrll
Branches: MAIN
CVS tags: yamt-readahead-base2
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +103 -125
lines
Resolve conflicts.
Revision 1.1.1.6 (vendor branch): download - view: text, markup, annotated - select for diffs
Fri Nov 18 16:20:58 2005 UTC (19 years, 2 months ago) by skrll
Branches: FreeBSD
CVS tags: ath-1-nov-2005
Diff to: previous 1.1.1.5: preferred, colored
Changes since revision 1.1.1.5: +97 -127
lines
Import FreeBSD's ath(4) of 1-nov-2005
Revision 1.32.2.11: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:04:13 2005 UTC (19 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.32.2.10: preferred, colored
Changes since revision 1.32.2.10: +3245 -1962
lines
Sync with HEAD. Here we go again...
Revision 1.60: download - view: text, markup, annotated - select for diffs
Fri Oct 14 00:26:45 2005 UTC (19 years, 3 months ago) by gdt
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.59: preferred, colored
Changes since revision 1.59: +12 -2
lines
When bringing an interface up, and thus perhaps having just powered it
on (e.g. cardbus), write the wep keys to the card. Fixes problem of
receiving gibberish if one has set wep keys before bringing the
interface up, and also after ifconfig ath0 down; ifconfig ath0 up.
(Tested with current from 20050926 with local mods, and discussed with
sam@ and dyoung@. This is not 100% right, but significantly better
than before. Really we should have an interator in net80211 to repush
all key state, include per-node keys.)
Revision 1.59: download - view: text, markup, annotated - select for diffs
Tue Sep 13 05:50:29 2005 UTC (19 years, 4 months ago) by martin
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +4 -3
lines
The entity passed to the HAL as a HAL_BUS_HANDLE needs to be an integral
or pointer type. So on sparc64 (and maybe others too?) where
bus_space_handle_t is a struct, pass the address of the bus_space_handle_t
and adjust the register access functions accordingly.
While there, slightly optimize the bus_space_* usage in the register
access functions and macros.
Revision 1.58: download - view: text, markup, annotated - select for diffs
Sun Aug 21 00:25:51 2005 UTC (19 years, 5 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -20
lines
Remove redundant ath_tsf_extend subroutine. Use ath_extend_tsf,
instead. This reduces diffs with FreeBSD as a side-effect.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Wed Jul 27 21:22:57 2005 UTC (19 years, 5 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +35 -26
lines
A few fixes affecting user control of the transmit/receive antenna,
and antenna diversity:
Check the hardware capabilities---transmit power control (TPC),
antenna diversity---before setting up the sysctls that control
those capabilities. Previously, the TPC and ant. diversity sysctls
were not setup because ath_sysctlattach was called before sc_hastpc
and sc_hasdiversity were initialized, so users could not view/control
antenna diversity or TPC settings, even on hardware with those
capabilities.
Obey the user's transmit-antenna selection even when sending IBSS
beacons on hardware with VEOL capability; for all other hardware/modes,
only switch transmit antennas after every four beacons if the user
has not selected a transmit antenna---i.e., they chose antenna 1
or 2 instead of 0 ("auto").
Revision 1.56: download - view: text, markup, annotated - select for diffs
Wed Jul 27 21:13:32 2005 UTC (19 years, 5 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +2 -3
lines
Cosmetic: remove an out-dated "note to self."
Revision 1.55: download - view: text, markup, annotated - select for diffs
Tue Jul 26 22:52:48 2005 UTC (19 years, 5 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +274 -94
lines
Resolve conflicts.
Revision 1.1.1.5 (vendor branch): download - view: text, markup, annotated - select for diffs
Tue Jul 26 21:49:10 2005 UTC (19 years, 5 months ago) by dyoung
Branches: FreeBSD
CVS tags: ath-2005-07-11
Diff to: previous 1.1.1.4: preferred, colored
Changes since revision 1.1.1.4: +298 -118
lines
Import FreeBSD's ath(4) of 2005-07-11
Revision 1.54: download - view: text, markup, annotated - select for diffs
Wed Jul 6 23:58:14 2005 UTC (19 years, 6 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +3 -4
lines
Historically, an(4), ath(4), atw(4), rtw(4), and wi(4) have printed
out their modes and rates at boot. Revert to the historical
behavior.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Sun Jul 3 19:58:16 2005 UTC (19 years, 6 months ago) by dyoung
Branches: MAIN
Branch point for: yamt-lazymbuf
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +4 -2
lines
Locking changes.
+ Synchronize ath_calibrate() with ATH_LOCK()/ATH_UNLOCK(). Thanks
to Steve Woodford for suggesting this fix. This patch stops
ath(4) from generating messages "hardware error; resetting" while
Steve's D-Link DWL-AG650 card is operating (kern/28385). The
MiniPCI wireless adapter on one of my Soekris boards also operates
more reliably following this patch.
+ Use ATH_LOCK_IMPL() and family to synchronize access to the
transmit queue, also.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Sun Jul 3 19:44:50 2005 UTC (19 years, 6 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -2
lines
Create per-instance sysctl nodes for ath(4), e.g., hw.ath0.debug,
hw.ath1.debug.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Sun Jul 3 19:42:10 2005 UTC (19 years, 6 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +15 -7
lines
Bug fix: send all multicast data frames at the lowest possible data
rate, with short preamble turned *off*. Fixes IBSS operation,
where multicast frames were sent at the highest possible rate with
short preamble turned *on*, so the likelihood of reception was
relatively low, and there was no chance for stations w/o short
preamble capability to receive the frames.
XXX This is a quick fix that I will revisit very soon. Multicast
data frames are eligible to be sent with short preamble in
IEEE80211_M_STA, IEEE80211_M_HOSTAP modes. An AP knows who all of
its peers are at all times, so it can make an intelligent decision.
Ditto the AP client.
XXX The rate adaptation should be involved in choosing short/long
preamble. Also, we can make a reasonable choice of a higher
multicast data rate based on statistics gathered by the rate
adaptation module.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Sun Jul 3 19:31:03 2005 UTC (19 years, 6 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +3 -3
lines
Cosmetic: repair indentation.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Thu Jun 30 00:52:56 2005 UTC (19 years, 6 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +3 -3
lines
Fix $FreeBSD$ RCS IDs, which gave me a real shock when their revision
numbers moved backwards.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Wed Jun 22 22:07:48 2005 UTC (19 years, 7 months ago) by martin
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -2
lines
Remove unused <atomic.h> include; add <sys/device.h> includes where
needed.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Wed Jun 22 06:15:51 2005 UTC (19 years, 7 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3008 -1918
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:49 2005 UTC (19 years, 7 months ago) by dyoung
Branches: FreeBSD
CVS tags: ath-2005-05-18
Diff to: previous 1.1.1.3: preferred, colored
Changes since revision 1.1.1.3: +3117 -1193
lines
Import FreeBSD's ath(4) of 2005-05-18
Revision 1.46: download - view: text, markup, annotated - select for diffs
Mon Jun 20 02:49:18 2005 UTC (19 years, 7 months ago) by atatat
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +1 -1
lines
Change the rest of the sysctl subsystem to use const consistently.
The __UNCONST macro is now used only where necessary and the RW macros
are gone. Most of the changes here are consumers of the
sysctl_createv(9) interface that now takes a pair of const pointers
which used not to be.
Revision 1.43.2.2: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:49 2005 UTC (19 years, 8 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.43.2.1: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43.2.1: +3707 -0
lines
sync with -current
Revision 1.44.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:34:01 2005 UTC (19 years, 10 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +13 -13
lines
sync with head. xen and whitespace. xen part is not finished.
Revision 1.32.2.10: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:41:26 2005 UTC (19 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.32.2.9: preferred, colored
Changes since revision 1.32.2.9: +13 -13
lines
Sync with HEAD.
Hi Perry!
Revision 1.45: download - view: text, markup, annotated - select for diffs
Sun Feb 27 00:27:00 2005 UTC (19 years, 10 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.44: preferred, colored
Changes since revision 1.44: +13 -13
lines
nuke trailing whitespace
Revision 1.32.2.9: download - view: text, markup, annotated - select for diffs
Mon Jan 24 08:35:19 2005 UTC (19 years, 11 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.32.2.8: preferred, colored
Changes since revision 1.32.2.8: +3 -3
lines
Sync with HEAD.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Wed Jan 19 04:56:42 2005 UTC (20 years ago) by dyoung
Branches: MAIN
CVS tags: yamt-km-base2,
yamt-km-base
Branch point for: yamt-km
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +3 -3
lines
For a proper IBSS merge, we have to discard the old beacon packet,
create and queue a new one that carries the new BSSID. I mined
net80211 in FreeBSD for the solution, which is to make an
IEEE80211_S_RUN->IEEE80211_S_RUN state transition---ath_newstate
discards the old beacon packet creates a new one by calling
ath_beacon_alloc.
I tested the merge as follows. Starting at my desk on the second
floor of the building where I work:
soekris% ifconfig ath0 mediaopt adhoc ssid zzz chan 11 down
powerbook% ifconfig rtw0 mediaopt adhoc ssid zzz chan 11 up
soekris% sleep 25; ifconfig ath0 up
I raced to the elevator with my Powerbook, pressed the "Down"
button, got in, and pressed "Floor 1." At the first floor:
powerbook% ifconfig rtw0 | grep bssid
bssid 02:p:p:p:p:p chan 11
I waited 25 seconds. I pressed "Floor 2." At Floor 2, I returned to my desk.
I checked to make sure that the Soekris console read:
soekris% ath0: creating bss 02:s:s:s:s:s
ath0: bss merge 02:s:s:s:s:s -> 02:p:p:p:p:p
0:s:s:s:s:s is the Soekris' WLAN MAC. 0:p:p:p:p:p is the Powerbook's
WLAN MAC. Each created an ad hoc-mode BSSID from its WLAN MAC by
OR'ing 0x2 with the first octet.
My Powerbook created a network while the Soekris radio was off.
The Soekris radio turned on while I was in the 802.11-impervious
elevator with my Powerbook. When I returned to the second floor,
the Soekris "heard" beacons from my Powerbook as the elevator door
opened. Since the Powerbook's network was approximately 25 seconds
older than the Soekris', and since it had the same SSID (zzz) as
the Soekris', the Soekris merged with the Powerbook's network (by
setting its BSSID) as it should.
Revision 1.32.2.8: download - view: text, markup, annotated - select for diffs
Mon Jan 17 19:30:39 2005 UTC (20 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.32.2.7: preferred, colored
Changes since revision 1.32.2.7: +42 -14
lines
Sync with HEAD.
Revision 1.43.2.1
Sun Jan 16 11:43:34 2005 UTC (20 years ago) by kent
Branches: kent-audio2
FILE REMOVED
Changes since revision 1.43: +0 -3707
lines
file ath.c was added on branch kent-audio2 on 2005-04-29 11:28:49 +0000
Revision 1.43: download - view: text, markup, annotated - select for diffs
Sun Jan 16 11:43:34 2005 UTC (20 years ago) by dyoung
Branches: MAIN
Branch point for: kent-audio2
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +13 -3
lines
It's necessary to stop DMA on the beacon ring and reconfigure the
beacon after an IBSS merge, or else beacons transmissions may not
resume like we expect. From Sam Leffler.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Tue Jan 4 01:45:04 2005 UTC (20 years ago) by dyoung
Branches: MAIN
CVS tags: kent-audio1-beforemerge
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -3
lines
In ad hoc mode, start the ath rate adaptation with the lowest, most
robust transmit bit rate. From Greg Troxel.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Tue Jan 4 00:56:51 2005 UTC (20 years ago) by dyoung
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +21 -4
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.40: download - view: text, markup, annotated - select for diffs
Mon Dec 27 07:01:00 2004 UTC (20 years ago) by dyoung
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +12 -11
lines
Disconnect the "stop transmitter/receiver" function from the
"power-off NIC" function, by adding a 'disable' argument to ath_stop.
Pass disable=0 to ath_stop() at the top of ath_init, so that we
don't power-off the Cardbus slot before resetting the HAL. Thanks
to Greg Troxel for his analysis of this bug.
Revision 1.32.2.7: download - view: text, markup, annotated - select for diffs
Tue Oct 19 15:56:53 2004 UTC (20 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.32.2.6: preferred, colored
Changes since revision 1.32.2.6: +8 -3
lines
Sync with HEAD
Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue Sep 28 11:34:37 2004 UTC (20 years, 3 months ago) by yamt
Branches: MAIN
CVS tags: kent-audio1-base,
kent-audio1
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +8 -3
lines
ath_getmbuf: check MCLGET failure.
Revision 1.32.2.6: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:27:52 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.32.2.5: preferred, colored
Changes since revision 1.32.2.5: +2 -2
lines
Fix the sync with head I botched.
Revision 1.32.2.5: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:45:56 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.32.2.4: preferred, colored
Changes since revision 1.32.2.4: +3 -4
lines
Sync with HEAD.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Tue Sep 7 01:15:59 2004 UTC (20 years, 4 months ago) by enami
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -4
lines
ath_debug is bitmask and takes much wider value than 0, 1, or 2.
Revision 1.32.2.4: download - view: text, markup, annotated - select for diffs
Wed Aug 25 06:57:35 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.32.2.3: preferred, colored
Changes since revision 1.32.2.3: +4 -4
lines
Sync with HEAD.
Revision 1.24.2.3: download - view: text, markup, annotated - select for diffs
Sun Aug 22 13:37:22 2004 UTC (20 years, 5 months ago) by tron
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.24.2.2: preferred, colored; branchpoint 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24.2.2: +4 -4
lines
Pull up revision 1.37 (requested by dyoung in ticket #772):
Hubert Feyrer points out that hw.ath.countrycode really ought to
be writeable. Make hw.ath.outdoor writeable while I am here.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Wed Aug 18 21:59:39 2004 UTC (20 years, 5 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +4 -4
lines
Hubert Feyrer points out that hw.ath.countrycode really ought to
be writeable. Make hw.ath.outdoor writeable while I am here.
Revision 1.32.2.3: download - view: text, markup, annotated - select for diffs
Thu Aug 12 11:41:23 2004 UTC (20 years, 5 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.32.2.2: preferred, colored
Changes since revision 1.32.2.2: +157 -53
lines
Sync with HEAD.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Aug 10 01:03:52 2004 UTC (20 years, 5 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +71 -11
lines
IBSS fixes: get IBSS beacon generation right. Merge with a same-SSID,
same-channel IBSS.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue Aug 10 00:57:20 2004 UTC (20 years, 5 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +10 -16
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.34: download - view: text, markup, annotated - select for diffs
Sun Aug 8 13:01:03 2004 UTC (20 years, 5 months ago) by yamt
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -3
lines
ath_init1: return EIO rather than -1 on a failure of ath_hal_reset.
-1 isn't appropriate for if_init.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Tue Aug 3 20:06:54 2004 UTC (20 years, 5 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +79 -29
lines
Synchronize with the WEP code in madwifi. Konstantin KABASSANOV
verified for me that this fixes his WEP problems. The HAL ABI for
WEP had changed.
Revision 1.32.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:46:10 2004 UTC (20 years, 5 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.32.2.1: preferred, colored
Changes since revision 1.32.2.1: +3571 -0
lines
Sync with HEAD
Revision 1.32.2.1
Fri Jul 30 17:40:57 2004 UTC (20 years, 5 months ago) by skrll
Branches: ktrace-lwp
FILE REMOVED
Changes since revision 1.32: +0 -3571
lines
file ath.c was added on branch ktrace-lwp on 2004-08-03 10:46:10 +0000
Revision 1.32: download - view: text, markup, annotated - select for diffs
Fri Jul 30 17:40:57 2004 UTC (20 years, 5 months ago) by mycroft
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -5
lines
Only discard beacons in AHDEMO mode, where we ignore management frames
completely. In particular, accept them in monitor mode (where we generally
aren't doing anything unless we're in promiscuous mode anyway) and host-AP
mode (where we want to see neighbor APs).
Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed Jul 28 08:57:40 2004 UTC (20 years, 5 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +26 -35
lines
Finalize import of the Atheros HAL 0.9.9.13, bringing ath(4)
up-to-date where the HAL API changed.
Revision 1.24.2.2: download - view: text, markup, annotated - select for diffs
Fri Jul 23 22:32:14 2004 UTC (20 years, 6 months ago) by he
Branches: netbsd-2-0
Diff to: previous 1.24.2.1: preferred, colored; branchpoint 1.24: preferred, colored
Changes since revision 1.24.2.1: +4 -5
lines
Pull up revision 1.28 (requested by mycroft in ticket #693):
Support promiscuous mode for an AP too(!).
Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri Jul 23 10:15:13 2004 UTC (20 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -4
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 08:34:11 2004 UTC (20 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +5 -5
lines
IEEE80211_F_WEPON -> IEEE80211_F_PRIVACY
Revision 1.28: download - view: text, markup, annotated - select for diffs
Thu Jul 22 18:52:44 2004 UTC (20 years, 6 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +4 -5
lines
Support promiscuous mode for an AP too(!).
Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon May 31 11:39:39 2004 UTC (20 years, 7 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -4
lines
No need for ath_start to set the WEP bit in the frame header, the
802.11 layer does it for us.
Revision 1.24.2.1: download - view: text, markup, annotated - select for diffs
Sat May 29 09:00:13 2004 UTC (20 years, 7 months ago) by tron
Branches: netbsd-2-0
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +17 -9
lines
Pull up revision 1.26 (requested by atatat in ticket #392):
Remaining sysctl descriptions under hw subtree (ath and bge)
Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue May 25 04:38:36 2004 UTC (20 years, 7 months ago) by atatat
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +15 -7
lines
Remaining sysctl descriptions under hw subtree (ath and bge)
Revision 1.25: download - view: text, markup, annotated - select for diffs
Fri Apr 30 23:59:48 2004 UTC (20 years, 8 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +192 -179
lines
From FreeBSD. Lots has changed. I lazily yank text from the
FreeBSD commit log:
Revision 1.1.1.3 (vendor branch): download - view: text, markup, annotated - select for diffs
Thu Apr 29 03:54:44 2004 UTC (20 years, 8 months ago) by dyoung
Branches: FreeBSD
CVS tags: ath-28-apr-2004
Diff to: previous 1.1.1.2: preferred, colored
Changes since revision 1.1.1.2: +185 -135
lines
Import FreeBSD's ath of 28-apr-2004
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Mar 27 04:37:59 2004 UTC (20 years, 9 months ago) by atatat
Branches: MAIN
CVS tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +8 -9
lines
GC ath_node_root as well, but modify to work around the single
(tightly scoped) reason for recording the node address by recording
the assigned number. Dink pci/if_bge.c to match, since ic/ath.c was
used as the archetype.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Mar 24 15:34:52 2004 UTC (20 years, 9 months ago) by atatat
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +26 -28
lines
Tango on sysctl_createv() and flags. The flags have all been renamed,
and sysctl_createv() now uses more arguments.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Mar 15 03:26:04 2004 UTC (20 years, 10 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +23 -14
lines
Move the ath(4) sysctls to hw.ath from ath.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Mar 13 05:43:08 2004 UTC (20 years, 10 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +13 -6
lines
Enable extended channel set.
Add some debug code for printing the HAL's notion of available
channels if hw.ath.debug = 1.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Mar 1 01:19:45 2004 UTC (20 years, 10 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +157 -3
lines
Attach the ath(4) sysctls:
ath.dwell: channel dwell time (ms) for AP/station scanning
ath.calibrate: chip calibration interval (secs)
ath.outdoor: enable/disable outdoor operation
ath.countrycode: (opaque?) country code
ath.regdomain: (opaque?) regulatory domain
ath.debug: 0 (no debug messages), 1 (some messages), 2 (all messages)
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Feb 29 00:47:21 2004 UTC (20 years, 10 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +7 -6
lines
Update ath(4)'s Hardware Abstraction Layer (HAL) to version 0.9.6.11.
Both the API and ABI changed, hence the changes to so many .c and
.h files.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Dec 16 06:48:09 2003 UTC (21 years, 1 month ago) by dyoung
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +293 -96
lines
Synchronize with FreeBSD:
* add constants to enums
* HAL update: stops panics, fixes ad hoc-mode beacons, some API
changes
* get and use mac/phy/rf front-end revision codes
* add a custom ath(4) ic_node_getrssi callback which does RSSI
averaging
* do not immediately scan, but re-associate after missing beacons.
* bug fix: don't if_init after detach.
* HAL diagnostics ioctl, SIOCGATHDIAG
* send DS parameters element in beacons
* const-ify some pointers
* consolidate rx-filter settings into ath_calcrxfilter
* abstract FreeBSD `ticks', NetBSD `hardclock_ticks' with ATH_TICKS()
* misc. other changes
Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Mon Dec 15 03:34:25 2003 UTC (21 years, 1 month ago) by dyoung
Branches: FreeBSD
CVS tags: ath-12-dec-2003
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +322 -125
lines
Import FreeBSD's ath of 12-dec-2003
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Dec 7 05:09:02 2003 UTC (21 years, 1 month ago) by dyoung
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -4
lines
In _STA mode, don't panic when a stray beacon-miss interrupt is
received. Instead, ignore it. It's normal for a stray to come
during the transition to monitor mode.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Nov 16 09:32:01 2003 UTC (21 years, 2 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +5 -2
lines
So that the internal bridge works in AP mode, call ath_start after
processing Rx packets.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Nov 2 11:07:45 2003 UTC (21 years, 2 months ago) by wiz
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +1 -1
lines
Fix some typos. From Tom Cosgrove via jmc@openbsd.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Nov 2 01:55:40 2003 UTC (21 years, 2 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -8
lines
Use ieee80211_find_rxnode to attribute Rx packets to the write
ieee80211_node. This reduces code duplication. It will help us
support passive scanning and rate adaptation.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Oct 21 01:00:57 2003 UTC (21 years, 3 months ago) by yamt
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +4 -4
lines
don't swap powerhook and shutdownhook.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Oct 16 09:31:08 2003 UTC (21 years, 3 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -2
lines
Fix WEP transmission, too. From FreeBSD/Sam Leffler.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Oct 16 09:13:30 2003 UTC (21 years, 3 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +7 -8
lines
ath(4) failed to detect when the number of DMA segments exceeded
the number of descriptors, because of a disparity between the
bus_dmamap_load_mbuf implementation in FreeBSD and NetBSD. Now I
cover up the difference using ath_dmamap_load_mbuf.
Thanks Enami Tsugutomo for diagnosing this.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Oct 16 07:55:18 2003 UTC (21 years, 3 months ago) by ichiro
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +18 -4
lines
add {shutdownhook,powerhook}disestablish()
Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Oct 15 23:23:39 2003 UTC (21 years, 3 months ago) by itojun
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -1
lines
add $NetBSD$
Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Oct 15 22:41:22 2003 UTC (21 years, 3 months ago) by enami
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +1 -0
lines
Return 0 on SIOC{ADD,DEL}MULTI.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Oct 15 22:19:31 2003 UTC (21 years, 3 months ago) by itojun
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2
lines
s/printf/DPRINTF/ for ath_rate_ctl()
Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Oct 15 11:40:07 2003 UTC (21 years, 3 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -0
lines
Fix WEP reception.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Oct 15 03:04:03 2003 UTC (21 years, 3 months ago) by enami
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +21 -1
lines
Port multicast handling to NetBSD. Addresses PR23151.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Oct 14 23:13:44 2003 UTC (21 years, 3 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +38 -16
lines
Do not index arrays using enum constants, since enums can be
re-ordered and extended. Instead, use a switch-statement or a
key->value table with appropriate bounds-checking.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Oct 14 17:47:03 2003 UTC (21 years, 3 months ago) by ichiro
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +113 -3
lines
add support ath on cardbus
- implement power management
Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Oct 13 05:34:30 2003 UTC (21 years, 3 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +467 -102
lines
NetBSD/FreeBSD compatibility changes NetBSD, especially
locking, mbuf
Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Tue Oct 7 05:27:17 2003 UTC (21 years, 3 months ago) by dyoung
Branches: FreeBSD
CVS tags: ath-6-sep-2003
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0
lines
Initial import of ath(4) from FreeBSD.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Oct 7 05:27:17 2003 UTC (21 years, 3 months ago) by dyoung
Branches: MAIN
Initial revision
CVSweb <webmaster@jp.NetBSD.org>