summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6656/wcmd.c
Commit message (Collapse)AuthorAgeFilesLines
* staging: vt6656: dead code remove channel switch.Malcolm Priestley2014-07-211-8/+0
| | | | | | | The driver needs to do anything special for channel switch. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: struct vnt_private replace wCurrentRate with current_rateMalcolm Priestley2014-07-211-1/+1
| | | | | | | Removing type prefix and camel case. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: struct vnt_private remove camel case antenna variablesMalcolm Priestley2014-07-211-6/+6
| | | | | | | | | | | | Camel case changes bTxRxAntInv -> tx_rx_ant_inv dwRxAntennaSel -> rx_antenna_sel byRxAntennaMode -> rx_antenna_mode byTxAntennaMode -> tx_antenna_mode byRadioCtl -> radio_ctl Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: rename BBvSetAntennaMode to vnt_set_antenna_modeMalcolm Priestley2014-07-171-4/+4
| | | | | | | Dropping BB Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: wcnd.c clean up commentsMalcolm Priestley2014-07-131-7/+2
| | | | | | | Removing old functions and comments. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: wcmd remove unneeded headersMalcolm Priestley2014-07-131-3/+0
| | | | | Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: rename vResetCommandTimer to vnt_reset_command_timerMalcolm Priestley2014-07-131-1/+1
| | | | | Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: Drop u8 pointer and rename bScheduleCommand.Malcolm Priestley2014-07-131-2/+2
| | | | | | | Rename to vnt_schedule_command removing unused u8 pointer. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: rename vRunCommand to vnt_run_commandMalcolm Priestley2014-07-131-1/+1
| | | | | Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: rename vCommandTimerWait to vnt_cmd_timer_waitMalcolm Priestley2014-07-131-3/+3
| | | | | Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: Move and rename s_bCommandComplete to vnt_cmd_completeMalcolm Priestley2014-07-131-55/+53
| | | | | | | Remove static declaration and moving for function visibility Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: replace camel case from command variablesMalcolm Priestley2014-07-131-16/+16
| | | | | | | | | | | camel case changes uCmdDequeueIdx -> cmd_dequeue_idx uCmdEnqueueIdx -> cmd_enqueue_idx cbFreeCmdQueue -> free_cmd_queue bCmdRunning -> cmd_running Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: remove unused variables bCmdClear and bNeedRadioOFFMalcolm Priestley2014-07-131-1/+0
| | | | | Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: remove typedef struct tagCMD_ITEMMalcolm Priestley2014-07-131-2/+2
| | | | | | | | Since enum vnt_cmd is only member replace with array enum vnt_cmd cmd_queue with size of CMD_Q_SIZE Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: replace typedef enum tagCMD_STATE with enum vnt_cmd_stateMalcolm Priestley2014-07-131-9/+9
| | | | | | | Replacing variables. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: replace typedef enum tagCMD_CODE with enum vnt_cmdMalcolm Priestley2014-07-131-4/+4
| | | | | | | Replacing the variables. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: wcmd replace debug message with dev_dbgMalcolm Priestley2014-07-121-5/+2
| | | | | Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: vResetCommandTimer remove camel caseMalcolm Priestley2014-07-121-7/+7
| | | | | | | pDevice -> priv Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: bScheduleCommand remove camel caseMalcolm Priestley2014-07-121-8/+8
| | | | | | | | | | Camel case changes pDevice -> priv eCommand -> command pbyItem0 -> item0 Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: s_bCommandComplete clean up and remove camel caseMalcolm Priestley2014-07-121-17/+17
| | | | | | | pDevice -> priv Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: s_bCommandComplete remove else from ifMalcolm Priestley2014-07-121-29/+31
| | | | | | | if returns out so remove else Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: remove unused variables from struct tagCMD_ITEMMalcolm Priestley2014-07-121-5/+1
| | | | | | | Also remove local variables Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: vRunCommand remove camel case.Malcolm Priestley2014-07-121-27/+29
| | | | | | | pDevice -> priv Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: wcmd remove unused commandsMalcolm Priestley2014-07-121-34/+0
| | | | | | | | WLAN_CMD_CHANGE_BBSENSITIVITY and WLAN_CMD_MAC_DISPOWERSAVING are already implemented and don't need the command timer. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: wcmd Remove command WLAN_CMD_RADIOMalcolm Priestley2014-07-121-14/+0
| | | | | | | | Part of it has already been removed. checking isr1 & ISR_GPIO3 serves no purpose. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: vCommandTimerWait remove camel case.Malcolm Priestley2014-07-121-4/+2
| | | | | | | | | camel case changes pDevice -> priv MSecond -> msecs Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: dead code remove 80211hdr.hMalcolm Priestley2014-06-261-2/+0
| | | | | | | Remove all variables that are dead with this header Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: dead code remove wmgr.hMalcolm Priestley2014-06-261-1/+0
| | | | | Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: dead code remove tmacro.hMalcolm Priestley2014-06-261-1/+0
| | | | | Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: dead code remove old key functionsMalcolm Priestley2014-06-261-4/+0
| | | | | Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: dead code remove iowpa.hMalcolm Priestley2014-06-261-1/+0
| | | | | Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: dead code remove wctlMalcolm Priestley2014-06-261-1/+0
| | | | | Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: wcmd remove dead codeMalcolm Priestley2014-06-261-833/+0
| | | | | Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: main_usb removed dead codeMalcolm Priestley2014-06-261-1/+0
| | | | | Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: mac80211 conversion: vRunCommand channel changesMalcolm Priestley2014-06-261-5/+2
| | | | | | | | | pDevice->hw->conf.chandef.chan->hw_value to find current channel Remove bChannelSwitch, uCurrChannel, byNewChannel and bStopDataPkt Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: mac80211 conversion: vRunCommand change beaconMalcolm Priestley2014-06-261-1/+7
| | | | | | | | | | | Remove bMgrPrepareBeaconToSend Check that vif is not null Call vnt_beacon_make and turn on TCR_AUTOBCNTX. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: mac80211 conversion: add vnt_init to bScheduleCommandMalcolm Priestley2014-06-261-2/+17
| | | | | | | | | | start driver by linking vnt_init to vt6656_probe use bScheduleCommand to schedule new command WLAN_CMD_INIT_MAC80211 vResetCommandTimer is now used to initiate command timer. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: rename PSbIsNextTBTTWakeUp to vnt_next_tbtt_wakeupMalcolm Priestley2014-06-191-1/+1
| | | | | Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: rename PSvDisablePowerSaving to vnt_disable_power_savingMalcolm Priestley2014-06-191-1/+1
| | | | | Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: rename PSvEnablePowerSaving to vnt_enable_power_savingMalcolm Priestley2014-06-191-1/+1
| | | | | Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: rename MACvRegBitsOff to vnt_mac_reg_bits_offMalcolm Priestley2014-06-191-3/+3
| | | | | Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: rename MACvRegBitsOff to vnt_mac_reg_bits_offMalcolm Priestley2014-06-191-4/+4
| | | | | Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: rename CARDvSetBSSMode to vnt_set_bss_modeMalcolm Priestley2014-06-191-3/+3
| | | | | | | drop card and rename to vnt_set_bss_mode Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: rename CARDbRadioPowerOn to vnt_radio_power_onMalcolm Priestley2014-06-191-1/+1
| | | | | | | Drop card and rename to vnt_radio_power_on Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: rename CARDbRadioPowerOff to vnt_radio_power_offMalcolm Priestley2014-06-191-2/+2
| | | | | | | Drop card and rename to vnt_radio_power_off Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: rename CARDbSetMediaChannel to vnt_set_channelMalcolm Priestley2014-06-191-3/+3
| | | | | | | Drop card and media and just use vnt_set_channel. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: rf.c/h rename RFbSetPower to vnt_rf_setpowerMalcolm Priestley2014-05-281-1/+2
| | | | | | | Removing camel case Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: dead code remove control.c/hMalcolm Priestley2014-05-261-1/+1
| | | | | | | | | Replace control.h headers with usbpipe.h Also add to usbpipe.c its header Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: create vnt_control_in_u8 to replace ControlvReadByteMalcolm Priestley2014-05-261-1/+1
| | | | | | | ControlvReadByte will be removed in next patch Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: Create new function to set led state.Malcolm Priestley2014-05-261-9/+21
| | | | | | | | | | | | Create vnt_mac_set_led to set state and led. state has two modes LEDSTS_TMLEN which sets the blink rate on TX activity and LEDSTS_STS which sets the led. As result of this patch ControlvMaskByte becomes dead code. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
OpenPOWER on IntegriCloud