diff options
author | Pekka Enberg <penberg@cs.helsinki.fi> | 2008-10-30 16:14:36 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-06 13:51:48 -0800 |
commit | 42c84bb4603d5a375b1c8dbbbef686d24e804807 (patch) | |
tree | e8ab2136a2e5a8f934108531edee0c088b02b8ac /drivers/staging/winbond/wbhal_f.h | |
parent | cc18071068f518c3c01616d7900de3b77252ccdf (diff) | |
download | op-kernel-dev-42c84bb4603d5a375b1c8dbbbef686d24e804807.zip op-kernel-dev-42c84bb4603d5a375b1c8dbbbef686d24e804807.tar.gz |
Staging: w35und: remove ->adapter from struct _HW_DATA_T
Eventually we want to pass a pointer to struct ieee80211_hw around in the
driver, so remove the bidirectional link between struct wb35_adapter and struct
_HW_DATA_T to simplify the code.
Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/winbond/wbhal_f.h')
-rw-r--r-- | drivers/staging/winbond/wbhal_f.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/winbond/wbhal_f.h b/drivers/staging/winbond/wbhal_f.h index d64fd17..4cb4da0 100644 --- a/drivers/staging/winbond/wbhal_f.h +++ b/drivers/staging/winbond/wbhal_f.h @@ -61,7 +61,7 @@ void hal_set_cwmax( phw_data_t pHwData, u16 cwin_max ); void hal_set_rsn_wpa( phw_data_t pHwData, u32 * RSN_IE_Bitmap , u32 * RSN_OUI_type , unsigned char bDesiredAuthMode); //s32 hal_get_rssi( phw_data_t pHwData, u32 HalRssi ); s32 hal_get_rssi( phw_data_t pHwData, u32 *HalRssiArry, u8 Count ); -s32 hal_get_rssi_bss( phw_data_t pHwData, u16 idx, u8 Count ); +s32 hal_get_rssi_bss(struct wb35_adapter *adapter, u16 idx, u8 Count); void hal_set_connect_info( phw_data_t pHwData, unsigned char boConnect ); u8 hal_get_est_sq3( phw_data_t pHwData, u8 Count ); void hal_set_rf_power( phw_data_t pHwData, u8 PowerIndex ); // 20060621 Modify @@ -82,13 +82,13 @@ u8 hal_get_hw_radio_off ( phw_data_t pHwData ); #define hal_scan_interval( _A ) (_A->Scan_Interval) void hal_scan_status_indicate( phw_data_t pHwData, u8 status); // 0: complete, 1: in progress void hal_system_power_change( phw_data_t pHwData, u32 PowerState ); // 20051230 -=D0 1=D1 .. -void hal_surprise_remove( phw_data_t pHwData ); +void hal_surprise_remove(struct wb35_adapter *adapter); #define PHY_DEBUG( msg, args... ) -void hal_rate_change( phw_data_t pHwData ); // Notify the HAL rate is changing 20060613.1 +void hal_rate_change(struct wb35_adapter *adapter); // Notify the HAL rate is changing 20060613.1 unsigned char hal_get_dxx_reg( phw_data_t pHwData, u16 number, u32 * pValue ); unsigned char hal_set_dxx_reg( phw_data_t pHwData, u16 number, u32 value ); #define hal_get_time_count( _P ) (_P->time_count/10) // return 100ms count |