platform/kernel/linux-starfive.git
9 years agostaging: rtl8192e: Rename dm_restore_dynamic_mechanism_state
Mateusz Kulikowski [Sun, 19 Jul 2015 17:28:34 +0000 (19:28 +0200)]
staging: rtl8192e: Rename dm_restore_dynamic_mechanism_state

Use naming schema found in other rtlwifi devices.
Rename dm_restore_dynamic_mechanism_state to rtl92e_dm_restore_state.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename dm_initialize_txpower_tracking
Mateusz Kulikowski [Sun, 19 Jul 2015 17:28:33 +0000 (19:28 +0200)]
staging: rtl8192e: Rename dm_initialize_txpower_tracking

Use naming schema found in other rtlwifi devices.
Rename dm_initialize_txpower_tracking to rtl92e_dm_init_txpower_tracking.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename dm_init_edca_turbo
Mateusz Kulikowski [Sun, 19 Jul 2015 17:28:32 +0000 (19:28 +0200)]
staging: rtl8192e: Rename dm_init_edca_turbo

Use naming schema found in other rtlwifi devices.
Rename dm_init_edca_turbo to rtl92e_dm_init_edca_turbo.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename dm_cck_txpower_adjust
Mateusz Kulikowski [Sun, 19 Jul 2015 17:28:31 +0000 (19:28 +0200)]
staging: rtl8192e: Rename dm_cck_txpower_adjust

Use naming schema found in other rtlwifi devices.
Rename dm_cck_txpower_adjust to rtl92e_dm_cck_txpower_adjust.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename dm_backup_dynamic_mechanism_state
Mateusz Kulikowski [Sun, 19 Jul 2015 17:28:30 +0000 (19:28 +0200)]
staging: rtl8192e: Rename dm_backup_dynamic_mechanism_state

Use naming schema found in other rtlwifi devices.
Rename dm_backup_dynamic_mechanism_state to rtl92e_dm_backup_state.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename deinit_hal_dm
Mateusz Kulikowski [Sun, 19 Jul 2015 17:28:29 +0000 (19:28 +0200)]
staging: rtl8192e: Rename deinit_hal_dm

Use naming schema found in other rtlwifi devices.
Rename deinit_hal_dm to rtl92e_dm_deinit.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename write_nic_word
Mateusz Kulikowski [Sun, 19 Jul 2015 17:28:28 +0000 (19:28 +0200)]
staging: rtl8192e: Rename write_nic_word

Use naming schema found in other rtlwifi devices.
Rename write_nic_word to rtl92e_writew.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename write_nic_dword
Mateusz Kulikowski [Sun, 19 Jul 2015 17:28:27 +0000 (19:28 +0200)]
staging: rtl8192e: Rename write_nic_dword

Use naming schema found in other rtlwifi devices.
Rename write_nic_dword to rtl92e_writel.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename write_nic_byte
Mateusz Kulikowski [Sun, 19 Jul 2015 17:28:26 +0000 (19:28 +0200)]
staging: rtl8192e: Rename write_nic_byte

Use naming schema found in other rtlwifi devices.
Rename write_nic_byte to rtl92e_writeb.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl819x_update_rxsignalstatistics8190pci
Mateusz Kulikowski [Sun, 19 Jul 2015 17:28:25 +0000 (19:28 +0200)]
staging: rtl8192e: Rename rtl819x_update_rxsignalstatistics8190pci

Use naming schema found in other rtlwifi devices.
Rename rtl819x_update_rxsignalstatistics8190pci to
rtl92e_update_rx_statistics.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl819x_UpdateRxPktTimeStamp
Mateusz Kulikowski [Sun, 19 Jul 2015 17:28:24 +0000 (19:28 +0200)]
staging: rtl8192e: Rename rtl819x_UpdateRxPktTimeStamp

Use naming schema found in other rtlwifi devices.
Rename rtl819x_UpdateRxPktTimeStamp to rtl92e_update_rx_pkt_timestamp.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl819x_translate_todbm
Mateusz Kulikowski [Sun, 19 Jul 2015 17:28:23 +0000 (19:28 +0200)]
staging: rtl8192e: Rename rtl819x_translate_todbm

Use naming schema found in other rtlwifi devices.
Rename rtl819x_translate_todbm to rtl92e_translate_to_dbm.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl819x_query_rxpwrpercentage
Mateusz Kulikowski [Sun, 19 Jul 2015 17:28:22 +0000 (19:28 +0200)]
staging: rtl8192e: Rename rtl819x_query_rxpwrpercentage

Use naming schema found in other rtlwifi devices.
Rename rtl819x_query_rxpwrpercentage to rtl92e_rx_db_to_percent.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl819x_evm_dbtopercentage
Mateusz Kulikowski [Sun, 19 Jul 2015 17:28:21 +0000 (19:28 +0200)]
staging: rtl8192e: Rename rtl819x_evm_dbtopercentage

Use naming schema found in other rtlwifi devices.
Rename rtl819x_evm_dbtopercentage to rtl92e_evm_db_to_percent.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_tx_enable
Mateusz Kulikowski [Sun, 19 Jul 2015 17:28:20 +0000 (19:28 +0200)]
staging: rtl8192e: Rename rtl8192_tx_enable

Use naming schema found in other rtlwifi devices.
Rename rtl8192_tx_enable to rtl92e_tx_enable.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_SetWirelessMode
Mateusz Kulikowski [Sun, 19 Jul 2015 17:28:19 +0000 (19:28 +0200)]
staging: rtl8192e: Rename rtl8192_SetWirelessMode

Use naming schema found in other rtlwifi devices.
Rename rtl8192_SetWirelessMode to rtl92e_set_wireless_mode.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_rx_enable
Mateusz Kulikowski [Sun, 19 Jul 2015 17:28:18 +0000 (19:28 +0200)]
staging: rtl8192e: Rename rtl8192_rx_enable

Use naming schema found in other rtlwifi devices.
Rename rtl8192_rx_enable to rtl92e_rx_enable.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_record_rxdesc_forlateruse
Mateusz Kulikowski [Sun, 19 Jul 2015 17:28:17 +0000 (19:28 +0200)]
staging: rtl8192e: Rename rtl8192_record_rxdesc_forlateruse

Use naming schema found in other rtlwifi devices.
Rename rtl8192_record_rxdesc_forlateruse to rtl92e_copy_mpdu_stats.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_pci_resetdescring
Mateusz Kulikowski [Sun, 19 Jul 2015 17:28:16 +0000 (19:28 +0200)]
staging: rtl8192e: Rename rtl8192_pci_resetdescring

Use naming schema found in other rtlwifi devices.
Rename rtl8192_pci_resetdescring to rtl92e_reset_desc_ring.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_irq_enable
Mateusz Kulikowski [Sun, 19 Jul 2015 17:28:15 +0000 (19:28 +0200)]
staging: rtl8192e: Rename rtl8192_irq_enable

Use naming schema found in other rtlwifi devices.
Rename rtl8192_irq_enable to rtl92e_irq_enable.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_irq_disable
Mateusz Kulikowski [Sun, 19 Jul 2015 17:28:14 +0000 (19:28 +0200)]
staging: rtl8192e: Rename rtl8192_irq_disable

Use naming schema found in other rtlwifi devices.
Rename rtl8192_irq_disable to rtl92e_irq_disable.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_config_rate
Mateusz Kulikowski [Sun, 19 Jul 2015 17:28:13 +0000 (19:28 +0200)]
staging: rtl8192e: Rename rtl8192_config_rate

Use naming schema found in other rtlwifi devices.
Rename rtl8192_config_rate to rtl92e_config_rate.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_commit
Mateusz Kulikowski [Sun, 19 Jul 2015 17:28:12 +0000 (19:28 +0200)]
staging: rtl8192e: Rename rtl8192_commit

Use naming schema found in other rtlwifi devices.
Rename rtl8192_commit to rtl92e_commit.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename read_nic_word
Mateusz Kulikowski [Sun, 19 Jul 2015 17:28:11 +0000 (19:28 +0200)]
staging: rtl8192e: Rename read_nic_word

Use naming schema found in other rtlwifi devices.
Rename read_nic_word to rtl92e_readw.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename read_nic_dword
Mateusz Kulikowski [Sun, 19 Jul 2015 17:28:10 +0000 (19:28 +0200)]
staging: rtl8192e: Rename read_nic_dword

Use naming schema found in other rtlwifi devices.
Rename read_nic_dword to rtl92e_readl.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename read_nic_byte
Mateusz Kulikowski [Sun, 19 Jul 2015 17:28:09 +0000 (19:28 +0200)]
staging: rtl8192e: Rename read_nic_byte

Use naming schema found in other rtlwifi devices.
Rename read_nic_byte to rtl92e_readb.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename NicIFEnableNIC
Mateusz Kulikowski [Sun, 19 Jul 2015 17:28:08 +0000 (19:28 +0200)]
staging: rtl8192e: Rename NicIFEnableNIC

Use naming schema found in other rtlwifi devices.
Rename NicIFEnableNIC to rtl92e_enable_nic.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename NicIFDisableNIC
Mateusz Kulikowski [Sun, 19 Jul 2015 17:28:07 +0000 (19:28 +0200)]
staging: rtl8192e: Rename NicIFDisableNIC

Use naming schema found in other rtlwifi devices.
Rename NicIFDisableNIC to rtl92e_disable_nic.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename MgntActSet_RF_State
Mateusz Kulikowski [Sun, 19 Jul 2015 17:28:06 +0000 (19:28 +0200)]
staging: rtl8192e: Rename MgntActSet_RF_State

Use naming schema found in other rtlwifi devices.
Rename MgntActSet_RF_State to rtl92e_set_rf_state.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename check_rfctrl_gpio_timer
Mateusz Kulikowski [Sun, 19 Jul 2015 17:28:05 +0000 (19:28 +0200)]
staging: rtl8192e: Rename check_rfctrl_gpio_timer

Use naming schema found in other rtlwifi devices.
Rename check_rfctrl_gpio_timer to rtl92e_check_rfctrl_gpio_timer.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename set_swcam
Mateusz Kulikowski [Sun, 19 Jul 2015 17:28:04 +0000 (19:28 +0200)]
staging: rtl8192e: Rename set_swcam

Use naming schema found in other rtlwifi devices.
Rename set_swcam to rtl92e_set_swcam.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename setKey
Mateusz Kulikowski [Sun, 19 Jul 2015 17:28:03 +0000 (19:28 +0200)]
staging: rtl8192e: Rename setKey

Use naming schema found in other rtlwifi devices.
Rename setKey to rtl92e_set_key.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename EnableHWSecurityConfig8192
Mateusz Kulikowski [Sun, 19 Jul 2015 17:28:02 +0000 (19:28 +0200)]
staging: rtl8192e: Rename EnableHWSecurityConfig8192

Use naming schema found in other rtlwifi devices.
Rename EnableHWSecurityConfig8192 to rtl92e_enable_hw_security_config.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename CamRestoreAllEntry
Mateusz Kulikowski [Sun, 19 Jul 2015 17:28:01 +0000 (19:28 +0200)]
staging: rtl8192e: Rename CamRestoreAllEntry

Use naming schema found in other rtlwifi devices.
Rename CamRestoreAllEntry to rtl92e_cam_restore.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename CamResetAllEntry
Mateusz Kulikowski [Sun, 19 Jul 2015 17:28:00 +0000 (19:28 +0200)]
staging: rtl8192e: Rename CamResetAllEntry

Use naming schema found in other rtlwifi devices.
Rename CamResetAllEntry to rtl92e_cam_reset.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename SetRFPowerState
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:59 +0000 (19:27 +0200)]
staging: rtl8192e: Rename SetRFPowerState

Use naming schema found in other rtlwifi devices.
Rename SetRFPowerState to rtl92e_set_rf_power_state.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_SetBWMode
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:58 +0000 (19:27 +0200)]
staging: rtl8192e: Rename rtl8192_SetBWMode

Use naming schema found in other rtlwifi devices.
Rename rtl8192_SetBWMode to rtl92e_set_bw_mode.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_setBBreg
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:57 +0000 (19:27 +0200)]
staging: rtl8192e: Rename rtl8192_setBBreg

Use naming schema found in other rtlwifi devices.
Rename rtl8192_setBBreg to rtl92e_set_bb_reg.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_QueryBBReg
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:56 +0000 (19:27 +0200)]
staging: rtl8192e: Rename rtl8192_QueryBBReg

Use naming schema found in other rtlwifi devices.
Rename rtl8192_QueryBBReg to rtl92e_get_bb_reg.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_phy_SwChnl
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:55 +0000 (19:27 +0200)]
staging: rtl8192e: Rename rtl8192_phy_SwChnl

Use naming schema found in other rtlwifi devices.
Rename rtl8192_phy_SwChnl to rtl92e_set_channel.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_phy_setTxPower
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:54 +0000 (19:27 +0200)]
staging: rtl8192e: Rename rtl8192_phy_setTxPower

Use naming schema found in other rtlwifi devices.
Rename rtl8192_phy_setTxPower to rtl92e_set_tx_power.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_phy_SetRFReg
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:53 +0000 (19:27 +0200)]
staging: rtl8192e: Rename rtl8192_phy_SetRFReg

Use naming schema found in other rtlwifi devices.
Rename rtl8192_phy_SetRFReg to rtl92e_set_rf_reg.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_phy_RFConfig
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:52 +0000 (19:27 +0200)]
staging: rtl8192e: Rename rtl8192_phy_RFConfig

Use naming schema found in other rtlwifi devices.
Rename rtl8192_phy_RFConfig to rtl92e_config_phy.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_phy_QueryRFReg
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:51 +0000 (19:27 +0200)]
staging: rtl8192e: Rename rtl8192_phy_QueryRFReg

Use naming schema found in other rtlwifi devices.
Rename rtl8192_phy_QueryRFReg to rtl92e_get_rf_reg.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_phy_getTxPower
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:50 +0000 (19:27 +0200)]
staging: rtl8192e: Rename rtl8192_phy_getTxPower

Use naming schema found in other rtlwifi devices.
Rename rtl8192_phy_getTxPower to rtl92e_get_tx_power.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_phy_ConfigRFWithHeaderFile
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:49 +0000 (19:27 +0200)]
staging: rtl8192e: Rename rtl8192_phy_ConfigRFWithHeaderFile

Use naming schema found in other rtlwifi devices.
Rename rtl8192_phy_ConfigRFWithHeaderFile to rtl92e_config_rf_path.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_phy_configmac
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:48 +0000 (19:27 +0200)]
staging: rtl8192e: Rename rtl8192_phy_configmac

Use naming schema found in other rtlwifi devices.
Rename rtl8192_phy_configmac to rtl92e_config_mac.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_phy_CheckIsLegalRFPath
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:47 +0000 (19:27 +0200)]
staging: rtl8192e: Rename rtl8192_phy_CheckIsLegalRFPath

Use naming schema found in other rtlwifi devices.
Rename rtl8192_phy_CheckIsLegalRFPath to rtl92e_is_legal_rf_path.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_phy_checkBBAndRF
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:46 +0000 (19:27 +0200)]
staging: rtl8192e: Rename rtl8192_phy_checkBBAndRF

Use naming schema found in other rtlwifi devices.
Rename rtl8192_phy_checkBBAndRF to rtl92e_check_bb_and_rf.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_BBConfig
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:45 +0000 (19:27 +0200)]
staging: rtl8192e: Rename rtl8192_BBConfig

Use naming schema found in other rtlwifi devices.
Rename rtl8192_BBConfig to rtl92e_config_bb.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename PHY_SetRtl8192eRfOff
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:44 +0000 (19:27 +0200)]
staging: rtl8192e: Rename PHY_SetRtl8192eRfOff

Use naming schema found in other rtlwifi devices.
Rename PHY_SetRtl8192eRfOff to rtl92e_set_rf_off.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename PHY_ScanOperationBackup8192
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:43 +0000 (19:27 +0200)]
staging: rtl8192e: Rename PHY_ScanOperationBackup8192

Use naming schema found in other rtlwifi devices.
Rename PHY_ScanOperationBackup8192 to rtl92e_scan_op_backup.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename InitialGain819xPci
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:42 +0000 (19:27 +0200)]
staging: rtl8192e: Rename InitialGain819xPci

Use naming schema found in other rtlwifi devices.
Rename InitialGain819xPci to rtl92e_init_gain.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename firmware_init_param
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:41 +0000 (19:27 +0200)]
staging: rtl8192e: Rename firmware_init_param

Use naming schema found in other rtlwifi devices.
Rename firmware_init_param to rtl92e_init_fw_param.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_update_ratr_table
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:40 +0000 (19:27 +0200)]
staging: rtl8192e: Rename rtl8192_update_ratr_table

Use naming schema found in other rtlwifi devices.
Rename rtl8192_update_ratr_table to rtl92e_update_ratr_table.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_tx_fill_desc
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:39 +0000 (19:27 +0200)]
staging: rtl8192e: Rename rtl8192_tx_fill_desc

Use naming schema found in other rtlwifi devices.
Rename rtl8192_tx_fill_desc to rtl92e_fill_tx_desc.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_tx_fill_cmd_desc
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:38 +0000 (19:27 +0200)]
staging: rtl8192e: Rename rtl8192_tx_fill_cmd_desc

Use naming schema found in other rtlwifi devices.
Rename rtl8192_tx_fill_cmd_desc to rtl92e_fill_tx_cmd_desc.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_rx_query_status_desc
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:37 +0000 (19:27 +0200)]
staging: rtl8192e: Rename rtl8192_rx_query_status_desc

Use naming schema found in other rtlwifi devices.
Rename rtl8192_rx_query_status_desc to rtl92e_get_rx_stats.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_link_change
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:36 +0000 (19:27 +0200)]
staging: rtl8192e: Rename rtl8192_link_change

Use naming schema found in other rtlwifi devices.
Rename rtl8192_link_change to rtl92e_link_change.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_interrupt_recognized
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:35 +0000 (19:27 +0200)]
staging: rtl8192e: Rename rtl8192_interrupt_recognized

Use naming schema found in other rtlwifi devices.
Rename rtl8192_interrupt_recognized to rtl92e_ack_irq.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_InitializeVariables
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:34 +0000 (19:27 +0200)]
staging: rtl8192e: Rename rtl8192_InitializeVariables

Use naming schema found in other rtlwifi devices.
Rename rtl8192_InitializeVariables to rtl92e_init_variables.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_HalTxCheckStuck
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:33 +0000 (19:27 +0200)]
staging: rtl8192e: Rename rtl8192_HalTxCheckStuck

Use naming schema found in other rtlwifi devices.
Rename rtl8192_HalTxCheckStuck to rtl92e_is_tx_stuck.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_halt_adapter
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:32 +0000 (19:27 +0200)]
staging: rtl8192e: Rename rtl8192_halt_adapter

Use naming schema found in other rtlwifi devices.
Rename rtl8192_halt_adapter to rtl92e_stop_adapter.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_HalRxCheckStuck
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:31 +0000 (19:27 +0200)]
staging: rtl8192e: Rename rtl8192_HalRxCheckStuck

Use naming schema found in other rtlwifi devices.
Rename rtl8192_HalRxCheckStuck to rtl92e_is_rx_stuck.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_GetNmodeSupportBySecCfg
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:30 +0000 (19:27 +0200)]
staging: rtl8192e: Rename rtl8192_GetNmodeSupportBySecCfg

Use naming schema found in other rtlwifi devices.
Rename rtl8192_GetNmodeSupportBySecCfg to rtl92e_get_nmode_support_by_sec.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_GetHalfNmodeSupportByAPs
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:29 +0000 (19:27 +0200)]
staging: rtl8192e: Rename rtl8192_GetHalfNmodeSupportByAPs

Use naming schema found in other rtlwifi devices.
Rename rtl8192_GetHalfNmodeSupportByAPs to rtl92e_is_halfn_supported_by_ap.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_get_eeprom_size
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:28 +0000 (19:27 +0200)]
staging: rtl8192e: Rename rtl8192_get_eeprom_size

Use naming schema found in other rtlwifi devices.
Rename rtl8192_get_eeprom_size to rtl92e_get_eeprom_size.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192e_start_beacon
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:27 +0000 (19:27 +0200)]
staging: rtl8192e: Rename rtl8192e_start_beacon

Use naming schema found in other rtlwifi devices.
Rename rtl8192e_start_beacon to rtl92e_start_beacon.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192e_SetHwReg
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:26 +0000 (19:27 +0200)]
staging: rtl8192e: Rename rtl8192e_SetHwReg

Use naming schema found in other rtlwifi devices.
Rename rtl8192e_SetHwReg to rtl92e_set_reg.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_enable_tx
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:25 +0000 (19:27 +0200)]
staging: rtl8192e: Rename rtl8192_enable_tx

Use naming schema found in other rtlwifi devices.
Rename rtl8192_enable_tx to rtl92e_enable_tx.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_enable_rx
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:24 +0000 (19:27 +0200)]
staging: rtl8192e: Rename rtl8192_enable_rx

Use naming schema found in other rtlwifi devices.
Rename rtl8192_enable_rx to rtl92e_enable_rx.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_EnableInterrupt
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:23 +0000 (19:27 +0200)]
staging: rtl8192e: Rename rtl8192_EnableInterrupt

Use naming schema found in other rtlwifi devices.
Rename rtl8192_EnableInterrupt to rtl92e_enable_irq.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_DisableInterrupt
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:22 +0000 (19:27 +0200)]
staging: rtl8192e: Rename rtl8192_DisableInterrupt

Use naming schema found in other rtlwifi devices.
Rename rtl8192_DisableInterrupt to rtl92e_disable_irq.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_ClearInterrupt
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:21 +0000 (19:27 +0200)]
staging: rtl8192e: Rename rtl8192_ClearInterrupt

Use naming schema found in other rtlwifi devices.
Rename rtl8192_ClearInterrupt to rtl92e_clear_irq.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_AllowAllDestAddr
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:20 +0000 (19:27 +0200)]
staging: rtl8192e: Rename rtl8192_AllowAllDestAddr

Use naming schema found in other rtlwifi devices.
Rename rtl8192_AllowAllDestAddr to rtl92e_set_monitor_mode.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_adapter_start
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:19 +0000 (19:27 +0200)]
staging: rtl8192e: Rename rtl8192_adapter_start

Use naming schema found in other rtlwifi devices.
Rename rtl8192_adapter_start to rtl92e_start_adapter.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename cmpk_message_handle_tx
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:18 +0000 (19:27 +0200)]
staging: rtl8192e: Rename cmpk_message_handle_tx

Use naming schema found in other rtlwifi devices.
Rename cmpk_message_handle_tx to rtl92e_send_cmd_pkt.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename PHY_SetRF8256OFDMTxPower
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:17 +0000 (19:27 +0200)]
staging: rtl8192e: Rename PHY_SetRF8256OFDMTxPower

Use naming schema found in other rtlwifi devices.
Rename PHY_SetRF8256OFDMTxPower to rtl92e_set_ofdm_tx_power.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename PHY_SetRF8256CCKTxPower
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:16 +0000 (19:27 +0200)]
staging: rtl8192e: Rename PHY_SetRF8256CCKTxPower

Use naming schema found in other rtlwifi devices.
Rename PHY_SetRF8256CCKTxPower to rtl92e_set_cck_tx_power.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename PHY_SetRF8256Bandwidth
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:15 +0000 (19:27 +0200)]
staging: rtl8192e: Rename PHY_SetRF8256Bandwidth

Use naming schema found in other rtlwifi devices.
Rename PHY_SetRF8256Bandwidth to rtl92e_set_bandwidth.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename PHY_RF8256_Config
Mateusz Kulikowski [Sun, 19 Jul 2015 17:27:14 +0000 (19:27 +0200)]
staging: rtl8192e: Rename PHY_RF8256_Config

Use naming schema found in other rtlwifi devices.
Rename PHY_RF8256_Config to rtl92e_config_rf.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: unisys: remove bogus error checking
Neil Horman [Tue, 21 Jul 2015 13:55:48 +0000 (09:55 -0400)]
staging: unisys: remove bogus error checking

The netdev we're testing for can't be removed, because its never
unregistered, so don't bother checking for it

Signed-off-by: Neil Horman <nhorman@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: unisys: remove visornic_ioctl
Neil Horman [Tue, 21 Jul 2015 13:55:47 +0000 (09:55 -0400)]
staging: unisys: remove visornic_ioctl

All it does is return no supported.  Removing the function entirely
accomplishes the same thing

Signed-off-by: Neil Horman <nhorman@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: unisys: Remove trans_start
Neil Horman [Tue, 21 Jul 2015 13:55:46 +0000 (09:55 -0400)]
staging: unisys: Remove trans_start

dev_trans_start does this for us now

Signed-off-by: Neil Horman <nhorman@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: unisys: Fix improper use of NETDEV_TX_BUSY
Neil Horman [Tue, 21 Jul 2015 13:55:45 +0000 (09:55 -0400)]
staging: unisys: Fix improper use of NETDEV_TX_BUSY

Using NETDEV_TX_BUSY is tricky.  Its meant for situations where the error
in question is transient and quickly resolved.  But the driver rarely is
able to know that to a certainty.  And in the case of visornic, it just
uses it without any care for that, in the hopes that it won't loose frames,
even if the problem is that the skb is somehow malformed for the hardware.
If we get one of those kinds of skbs, NETDEV_TX_BUSY will just cause us to
spin, processing the same error over and over.

Fix it by dropping the frame, stopping the queue where appropriate, and
returning NETDEV_TX_OK

Signed-off-by: Neil Horman <nhorman@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: unisys: Remove some extraneous start/stop queue operations
Neil Horman [Tue, 21 Jul 2015 13:55:44 +0000 (09:55 -0400)]
staging: unisys: Remove some extraneous start/stop queue operations

If we put them in the enable and disable paths, we don't need them in
several other places

Signed-off-by: Neil Horman <nhorman@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: unisys: Change enable/disable to wait forever
Neil Horman [Tue, 21 Jul 2015 13:55:43 +0000 (09:55 -0400)]
staging: unisys: Change enable/disable to wait forever

I don't see why the server should stop responding, or that we should just
give up if it does.  Wait forever when enabling/disabling the visornic

Signed-off-by: Neil Horman <nhorman@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: unisys: Make serverdown synchronous
Neil Horman [Tue, 21 Jul 2015 13:55:42 +0000 (09:55 -0400)]
staging: unisys: Make serverdown synchronous

I don't see why serverdown should be async on a workqueue.  Just make it
synchronous, and remove some code in the process

Signed-off-by: Neil Horman <nhorman@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: unisys: simplify visornic_serverdown_complete
Neil Horman [Tue, 21 Jul 2015 13:55:41 +0000 (09:55 -0400)]
staging: unisys: simplify visornic_serverdown_complete

Theres a lot of code duplication going on in visornic_serverdown_complete.
We should just be able to send it through the dev_close path and have it
do the right things.

Signed-off-by: Neil Horman <nhorman@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: unisys: Guard against task leakage
Neil Horman [Tue, 21 Jul 2015 13:55:40 +0000 (09:55 -0400)]
staging: unisys: Guard against task leakage

Its possible to overwrite the old task pointer in visornic_resume.  Add a
check to guard against that and a warning if we find that its already
running

Signed-off-by: Neil Horman <nhorman@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: unisys: Clean up kthread usage
Neil Horman [Tue, 21 Jul 2015 13:55:39 +0000 (09:55 -0400)]
staging: unisys: Clean up kthread usage

Remove the has_stopped completion as theres already one available
internally.

Correct the while loops

Remove the while loop in drain_queue as it already exists in the top level
loop

Signed-off-by: Neil Horman <nhorman@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: unisys: Linarize skbs
Neil Horman [Tue, 21 Jul 2015 13:55:38 +0000 (09:55 -0400)]
staging: unisys: Linarize skbs

If we can't fit an skb into a frag array, linaraize it so we don't have to

Signed-off-by: Neil Horman <nhorman@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: unisys: BUG halt on error in I/O channel
Neil Horman [Tue, 21 Jul 2015 13:55:37 +0000 (09:55 -0400)]
staging: unisys: BUG halt on error in I/O channel

We precheck that we have enough space in an iochannel prior to writing to
it when we send in a fragmented skb.  Given that there is no recovery from
this condition that I can see, turn it into a BUG halt

Signed-off-by: Neil Horman <nhorman@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: unisys: Check return code properly on visor_copy_fragsinfo_from_skb
Neil Horman [Tue, 21 Jul 2015 13:55:36 +0000 (09:55 -0400)]
staging: unisys: Check return code properly on visor_copy_fragsinfo_from_skb

One call site for visor_copy_fragsinfo_from_skb was checking for an rc of
-1, but thhe function doesn't return that, it returns -errno.  Correct it

Signed-off-by: Neil Horman <nhorman@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: unisys: Remove num_visornic_open array
Neil Horman [Tue, 21 Jul 2015 13:55:35 +0000 (09:55 -0400)]
staging: unisys: Remove num_visornic_open array

As pointed out in a recent review, the num_visornic_open array didn't do
anything useful, and it exposed a potential race in the visornic code that
could arise while taking down a net interface while reading from the
debugfs files. Fix that by removing the array entirely, and just iterating
over all the registered netdevs in a given namespace, filtering on them
having visornic ops (to identify which are ours), and having their queues
not be stopped (identifying that they are up). This should prevent any oops
conditions happening due to changing state in that array, and save us a
bunch of code too.

Signed-off-by: Neil Horman <nhorman@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8723au: fix incorrect type in assignment warning
Steve Pennington [Wed, 22 Jul 2015 17:50:11 +0000 (12:50 -0500)]
staging: rtl8723au: fix incorrect type in assignment warning

Repaced calls to htons and memcpy with a single call to put_unaligned_be16
to fix the following sparse warning:
drivers/staging/rtl8723au/core/rtw_recv.c:1557:21: warning: incorrect type in assignment (different base types)
drivers/staging/rtl8723au/core/rtw_recv.c:1557:21:    expected unsigned short [unsigned] [assigned] [usertype] len
drivers/staging/rtl8723au/core/rtw_recv.c:1557:21:    got restricted __be16 [usertype] <noident>

Signed-off-by: Steve Pennington <sgpenn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: ion: ion_cma_heap: Don't directly use dma_common_get_sgtable
Jon Medhurst (Tixy) [Fri, 17 Jul 2015 11:01:29 +0000 (12:01 +0100)]
staging: ion: ion_cma_heap: Don't directly use dma_common_get_sgtable

Use dma_get_sgtable rather than dma_common_get_sgtable so a device's
dma_ops aren't bypassed. This is essential in situations where a device
uses an IOMMU and the physical memory is not contiguous (as the common
function assumes).

Signed-off-by: Jon Medhurst <tixy@linaro.org>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: fsl-mc: update TODO list
Stuart Yoder [Thu, 16 Jul 2015 17:50:50 +0000 (12:50 -0500)]
staging: fsl-mc: update TODO list

update TODO list to provide more detail on remaining work

Signed-off-by: Stuart Yoder <stuart.yoder@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agoStaging: rtl8192e: pointer math bug in rtllib_rx_DELBA()
Dan Carpenter [Sun, 19 Jul 2015 10:52:33 +0000 (13:52 +0300)]
Staging: rtl8192e: pointer math bug in rtllib_rx_DELBA()

The pointer math here was totally wrong so we were reading nonsense
information from beyond the end of the buffer.  It could lead to an oops
if that memory wasn't mapped.

The "pReasonCode" pointer is assigned but never used so I deleted it.

With-Fix-From: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Tested-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192u: remove unneeded bool
Luis de Bethencourt [Mon, 20 Jul 2015 16:36:18 +0000 (18:36 +0200)]
staging: rtl8192u: remove unneeded bool

bool Reval is set to match the value of bHalfWirelessN24GMode just to
this. The value can be returned directly. Removing uneeded bool.

Signed-off-by: Luis de Bethencourt <luis@debethencourt.com>
Suggested-by: Joe Perches <joe@perches.com>
Suggested-by: Franks Klaver <fransklaver@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>