Skip to content

Commit a958df5

Browse files
committed
rtlwifi: Remove extern from function prototypes
There are a mix of function prototypes with and without extern in the kernel sources. Standardize on not using extern for function prototypes. Function prototypes don't need to be written with extern. extern is assumed by the compiler. Its use is as unnecessary as using auto to declare automatic/local variables in a block. Signed-off-by: Joe Perches <[email protected]>
1 parent 53406cd commit a958df5

File tree

11 files changed

+141
-170
lines changed

11 files changed

+141
-170
lines changed

drivers/net/wireless/rtlwifi/cam.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@
4141
#define CAM_CONFIG_USEDK 1
4242
#define CAM_CONFIG_NO_USEDK 0
4343

44-
extern void rtl_cam_reset_all_entry(struct ieee80211_hw *hw);
45-
extern u8 rtl_cam_add_one_entry(struct ieee80211_hw *hw, u8 *mac_addr,
46-
u32 ul_key_id, u32 ul_entry_idx, u32 ul_enc_alg,
47-
u32 ul_default_key, u8 *key_content);
44+
void rtl_cam_reset_all_entry(struct ieee80211_hw *hw);
45+
u8 rtl_cam_add_one_entry(struct ieee80211_hw *hw, u8 *mac_addr,
46+
u32 ul_key_id, u32 ul_entry_idx, u32 ul_enc_alg,
47+
u32 ul_default_key, u8 *key_content);
4848
int rtl_cam_delete_one_entry(struct ieee80211_hw *hw, u8 *mac_addr,
49-
u32 ul_key_id);
49+
u32 ul_key_id);
5050
void rtl_cam_mark_invalid(struct ieee80211_hw *hw, u8 uc_index);
5151
void rtl_cam_empty_entry(struct ieee80211_hw *hw, u8 uc_index);
5252
void rtl_cam_reset_sec_info(struct ieee80211_hw *hw);

drivers/net/wireless/rtlwifi/efuse.h

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -104,20 +104,19 @@ struct efuse_priv {
104104
u8 tx_power_g[14];
105105
};
106106

107-
extern void read_efuse_byte(struct ieee80211_hw *hw, u16 _offset, u8 *pbuf);
108-
extern void efuse_initialize(struct ieee80211_hw *hw);
109-
extern u8 efuse_read_1byte(struct ieee80211_hw *hw, u16 address);
110-
extern void efuse_write_1byte(struct ieee80211_hw *hw, u16 address, u8 value);
111-
extern void read_efuse(struct ieee80211_hw *hw, u16 _offset,
112-
u16 _size_byte, u8 *pbuf);
113-
extern void efuse_shadow_read(struct ieee80211_hw *hw, u8 type,
114-
u16 offset, u32 *value);
115-
extern void efuse_shadow_write(struct ieee80211_hw *hw, u8 type,
116-
u16 offset, u32 value);
117-
extern bool efuse_shadow_update(struct ieee80211_hw *hw);
118-
extern bool efuse_shadow_update_chk(struct ieee80211_hw *hw);
119-
extern void rtl_efuse_shadow_map_update(struct ieee80211_hw *hw);
120-
extern void efuse_force_write_vendor_Id(struct ieee80211_hw *hw);
121-
extern void efuse_re_pg_section(struct ieee80211_hw *hw, u8 section_idx);
107+
void read_efuse_byte(struct ieee80211_hw *hw, u16 _offset, u8 *pbuf);
108+
void efuse_initialize(struct ieee80211_hw *hw);
109+
u8 efuse_read_1byte(struct ieee80211_hw *hw, u16 address);
110+
void efuse_write_1byte(struct ieee80211_hw *hw, u16 address, u8 value);
111+
void read_efuse(struct ieee80211_hw *hw, u16 _offset, u16 _size_byte, u8 *pbuf);
112+
void efuse_shadow_read(struct ieee80211_hw *hw, u8 type, u16 offset,
113+
u32 *value);
114+
void efuse_shadow_write(struct ieee80211_hw *hw, u8 type, u16 offset,
115+
u32 value);
116+
bool efuse_shadow_update(struct ieee80211_hw *hw);
117+
bool efuse_shadow_update_chk(struct ieee80211_hw *hw);
118+
void rtl_efuse_shadow_map_update(struct ieee80211_hw *hw);
119+
void efuse_force_write_vendor_Id(struct ieee80211_hw *hw);
120+
void efuse_re_pg_section(struct ieee80211_hw *hw, u8 section_idx);
122121

123122
#endif

drivers/net/wireless/rtlwifi/rtl8188ee/phy.h

Lines changed: 22 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -200,37 +200,32 @@ enum _ANT_DIV_TYPE {
200200
CGCS_RX_SW_ANTDIV = 0x05,
201201
};
202202

203-
extern u32 rtl88e_phy_query_bb_reg(struct ieee80211_hw *hw,
204-
u32 regaddr, u32 bitmask);
205-
extern void rtl88e_phy_set_bb_reg(struct ieee80211_hw *hw,
206-
u32 regaddr, u32 bitmask, u32 data);
207-
extern u32 rtl88e_phy_query_rf_reg(struct ieee80211_hw *hw,
208-
enum radio_path rfpath, u32 regaddr,
209-
u32 bitmask);
210-
extern void rtl88e_phy_set_rf_reg(struct ieee80211_hw *hw,
211-
enum radio_path rfpath, u32 regaddr,
212-
u32 bitmask, u32 data);
213-
extern bool rtl88e_phy_mac_config(struct ieee80211_hw *hw);
214-
extern bool rtl88e_phy_bb_config(struct ieee80211_hw *hw);
215-
extern bool rtl88e_phy_rf_config(struct ieee80211_hw *hw);
216-
extern void rtl88e_phy_get_hw_reg_originalvalue(struct ieee80211_hw *hw);
217-
extern void rtl88e_phy_get_txpower_level(struct ieee80211_hw *hw,
218-
long *powerlevel);
219-
extern void rtl88e_phy_set_txpower_level(struct ieee80211_hw *hw, u8 channel);
220-
extern void rtl88e_phy_scan_operation_backup(struct ieee80211_hw *hw,
221-
u8 operation);
222-
extern void rtl88e_phy_set_bw_mode_callback(struct ieee80211_hw *hw);
223-
extern void rtl88e_phy_set_bw_mode(struct ieee80211_hw *hw,
224-
enum nl80211_channel_type ch_type);
225-
extern void rtl88e_phy_sw_chnl_callback(struct ieee80211_hw *hw);
226-
extern u8 rtl88e_phy_sw_chnl(struct ieee80211_hw *hw);
227-
extern void rtl88e_phy_iq_calibrate(struct ieee80211_hw *hw, bool b_recovery);
203+
u32 rtl88e_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask);
204+
void rtl88e_phy_set_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask,
205+
u32 data);
206+
u32 rtl88e_phy_query_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath,
207+
u32 regaddr, u32 bitmask);
208+
void rtl88e_phy_set_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath,
209+
u32 regaddr, u32 bitmask, u32 data);
210+
bool rtl88e_phy_mac_config(struct ieee80211_hw *hw);
211+
bool rtl88e_phy_bb_config(struct ieee80211_hw *hw);
212+
bool rtl88e_phy_rf_config(struct ieee80211_hw *hw);
213+
void rtl88e_phy_get_hw_reg_originalvalue(struct ieee80211_hw *hw);
214+
void rtl88e_phy_get_txpower_level(struct ieee80211_hw *hw, long *powerlevel);
215+
void rtl88e_phy_set_txpower_level(struct ieee80211_hw *hw, u8 channel);
216+
void rtl88e_phy_scan_operation_backup(struct ieee80211_hw *hw, u8 operation);
217+
void rtl88e_phy_set_bw_mode_callback(struct ieee80211_hw *hw);
218+
void rtl88e_phy_set_bw_mode(struct ieee80211_hw *hw,
219+
enum nl80211_channel_type ch_type);
220+
void rtl88e_phy_sw_chnl_callback(struct ieee80211_hw *hw);
221+
u8 rtl88e_phy_sw_chnl(struct ieee80211_hw *hw);
222+
void rtl88e_phy_iq_calibrate(struct ieee80211_hw *hw, bool b_recovery);
228223
void rtl88e_phy_lc_calibrate(struct ieee80211_hw *hw);
229224
void rtl88e_phy_set_rfpath_switch(struct ieee80211_hw *hw, bool bmain);
230225
bool rtl88e_phy_config_rf_with_headerfile(struct ieee80211_hw *hw,
231226
enum radio_path rfpath);
232227
bool rtl88e_phy_set_io_cmd(struct ieee80211_hw *hw, enum io_type iotype);
233-
extern bool rtl88e_phy_set_rf_power_state(struct ieee80211_hw *hw,
234-
enum rf_pwrstate rfpwr_state);
228+
bool rtl88e_phy_set_rf_power_state(struct ieee80211_hw *hw,
229+
enum rf_pwrstate rfpwr_state);
235230

236231
#endif

drivers/net/wireless/rtlwifi/rtl8192ce/phy.h

Lines changed: 22 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -188,65 +188,55 @@ struct tx_power_struct {
188188
};
189189

190190
bool rtl92c_phy_bb_config(struct ieee80211_hw *hw);
191-
u32 rtl92c_phy_query_bb_reg(struct ieee80211_hw *hw,
192-
u32 regaddr, u32 bitmask);
193-
void rtl92c_phy_set_bb_reg(struct ieee80211_hw *hw,
194-
u32 regaddr, u32 bitmask, u32 data);
195-
u32 rtl92c_phy_query_rf_reg(struct ieee80211_hw *hw,
196-
enum radio_path rfpath, u32 regaddr,
197-
u32 bitmask);
198-
extern void rtl92ce_phy_set_rf_reg(struct ieee80211_hw *hw,
199-
enum radio_path rfpath, u32 regaddr,
200-
u32 bitmask, u32 data);
191+
u32 rtl92c_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask);
192+
void rtl92c_phy_set_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask,
193+
u32 data);
194+
u32 rtl92c_phy_query_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath,
195+
u32 regaddr, u32 bitmask);
196+
void rtl92ce_phy_set_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath,
197+
u32 regaddr, u32 bitmask, u32 data);
201198
bool rtl92c_phy_mac_config(struct ieee80211_hw *hw);
202199
bool rtl92ce_phy_bb_config(struct ieee80211_hw *hw);
203200
bool rtl92c_phy_rf_config(struct ieee80211_hw *hw);
204201
bool rtl92c_phy_config_rf_with_feaderfile(struct ieee80211_hw *hw,
205-
enum radio_path rfpath);
202+
enum radio_path rfpath);
206203
void rtl92c_phy_get_hw_reg_originalvalue(struct ieee80211_hw *hw);
207-
void rtl92c_phy_get_txpower_level(struct ieee80211_hw *hw,
208-
long *powerlevel);
204+
void rtl92c_phy_get_txpower_level(struct ieee80211_hw *hw, long *powerlevel);
209205
void rtl92c_phy_set_txpower_level(struct ieee80211_hw *hw, u8 channel);
210-
bool rtl92c_phy_update_txpower_dbm(struct ieee80211_hw *hw,
211-
long power_indbm);
212-
void rtl92c_phy_scan_operation_backup(struct ieee80211_hw *hw,
213-
u8 operation);
206+
bool rtl92c_phy_update_txpower_dbm(struct ieee80211_hw *hw, long power_indbm);
207+
void rtl92c_phy_scan_operation_backup(struct ieee80211_hw *hw, u8 operation);
214208
void rtl92c_phy_set_bw_mode(struct ieee80211_hw *hw,
215-
enum nl80211_channel_type ch_type);
209+
enum nl80211_channel_type ch_type);
216210
void rtl92c_phy_sw_chnl_callback(struct ieee80211_hw *hw);
217211
u8 rtl92c_phy_sw_chnl(struct ieee80211_hw *hw);
218212
void rtl92c_phy_iq_calibrate(struct ieee80211_hw *hw, bool b_recovery);
219-
void rtl92c_phy_set_beacon_hw_reg(struct ieee80211_hw *hw,
220-
u16 beaconinterval);
213+
void rtl92c_phy_set_beacon_hw_reg(struct ieee80211_hw *hw, u16 beaconinterval);
221214
void rtl92c_phy_ap_calibrate(struct ieee80211_hw *hw, char delta);
222215
void rtl92c_phy_lc_calibrate(struct ieee80211_hw *hw);
223216
void _rtl92ce_phy_lc_calibrate(struct ieee80211_hw *hw, bool is2t);
224217
void rtl92c_phy_set_rfpath_switch(struct ieee80211_hw *hw, bool bmain);
225218
bool rtl92c_phy_config_rf_with_headerfile(struct ieee80211_hw *hw,
226219
enum radio_path rfpath);
227-
bool rtl8192_phy_check_is_legal_rfpath(struct ieee80211_hw *hw,
228-
u32 rfpath);
220+
bool rtl8192_phy_check_is_legal_rfpath(struct ieee80211_hw *hw, u32 rfpath);
229221
bool rtl92c_phy_set_io_cmd(struct ieee80211_hw *hw, enum io_type iotype);
230222
bool rtl92ce_phy_set_rf_power_state(struct ieee80211_hw *hw,
231-
enum rf_pwrstate rfpwr_state);
223+
enum rf_pwrstate rfpwr_state);
232224
void rtl92ce_phy_set_rf_on(struct ieee80211_hw *hw);
233225
bool rtl92c_phy_set_io_cmd(struct ieee80211_hw *hw, enum io_type iotype);
234226
void rtl92c_phy_set_io(struct ieee80211_hw *hw);
235227
void rtl92c_bb_block_on(struct ieee80211_hw *hw);
236-
u32 _rtl92c_phy_rf_serial_read(struct ieee80211_hw *hw,
237-
enum radio_path rfpath, u32 offset);
228+
u32 _rtl92c_phy_rf_serial_read(struct ieee80211_hw *hw, enum radio_path rfpath,
229+
u32 offset);
238230
u32 _rtl92c_phy_fw_rf_serial_read(struct ieee80211_hw *hw,
239-
enum radio_path rfpath, u32 offset);
231+
enum radio_path rfpath, u32 offset);
240232
u32 _rtl92c_phy_calculate_bit_shift(u32 bitmask);
241233
void _rtl92c_phy_rf_serial_write(struct ieee80211_hw *hw,
242-
enum radio_path rfpath, u32 offset,
243-
u32 data);
234+
enum radio_path rfpath, u32 offset, u32 data);
244235
void _rtl92c_phy_fw_rf_serial_write(struct ieee80211_hw *hw,
245-
enum radio_path rfpath, u32 offset,
246-
u32 data);
236+
enum radio_path rfpath, u32 offset,
237+
u32 data);
247238
void _rtl92c_store_pwrIndex_diffrate_offset(struct ieee80211_hw *hw,
248-
u32 regaddr, u32 bitmask,
249-
u32 data);
239+
u32 regaddr, u32 bitmask, u32 data);
250240
bool _rtl92ce_phy_config_mac_with_headerfile(struct ieee80211_hw *hw);
251241
void _rtl92c_phy_init_bb_rf_register_definition(struct ieee80211_hw *hw);
252242
bool _rtl92c_phy_bb8192c_config_parafile(struct ieee80211_hw *hw);

drivers/net/wireless/rtlwifi/rtl8192ce/rf.h

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,10 @@
3434
#define RF6052_MAX_REG 0x3F
3535
#define RF6052_MAX_PATH 2
3636

37-
extern void rtl92ce_phy_rf6052_set_bandwidth(struct ieee80211_hw *hw,
38-
u8 bandwidth);
39-
extern void rtl92ce_phy_rf6052_set_cck_txpower(struct ieee80211_hw *hw,
40-
u8 *ppowerlevel);
41-
extern void rtl92ce_phy_rf6052_set_ofdm_txpower(struct ieee80211_hw *hw,
42-
u8 *ppowerlevel, u8 channel);
43-
extern bool rtl92ce_phy_rf6052_config(struct ieee80211_hw *hw);
37+
void rtl92ce_phy_rf6052_set_bandwidth(struct ieee80211_hw *hw, u8 bandwidth);
38+
void rtl92ce_phy_rf6052_set_cck_txpower(struct ieee80211_hw *hw,
39+
u8 *ppowerlevel);
40+
void rtl92ce_phy_rf6052_set_ofdm_txpower(struct ieee80211_hw *hw,
41+
u8 *ppowerlevel, u8 channel);
42+
bool rtl92ce_phy_rf6052_config(struct ieee80211_hw *hw);
4443
#endif

drivers/net/wireless/rtlwifi/rtl8192cu/rf.h

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,14 @@
3434
#define RF6052_MAX_REG 0x3F
3535
#define RF6052_MAX_PATH 2
3636

37-
extern void rtl92cu_phy_rf6052_set_bandwidth(struct ieee80211_hw *hw,
38-
u8 bandwidth);
39-
extern void rtl92c_phy_rf6052_set_cck_txpower(struct ieee80211_hw *hw,
40-
u8 *ppowerlevel);
41-
extern void rtl92c_phy_rf6052_set_ofdm_txpower(struct ieee80211_hw *hw,
42-
u8 *ppowerlevel, u8 channel);
37+
void rtl92cu_phy_rf6052_set_bandwidth(struct ieee80211_hw *hw, u8 bandwidth);
38+
void rtl92c_phy_rf6052_set_cck_txpower(struct ieee80211_hw *hw,
39+
u8 *ppowerlevel);
40+
void rtl92c_phy_rf6052_set_ofdm_txpower(struct ieee80211_hw *hw,
41+
u8 *ppowerlevel, u8 channel);
4342
bool rtl92cu_phy_rf6052_config(struct ieee80211_hw *hw);
4443
bool rtl92cu_phy_config_rf_with_headerfile(struct ieee80211_hw *hw,
45-
enum radio_path rfpath);
44+
enum radio_path rfpath);
4645
void rtl92cu_phy_rf6052_set_cck_txpower(struct ieee80211_hw *hw,
4746
u8 *ppowerlevel);
4847
void rtl92cu_phy_rf6052_set_ofdm_txpower(struct ieee80211_hw *hw,

drivers/net/wireless/rtlwifi/rtl8192de/hw.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,9 @@ void rtl92de_set_key(struct ieee80211_hw *hw, u32 key_index,
5555
u8 *p_macaddr, bool is_group, u8 enc_algo,
5656
bool is_wepkey, bool clear_all);
5757

58-
extern void rtl92de_write_dword_dbi(struct ieee80211_hw *hw, u16 offset,
59-
u32 value, u8 direct);
60-
extern u32 rtl92de_read_dword_dbi(struct ieee80211_hw *hw, u16 offset,
61-
u8 direct);
58+
void rtl92de_write_dword_dbi(struct ieee80211_hw *hw, u16 offset, u32 value,
59+
u8 direct);
60+
u32 rtl92de_read_dword_dbi(struct ieee80211_hw *hw, u16 offset, u8 direct);
6261
void rtl92de_suspend(struct ieee80211_hw *hw);
6362
void rtl92de_resume(struct ieee80211_hw *hw);
6463
void rtl92d_linked_set_reg(struct ieee80211_hw *hw);

drivers/net/wireless/rtlwifi/rtl8192de/phy.h

Lines changed: 20 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -127,34 +127,30 @@ static inline void rtl92d_release_cckandrw_pagea_ctl(struct ieee80211_hw *hw,
127127
*flag);
128128
}
129129

130-
extern u32 rtl92d_phy_query_bb_reg(struct ieee80211_hw *hw,
131-
u32 regaddr, u32 bitmask);
132-
extern void rtl92d_phy_set_bb_reg(struct ieee80211_hw *hw,
133-
u32 regaddr, u32 bitmask, u32 data);
134-
extern u32 rtl92d_phy_query_rf_reg(struct ieee80211_hw *hw,
135-
enum radio_path rfpath, u32 regaddr,
136-
u32 bitmask);
137-
extern void rtl92d_phy_set_rf_reg(struct ieee80211_hw *hw,
138-
enum radio_path rfpath, u32 regaddr,
139-
u32 bitmask, u32 data);
140-
extern bool rtl92d_phy_mac_config(struct ieee80211_hw *hw);
141-
extern bool rtl92d_phy_bb_config(struct ieee80211_hw *hw);
142-
extern bool rtl92d_phy_rf_config(struct ieee80211_hw *hw);
143-
extern bool rtl92c_phy_config_rf_with_feaderfile(struct ieee80211_hw *hw,
144-
enum radio_path rfpath);
145-
extern void rtl92d_phy_get_hw_reg_originalvalue(struct ieee80211_hw *hw);
146-
extern void rtl92d_phy_set_txpower_level(struct ieee80211_hw *hw, u8 channel);
147-
extern void rtl92d_phy_scan_operation_backup(struct ieee80211_hw *hw,
148-
u8 operation);
149-
extern void rtl92d_phy_set_bw_mode(struct ieee80211_hw *hw,
150-
enum nl80211_channel_type ch_type);
151-
extern u8 rtl92d_phy_sw_chnl(struct ieee80211_hw *hw);
130+
u32 rtl92d_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask);
131+
void rtl92d_phy_set_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask,
132+
u32 data);
133+
u32 rtl92d_phy_query_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath,
134+
u32 regaddr, u32 bitmask);
135+
void rtl92d_phy_set_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath,
136+
u32 regaddr, u32 bitmask, u32 data);
137+
bool rtl92d_phy_mac_config(struct ieee80211_hw *hw);
138+
bool rtl92d_phy_bb_config(struct ieee80211_hw *hw);
139+
bool rtl92d_phy_rf_config(struct ieee80211_hw *hw);
140+
bool rtl92c_phy_config_rf_with_feaderfile(struct ieee80211_hw *hw,
141+
enum radio_path rfpath);
142+
void rtl92d_phy_get_hw_reg_originalvalue(struct ieee80211_hw *hw);
143+
void rtl92d_phy_set_txpower_level(struct ieee80211_hw *hw, u8 channel);
144+
void rtl92d_phy_scan_operation_backup(struct ieee80211_hw *hw, u8 operation);
145+
void rtl92d_phy_set_bw_mode(struct ieee80211_hw *hw,
146+
enum nl80211_channel_type ch_type);
147+
u8 rtl92d_phy_sw_chnl(struct ieee80211_hw *hw);
152148
bool rtl92d_phy_config_rf_with_headerfile(struct ieee80211_hw *hw,
153149
enum rf_content content,
154150
enum radio_path rfpath);
155151
bool rtl92d_phy_set_io_cmd(struct ieee80211_hw *hw, enum io_type iotype);
156-
extern bool rtl92d_phy_set_rf_power_state(struct ieee80211_hw *hw,
157-
enum rf_pwrstate rfpwr_state);
152+
bool rtl92d_phy_set_rf_power_state(struct ieee80211_hw *hw,
153+
enum rf_pwrstate rfpwr_state);
158154

159155
void rtl92d_phy_config_macphymode(struct ieee80211_hw *hw);
160156
void rtl92d_phy_config_macphymode_info(struct ieee80211_hw *hw);

drivers/net/wireless/rtlwifi/rtl8192de/rf.h

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,13 @@
3030
#ifndef __RTL92D_RF_H__
3131
#define __RTL92D_RF_H__
3232

33-
extern void rtl92d_phy_rf6052_set_bandwidth(struct ieee80211_hw *hw,
34-
u8 bandwidth);
35-
extern void rtl92d_phy_rf6052_set_cck_txpower(struct ieee80211_hw *hw,
36-
u8 *ppowerlevel);
37-
extern void rtl92d_phy_rf6052_set_ofdm_txpower(struct ieee80211_hw *hw,
38-
u8 *ppowerlevel, u8 channel);
39-
extern bool rtl92d_phy_rf6052_config(struct ieee80211_hw *hw);
40-
extern bool rtl92d_phy_enable_anotherphy(struct ieee80211_hw *hw, bool bmac0);
41-
extern void rtl92d_phy_powerdown_anotherphy(struct ieee80211_hw *hw,
42-
bool bmac0);
33+
void rtl92d_phy_rf6052_set_bandwidth(struct ieee80211_hw *hw, u8 bandwidth);
34+
void rtl92d_phy_rf6052_set_cck_txpower(struct ieee80211_hw *hw,
35+
u8 *ppowerlevel);
36+
void rtl92d_phy_rf6052_set_ofdm_txpower(struct ieee80211_hw *hw,
37+
u8 *ppowerlevel, u8 channel);
38+
bool rtl92d_phy_rf6052_config(struct ieee80211_hw *hw);
39+
bool rtl92d_phy_enable_anotherphy(struct ieee80211_hw *hw, bool bmac0);
40+
void rtl92d_phy_powerdown_anotherphy(struct ieee80211_hw *hw, bool bmac0);
4341

4442
#endif

0 commit comments

Comments
 (0)