Larry Finger
831cb9db38
staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part V
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-08-25 10:05:10 -07:00
Larry Finger
547d0c34b7
staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part IV
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-08-25 10:05:10 -07:00
Larry Finger
11632a0eed
staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part III
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-08-25 10:05:10 -07:00
Larry Finger
526294770c
staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part II
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-08-25 10:05:10 -07:00
Larry Finger
55dc4eb35f
staging: rtl8192e: Remove extraneous log message
...
The driver logs all DHCP transactions and thus spams the logs.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-08-25 10:05:09 -07:00
Larry Finger
0dd565069b
staging: rtl8192e: Modify time handling
...
In several places, the driver keeps times (in jiffies) in two 32-bit
quantities. In the rtl8192_hw_to_sleep(), there is an error in the
calculation of the difference between two 64-bit quantities. Rather
than fix that error, I have converted to a single 64-bit number. That
makes the code be much cleaner and clearer.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-08-25 10:05:09 -07:00
Larry Finger
ac513a88a0
staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part I
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-08-25 10:05:08 -07:00
Stephen Rothwell
09ebd6f23b
staging: rtl8192e: using vmalloc/vfree requires including vmalloc.h
...
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-08-25 08:45:44 -07:00
Larry Finger
09505184ec
staging: rtl8192e: Remove files that are not used
...
For the most part, these extra files came from the previous version
of the RTL8192E driver.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 19:29:57 -05:00
Larry Finger
9de9f962c7
staging: rtl8192e: Convert typedefs that can be replaced with #define
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:55:49 -05:00
Larry Finger
e660594750
staging: rtl8192e: Convert typedef HT_AGGRE_SIZE_E to enum ht_aggre_size
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:55:33 -05:00
Larry Finger
d0df281309
staging: rtl8192e: Convert typedef RATR_TABLE_MODE_8192S to enum ratr_table_mode_8192s
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:53:09 -05:00
Larry Finger
74082c929d
staging: rtl8192e: Convert typedef FW_CMD_IO_TYPE to enum fw_cmd_io_type
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:53:08 -05:00
Larry Finger
472ba32655
staging: rtl8192e: Convert typedef SCAN_OPERATION_BACKUP_OPT to enum scan_op_backup_opt
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:53:08 -05:00
Larry Finger
569e595955
staging: rtl8192e: Convert typedef country_code_type_t to enum country_code_type
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:53:07 -05:00
Larry Finger
d45c88a63b
staging: rtl8192e: Convert typedef WOLPATTERN_TYPE to enum wol_pattern_type
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:53:06 -05:00
Larry Finger
de7c885a24
staging: rtl8192e: Convert typedef RT_RF_POWER_STATE to enum rt_rf_power_state
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:53:04 -05:00
Larry Finger
f6ce577e38
staging: rtl8192e: Convert typedef RT_JOIN_ACTION to enum rt_join_action
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:53:03 -05:00
Larry Finger
8304cc64dc
staging: rtl8192e: Convert typedef IPS_CALLBACK_FUNCION to enum ips_callback_function
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:53:02 -05:00
Larry Finger
f6e3d4f4c2
staging: rtl8192e: Convert typedef RT_PS_MODE to enum rt_ps_mode
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:53:01 -05:00
Larry Finger
3c093c2ba1
staging: rtl8192e: Convert typedef Fsync_State to enum fsync_state
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:53:00 -05:00
Larry Finger
3b45eb8309
staging: rtl8192e: Convert typedef erp_t to enum erp_t
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:52:59 -05:00
Larry Finger
80f839d439
staging: rtl8192e: Convert typedef WIRELESS_NETWORK_TYPE to enum wireless_network_type
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:52:59 -05:00
Larry Finger
dc20a3265e
staging: rtl8192e: Convert typedef WIRELESS_MODE to enum wireless_mode
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:52:58 -05:00
Larry Finger
e608063303
staging: rtl8192e: Convert typedef RT_RF_TYPE_DEF to enum rt_rf_type_def
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:52:57 -05:00
Larry Finger
4fd7cedc51
staging: rtl8192e: Convert typedef LED_CTL_MODE to enum led_ctl_mode
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:52:56 -05:00
Larry Finger
062de0a9df
staging: rtl8192e: Convert typedef InitialGainOpType to enum init_gain_op_type
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:52:55 -05:00
Larry Finger
07276bac0f
staging: rtl8192e: Convert typedef BA_ACTION to enum ba_action
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:52:54 -05:00
Larry Finger
5a604053a9
staging: rtl8192e: Convert typedef TS_ACTION to enum ts_action
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:52:54 -05:00
Larry Finger
09ced23df6
staging: rtl8192e: Convert typedef ACT_CATEGORY to enum act_category
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:52:53 -05:00
Larry Finger
e93e0f6aab
staging: rtl8192e: Convert typedef RT_OP_MODE to enum rt_op_mode
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:52:52 -05:00
Larry Finger
bb5e482246
staging: rtl8192e: Convert typedef HW_VARIABLES to enum hw_variables
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:52:51 -05:00
Larry Finger
839370c572
staging: rtl8192e: Convert typedef HAL_DEF_VARIABLE to enum hal_def_variable
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:52:50 -05:00
Larry Finger
a3120de6c4
staging: rtl8192e: Convert typedef DM_DBG_E to enum dm_dbg
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:52:49 -05:00
Larry Finger
fe5cd9c21b
staging: rtl8192e: Convert typedef DM_CCK_Rx_Path_Method to enum dm_cck_rx_path_method
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:52:49 -05:00
Larry Finger
2fa7c96243
staging: rtl8192e: Convert typedef dm_dig_cs_ratio_e to enum dm_dig_cs_ratio
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:52:48 -05:00
Larry Finger
5d1703aee6
staging: rtl8192e: Convert typedef dm_dig_pd_th_e to enum dm_dig_pd_th
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:52:47 -05:00
Larry Finger
4777da736e
staging: rtl8192e: Convert typedef dm_dig_connect_e to enum dm_dig_connect
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:52:46 -05:00
Larry Finger
811ad0fdac
staging: rtl8192e: Convert typedef dm_dig_dbg_e to enum dm_dig_dbg
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:52:45 -05:00
Larry Finger
89cc54bc78
staging: rtl8192e: Convert typedef DM_DIG_EXT_PORT_ALG_E to enum dm_dig_ext_port_alg
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:52:44 -05:00
Larry Finger
defb880b7d
staging: rtl8192e: Convert typedef DM_DIG_TWO_PORT_ALG_E to enum dm_dig_two_port_alg
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:52:43 -05:00
Larry Finger
ba7b6556fd
staging: rtl8192e: Convert typedef dm_dig_alg_e to enum dm_dig_alg
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:52:43 -05:00
Larry Finger
3f67ad4e57
staging: rtl8192e: Convert typedef dm_dig_op_e to enum dm_dig_op_sta
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:52:42 -05:00
Larry Finger
a672b1f1df
staging: rtl8192e: Convert typedef dm_ratr_sta_e to enum dm_ratr_sta
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:52:41 -05:00
Larry Finger
3a74e8b369
staging: rtl8192e: Convert typedef dm_dig_sta_e to enum dm_dig_sta
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:52:40 -05:00
Larry Finger
85cdd997c8
staging: rtl8192e: Convert typedef DBGP_FLAG_E to enum dbgp_flag
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:52:39 -05:00
Larry Finger
ebc95dd01c
staging: rtl8192e: Convert typedef TWO_PORT_STATUS to enum two_port_status
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:52:38 -05:00
Larry Finger
2f4178151a
staging: rtl8192e: Convert typedef PCI_BRIDGE_VENDOR to enum pci_bridge_vendor
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:52:38 -05:00
Larry Finger
456419dbb3
staging: rtl8192e: Convert typedef IC_INFERIORITY_8192S to enum ic_inferiority_8192s
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:52:37 -05:00
Larry Finger
ab0d7ccaf7
staging: rtl8192e: Convert typedef RESET_TYPE to enum reset_type
...
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2011-08-24 10:52:36 -05:00