summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6656/card.h
Commit message (Collapse)AuthorAgeFilesLines
* staging: vt6656: remove address from GPL textOthmar Pasteka2015-11-201-3/+0Star
| | | | | | | Cleanup errors from checkpatch.pl. Signed-off-by: Othmar Pasteka <pasteka@kabsi.at> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6556: Remove typedefsPeter Senna Tschudin2014-07-161-7/+0Star
| | | | | | | | | | | | | | | | | | | | | | | | This patch removes uneeded typedefs reported by chackpatch and removes one enum that is not in use. As checkpatch complained about the typedef and the enum is not being used, this patch removes both typedef and enum. The removed enum from card.h: typedef enum _CARD_PHY_TYPE { PHY_TYPE_AUTO = 0, PHY_TYPE_11B, PHY_TYPE_11G, PHY_TYPE_11A } CARD_PHY_TYPE, *PCARD_PHY_TYPE; The following typedefs were removed, but enums were kept at device.h: typedef enum __device_msg_level typedef enum __DEVICE_NDIS_STATUS Tested by compilation only. Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6556: Cleanup coding style: #definePeter Senna Tschudin2014-07-161-3/+3
| | | | | | | | | This patch cleanup coding style issues on #defines. Tested by compilation only. Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: remove vnt_add_basic_rateMalcolm Priestley2014-06-291-1/+0Star
| | | | | | | The driver never sets basic rate any more so remove function. 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-201-1/+1
| | | | | | | 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-201-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-201-1/+1
| | | | | | | 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 CARDvUpdateNextTBTT to vnt_update_next_tbttMalcolm Priestley2014-06-201-2/+1Star
| | | | | | | Drop card and rename to vnt_update_next_tbtt Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: rename CARDvSetFirstNextTBTT to vnt_reset_next_tbttMalcolm Priestley2014-06-201-1/+1
| | | | | | | | Drop card, set and first. The device resets the next tbtt rename to vnt_reset_next_tbtt Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: rename CARDqGetNextTBTT to vnt_get_next_tbttMalcolm Priestley2014-06-201-1/+1
| | | | | | | Drop card and rename to vnt_get_next_tbtt Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: rename CARDbClearCurrentTSF to vnt_clear_current_tsfMalcolm Priestley2014-06-201-1/+1
| | | | | | | Drop card and rename to vnt_clear_current_tsf Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: rename CARDbGetCurrentTSF to vnt_get_current_tsfMalcolm Priestley2014-06-201-1/+1
| | | | | | | Drop card and rename to vnt_get_current_tsf Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: rename CARDvAdjustTSF to vnt_adjust_tsfMalcolm Priestley2014-06-201-2/+1Star
| | | | | | | drop card and rename to vnt_adjust_tsf Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: rename CARDqGetTSFOffset to vnt_get_tsf_offsetMalcolm Priestley2014-06-201-1/+1
| | | | | | | drop card and rename to vnt_get_tsf_offset Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: rename CARDbyGetPktType to vnt_get_pkt_typeMalcolm Priestley2014-06-201-1/+1
| | | | | | | drop card rename to vnt_get_pkt_type Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: rename CARDbIsOFDMinBasicRate to vnt_ofdm_min_rateMalcolm Priestley2014-06-201-1/+1
| | | | | | | drop card and basic rename to vnt_ofdm_min_rate Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: rename CARDbAddBasicRate to vnt_add_basic_rateMalcolm Priestley2014-06-201-1/+1
| | | | | | | Drop card and rename to vnt_add_basic_rate Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: rename CARDvSetRSPINF to vnt_set_rspinfMalcolm Priestley2014-06-201-1/+1
| | | | | | | Drop card and rename to vnt_set_rspinf Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: rename CARDvUpdateBasicTopRate to vnt_update_top_ratesMalcolm Priestley2014-06-201-1/+1
| | | | | | | Drop card basic. The function updates the top rates vnt_update_top_rates Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: rename vUpdateIFS to vnt_update_ifsMalcolm Priestley2014-06-201-1/+1
| | | | | 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-201-1/+1
| | | | | | | 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: camel case cleanup CARDbAddBasicRateMalcolm Priestley2014-05-231-1/+1
| | | | | | | | | camel case changes pDevice -> priv wRateIdx -> rate_idx Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: camel case clean up CARDvUpdateBasicTopRateMalcolm Priestley2014-05-231-1/+1
| | | | | | | | | | Camel case changes pDevice -> priv byTopOFDM -> top_ofdm byTopCCK -> top_cck Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: camel case cleanup vUpdateIFSMalcolm Priestley2014-05-231-1/+1
| | | | | | | | | | | camel case changes pDevice -> priv byMaxMin -> max_min byData -> data pItemRates -> item_rates Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: camel case cleanup CARDvSetRSPINFMalcolm Priestley2014-05-231-1/+1
| | | | | | | | | camel case changes pDevice -> priv byBBType -> bb_type Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: Replace typedef enum _CARD_OP_MODEMalcolm Priestley2014-02-181-7/+0Star
| | | | | | | | | | | | | Replace typedef enum _CARD_OP_MODE eOPMode with op_mode enum nl80211_iftype enum changes OP_MODE_INFRASTRUCTURE -> NL80211_IFTYPE_STATION OP_MODE_AP -> NL80211_IFTYPE_AP OP_MODE_DEF -> NL80211_IFTYPE_UNSPECIFIED OP_MODE_ADHOC -> NL80211_IFTYPE_ADHOC Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: remove consecutive newlinesAndres More2013-03-291-3/+0Star
| | | | | | | Several sed -i '/^$/{ N /^\n$/ D }' drivers/staging/vt6656/*.[ch] Signed-off-by: Andres More <more.andres@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: remove unused functionsAndres More2013-03-271-2/+0Star
| | | | | | | | Removed defined symbols not being used elsewhere. Only compile tested. Signed-off-by: Andres More <more.andres@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: remove code placeholdersAndres More2013-03-251-4/+0Star
| | | | | | | | | Removed comments from coding template. sed -i '/^\/\*---/d' drivers/staging/vt6656/*.[ch] Signed-off-by: Andres More <more.andres@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: removed no longer useful ttype.h fileAndres More2013-03-111-1/+0Star
| | | | | | | Removed includes and added linux/types.h instead when needed. Signed-off-by: Andres More <more.andres@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: replaced custom WORD definition with u16Andres More2013-03-111-3/+3
| | | | | | | | | | Checkpatch findings were not resolved. sed -i 's/\bWORD\b/u16/g' drivers/staging/vt6656/*.[ch] sed -i 's/\bPWORD\b/u16 */g' drivers/staging/vt6656/*.[ch] Signed-off-by: Andres More <more.andres@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: replaced custom BYTE definition with u8Andres More2013-03-111-1/+1
| | | | | | | | | | Checkpatch findings were not resolved, only direct replacement. sed -i 's/\bBYTE\b/u8/g' drivers/staging/vt6656/*.[ch] sed -i 's/\bPBYTE\b/u8 */g' drivers/staging/vt6656/*.[ch] Signed-off-by: Andres More <more.andres@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: replace custom BOOL definition with boolAndres More2013-02-151-2/+2
| | | | | | | | | | Checkpatch findings were not resolved, just make direct replacement plus a couple of conflicting types in declarations. sed -i 's/\bBOOL\b/bool/g' drivers/staging/vt6656/*.[ch] Signed-off-by: Andres More <more.andres@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: card/main_usb/device use new structure namesMalcolm Priestley2013-01-071-22/+19Star
| | | | | | | | This patch also cleans up function declarations, definitions and local variables were appropriate replacing types defined in "ttype.h" with linux/types.h. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: Remove QWORD from source and replace with u64.Malcolm Priestley2013-01-071-5/+5
| | | | | Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* staging: vt6656: Remove all commented macrosMarcos Paulo de Souza2012-07-091-1/+0Star
| | | | | | | | These macros were reported by forgotten-macros tool (https://github.com/marcosps/forgotten_macros). Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* drivers: staging: vt6656: card.c: Remove useless return statementMarcos Paulo de Souza2011-12-221-1/+1
| | | | | | | | This patch removes the return of the function CARDbSetMediaChannel, that always return TRUE value. Signed-off-by: Marcos Paulo de Souza <marcos.mage@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: vt6656: card.c: Change return of CARDbAddBasicRate to voidMarcos Paulo de Souza2011-11-301-1/+1
| | | | | | | | | In all locations that call this function ignore your returna, so remove it. Signed-off-by: Marcos Paulo de Souza <marcos.mage@gmail.com> Cc: Forest Bond <forest@alittletooquiet.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: vt6656: removed custom UCHAR/USHORT/UINT/ULONG/ULONGLONG typedefsAndres More2010-05-181-1/+2
| | | | | | | Cleared all checkpatch warnings but 'do not add new typedefs' ones. Signed-off-by: Andres More <more.andres@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: vt6656: card.h: code cleanup, resolved checkpatch findingsAndres More2010-05-121-15/+9Star
| | | | | | | Cleared all findings but a couple of 'do not add new typedefs' warnings. Signed-off-by: Andres More <more.andres@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: vt6656: code cleanup, fixed comments style at the end of headersAndres More2010-05-111-4/+1Star
| | | | | Signed-off-by: Andres More <more.andres@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: vt6656: removed VOID/PVOID definitionsAndres More2010-05-111-16/+18
| | | | | | | Warnings about the usage of externs in .c files were not resolved here. Signed-off-by: Andres More <more.andres@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: vt6656: Removed IN definitionAndres More2010-05-111-4/+4
| | | | | | | Code cleanup, removed empty IN definition used to denote input parameters. Signed-off-by: Andres More <more.andres@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: vt665x: Clean up include files, Part 1Jim Lieb2009-09-151-14/+0Star
| | | | | | | | | | Remove cplusplus lines from include files Remove needless ifdefs on includes to conform with C conventions. Remove misc commented code/includes Update TODO Signed-off-by: Jim Lieb <lieb@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: vt665x: Typedef and macro cleanup Part 1Jim Lieb2009-09-151-1/+1
| | | | | | | | | Clean up unused typedefs and macros to remove Win32'isms and misc non-linux constructs. Text edits to referencing source for less frequently used macros. Signed-off-by: Jim Lieb <lieb@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: Add pristine upstream vt6656 driver sources to drivers/staging/vt6656.Forest Bond2009-09-151-0/+109
Add pristine upstream vt6656 driver sources to drivers/staging/vt6656. These files were copied from the driver directory in the upstream source archive, available here: http://www.viaarena.com/Driver/VT6656_Linux_src_v1.19_12_x86.zip After copying, trailing whitespace was stripped. This is GPL-licensed code. Signed-off-by: Forest Bond <forest@alittletooquiet.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>