openwrt/staging/blogic.git
13 years agostaging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part VII
Larry Finger [Wed, 27 Jul 2011 22:51:41 +0000 (17:51 -0500)]
staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part VII

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part VI
Larry Finger [Wed, 27 Jul 2011 20:15:28 +0000 (15:15 -0500)]
staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part VI

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part V
Larry Finger [Wed, 27 Jul 2011 17:32:07 +0000 (12:32 -0500)]
staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part V

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part IV
Larry Finger [Wed, 27 Jul 2011 02:46:37 +0000 (21:46 -0500)]
staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part IV

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part III
Larry Finger [Tue, 26 Jul 2011 20:03:23 +0000 (15:03 -0500)]
staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part III

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part II
Larry Finger [Mon, 1 Aug 2011 22:59:24 +0000 (17:59 -0500)]
staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part II

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Remove extraneous log message
Larry Finger [Mon, 1 Aug 2011 20:53:53 +0000 (15:53 -0500)]
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>
13 years agostaging: rtl8192e: Modify time handling
Larry Finger [Mon, 1 Aug 2011 20:31:00 +0000 (15:31 -0500)]
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>
13 years agostaging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part I
Larry Finger [Fri, 22 Jul 2011 19:30:37 +0000 (14:30 -0500)]
staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part I

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Remove files that are not used
Larry Finger [Thu, 25 Aug 2011 00:29:57 +0000 (19:29 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedefs that can be replaced with #define
Larry Finger [Wed, 20 Jul 2011 02:17:25 +0000 (21:17 -0500)]
staging: rtl8192e: Convert typedefs that can be replaced with #define

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef HT_AGGRE_SIZE_E to enum ht_aggre_size
Larry Finger [Wed, 20 Jul 2011 02:10:02 +0000 (21:10 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef RATR_TABLE_MODE_8192S to enum ratr_table_mode_8192s
Larry Finger [Wed, 20 Jul 2011 02:07:59 +0000 (21:07 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef FW_CMD_IO_TYPE to enum fw_cmd_io_type
Larry Finger [Wed, 20 Jul 2011 02:06:24 +0000 (21:06 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef SCAN_OPERATION_BACKUP_OPT to enum scan_op_backup_opt
Larry Finger [Wed, 20 Jul 2011 02:04:56 +0000 (21:04 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef country_code_type_t to enum country_code_type
Larry Finger [Wed, 20 Jul 2011 02:03:26 +0000 (21:03 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef WOLPATTERN_TYPE to enum wol_pattern_type
Larry Finger [Wed, 20 Jul 2011 02:02:02 +0000 (21:02 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef RT_RF_POWER_STATE to enum rt_rf_power_state
Larry Finger [Wed, 20 Jul 2011 02:00:33 +0000 (21:00 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef RT_JOIN_ACTION to enum rt_join_action
Larry Finger [Wed, 20 Jul 2011 01:59:09 +0000 (20:59 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef IPS_CALLBACK_FUNCION to enum ips_callback_function
Larry Finger [Wed, 20 Jul 2011 01:57:34 +0000 (20:57 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef RT_PS_MODE to enum rt_ps_mode
Larry Finger [Wed, 20 Jul 2011 01:56:03 +0000 (20:56 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef Fsync_State to enum fsync_state
Larry Finger [Wed, 20 Jul 2011 01:54:40 +0000 (20:54 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef erp_t to enum erp_t
Larry Finger [Wed, 20 Jul 2011 01:53:13 +0000 (20:53 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef WIRELESS_NETWORK_TYPE to enum wireless_network_type
Larry Finger [Wed, 20 Jul 2011 01:51:54 +0000 (20:51 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef WIRELESS_MODE to enum wireless_mode
Larry Finger [Wed, 20 Jul 2011 01:50:21 +0000 (20:50 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef RT_RF_TYPE_DEF to enum rt_rf_type_def
Larry Finger [Wed, 20 Jul 2011 01:48:58 +0000 (20:48 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef LED_CTL_MODE to enum led_ctl_mode
Larry Finger [Wed, 20 Jul 2011 01:47:28 +0000 (20:47 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef InitialGainOpType to enum init_gain_op_type
Larry Finger [Wed, 20 Jul 2011 01:46:02 +0000 (20:46 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef BA_ACTION to enum ba_action
Larry Finger [Wed, 20 Jul 2011 01:29:12 +0000 (20:29 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef TS_ACTION to enum ts_action
Larry Finger [Wed, 20 Jul 2011 01:27:45 +0000 (20:27 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef ACT_CATEGORY to enum act_category
Larry Finger [Wed, 20 Jul 2011 01:26:18 +0000 (20:26 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef RT_OP_MODE to enum rt_op_mode
Larry Finger [Wed, 20 Jul 2011 01:24:49 +0000 (20:24 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef HW_VARIABLES to enum hw_variables
Larry Finger [Wed, 20 Jul 2011 01:23:18 +0000 (20:23 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef HAL_DEF_VARIABLE to enum hal_def_variable
Larry Finger [Wed, 20 Jul 2011 01:21:54 +0000 (20:21 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef DM_DBG_E to enum dm_dbg
Larry Finger [Wed, 20 Jul 2011 01:20:23 +0000 (20:20 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef DM_CCK_Rx_Path_Method to enum dm_cck_rx_path_method
Larry Finger [Wed, 20 Jul 2011 01:19:00 +0000 (20:19 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef dm_dig_cs_ratio_e to enum dm_dig_cs_ratio
Larry Finger [Wed, 20 Jul 2011 01:17:05 +0000 (20:17 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef dm_dig_pd_th_e to enum dm_dig_pd_th
Larry Finger [Wed, 20 Jul 2011 01:15:45 +0000 (20:15 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef dm_dig_connect_e to enum dm_dig_connect
Larry Finger [Wed, 20 Jul 2011 01:14:21 +0000 (20:14 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef dm_dig_dbg_e to enum dm_dig_dbg
Larry Finger [Wed, 20 Jul 2011 01:08:51 +0000 (20:08 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef DM_DIG_EXT_PORT_ALG_E to enum dm_dig_ext_port_alg
Larry Finger [Wed, 20 Jul 2011 01:07:22 +0000 (20:07 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef DM_DIG_TWO_PORT_ALG_E to enum dm_dig_two_port_alg
Larry Finger [Wed, 20 Jul 2011 01:05:53 +0000 (20:05 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef dm_dig_alg_e to enum dm_dig_alg
Larry Finger [Wed, 20 Jul 2011 01:04:17 +0000 (20:04 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef dm_dig_op_e to enum dm_dig_op_sta
Larry Finger [Wed, 20 Jul 2011 01:02:56 +0000 (20:02 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef dm_ratr_sta_e to enum dm_ratr_sta
Larry Finger [Wed, 20 Jul 2011 01:01:24 +0000 (20:01 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef dm_dig_sta_e to enum dm_dig_sta
Larry Finger [Wed, 20 Jul 2011 00:59:11 +0000 (19:59 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef DBGP_FLAG_E to enum dbgp_flag
Larry Finger [Wed, 20 Jul 2011 00:57:24 +0000 (19:57 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef TWO_PORT_STATUS to enum two_port_status
Larry Finger [Wed, 20 Jul 2011 00:55:35 +0000 (19:55 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef PCI_BRIDGE_VENDOR to enum pci_bridge_vendor
Larry Finger [Wed, 20 Jul 2011 00:53:52 +0000 (19:53 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef IC_INFERIORITY_8192S to enum ic_inferiority_8192s
Larry Finger [Wed, 20 Jul 2011 00:52:21 +0000 (19:52 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef RESET_TYPE to enum reset_type
Larry Finger [Wed, 20 Jul 2011 00:49:51 +0000 (19:49 -0500)]
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>
13 years agostaging: rtl8192e: Convert typedef RT_CUSTOMER_ID to enum rt_customer_id
Larry Finger [Wed, 20 Jul 2011 00:42:55 +0000 (19:42 -0500)]
staging: rtl8192e: Convert typedef RT_CUSTOMER_ID to enum rt_customer_id

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef RT_STATUS to enum rt_status
Larry Finger [Wed, 20 Jul 2011 00:41:16 +0000 (19:41 -0500)]
staging: rtl8192e: Convert typedef RT_STATUS to enum rt_status

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef RF_STEP_E to enum rf_step
Larry Finger [Wed, 20 Jul 2011 00:39:12 +0000 (19:39 -0500)]
staging: rtl8192e: Convert typedef RF_STEP_E to enum rf_step

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef RT_RF_TYPE_819xU to enum rt_rf_type_819xu
Larry Finger [Wed, 20 Jul 2011 00:37:46 +0000 (19:37 -0500)]
staging: rtl8192e: Convert typedef RT_RF_TYPE_819xU to enum rt_rf_type_819xu

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef DCMD_TXCMD_OP to enum dcmg_txcmd_op
Larry Finger [Wed, 20 Jul 2011 00:36:07 +0000 (19:36 -0500)]
staging: rtl8192e: Convert typedef DCMD_TXCMD_OP to enum dcmg_txcmd_op

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef RT_EEPROM_TYPE to enum rt_eeprom_type
Larry Finger [Wed, 20 Jul 2011 00:34:33 +0000 (19:34 -0500)]
staging: rtl8192e: Convert typedef RT_EEPROM_TYPE to enum rt_eeprom_type

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef nic_t to enum nic_t
Larry Finger [Wed, 20 Jul 2011 00:33:00 +0000 (19:33 -0500)]
staging: rtl8192e: Convert typedef nic_t to enum nic_t

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef TR_SELECT to enum tr_select
Larry Finger [Wed, 20 Jul 2011 00:31:37 +0000 (19:31 -0500)]
staging: rtl8192e: Convert typedef TR_SELECT to enum tr_select

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef ACM_METHOD to enum acm_method
Larry Finger [Wed, 20 Jul 2011 00:30:04 +0000 (19:30 -0500)]
staging: rtl8192e: Convert typedef ACM_METHOD to enum acm_method

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef DIRECTION_VALUE to enum direction_value
Larry Finger [Wed, 20 Jul 2011 00:28:39 +0000 (19:28 -0500)]
staging: rtl8192e: Convert typedef DIRECTION_VALUE to enum direction_value

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef QOS_ELE_SUBTYPE to enum qos_ele_subtype
Larry Finger [Wed, 20 Jul 2011 00:27:05 +0000 (19:27 -0500)]
staging: rtl8192e: Convert typedef QOS_ELE_SUBTYPE to enum qos_ele_subtype

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef ACK_POLICY to enum ack_policy
Larry Finger [Wed, 20 Jul 2011 00:24:06 +0000 (19:24 -0500)]
staging: rtl8192e: Convert typedef ACK_POLICY to enum ack_policy

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef RT_HT_CAPBILITY to enum rt_ht_capability
Larry Finger [Wed, 20 Jul 2011 00:22:37 +0000 (19:22 -0500)]
staging: rtl8192e: Convert typedef RT_HT_CAPBILITY to enum rt_ht_capability

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef HT_IOT_RAFUNC to enum ht_iot_rafunc
Larry Finger [Wed, 20 Jul 2011 00:18:03 +0000 (19:18 -0500)]
staging: rtl8192e: Convert typedef HT_IOT_RAFUNC to enum ht_iot_rafunc

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef HT_IOT_ACTION_E to enum ht_iot_action
Larry Finger [Wed, 20 Jul 2011 00:16:30 +0000 (19:16 -0500)]
staging: rtl8192e: Convert typedef HT_IOT_ACTION_E to enum ht_iot_action

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef HT_IOT_PEER_E to enum ht_iot_peer
Larry Finger [Wed, 20 Jul 2011 00:12:22 +0000 (19:12 -0500)]
staging: rtl8192e: Convert typedef HT_IOT_PEER_E to enum ht_iot_peer

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef HT_AGGRE_MODE_E to enum ht_aggre_mode
Larry Finger [Wed, 20 Jul 2011 00:06:51 +0000 (19:06 -0500)]
staging: rtl8192e: Convert typedef HT_AGGRE_MODE_E to enum ht_aggre_mode

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef HT_SPEC_VER to enum ht_spec_ver
Larry Finger [Wed, 20 Jul 2011 00:05:23 +0000 (19:05 -0500)]
staging: rtl8192e: Convert typedef HT_SPEC_VER to enum ht_spec_ver

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef HT_BW40_SC_E to enum ht_bw40_sc
Larry Finger [Wed, 20 Jul 2011 00:03:53 +0000 (19:03 -0500)]
staging: rtl8192e: Convert typedef HT_BW40_SC_E to enum ht_bw40_sc

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef HT_ACTION to enum ht_action
Larry Finger [Tue, 19 Jul 2011 23:24:28 +0000 (18:24 -0500)]
staging: rtl8192e: Convert typedef HT_ACTION to enum ht_action

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef CHNLOP to enum chnl_op
Larry Finger [Tue, 19 Jul 2011 23:23:23 +0000 (18:23 -0500)]
staging: rtl8192e: Convert typedef CHNLOP to enum chnl_op

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef HT_EXTCHNL_OFFSET to enum ht_extchnl_offset
Larry Finger [Tue, 19 Jul 2011 23:22:07 +0000 (18:22 -0500)]
staging: rtl8192e: Convert typedef HT_EXTCHNL_OFFSET to enum ht_extchnl_offset

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef HT_CHANNEL_WIDTH to enum ht_channel_width
Larry Finger [Tue, 19 Jul 2011 23:20:30 +0000 (18:20 -0500)]
staging: rtl8192e: Convert typedef HT_CHANNEL_WIDTH to enum ht_channel_width

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef HT_MCS_RATE to enum ht_mcs_rate
Larry Finger [Tue, 19 Jul 2011 23:17:06 +0000 (18:17 -0500)]
staging: rtl8192e: Convert typedef HT_MCS_RATE to enum ht_mcs_rate

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef RF90_RADIO_PATH_E to enum rf90_radio_path
Larry Finger [Tue, 19 Jul 2011 23:15:50 +0000 (18:15 -0500)]
staging: rtl8192e: Convert typedef RF90_RADIO_PATH_E to enum rf90_radio_path

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef HW90_BLOCK_E to enum hw90_block
Larry Finger [Tue, 19 Jul 2011 23:13:46 +0000 (18:13 -0500)]
staging: rtl8192e: Convert typedef HW90_BLOCK_E to enum hw90_block

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef SwChnlCmdID to enum sw_chnl_cmd_id
Larry Finger [Tue, 19 Jul 2011 23:12:15 +0000 (18:12 -0500)]
staging: rtl8192e: Convert typedef SwChnlCmdID to enum sw_chnl_cmd_id

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef BaseBand_Config_Type to enum baseband_config
Larry Finger [Tue, 19 Jul 2011 23:10:40 +0000 (18:10 -0500)]
staging: rtl8192e: Convert typedef BaseBand_Config_Type to enum baseband_config

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef firmware_status_e to enum firmware_status
Larry Finger [Tue, 19 Jul 2011 22:28:55 +0000 (17:28 -0500)]
staging: rtl8192e: Convert typedef firmware_status_e to enum firmware_status

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef firmware_source_e to enum firmware_source
Larry Finger [Tue, 19 Jul 2011 18:36:21 +0000 (13:36 -0500)]
staging: rtl8192e: Convert typedef firmware_source_e to enum firmware_source

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef desc_packet_type_e to enum desc_packet_type
Larry Finger [Tue, 19 Jul 2011 18:33:44 +0000 (13:33 -0500)]
staging: rtl8192e: Convert typedef desc_packet_type_e to enum desc_packet_type

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef opt_rst_type_e to enum opt_rst_type
Larry Finger [Tue, 19 Jul 2011 18:13:24 +0000 (13:13 -0500)]
staging: rtl8192e: Convert typedef opt_rst_type_e to enum opt_rst_type

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef firmware_init_step_e to enum firmware_init_step
Larry Finger [Tue, 19 Jul 2011 18:11:41 +0000 (13:11 -0500)]
staging: rtl8192e: Convert typedef firmware_init_step_e to enum firmware_init_step

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef cmpk_element_e to enum cmpk_element
Larry Finger [Tue, 19 Jul 2011 18:09:50 +0000 (13:09 -0500)]
staging: rtl8192e: Convert typedef cmpk_element_e to enum cmpk_element

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef INTERFACE_SELECT_8190PCI to enum interface_select_...
Larry Finger [Tue, 19 Jul 2011 18:07:19 +0000 (13:07 -0500)]
staging: rtl8192e: Convert typedef INTERFACE_SELECT_8190PCI to enum interface_select_8190pci

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef POWER_SAVE_MODE to enum power_save_mode
Larry Finger [Tue, 19 Jul 2011 18:05:16 +0000 (13:05 -0500)]
staging: rtl8192e: Convert typedef POWER_SAVE_MODE to enum power_save_mode

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef RF_OpType_E to enum rf_optype
Larry Finger [Tue, 19 Jul 2011 18:03:47 +0000 (13:03 -0500)]
staging: rtl8192e: Convert typedef RF_OpType_E to enum rf_optype

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef VERSION_8190 to enum version_8190_loopback
Larry Finger [Tue, 19 Jul 2011 17:56:14 +0000 (12:56 -0500)]
staging: rtl8192e: Convert typedef VERSION_8190 to enum version_8190_loopback

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef rtl819x_loopback_e to enum rtl819x_loopback
Larry Finger [Tue, 19 Jul 2011 17:54:24 +0000 (12:54 -0500)]
staging: rtl8192e: Convert typedef rtl819x_loopback_e to enum rtl819x_loopback

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Prepare header files to ease use of typedef enum conversion
Larry Finger [Tue, 19 Jul 2011 17:50:41 +0000 (12:50 -0500)]
staging: rtl8192e: Prepare header files to ease use of typedef enum conversion

The tool that I am using fails for certain conditions. This patch makes trivial
changes to the source to allow the tool to work for all cases.

I also remove some artifacts left from the typedef struct conversion.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef frameqos to union frameqos
Larry Finger [Tue, 19 Jul 2011 15:37:34 +0000 (10:37 -0500)]
staging: rtl8192e: Convert typedef frameqos to union frameqos

Remove typedef from union.
Rename union.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef AC_PARAM to union ac_param
Larry Finger [Tue, 19 Jul 2011 15:35:19 +0000 (10:35 -0500)]
staging: rtl8192e: Convert typedef AC_PARAM to union ac_param

Remove typedef from union.
Rename union.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef ECW to union ecw
Larry Finger [Tue, 19 Jul 2011 15:31:43 +0000 (10:31 -0500)]
staging: rtl8192e: Convert typedef ECW to union ecw

Remove typedef from union.
Rename union.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef ACI_AIFSN to union aci_aifsn
Larry Finger [Tue, 19 Jul 2011 15:29:41 +0000 (10:29 -0500)]
staging: rtl8192e: Convert typedef ACI_AIFSN to union aci_aifsn

Remove typedef from union.
Rename union.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef QOS_TCLAS to union qos_tclas
Larry Finger [Tue, 19 Jul 2011 15:27:46 +0000 (10:27 -0500)]
staging: rtl8192e: Convert typedef QOS_TCLAS to union qos_tclas

Remove typedef from union.
Rename union.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef TSPEC_BODY to union tspec_body
Larry Finger [Tue, 19 Jul 2011 15:25:55 +0000 (10:25 -0500)]
staging: rtl8192e: Convert typedef TSPEC_BODY to union tspec_body

Remove typedef from union.
Rename union.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef QOS_TSINFO to union qos_tsinfo
Larry Finger [Tue, 19 Jul 2011 15:24:09 +0000 (10:24 -0500)]
staging: rtl8192e: Convert typedef QOS_TSINFO to union qos_tsinfo

Remove typedef from union.
Rename union.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef HT_CAPABILITY_MACPARA to union ht_capability_macpara
Larry Finger [Tue, 19 Jul 2011 15:21:36 +0000 (10:21 -0500)]
staging: rtl8192e: Convert typedef HT_CAPABILITY_MACPARA to union ht_capability_macpara

Remove typedef from union.
Rename union.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
13 years agostaging: rtl8192e: Convert typedef HT_CAPABILITY to union ht_capability
Larry Finger [Tue, 19 Jul 2011 15:19:43 +0000 (10:19 -0500)]
staging: rtl8192e: Convert typedef HT_CAPABILITY to union ht_capability

Remove typedef from union.
Rename union.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>