aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00.h')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00.h b/drivers/net/wireless/rt2x00/rt2x00.h
index b03b22c47b18..ed2ae6efcaa3 100644
--- a/drivers/net/wireless/rt2x00/rt2x00.h
+++ b/drivers/net/wireless/rt2x00/rt2x00.h
@@ -647,6 +647,7 @@ struct rt2x00lib_ops {
647 */ 647 */
648struct rt2x00_ops { 648struct rt2x00_ops {
649 const char *name; 649 const char *name;
650 const unsigned int drv_data_size;
650 const unsigned int max_sta_intf; 651 const unsigned int max_sta_intf;
651 const unsigned int max_ap_intf; 652 const unsigned int max_ap_intf;
652 const unsigned int eeprom_size; 653 const unsigned int eeprom_size;
@@ -742,6 +743,11 @@ struct rt2x00_dev {
742 const struct rt2x00_ops *ops; 743 const struct rt2x00_ops *ops;
743 744
744 /* 745 /*
746 * Driver data.
747 */
748 void *drv_data;
749
750 /*
745 * IEEE80211 control structure. 751 * IEEE80211 control structure.
746 */ 752 */
747 struct ieee80211_hw *hw; 753 struct ieee80211_hw *hw;
@@ -886,18 +892,11 @@ struct rt2x00_dev {
886 u8 rssi_offset; 892 u8 rssi_offset;
887 893
888 /* 894 /*
889 * Frequency offset (for rt61pci & rt73usb). 895 * Frequency offset.
890 */ 896 */
891 u8 freq_offset; 897 u8 freq_offset;
892 898
893 /* 899 /*
894 * Calibration information (for rt2800usb & rt2800pci).
895 * [0] -> BW20
896 * [1] -> BW40
897 */
898 u8 calibration[2];
899
900 /*
901 * Association id. 900 * Association id.
902 */ 901 */
903 u16 aid; 902 u16 aid;