/*1* Copyright 2001 The Aerospace Corporation. All rights reserved.2*3* Redistribution and use in source and binary forms, with or without4* modification, are permitted provided that the following conditions5* are met:6* 1. Redistributions of source code must retain the above copyright7* notice, this list of conditions and the following disclaimer.8* 2. Redistributions in binary form must reproduce the above copyright9* notice, this list of conditions and the following disclaimer in the10* documentation and/or other materials provided with the distribution.11* 3. The name of The Aerospace Corporation may not be used to endorse or12* promote products derived from this software.13*14* THIS SOFTWARE IS PROVIDED BY THE AEROSPACE CORPORATION ``AS IS'' AND15* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE16* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE17* ARE DISCLAIMED. IN NO EVENT SHALL THE AEROSPACE CORPORATION BE LIABLE18* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL19* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS20* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)21* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT22* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY23* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF24* SUCH DAMAGE.25*/2627/*-28* Copyright (c) 1997, 1998, 2000 The NetBSD Foundation, Inc.29* All rights reserved.30*31* This code is derived from software contributed to The NetBSD Foundation32* by Jason R. Thorpe of the Numerical Aerospace Simulation Facility,33* NASA Ames Research Center.34*35* Redistribution and use in source and binary forms, with or without36* modification, are permitted provided that the following conditions37* are met:38* 1. Redistributions of source code must retain the above copyright39* notice, this list of conditions and the following disclaimer.40* 2. Redistributions in binary form must reproduce the above copyright41* notice, this list of conditions and the following disclaimer in the42* documentation and/or other materials provided with the distribution.43*44* THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS45* ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED46* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR47* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS48* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR49* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF50* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS51* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN52* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)53* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE54* POSSIBILITY OF SUCH DAMAGE.55*/5657#ifndef __LIB80211_IOCTL_H__58#define __LIB80211_IOCTL_H__5960extern int lib80211_get80211(int s, const char *name, int type, void *data,61int len);62extern int lib80211_get80211len(int s, const char *name, int type, void *data,63int len, int *plen);64extern int lib80211_get80211val(int s, const char *name, int type, int *val);65extern int lib80211_set80211(int s, const char *name, int type, int val,66int len, void *data);6768#endif /* __LIB80211_IOCTL_H__ */697071