if_bwnvar.h (204922) | if_bwnvar.h (206358) |
---|---|
1/*- 2 * Copyright (c) 2009-2010 Weongyo Jeong <weongyo@freebsd.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 12 unchanged lines hidden (view full) --- 21 * THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, 22 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 25 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 27 * THE POSSIBILITY OF SUCH DAMAGES. 28 * | 1/*- 2 * Copyright (c) 2009-2010 Weongyo Jeong <weongyo@freebsd.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 12 unchanged lines hidden (view full) --- 21 * THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, 22 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 25 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 27 * THE POSSIBILITY OF SUCH DAMAGES. 28 * |
29 * $FreeBSD: head/sys/dev/bwn/if_bwnvar.h 204922 2010-03-09 19:58:00Z weongyo $ | 29 * $FreeBSD: head/sys/dev/bwn/if_bwnvar.h 206358 2010-04-07 15:29:13Z rpaulo $ |
30 */ 31 32#ifndef _IF_BWNVAR_H 33#define _IF_BWNVAR_H 34 35struct siba_dev_softc; 36struct bwn_softc; 37struct bwn_mac; --- 840 unchanged lines hidden (view full) --- 878 unsigned int mac_task_state; 879 struct task mac_intrtask; 880 struct task mac_hwreset; 881 struct task mac_txpower; 882 883 TAILQ_ENTRY(bwn_mac) mac_list; 884}; 885 | 30 */ 31 32#ifndef _IF_BWNVAR_H 33#define _IF_BWNVAR_H 34 35struct siba_dev_softc; 36struct bwn_softc; 37struct bwn_mac; --- 840 unchanged lines hidden (view full) --- 878 unsigned int mac_task_state; 879 struct task mac_intrtask; 880 struct task mac_hwreset; 881 struct task mac_txpower; 882 883 TAILQ_ENTRY(bwn_mac) mac_list; 884}; 885 |
886struct bwn_node { 887 struct ieee80211_node bn_node; /* must be the first */ 888 struct ieee80211_amrr_node bn_amn; 889}; 890#define BWN_NODE(ni) ((struct bwn_node *)(ni)) 891 | |
892/* 893 * Driver-specific vap state. 894 */ 895struct bwn_vap { 896 struct ieee80211vap bv_vap; /* base class */ | 886/* 887 * Driver-specific vap state. 888 */ 889struct bwn_vap { 890 struct ieee80211vap bv_vap; /* base class */ |
897 struct ieee80211_amrr bv_amrr; | |
898 int (*bv_newstate)(struct ieee80211vap *, 899 enum ieee80211_state, int); 900}; 901#define BWN_VAP(vap) ((struct bwn_vap *)(vap)) 902#define BWN_VAP_CONST(vap) ((const struct mwl_vap *)(vap)) 903 904struct bwn_softc { 905 device_t sc_dev; --- 54 unchanged lines hidden --- | 891 int (*bv_newstate)(struct ieee80211vap *, 892 enum ieee80211_state, int); 893}; 894#define BWN_VAP(vap) ((struct bwn_vap *)(vap)) 895#define BWN_VAP_CONST(vap) ((const struct mwl_vap *)(vap)) 896 897struct bwn_softc { 898 device_t sc_dev; --- 54 unchanged lines hidden --- |