head 1.9; access; symbols netbsd-10-0-RELEASE:1.9 netbsd-10-0-RC6:1.9 netbsd-10-0-RC5:1.9 netbsd-10-0-RC4:1.9 netbsd-10-0-RC3:1.9 netbsd-10-0-RC2:1.9 thorpej-ifq:1.9.0.98 thorpej-ifq-base:1.9 thorpej-altq-separation:1.9.0.96 thorpej-altq-separation-base:1.9 netbsd-10-0-RC1:1.9 netbsd-10:1.9.0.94 netbsd-10-base:1.9 bouyer-sunxi-drm:1.9.0.92 bouyer-sunxi-drm-base:1.9 netbsd-9-3-RELEASE:1.9 thorpej-i2c-spi-conf2:1.9.0.90 thorpej-i2c-spi-conf2-base:1.9 thorpej-futex2:1.9.0.88 thorpej-futex2-base:1.9 thorpej-cfargs2:1.9.0.86 thorpej-cfargs2-base:1.9 cjep_sun2x-base1:1.9 cjep_sun2x:1.9.0.84 cjep_sun2x-base:1.9 cjep_staticlib_x-base1:1.9 netbsd-9-2-RELEASE:1.9 cjep_staticlib_x:1.9.0.82 cjep_staticlib_x-base:1.9 thorpej-i2c-spi-conf:1.9.0.80 thorpej-i2c-spi-conf-base:1.9 thorpej-cfargs:1.9.0.78 thorpej-cfargs-base:1.9 thorpej-futex:1.9.0.76 thorpej-futex-base:1.9 netbsd-9-1-RELEASE:1.9 bouyer-xenpvh-base2:1.9 phil-wifi-20200421:1.9 bouyer-xenpvh-base1:1.9 phil-wifi-20200411:1.9 bouyer-xenpvh:1.9.0.74 bouyer-xenpvh-base:1.9 is-mlppp:1.9.0.72 is-mlppp-base:1.9 phil-wifi-20200406:1.9 netbsd-8-2-RELEASE:1.9 ad-namecache-base3:1.9 netbsd-9-0-RELEASE:1.9 netbsd-9-0-RC2:1.9 ad-namecache-base2:1.9 ad-namecache-base1:1.9 ad-namecache:1.9.0.70 ad-namecache-base:1.9 netbsd-9-0-RC1:1.9 phil-wifi-20191119:1.9 netbsd-9:1.9.0.68 netbsd-9-base:1.9 phil-wifi-20190609:1.9 netbsd-8-1-RELEASE:1.9 netbsd-8-1-RC1:1.9 isaki-audio2:1.9.0.66 isaki-audio2-base:1.9 pgoyette-compat-merge-20190127:1.9 pgoyette-compat-20190127:1.9 pgoyette-compat-20190118:1.9 pgoyette-compat-1226:1.9 pgoyette-compat-1126:1.9 pgoyette-compat-1020:1.9 pgoyette-compat-0930:1.9 pgoyette-compat-0906:1.9 netbsd-7-2-RELEASE:1.9 pgoyette-compat-0728:1.9 netbsd-8-0-RELEASE:1.9 phil-wifi-freebsd-base:1.9 phil-wifi:1.9.0.64 phil-wifi-base:1.9 pgoyette-compat-0625:1.9 netbsd-8-0-RC2:1.9 pgoyette-compat-0521:1.9 pgoyette-compat-0502:1.9 pgoyette-compat-0422:1.9 netbsd-8-0-RC1:1.9 pgoyette-compat-0415:1.9 pgoyette-compat-0407:1.9 pgoyette-compat-0330:1.9 pgoyette-compat-0322:1.9 pgoyette-compat-0315:1.9 netbsd-7-1-2-RELEASE:1.9 pgoyette-compat:1.9.0.62 pgoyette-compat-base:1.9 netbsd-7-1-1-RELEASE:1.9 tls-maxphys-base-20171202:1.9 matt-nb8-mediatek:1.9.0.60 matt-nb8-mediatek-base:1.9 nick-nhusb-base-20170825:1.9 perseant-stdc-iso10646:1.9.0.58 perseant-stdc-iso10646-base:1.9 netbsd-8:1.9.0.56 netbsd-8-base:1.9 prg-localcount2-base3:1.9 prg-localcount2-base2:1.9 prg-localcount2-base1:1.9 prg-localcount2:1.9.0.54 prg-localcount2-base:1.9 pgoyette-localcount-20170426:1.9 bouyer-socketcan-base1:1.9 jdolecek-ncq:1.9.0.52 jdolecek-ncq-base:1.9 pgoyette-localcount-20170320:1.9 netbsd-7-1:1.9.0.50 netbsd-7-1-RELEASE:1.9 netbsd-7-1-RC2:1.9 nick-nhusb-base-20170204:1.9 netbsd-7-nhusb-base-20170116:1.9 bouyer-socketcan:1.9.0.48 bouyer-socketcan-base:1.9 pgoyette-localcount-20170107:1.9 netbsd-7-1-RC1:1.9 nick-nhusb-base-20161204:1.9 pgoyette-localcount-20161104:1.9 netbsd-7-0-2-RELEASE:1.9 nick-nhusb-base-20161004:1.9 localcount-20160914:1.9 netbsd-7-nhusb:1.9.0.46 netbsd-7-nhusb-base:1.9 pgoyette-localcount-20160806:1.9 pgoyette-localcount-20160726:1.9 pgoyette-localcount:1.9.0.44 pgoyette-localcount-base:1.9 nick-nhusb-base-20160907:1.9 nick-nhusb-base-20160529:1.9 netbsd-7-0-1-RELEASE:1.9 nick-nhusb-base-20160422:1.9 nick-nhusb-base-20160319:1.9 nick-nhusb-base-20151226:1.9 netbsd-7-0:1.9.0.42 netbsd-7-0-RELEASE:1.9 nick-nhusb-base-20150921:1.9 netbsd-7-0-RC3:1.9 netbsd-7-0-RC2:1.9 netbsd-7-0-RC1:1.9 nick-nhusb-base-20150606:1.9 nick-nhusb-base-20150406:1.9 nick-nhusb:1.9.0.40 nick-nhusb-base:1.9 netbsd-5-2-3-RELEASE:1.8 netbsd-5-1-5-RELEASE:1.8 netbsd-6-0-6-RELEASE:1.9 netbsd-6-1-5-RELEASE:1.9 netbsd-7:1.9.0.38 netbsd-7-base:1.9 yamt-pagecache-base9:1.9 yamt-pagecache-tag8:1.9 netbsd-6-1-4-RELEASE:1.9 netbsd-6-0-5-RELEASE:1.9 tls-earlyentropy:1.9.0.36 tls-earlyentropy-base:1.9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.9 riastradh-drm2-base3:1.9 netbsd-6-1-3-RELEASE:1.9 netbsd-6-0-4-RELEASE:1.9 netbsd-5-2-2-RELEASE:1.8 netbsd-5-1-4-RELEASE:1.8 netbsd-6-1-2-RELEASE:1.9 netbsd-6-0-3-RELEASE:1.9 netbsd-5-2-1-RELEASE:1.8 netbsd-5-1-3-RELEASE:1.8 rmind-smpnet-nbase:1.9 netbsd-6-1-1-RELEASE:1.9 riastradh-drm2-base2:1.9 riastradh-drm2-base1:1.9 riastradh-drm2:1.9.0.34 riastradh-drm2-base:1.9 rmind-smpnet:1.9.0.26 rmind-smpnet-base:1.9 netbsd-6-1:1.9.0.32 netbsd-6-0-2-RELEASE:1.9 netbsd-6-1-RELEASE:1.9 khorben-n900:1.9.0.30 netbsd-6-1-RC4:1.9 netbsd-6-1-RC3:1.9 agc-symver:1.9.0.28 agc-symver-base:1.9 netbsd-6-1-RC2:1.9 netbsd-6-1-RC1:1.9 yamt-pagecache-base8:1.9 netbsd-5-2:1.8.0.34 netbsd-6-0-1-RELEASE:1.9 yamt-pagecache-base7:1.9 netbsd-5-2-RELEASE:1.8 netbsd-5-2-RC1:1.8 matt-nb6-plus-nbase:1.9 yamt-pagecache-base6:1.9 netbsd-6-0:1.9.0.24 netbsd-6-0-RELEASE:1.9 netbsd-6-0-RC2:1.9 tls-maxphys:1.9.0.22 tls-maxphys-base:1.9 matt-nb6-plus:1.9.0.20 matt-nb6-plus-base:1.9 netbsd-6-0-RC1:1.9 jmcneill-usbmp-base10:1.9 yamt-pagecache-base5:1.9 jmcneill-usbmp-base9:1.9 yamt-pagecache-base4:1.9 jmcneill-usbmp-base8:1.9 jmcneill-usbmp-base7:1.9 jmcneill-usbmp-base6:1.9 jmcneill-usbmp-base5:1.9 jmcneill-usbmp-base4:1.9 jmcneill-usbmp-base3:1.9 jmcneill-usbmp-pre-base2:1.9 jmcneill-usbmp-base2:1.9 netbsd-6:1.9.0.18 netbsd-6-base:1.9 netbsd-5-1-2-RELEASE:1.8 netbsd-5-1-1-RELEASE:1.8 jmcneill-usbmp:1.9.0.16 jmcneill-usbmp-base:1.9 jmcneill-audiomp3:1.9.0.14 jmcneill-audiomp3-base:1.9 yamt-pagecache-base3:1.9 yamt-pagecache-base2:1.9 yamt-pagecache:1.9.0.12 yamt-pagecache-base:1.9 rmind-uvmplock-nbase:1.9 cherry-xenmp:1.9.0.10 cherry-xenmp-base:1.9 bouyer-quota2-nbase:1.9 bouyer-quota2:1.9.0.8 bouyer-quota2-base:1.9 jruoho-x86intr:1.9.0.6 jruoho-x86intr-base:1.9 matt-mips64-premerge-20101231:1.9 matt-nb5-mips64-premerge-20101231:1.8 matt-nb5-pq3:1.8.0.32 matt-nb5-pq3-base:1.8 netbsd-5-1:1.8.0.30 netbsd-5-1-RELEASE:1.8 uebayasi-xip-base4:1.9 uebayasi-xip-base3:1.9 yamt-nfs-mp-base11:1.9 netbsd-5-1-RC4:1.8 matt-nb5-mips64-k15:1.8 uebayasi-xip-base2:1.9 yamt-nfs-mp-base10:1.9 netbsd-5-1-RC3:1.8 netbsd-5-1-RC2:1.8 uebayasi-xip-base1:1.9 netbsd-5-1-RC1:1.8 rmind-uvmplock:1.9.0.4 rmind-uvmplock-base:1.9 yamt-nfs-mp-base9:1.9 uebayasi-xip:1.9.0.2 uebayasi-xip-base:1.9 netbsd-5-0-2-RELEASE:1.8 matt-nb5-mips64-premerge-20091211:1.8 matt-premerge-20091211:1.9 yamt-nfs-mp-base8:1.8 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.8 matt-nb4-mips64-k7-u2a-k9b:1.8 matt-nb5-mips64-u1-k1-k5:1.8 yamt-nfs-mp-base7:1.8 matt-nb5-mips64:1.8.0.28 netbsd-5-0-1-RELEASE:1.8 jymxensuspend-base:1.8 yamt-nfs-mp-base6:1.8 yamt-nfs-mp-base5:1.8 yamt-nfs-mp-base4:1.8 jym-xensuspend-nbase:1.9 yamt-nfs-mp-base3:1.8 nick-hppapmap-base4:1.8 nick-hppapmap-base3:1.8 netbsd-5-0:1.8.0.26 netbsd-5-0-RELEASE:1.8 netbsd-5-0-RC4:1.8 netbsd-5-0-RC3:1.8 nick-hppapmap-base2:1.8 netbsd-5-0-RC2:1.8 jym-xensuspend:1.8.0.24 jym-xensuspend-base:1.8 netbsd-5-0-RC1:1.8 haad-dm-base2:1.8 haad-nbase2:1.8 ad-audiomp2:1.8.0.22 ad-audiomp2-base:1.8 netbsd-5:1.8.0.20 netbsd-5-base:1.8 nick-hppapmap:1.8.0.18 nick-hppapmap-base:1.8 matt-mips64-base2:1.8 matt-mips64:1.7.0.66 haad-dm-base1:1.8 wrstuden-revivesa-base-4:1.8 netbsd-4-0-1-RELEASE:1.7 wrstuden-revivesa-base-3:1.8 wrstuden-revivesa-base-2:1.8 wrstuden-fixsa-newbase:1.7 nick-csl-alignment-base5:1.7 haad-dm:1.8.0.16 haad-dm-base:1.8 wrstuden-revivesa-base-1:1.8 simonb-wapbl-nbase:1.8 yamt-pf42-base4:1.8 simonb-wapbl:1.8.0.14 simonb-wapbl-base:1.8 yamt-pf42-base3:1.8 hpcarm-cleanup-nbase:1.8 yamt-pf42-baseX:1.8 yamt-pf42-base2:1.8 yamt-nfs-mp-base2:1.8 wrstuden-revivesa:1.8.0.12 wrstuden-revivesa-base:1.8 yamt-nfs-mp:1.8.0.10 yamt-nfs-mp-base:1.8 yamt-pf42:1.8.0.8 yamt-pf42-base:1.8 ad-socklock-base1:1.8 yamt-lazymbuf-base15:1.8 yamt-lazymbuf-base14:1.8 keiichi-mipv6-nbase:1.8 mjf-devfs2:1.8.0.6 mjf-devfs2-base:1.8 nick-net80211-sync:1.8.0.4 nick-net80211-sync-base:1.8 keiichi-mipv6:1.8.0.2 keiichi-mipv6-base:1.8 bouyer-xeni386-merge1:1.7.60.1 matt-armv6-prevmlocking:1.7 wrstuden-fixsa-base-1:1.7 vmlocking2-base3:1.8 netbsd-4-0:1.7.0.64 netbsd-4-0-RELEASE:1.7 bouyer-xeni386-nbase:1.8 yamt-kmem-base3:1.7 cube-autoconf:1.7.0.62 cube-autoconf-base:1.7 yamt-kmem-base2:1.7 bouyer-xeni386:1.7.0.60 bouyer-xeni386-base:1.8 yamt-kmem:1.7.0.58 yamt-kmem-base:1.7 vmlocking2-base2:1.7 reinoud-bufcleanup-nbase:1.7 vmlocking2:1.7.0.56 vmlocking2-base1:1.7 netbsd-4-0-RC5:1.7 matt-nb4-arm:1.7.0.54 matt-nb4-arm-base:1.7 matt-armv6-nbase:1.8 jmcneill-base:1.7 netbsd-4-0-RC4:1.7 mjf-devfs:1.7.0.52 mjf-devfs-base:1.8 bouyer-xenamd64-base2:1.7 vmlocking-nbase:1.7 yamt-x86pmap-base4:1.7 bouyer-xenamd64:1.7.0.50 bouyer-xenamd64-base:1.7 netbsd-4-0-RC3:1.7 yamt-x86pmap-base3:1.7 yamt-x86pmap-base2:1.7 netbsd-4-0-RC2:1.7 yamt-x86pmap:1.7.0.48 yamt-x86pmap-base:1.7 netbsd-4-0-RC1:1.7 matt-armv6:1.7.0.46 matt-armv6-base:1.8 matt-mips64-base:1.7 jmcneill-pm:1.7.0.44 jmcneill-pm-base:1.7 hpcarm-cleanup:1.7.0.42 hpcarm-cleanup-base:1.8 nick-csl-alignment:1.7.0.40 nick-csl-alignment-base:1.7 netbsd-3-1-1-RELEASE:1.2 netbsd-3-0-3-RELEASE:1.2 yamt-idlelwp-base8:1.7 wrstuden-fixsa:1.7.0.38 wrstuden-fixsa-base:1.7 thorpej-atomic:1.7.0.36 thorpej-atomic-base:1.7 reinoud-bufcleanup:1.7.0.34 reinoud-bufcleanup-base:1.7 mjf-ufs-trans:1.7.0.32 mjf-ufs-trans-base:1.7 vmlocking:1.7.0.30 vmlocking-base:1.7 ad-audiomp:1.7.0.28 ad-audiomp-base:1.7 yamt-idlelwp:1.7.0.26 post-newlock2-merge:1.7 newlock2-nbase:1.7 yamt-splraiseipl-base5:1.7 yamt-splraiseipl-base4:1.7 yamt-splraiseipl-base3:1.7 abandoned-netbsd-4-base:1.7 abandoned-netbsd-4:1.7.0.18 netbsd-3-1:1.2.0.6 netbsd-3-1-RELEASE:1.2 netbsd-3-0-2-RELEASE:1.2 yamt-splraiseipl-base2:1.7 netbsd-3-1-RC4:1.2 yamt-splraiseipl:1.7.0.22 yamt-splraiseipl-base:1.7 netbsd-3-1-RC3:1.2 yamt-pdpolicy-base9:1.7 newlock2:1.7.0.20 newlock2-base:1.7 yamt-pdpolicy-base8:1.7 netbsd-3-1-RC2:1.2 netbsd-3-1-RC1:1.2 yamt-pdpolicy-base7:1.7 netbsd-4:1.7.0.24 netbsd-4-base:1.7 yamt-pdpolicy-base6:1.7 chap-midi-nbase:1.7 netbsd-3-0-1-RELEASE:1.2 gdamore-uart:1.7.0.16 gdamore-uart-base:1.7 simonb-timcounters-final:1.7 yamt-pdpolicy-base5:1.7 chap-midi:1.7.0.14 chap-midi-base:1.7 yamt-pdpolicy-base4:1.7 yamt-pdpolicy-base3:1.7 peter-altq-base:1.7 peter-altq:1.7.0.12 yamt-pdpolicy-base2:1.7 elad-kernelauth-base:1.7 elad-kernelauth:1.7.0.10 yamt-pdpolicy:1.7.0.8 yamt-pdpolicy-base:1.7 yamt-uio_vmspace-base5:1.7 simonb-timecounters:1.7.0.6 simonb-timecounters-base:1.7 rpaulo-netinet-merge-pcb:1.7.0.4 rpaulo-netinet-merge-pcb-base:1.7 yamt-uio_vmspace:1.7.0.2 netbsd-3-0:1.2.0.4 netbsd-3-0-RELEASE:1.2 netbsd-3-0-RC6:1.2 yamt-readahead-base3:1.6 netbsd-3-0-RC5:1.2 netbsd-3-0-RC4:1.2 netbsd-3-0-RC3:1.2 yamt-readahead-base2:1.6 netbsd-3-0-RC2:1.2 yamt-readahead-pervnode:1.5 yamt-readahead-perfile:1.5 yamt-readahead:1.5.0.6 yamt-readahead-base:1.5 netbsd-3-0-RC1:1.2 yamt-vop-base3:1.5 yamt-vop-base2:1.5 thorpej-vnode-attr:1.5.0.4 thorpej-vnode-attr-base:1.5 yamt-vop:1.5.0.2 yamt-vop-base:1.5 yamt-lazymbuf:1.4.0.2 yamt-km-base4:1.2 yamt-km-base3:1.2 netbsd-3:1.2.0.2 netbsd-3-base:1.2 yamt-km-base2:1.1 yamt-km:1.1.0.8 yamt-km-base:1.1 kent-audio2:1.1.0.6 kent-audio2-base:1.2 kent-audio1-beforemerge:1.1 kent-audio1:1.1.0.4 kent-audio1-base:1.1 ktrace-lwp-base:1.7 ktrace-lwp:1.1.0.2; locks; strict; comment @ * @; 1.9 date 2009.10.19.23.19.39; author rmind; state Exp; branches 1.9.64.1; next 1.8; 1.8 date 2007.12.25.18.33.46; author perry; state Exp; branches 1.8.4.1 1.8.10.1; next 1.7; 1.7 date 2005.12.10.23.26.35; author elad; state Exp; branches 1.7.46.1 1.7.52.1 1.7.56.1 1.7.60.1; next 1.6; 1.6 date 2005.11.20.09.39.04; author dyoung; state Exp; branches; next 1.5; 1.5 date 2005.07.26.22.52.48; author dyoung; state Exp; branches 1.5.6.1; next 1.4; 1.4 date 2005.06.26.04.34.43; author dyoung; state Exp; branches 1.4.2.1; next 1.3; 1.3 date 2005.06.22.06.16.02; author dyoung; state Exp; branches; next 1.2; 1.2 date 2005.02.26.22.45.09; author perry; state Exp; branches; next 1.1; 1.1 date 2004.07.16.03.01.09; author dyoung; state Exp; branches 1.1.2.1 1.1.6.1 1.1.8.1; next ; 1.9.64.1 date 2018.07.12.16.35.34; author phil; state Exp; branches; next ; commitid US0n8axK0fqSKRJA; 1.8.4.1 date 2008.02.22.16.50.26; author skrll; state Exp; branches; next ; 1.8.10.1 date 2010.03.11.15.04.28; author yamt; state Exp; branches; next ; 1.7.46.1 date 2008.01.09.01.57.19; author matt; state Exp; branches; next ; 1.7.52.1 date 2008.02.18.21.07.07; author mjf; state Exp; branches; next ; 1.7.56.1 date 2007.12.26.19.57.36; author ad; state Exp; branches; next ; 1.7.60.1 date 2008.01.02.21.57.14; author bouyer; state Exp; branches; next ; 1.5.6.1 date 2005.11.22.16.08.16; author yamt; state Exp; branches; next ; 1.4.2.1 date 2006.06.21.15.10.46; author yamt; state Exp; branches; next 1.4.2.2; 1.4.2.2 date 2008.01.21.09.47.10; author yamt; state Exp; branches; next ; 1.1.2.1 date 2004.07.16.03.01.09; author skrll; state dead; branches; next 1.1.2.2; 1.1.2.2 date 2004.08.03.10.54.21; author skrll; state Exp; branches; next 1.1.2.3; 1.1.2.3 date 2004.09.18.14.54.39; author skrll; state Exp; branches; next 1.1.2.4; 1.1.2.4 date 2004.09.21.13.36.55; author skrll; state Exp; branches; next 1.1.2.5; 1.1.2.5 date 2005.03.04.16.53.17; author skrll; state Exp; branches; next 1.1.2.6; 1.1.2.6 date 2005.11.10.14.10.51; author skrll; state Exp; branches; next 1.1.2.7; 1.1.2.7 date 2005.12.11.10.29.22; author christos; state Exp; branches; next ; 1.1.6.1 date 2005.04.29.11.29.32; author kent; state Exp; branches; next ; 1.1.8.1 date 2005.03.19.08.36.35; author yamt; state Exp; branches; next ; desc @@ 1.9 log @Drop 3rd and 4th clauses from David Young's license. Reviewed and approved by dyoung@@ (copyright holder). @ text @/* $NetBSD: ieee80211_sysctl.h,v 1.8 2007/12/25 18:33:46 perry Exp $ */ /*- * Copyright (c) 2005 David Young. All rights reserved. * * Redistribution and use in source and binary forms, with or * without modification, are permitted provided that the following * conditions are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above * copyright notice, this list of conditions and the following * disclaimer in the documentation and/or other materials provided * with the distribution. * * THIS SOFTWARE IS PROVIDED BY David Young ``AS IS'' AND ANY * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL David * Young BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. */ #ifndef _NET80211_IEEE80211_SYSCTL_H_ #define _NET80211_IEEE80211_SYSCTL_H_ #include /* sysctl(9) interface to net80211 client/peer records */ /* Name index, offset from net.link.ieee80211.node. */ #define IEEE80211_SYSCTL_NODENAME_IF 0 #define IEEE80211_SYSCTL_NODENAME_OP 1 #define IEEE80211_SYSCTL_NODENAME_ARG 2 #define IEEE80211_SYSCTL_NODENAME_TYPE 3 #define IEEE80211_SYSCTL_NODENAME_ELTSIZE 4 #define IEEE80211_SYSCTL_NODENAME_ELTCOUNT 5 #define IEEE80211_SYSCTL_NODENAMELEN 6 /* Record type numbers. */ #define IEEE80211_SYSCTL_T_NODE 0 /* client/peer record */ #define IEEE80211_SYSCTL_T_RSSADAPT 1 /* rssadapt(9) record * (optional) */ #define IEEE80211_SYSCTL_T_DRVSPEC 2 /* driver-specific record * (optional) */ #define IEEE80211_SYSCTL_OP_ALL 0 /* Every record begins with this information. */ struct ieee80211_node_sysctlhdr { /*00*/ u_int16_t sh_ifindex; /*02*/ u_int8_t sh_macaddr[IEEE80211_ADDR_LEN]; /*08*/ u_int8_t sh_bssid[IEEE80211_ADDR_LEN]; }; /* Exportable node. */ struct ieee80211_node_sysctl { /*00*/ u_int16_t ns_ifindex; /*02*/ u_int8_t ns_macaddr[IEEE80211_ADDR_LEN]; /*08*/ u_int8_t ns_bssid[IEEE80211_ADDR_LEN]; /*0e*/ u_int16_t ns_capinfo; /* capabilities */ /*10*/ u_int32_t ns_flags; /* properties of this node, * IEEE80211_NODE_SYSCTL_F_* */ /*14*/ u_int16_t ns_freq; /*16*/ u_int16_t ns_chanflags; /*18*/ u_int16_t ns_chanidx; /*1a*/ u_int8_t ns_rssi; /* recv ssi */ /*1b*/ u_int8_t ns_esslen; /*1c*/ u_int8_t ns_essid[IEEE80211_NWID_LEN]; /*3c*/ u_int8_t ns_rsvd0; /* reserved */ /*3d*/ u_int8_t ns_erp; /* 11g only */ /*3e*/ u_int16_t ns_associd; /* assoc response */ /*40*/ u_int32_t ns_inact; /* inactivity mark count */ /*44*/ u_int32_t ns_rstamp; /* recv timestamp */ /*48*/ struct ieee80211_rateset ns_rates; /* negotiated rate set */ /*58*/ u_int16_t ns_txrate; /* index to ns_rates[] */ /*5a*/ u_int16_t ns_intval; /* beacon interval */ /*5c*/ u_int8_t ns_tstamp[8]; /* from last rcv'd beacon */ /*64*/ u_int16_t ns_txseq; /* seq to be transmitted */ /*66*/ u_int16_t ns_rxseq; /* seq previous received */ /*68*/ u_int16_t ns_fhdwell; /* FH only */ /*6a*/ u_int8_t ns_fhindex; /* FH only */ /*6b*/ u_int8_t ns_fails; /* failure count to associate */ /*6c*/ #ifdef notyet /* DTIM and contention free period (CFP) */ u_int8_t ns_dtimperiod; u_int8_t ns_cfpperiod; /* # of DTIMs between CFPs */ u_int16_t ns_cfpduremain; /* remaining cfp duration */ u_int16_t ns_cfpmaxduration;/* max CFP duration in TU */ u_int16_t ns_nextdtim; /* time to next DTIM */ u_int16_t ns_timoffset; #endif } __packed; #ifdef __NetBSD__ enum ieee80211_node_walk_state { IEEE80211_WALK_BSS = 0, IEEE80211_WALK_SCAN, IEEE80211_WALK_STA }; struct ieee80211_node_walk { struct ieee80211com *nw_ic; struct ieee80211_node_table *nw_nt; struct ieee80211_node *nw_ni; u_short nw_ifindex; }; #endif /* __NetBSD__ */ #define IEEE80211_NODE_SYSCTL_F_BSS 0x00000001 /* this node is the * ic->ic_bss */ #define IEEE80211_NODE_SYSCTL_F_STA 0x00000002 /* this node is in * the neighbor/sta * table */ #define IEEE80211_NODE_SYSCTL_F_SCAN 0x00000004 /* this node is in * the scan table */ #endif /* !_NET80211_IEEE80211_SYSCTL_H_ */ @ 1.9.64.1 log @State save. New kernel config for this brach only. TESTWIFI does produce a kernel. It is not working. athn files not compiling yet and commented out of the TESTWIFI kernel, which only has urtwn 802.11 driver enabled. ieee80211_alq.c and ieee80211_ddb.c not compiling yet. @ text @d1 1 a1 1 /* $NetBSD: ieee80211_sysctl.h,v 1.9 2009/10/19 23:19:39 rmind Exp $ */ @ 1.8 log @Convert many of the uses of __attribute__ to equivalent __packed, __unused and __dead macros from cdefs.h @ text @d1 1 a1 1 /* $NetBSD: ieee80211_sysctl.h,v 1.7 2005/12/10 23:26:35 elad Exp $ */ a13 3 * 3. The name of David Young may not be used to endorse or promote * products derived from this software without specific prior * written permission. @ 1.8.10.1 log @sync with head @ text @d1 1 a1 1 /* $NetBSD: ieee80211_sysctl.h,v 1.8 2007/12/25 18:33:46 perry Exp $ */ d14 3 @ 1.8.4.1 log @Beginning of a sync with net80211 from FreeBSD. Lots to do. Sources taken from 2008-02-22. @ text @a115 1 #if 0 a117 9 #endif int nw_error; char *nw_dp; size_t nw_len; size_t nw_eltsize; size_t nw_out_size; size_t nw_needed; u_int nw_ifcount; u_int nw_nelt; @ 1.7 log @Multiple inclusion protection, as suggested by christos@@ on tech-kern@@ few days ago. @ text @d1 1 a1 1 /* $NetBSD: ieee80211_sysctl.h,v 1.6 2005/11/20 09:39:04 dyoung Exp $ */ d105 1 a105 1 } __attribute__((__packed__)); @ 1.7.52.1 log @Sync with HEAD. @ text @d1 1 a1 1 /* $NetBSD: ieee80211_sysctl.h,v 1.8 2007/12/25 18:33:46 perry Exp $ */ d105 1 a105 1 } __packed; @ 1.7.46.1 log @sync with HEAD @ text @d1 1 a1 1 /* $NetBSD: ieee80211_sysctl.h,v 1.7 2005/12/10 23:26:35 elad Exp $ */ d105 1 a105 1 } __packed; @ 1.7.60.1 log @Sync with HEAD @ text @d1 1 a1 1 /* $NetBSD$ */ d105 1 a105 1 } __packed; @ 1.7.56.1 log @Sync with head. @ text @d1 1 a1 1 /* $NetBSD: ieee80211_sysctl.h,v 1.8 2007/12/25 18:33:46 perry Exp $ */ d105 1 a105 1 } __packed; @ 1.6 log @Mark ieee80211_nodes with their node-table membership: scan table or client/neighbor table. While I'm here, assert that ieee80211_getmgtframe returns a frame that starts on a 32-bit boundary. @ text @d1 1 a1 1 /* $NetBSD: ieee80211_sysctl.h,v 1.5 2005/07/26 22:52:48 dyoung Exp $ */ d132 1 a132 1 #endif /* _NET80211_IEEE80211_SYSCTL_H_ */ @ 1.5 log @Resolve conflicts. @ text @d1 1 a1 1 /* $NetBSD: ieee80211_sysctl.h,v 1.3 2005/06/22 06:16:02 dyoung Exp $ */ d125 7 @ 1.5.6.1 log @sync with head. @ text @d1 1 a1 1 /* $NetBSD: ieee80211_sysctl.h,v 1.5 2005/07/26 22:52:48 dyoung Exp $ */ a124 7 #define IEEE80211_NODE_SYSCTL_F_STA 0x00000002 /* this node is in * the neighbor/sta * table */ #define IEEE80211_NODE_SYSCTL_F_SCAN 0x00000004 /* this node is in * the scan table */ @ 1.4 log @Add some debug messages to ieee80211_notify_node_{join,leave}. Change the way we walk 802.11 peers/clients: for each eligible interface, walk the ic_sta (peers/clients) table, first; walk the ic_scan (scan results) table, second; then visit the ic_bss (node for the network joined/created by the interface). @ text @@ 1.4.2.1 log @sync with head. @ text @d1 1 a1 1 /* $NetBSD: ieee80211_sysctl.h,v 1.4 2005/06/26 04:34:43 dyoung Exp $ */ d125 1 a125 8 #define IEEE80211_NODE_SYSCTL_F_STA 0x00000002 /* this node is in * the neighbor/sta * table */ #define IEEE80211_NODE_SYSCTL_F_SCAN 0x00000004 /* this node is in * the scan table */ #endif /* !_NET80211_IEEE80211_SYSCTL_H_ */ @ 1.4.2.2 log @sync with head @ text @d1 1 a1 1 /* $NetBSD: ieee80211_sysctl.h,v 1.4.2.1 2006/06/21 15:10:46 yamt Exp $ */ d105 1 a105 1 } __packed; @ 1.3 log @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. @ text @d1 1 a1 1 /* $NetBSD$ */ d108 6 d115 4 a118 3 struct ieee80211com *nw_ic; struct ieee80211_node *nw_ni; u_short nw_ifindex; @ 1.2 log @nuke trailing whitespace @ text @d1 1 a1 1 /* $NetBSD: ieee80211_sysctl.h,v 1.1 2004/07/16 03:01:09 dyoung Exp $ */ d34 1 a34 1 #include d36 1 a36 1 /* sysctl(9) interface to net80211 client/peer records */ d58 1 a58 1 d81 1 a81 1 /*3c*/ u_int8_t ns_pwrsave; /* power saving mode */ @ 1.1 log @Add sysctl access to 802.11 node tables, step #1. @ text @d1 1 a1 1 /* $NetBSD$ */ d36 1 a36 1 /* sysctl(9) interface to net80211 client/peer records */ d58 1 a58 1 @ 1.1.2.1 log @file ieee80211_sysctl.h was added on branch ktrace-lwp on 2004-08-03 10:54:21 +0000 @ text @d1 118 @ 1.1.2.2 log @Sync with HEAD @ text @a0 118 /* $NetBSD: ieee80211_sysctl.h,v 1.1.2.1 2004/08/03 10:54:21 skrll Exp $ */ /*- * Copyright (c) 2005 David Young. All rights reserved. * * Redistribution and use in source and binary forms, with or * without modification, are permitted provided that the following * conditions are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above * copyright notice, this list of conditions and the following * disclaimer in the documentation and/or other materials provided * with the distribution. * 3. The name of David Young may not be used to endorse or promote * products derived from this software without specific prior * written permission. * * THIS SOFTWARE IS PROVIDED BY David Young ``AS IS'' AND ANY * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL David * Young BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY * OF SUCH DAMAGE. */ #ifndef _NET80211_IEEE80211_SYSCTL_H_ #define _NET80211_IEEE80211_SYSCTL_H_ #include /* sysctl(9) interface to net80211 client/peer records */ /* Name index, offset from net.link.ieee80211.node. */ #define IEEE80211_SYSCTL_NODENAME_IF 0 #define IEEE80211_SYSCTL_NODENAME_OP 1 #define IEEE80211_SYSCTL_NODENAME_ARG 2 #define IEEE80211_SYSCTL_NODENAME_TYPE 3 #define IEEE80211_SYSCTL_NODENAME_ELTSIZE 4 #define IEEE80211_SYSCTL_NODENAME_ELTCOUNT 5 #define IEEE80211_SYSCTL_NODENAMELEN 6 /* Record type numbers. */ #define IEEE80211_SYSCTL_T_NODE 0 /* client/peer record */ #define IEEE80211_SYSCTL_T_RSSADAPT 1 /* rssadapt(9) record * (optional) */ #define IEEE80211_SYSCTL_T_DRVSPEC 2 /* driver-specific record * (optional) */ #define IEEE80211_SYSCTL_OP_ALL 0 /* Every record begins with this information. */ struct ieee80211_node_sysctlhdr { /*00*/ u_int16_t sh_ifindex; /*02*/ u_int8_t sh_macaddr[IEEE80211_ADDR_LEN]; /*08*/ u_int8_t sh_bssid[IEEE80211_ADDR_LEN]; }; /* Exportable node. */ struct ieee80211_node_sysctl { /*00*/ u_int16_t ns_ifindex; /*02*/ u_int8_t ns_macaddr[IEEE80211_ADDR_LEN]; /*08*/ u_int8_t ns_bssid[IEEE80211_ADDR_LEN]; /*0e*/ u_int16_t ns_capinfo; /* capabilities */ /*10*/ u_int32_t ns_flags; /* properties of this node, * IEEE80211_NODE_SYSCTL_F_* */ /*14*/ u_int16_t ns_freq; /*16*/ u_int16_t ns_chanflags; /*18*/ u_int16_t ns_chanidx; /*1a*/ u_int8_t ns_rssi; /* recv ssi */ /*1b*/ u_int8_t ns_esslen; /*1c*/ u_int8_t ns_essid[IEEE80211_NWID_LEN]; /*3c*/ u_int8_t ns_pwrsave; /* power saving mode */ /*3d*/ u_int8_t ns_erp; /* 11g only */ /*3e*/ u_int16_t ns_associd; /* assoc response */ /*40*/ u_int32_t ns_inact; /* inactivity mark count */ /*44*/ u_int32_t ns_rstamp; /* recv timestamp */ /*48*/ struct ieee80211_rateset ns_rates; /* negotiated rate set */ /*58*/ u_int16_t ns_txrate; /* index to ns_rates[] */ /*5a*/ u_int16_t ns_intval; /* beacon interval */ /*5c*/ u_int8_t ns_tstamp[8]; /* from last rcv'd beacon */ /*64*/ u_int16_t ns_txseq; /* seq to be transmitted */ /*66*/ u_int16_t ns_rxseq; /* seq previous received */ /*68*/ u_int16_t ns_fhdwell; /* FH only */ /*6a*/ u_int8_t ns_fhindex; /* FH only */ /*6b*/ u_int8_t ns_fails; /* failure count to associate */ /*6c*/ #ifdef notyet /* DTIM and contention free period (CFP) */ u_int8_t ns_dtimperiod; u_int8_t ns_cfpperiod; /* # of DTIMs between CFPs */ u_int16_t ns_cfpduremain; /* remaining cfp duration */ u_int16_t ns_cfpmaxduration;/* max CFP duration in TU */ u_int16_t ns_nextdtim; /* time to next DTIM */ u_int16_t ns_timoffset; #endif } __attribute__((__packed__)); #ifdef __NetBSD__ struct ieee80211_node_walk { struct ieee80211com *nw_ic; struct ieee80211_node *nw_ni; u_short nw_ifindex; }; #endif /* __NetBSD__ */ #define IEEE80211_NODE_SYSCTL_F_BSS 0x00000001 /* this node is the * ic->ic_bss */ #endif /* _NET80211_IEEE80211_SYSCTL_H_ */ @ 1.1.2.3 log @Sync with HEAD. @ text @d1 1 a1 1 /* $NetBSD: ieee80211_sysctl.h,v 1.1.2.2 2004/09/18 14:54:39 skrll Exp $ */ @ 1.1.2.4 log @Fix the sync with head I botched. @ text @d1 1 a1 1 /* $NetBSD: ieee80211_sysctl.h,v 1.1.2.3 2004/09/21 13:36:55 skrll Exp $ */ @ 1.1.2.5 log @Sync with HEAD. Hi Perry! @ text @d1 1 a1 1 /* $NetBSD: ieee80211_sysctl.h,v 1.1.2.4 2005/03/04 16:53:17 skrll Exp $ */ d36 1 a36 1 /* sysctl(9) interface to net80211 client/peer records */ d58 1 a58 1 @ 1.1.2.6 log @Sync with HEAD. Here we go again... @ text @d1 1 a1 1 /* $NetBSD: ieee80211_sysctl.h,v 1.1.2.5 2005/11/10 14:10:51 skrll Exp $ */ d34 1 a34 1 #include d36 1 a36 1 /* sysctl(9) interface to net80211 client/peer records */ d58 1 a58 1 d81 1 a81 1 /*3c*/ u_int8_t ns_rsvd0; /* reserved */ a107 6 enum ieee80211_node_walk_state { IEEE80211_WALK_BSS = 0, IEEE80211_WALK_SCAN, IEEE80211_WALK_STA }; d109 3 a111 4 struct ieee80211com *nw_ic; struct ieee80211_node_table *nw_nt; struct ieee80211_node *nw_ni; u_short nw_ifindex; @ 1.1.2.7 log @Sync with head. @ text @d1 1 a1 1 /* $NetBSD: ieee80211_sysctl.h,v 1.1.2.6 2005/12/11 10:29:22 christos Exp $ */ d125 1 a125 8 #define IEEE80211_NODE_SYSCTL_F_STA 0x00000002 /* this node is in * the neighbor/sta * table */ #define IEEE80211_NODE_SYSCTL_F_SCAN 0x00000004 /* this node is in * the scan table */ #endif /* !_NET80211_IEEE80211_SYSCTL_H_ */ @ 1.1.6.1 log @sync with -current @ text @d1 1 a1 1 /* $NetBSD: ieee80211_sysctl.h,v 1.2 2005/02/26 22:45:09 perry Exp $ */ d36 1 a36 1 /* sysctl(9) interface to net80211 client/peer records */ d58 1 a58 1 @ 1.1.8.1 log @sync with head. xen and whitespace. xen part is not finished. @ text @d1 1 a1 1 /* $NetBSD: ieee80211_sysctl.h,v 1.1 2004/07/16 03:01:09 dyoung Exp $ */ d36 1 a36 1 /* sysctl(9) interface to net80211 client/peer records */ d58 1 a58 1 @