diff options
Diffstat (limited to 'drivers/net/wireless/zd1211rw/zd_rf.h')
-rw-r--r-- | drivers/net/wireless/zd1211rw/zd_rf.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/net/wireless/zd1211rw/zd_rf.h b/drivers/net/wireless/zd1211rw/zd_rf.h index a57732eb69e1..aa9cc105ce60 100644 --- a/drivers/net/wireless/zd1211rw/zd_rf.h +++ b/drivers/net/wireless/zd1211rw/zd_rf.h | |||
@@ -26,7 +26,7 @@ | |||
26 | #define AL2210_RF 0x7 | 26 | #define AL2210_RF 0x7 |
27 | #define MAXIM_NEW_RF 0x8 | 27 | #define MAXIM_NEW_RF 0x8 |
28 | #define UW2453_RF 0x9 | 28 | #define UW2453_RF 0x9 |
29 | #define AL2230S_RF 0xa | 29 | #define UNKNOWN_A_RF 0xa |
30 | #define RALINK_RF 0xb | 30 | #define RALINK_RF 0xb |
31 | #define INTERSIL_RF 0xc | 31 | #define INTERSIL_RF 0xc |
32 | #define RF2959_RF 0xd | 32 | #define RF2959_RF 0xd |
@@ -47,17 +47,13 @@ struct zd_rf { | |||
47 | u8 type; | 47 | u8 type; |
48 | 48 | ||
49 | u8 channel; | 49 | u8 channel; |
50 | /* | ||
51 | * Whether this RF should patch the 6M band edge | ||
52 | * (assuming E2P_POD agrees) | ||
53 | */ | ||
54 | u8 patch_6m_band_edge:1; | ||
55 | 50 | ||
56 | /* RF-specific functions */ | 51 | /* RF-specific functions */ |
57 | int (*init_hw)(struct zd_rf *rf); | 52 | int (*init_hw)(struct zd_rf *rf); |
58 | int (*set_channel)(struct zd_rf *rf, u8 channel); | 53 | int (*set_channel)(struct zd_rf *rf, u8 channel); |
59 | int (*switch_radio_on)(struct zd_rf *rf); | 54 | int (*switch_radio_on)(struct zd_rf *rf); |
60 | int (*switch_radio_off)(struct zd_rf *rf); | 55 | int (*switch_radio_off)(struct zd_rf *rf); |
56 | int (*patch_6m_band_edge)(struct zd_rf *rf, u8 channel); | ||
61 | }; | 57 | }; |
62 | 58 | ||
63 | const char *zd_rf_name(u8 type); | 59 | const char *zd_rf_name(u8 type); |
@@ -72,6 +68,9 @@ int zd_rf_set_channel(struct zd_rf *rf, u8 channel); | |||
72 | int zd_switch_radio_on(struct zd_rf *rf); | 68 | int zd_switch_radio_on(struct zd_rf *rf); |
73 | int zd_switch_radio_off(struct zd_rf *rf); | 69 | int zd_switch_radio_off(struct zd_rf *rf); |
74 | 70 | ||
71 | int zd_rf_patch_6m_band_edge(struct zd_rf *rf, u8 channel); | ||
72 | int zd_rf_generic_patch_6m(struct zd_rf *rf, u8 channel); | ||
73 | |||
75 | /* Functions for individual RF chips */ | 74 | /* Functions for individual RF chips */ |
76 | 75 | ||
77 | int zd_rf_init_rf2959(struct zd_rf *rf); | 76 | int zd_rf_init_rf2959(struct zd_rf *rf); |