rt2x00.h (666fab4a3ea143315a9c059fad9f3a0f1365d54b) rt2x00.h (5447626910f5b8d964761ed4fa4feaf1a3ac47d0)
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 Copyright (C) 2010 Willow Garage <http://www.willowgarage.com>
4 Copyright (C) 2004 - 2010 Ivo van Doorn <IvDoorn@gmail.com>
5 Copyright (C) 2004 - 2009 Gertjan van Wingerde <gwingerde@gmail.com>
6 <http://rt2x00.serialmonkey.com>
7
8 */

--- 168 unchanged lines hidden (view full) ---

177 int channel;
178 u32 rf1;
179 u32 rf2;
180 u32 rf3;
181 u32 rf4;
182};
183
184/*
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 Copyright (C) 2010 Willow Garage <http://www.willowgarage.com>
4 Copyright (C) 2004 - 2010 Ivo van Doorn <IvDoorn@gmail.com>
5 Copyright (C) 2004 - 2009 Gertjan van Wingerde <gwingerde@gmail.com>
6 <http://rt2x00.serialmonkey.com>
7
8 */

--- 168 unchanged lines hidden (view full) ---

177 int channel;
178 u32 rf1;
179 u32 rf2;
180 u32 rf3;
181 u32 rf4;
182};
183
184/*
185 * Information structure for channel survey.
186 */
187struct rt2x00_chan_survey {
188 u64 time_idle;
189 u64 time_busy;
190 u64 time_ext_busy;
191};
192
193/*
185 * Channel information structure
186 */
187struct channel_info {
188 unsigned int flags;
189#define GEOGRAPHY_ALLOWED 0x00000001
190
191 short max_power;
192 short default_power1;

--- 554 unchanged lines hidden (view full) ---

747 */
748 void *drv_data;
749
750 /*
751 * IEEE80211 control structure.
752 */
753 struct ieee80211_hw *hw;
754 struct ieee80211_supported_band bands[NUM_NL80211_BANDS];
194 * Channel information structure
195 */
196struct channel_info {
197 unsigned int flags;
198#define GEOGRAPHY_ALLOWED 0x00000001
199
200 short max_power;
201 short default_power1;

--- 554 unchanged lines hidden (view full) ---

756 */
757 void *drv_data;
758
759 /*
760 * IEEE80211 control structure.
761 */
762 struct ieee80211_hw *hw;
763 struct ieee80211_supported_band bands[NUM_NL80211_BANDS];
764 struct rt2x00_chan_survey *chan_survey;
755 enum nl80211_band curr_band;
756 int curr_freq;
757
758 /*
759 * If enabled, the debugfs interface structures
760 * required for deregistration of debugfs.
761 */
762#ifdef CONFIG_RT2X00_LIB_DEBUGFS

--- 732 unchanged lines hidden ---
765 enum nl80211_band curr_band;
766 int curr_freq;
767
768 /*
769 * If enabled, the debugfs interface structures
770 * required for deregistration of debugfs.
771 */
772#ifdef CONFIG_RT2X00_LIB_DEBUGFS

--- 732 unchanged lines hidden ---