1178354Ssam/*- 2178354Ssam * Copyright (c) 2007-2008 Sam Leffler, Errno Consulting 3178354Ssam * All rights reserved. 4178354Ssam * 5178354Ssam * Redistribution and use in source and binary forms, with or without 6178354Ssam * modification, are permitted provided that the following conditions 7178354Ssam * are met: 8178354Ssam * 1. Redistributions of source code must retain the above copyright 9178354Ssam * notice, this list of conditions and the following disclaimer. 10178354Ssam * 2. Redistributions in binary form must reproduce the above copyright 11178354Ssam * notice, this list of conditions and the following disclaimer in the 12178354Ssam * documentation and/or other materials provided with the distribution. 13178354Ssam * 14178354Ssam * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 15178354Ssam * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 16178354Ssam * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 17178354Ssam * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 18178354Ssam * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 19178354Ssam * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20178354Ssam * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21178354Ssam * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22178354Ssam * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23178354Ssam * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24178354Ssam * 25178354Ssam * $FreeBSD$ 26178354Ssam */ 27178354Ssam#ifndef _NET80211_IEEE80211_STA_H_ 28178354Ssam#define _NET80211_IEEE80211_STA_H_ 29178354Ssam 30178354Ssam/* 31178354Ssam * Station-mode implementation definitions. 32178354Ssam */ 33178354Ssamvoid ieee80211_sta_attach(struct ieee80211com *); 34178354Ssamvoid ieee80211_sta_detach(struct ieee80211com *); 35178354Ssamvoid ieee80211_sta_vattach(struct ieee80211vap *); 36244060Sadrian 37244060Sadrian/* 38244060Sadrian * Used by the adhoc/mesh/tdma paths. 39244060Sadrian */ 40244060Sadrianextern int ieee80211_parse_wmeparams(struct ieee80211vap *vap, uint8_t *frm, 41244060Sadrian const struct ieee80211_frame *wh); 42178354Ssam#endif /* !_NET80211_IEEE80211_STA_H_ */ 43