Malcolm Priestley
f320314435
staging: vt6656: camel case clean up CARDbRadioPowerOn
...
camel case changes
pDevice -> priv
bResult -> ret
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25 10:58:26 -07:00
Malcolm Priestley
07deb71093
staging: vt6656: camel case clean up CARDbRadioPowerOff
...
camel case changes
pDevice -> priv
bResult -> ret
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25 10:58:25 -07:00
Malcolm Priestley
8b515de7a7
staging: vt6656: camel case clean up CARDvUpdateNextTBTT
...
camel case changes
pDevice -> priv
qwTSF -> tsf
wBeaconInterval -> beacon_interval
pbyData -> data
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25 10:58:25 -07:00
Malcolm Priestley
414475f6fd
staging: vt6656: camel case and clean up CARDvSetFirstNextTBTT
...
camel case changes
pDevice -> priv
wBeaconInterval -> beacon_interval
qwNextTBTT -> next_tbtt
pbyData -> data
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25 10:58:25 -07:00
Malcolm Priestley
5f4dfb66e6
staging: vt6656: CARDqGetNextTBTT remove camel case
...
qwTSF -> tsf
wBeaconInterval -> beacon_interval
uBeaconInterval -> beacon_int
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25 10:58:25 -07:00
Malcolm Priestley
e151e478fd
staging: vt6656: CARDbClearCurrentTSF remove camel case
...
pDevice -> priv
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25 10:58:25 -07:00
Malcolm Priestley
2092dfa4ef
staging: vt6656: CARDbGetCurrentTSF remove camel case
...
pDevice -> priv
pqwCurrTSF -> current_tsf
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25 10:58:25 -07:00
Malcolm Priestley
302361d475
staging: vt6656: camel case and clean up CARDvAdjustTSF
...
camel case changes
pDevice -> priv
byRxRate -> rx_rate
qwBSSTimestamp -> time_stamp
qwLocalTSF -> local_tsf
qwTSFOffset -> tsf_offset
pbyData -> data
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25 10:58:24 -07:00
Malcolm Priestley
3fd2a69c6e
staging: vt6656: CARDqGetTSFOffset remove camel case
...
camel case changes
byRxRate -> rx_rate
qwTSF1 -> tsf1
qwTSF2 -> tsf2
qwTSFOffset -> tsf_offset
wRxBcnTSFOffst -> rx_bcn_offset
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25 10:58:24 -07:00
Malcolm Priestley
1f44238f6c
staging: vt6656: camel case and cleanup CARDbyGetPktType
...
camel case changes
pDevice -> priv
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25 10:58:24 -07:00
Malcolm Priestley
de0eb9ef70
staging: vt6656: camel case clean up CARDbIsOFDMinBasicRate
...
camel case change
pDevice -> priv
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25 10:58:24 -07:00
Malcolm Priestley
0b596b2a70
staging: vt6656: Convert remaining locks to spin_lock_irqsave.
...
Convert all remaining locks to spin_lock_irqsave and
spin_unlock_irqrestore
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-25 10:58:24 -07:00
Malcolm Priestley
6db0deaec9
staging: vt6656: camel case cleanup CARDbAddBasicRate
...
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>
2014-05-24 04:46:10 +09:00
Malcolm Priestley
dcce9e0b08
staging: vt6656: camel case clean up CARDvUpdateBasicTopRate
...
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>
2014-05-24 04:46:10 +09:00
Malcolm Priestley
5ebc46d64c
staging: vt6656: camel case cleanup vUpdateIFS
...
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>
2014-05-24 04:46:10 +09:00
Malcolm Priestley
652d0f00f6
staging: vt6656: camel case cleanup CARDvSetRSPINF
...
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>
2014-05-24 04:46:10 +09:00
Malcolm Priestley
3605f84e78
staging: vt6656: camel case clean up CARDvCalculateOFDMRParameter
...
Camel case changes
wRate -> rate
byBBType -> bb_type
pbyTxRate -> tx_rate
pbyRsvTime -> rsv_time
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-24 04:46:09 +09:00
Malcolm Priestley
ddb8c95f93
staging: vt6656: camel case clean up MACvWriteBeaconInterval
...
camel case changes
pDevice -> priv
wInterval -> interval
pbyData -> data
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-24 04:46:09 +09:00
Malcolm Priestley
67933f4257
staging: vt6656: camel case clean up MACvDisableBarkerPreambleMd
...
camel case changes
pDevice -> priv
phyData -> data
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-24 04:46:09 +09:00
Malcolm Priestley
23cde77f5a
staging: vt6656: camel case clean up MACvEnableBarkerPreambleMd
...
Camel case changes
pDevice -> priv
pbyData -> data
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-24 04:46:09 +09:00
Malcolm Priestley
04cc8ef525
staging: vt6656: camel case clean up MACvDisableProtectMD
...
camel case changes
pDevice -> priv
pbyData -> data
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-24 04:46:09 +09:00
Malcolm Priestley
a7ecb9d3ea
staging: vt6656: camel case clean up MACvEnableProtectMD
...
Camel case changes
pDevice -> priv
pbyData -> data
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-24 04:46:08 +09:00
Malcolm Priestley
1195200fff
staging: vt6656: camel case clean up MACvWriteBSSIDAddress
...
camel case changes
pDevice -> priv
pbyEtherAddr -> addr
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-24 04:46:08 +09:00
Malcolm Priestley
08a150c506
staging: vt6656: MACvWriteBSSIDAddress remove pbyData
...
Remove pbyData and point directly to pbyEtherAddr
The size is always ETH_ALEN (6)
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-24 04:46:08 +09:00
Malcolm Priestley
e1cc91f688
staging: vt6656: camel case cleanup MACvWriteWord
...
camel case changes
pDevice -> priv
byRegOfs -> reg_ofs
wData -> word
pbyData -> data
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-24 04:46:08 +09:00
Malcolm Priestley
8fda36cac1
staging: vt6656: camel case clean up MACvRegBitsOn
...
camel case changes
pDevice -> priv
byRegOfs -> reg_ofs
byBits -> bits
pbyData -> data
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-24 04:46:08 +09:00
Malcolm Priestley
f22f76980e
staging: vt6656: camel case cleanup MACvRegBitsOff
...
camel case changes
pDevice -> priv
byRegOfs -> reg_ofs
byBits -> bits
pbyData -> data
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-24 04:46:08 +09:00
Malcolm Priestley
e836e4267c
staging: vt6656: camel case clean up MACvDisableKeyEntry
...
Camel case changes
pDevice -> priv
uEntryIdx -> entry_idx
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-24 04:46:07 +09:00
Malcolm Priestley
9190c4d286
staging: vt6656: MACvDisableKeyEntry fix sizeof uEntryIdx to u8
...
Remove byData and change all callers to u8.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-24 04:46:07 +09:00
Malcolm Priestley
bee7b68add
staging: vt6656: camel case clean up MACvSetBBType
...
Camel case changes
pDevice -> priv
byType -> type
pbyData -> data
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-24 04:46:07 +09:00
Malcolm Priestley
88eee075dd
staging: vt6656: remove camel case MACbShutdown
...
Camel case changes
pDevice -> priv
signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-24 04:46:07 +09:00
Malcolm Priestley
7585940325
staging: vt6656: remove camel case MACvWriteMultiAddr
...
Camel case changes.
pDevice -> priv
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-24 04:46:07 +09:00
Malcolm Priestley
0e7935aba0
staging: vt6656: dead code remove diversity code
...
bDiversityRegCtlON is always false.
In later vendor driver code has been commented out.
Remove diversity timers and variables.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-23 21:35:27 +09:00
Malcolm Priestley
91e2f7f961
staging: vt6656: remove dead code tcrc.c/h
...
Functions are now dead and of no use.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-23 21:35:27 +09:00
Malcolm Priestley
929cb313fb
staging: vt6656: s_vSWencryption replace CRCdwGetCrc32Ex
...
Replace with ether_crc_le which gives the same result.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-23 21:35:27 +09:00
Malcolm Priestley
a06978bc6d
staging: vt6656: ETHbIsBufferCrc32Ok replace CRCdwGetCrc32
...
CRCdwGetCrc32 is a bitwise not of ether_crc_le.
Replace with ether_crc_le.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-23 21:35:27 +09:00
Malcolm Priestley
4fccf1d6b5
staging: vt6656: iowpa.h removed dead code.
...
Remove dead strutures
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-23 21:35:27 +09:00
Malcolm Priestley
c90ebb63d8
staging: vt6656: iocmd.h remove dead code.
...
Remove dead strutures and macros.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-23 21:35:26 +09:00
Malcolm Priestley
19440266b8
staging: vt6656: clean up BBvUpdatePreEDThreshold
...
Camel case changes
pDevice -> priv
bScanning -> scanning
White space cleanup
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-19 15:23:23 -07:00
Malcolm Priestley
6d5485af95
staging: vt6656: BBvUpdatePreEDThreshold change byBBPreEDIndex
...
assign pDevice->byBBPreEDIndex to ed_idx and change ed_inx
value in switch.
If ed_inx == byBBPreEDIndex and not bScanning return out.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-19 15:23:23 -07:00
Malcolm Priestley
7794dad672
staging: vt6656: BBvUpdatePreEDThreshold reorganize ControlvWriteByte.
...
Create variables cr_201 and cr 206 with values for registers 0xc9 and 0xce.
Set both to zero .
If cr201 and cr206 are zero drop out.
write both out with ControlvWriteByte.
pDevice->byBBPreEDIndex breaks will be dealt with in next patch
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-19 15:23:23 -07:00
Malcolm Priestley
0b7021f57b
staging: vt6656: BBvUpdatePreEDThreshold replace debug messages.
...
Replace DBG_PRT with single dev_dbg with calling function
and byBBPreEDRSSI value.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-19 15:23:23 -07:00
Malcolm Priestley
36c69f3ce5
staging: vt6656: BBvExitDeepSleep remove camel case.
...
pDevice -> priv
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-19 15:23:23 -07:00
Malcolm Priestley
07c116f29c
staging: vt6656: BBvSetDeepSleep remove camel case
...
pDevice -> priv
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-19 15:23:22 -07:00
Malcolm Priestley
15897f6724
staging: vt6656: BBvSetVGAGainOffset remove camel case
...
pDevice -> priv
byData -> data
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-19 15:23:22 -07:00
Malcolm Priestley
4bdb312028
staging: vt6656: BBvSetShortSlotTime remove camel case.
...
pDevice -> priv
byBBVGA -> bb_vga
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-19 15:23:22 -07:00
Malcolm Priestley
53dab3280b
staging: vt6656: BBvSetAntennaMode remove camel case.
...
changes
pDevice -> priv
byAntennaMode -> antenna_mode
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-19 15:23:22 -07:00
Malcolm Priestley
efe40c09b8
staging: vt6656: clean up BBvSetAntennaMode.
...
white space clean up.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-19 15:23:22 -07:00
Malcolm Priestley
a1ff543514
staging: vt6656: BBvCalculateParameter remove camel case
...
Camel case changes
pDevice, cbFrameLength, wRate, byPacketType, cbBitCount, cbUsCount
cbTmp, bExtBit, byPreambleType
->
priv, frame_length, tx_rate, pkt_type, bit_count, count,
tmp, ext_bit, preamble_type
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-19 15:23:22 -07:00
Malcolm Priestley
a4fb3e78b7
staging: vt6656: checkpatch cleanup BBvCalculateParameter.
...
White space clean up.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-19 15:23:21 -07:00