if_wpivar.h (192468) | if_wpivar.h (206358) |
---|---|
1/* $FreeBSD: head/sys/dev/wpi/if_wpivar.h 192468 2009-05-20 20:00:40Z sam $ */ | 1/* $FreeBSD: head/sys/dev/wpi/if_wpivar.h 206358 2010-04-07 15:29:13Z rpaulo $ */ |
2 3/*- 4 * Copyright (c) 2006,2007 5 * Damien Bergamini <damien.bergamini@free.fr> 6 * 7 * Permission to use, copy, modify, and distribute this software for any 8 * purpose with or without fee is hereby granted, provided that the above 9 * copyright notice and this permission notice appear in all copies. --- 91 unchanged lines hidden (view full) --- 101 struct ieee80211_node ni; /* must be the first */ 102 int txcnt; 103 int retrycnt; 104 int success; 105 int success_threshold; 106 int recovery; 107}; 108 | 2 3/*- 4 * Copyright (c) 2006,2007 5 * Damien Bergamini <damien.bergamini@free.fr> 6 * 7 * Permission to use, copy, modify, and distribute this software for any 8 * purpose with or without fee is hereby granted, provided that the above 9 * copyright notice and this permission notice appear in all copies. --- 91 unchanged lines hidden (view full) --- 101 struct ieee80211_node ni; /* must be the first */ 102 int txcnt; 103 int retrycnt; 104 int success; 105 int success_threshold; 106 int recovery; 107}; 108 |
109struct wpi_node { 110 struct ieee80211_node ni; /* must be the first */ 111 struct ieee80211_amrr_node amn; 112}; 113#define WPI_NODE(ni) ((struct wpi_node *)(ni)) 114 | |
115struct wpi_power_sample { 116 uint8_t index; 117 int8_t power; 118}; 119 120struct wpi_power_group { 121#define WPI_SAMPLES_COUNT 5 122 struct wpi_power_sample samples[WPI_SAMPLES_COUNT]; 123 uint8_t chan; 124 int8_t maxpwr; 125 int16_t temp; 126}; 127 128struct wpi_vap { 129 struct ieee80211vap vap; | 109struct wpi_power_sample { 110 uint8_t index; 111 int8_t power; 112}; 113 114struct wpi_power_group { 115#define WPI_SAMPLES_COUNT 5 116 struct wpi_power_sample samples[WPI_SAMPLES_COUNT]; 117 uint8_t chan; 118 int8_t maxpwr; 119 int16_t temp; 120}; 121 122struct wpi_vap { 123 struct ieee80211vap vap; |
130 struct ieee80211_amrr amrr; | |
131 132 int (*newstate)(struct ieee80211vap *, 133 enum ieee80211_state, int); 134}; 135#define WPI_VAP(vap) ((struct wpi_vap *)(vap)) 136 137struct wpi_softc { 138 device_t sc_dev; --- 73 unchanged lines hidden --- | 124 125 int (*newstate)(struct ieee80211vap *, 126 enum ieee80211_state, int); 127}; 128#define WPI_VAP(vap) ((struct wpi_vap *)(vap)) 129 130struct wpi_softc { 131 device_t sc_dev; --- 73 unchanged lines hidden --- |