Commit ecd80240 authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman

staging: vt6656: rxtx.c clean up s_uGetRTSCTSDuration

White space clean up.
Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3dec8f16
...@@ -428,27 +428,30 @@ static u16 s_uGetRTSCTSDuration(struct vnt_private *pDevice, u8 byDurType, ...@@ -428,27 +428,30 @@ static u16 s_uGetRTSCTSDuration(struct vnt_private *pDevice, u8 byDurType,
u32 uCTSTime = 0, uDurTime = 0; u32 uCTSTime = 0, uDurTime = 0;
switch (byDurType) { switch (byDurType) {
case RTSDUR_BB:
case RTSDUR_BB: //RTSDuration_bb case RTSDUR_BA:
case RTSDUR_BA: //RTSDuration_ba case RTSDUR_BA_F0:
case RTSDUR_BA_F0: //RTSDuration_ba_f0 case RTSDUR_BA_F1:
case RTSDUR_BA_F1: //RTSDuration_ba_f1 uCTSTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType,
uCTSTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, pDevice->byTopCCKBasicRate); 14, pDevice->byTopCCKBasicRate);
uDurTime = uCTSTime + 2 * pDevice->uSIFS + s_uGetTxRsvTime(pDevice, uDurTime = uCTSTime + 2 * pDevice->uSIFS +
byPktType, cbFrameLength, wRate, bNeedAck); s_uGetTxRsvTime(pDevice, byPktType,
cbFrameLength, wRate, bNeedAck);
break; break;
case RTSDUR_AA: case RTSDUR_AA:
case RTSDUR_AA_F0: case RTSDUR_AA_F0:
case RTSDUR_AA_F1: //RTSDuration_aa_f1 case RTSDUR_AA_F1:
uCTSTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, pDevice->byTopOFDMBasicRate); uCTSTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType,
uDurTime = uCTSTime + 2 * pDevice->uSIFS + s_uGetTxRsvTime(pDevice, 14, pDevice->byTopOFDMBasicRate);
byPktType, cbFrameLength, wRate, bNeedAck); uDurTime = uCTSTime + 2 * pDevice->uSIFS +
s_uGetTxRsvTime(pDevice, byPktType,
cbFrameLength, wRate, bNeedAck);
break; break;
case CTSDUR_BA: case CTSDUR_BA:
case CTSDUR_BA_F0: //CTSDuration_ba_f0 case CTSDUR_BA_F0:
case CTSDUR_BA_F1: //CTSDuration_ba_f1 case CTSDUR_BA_F1:
uDurTime = pDevice->uSIFS + s_uGetTxRsvTime(pDevice, uDurTime = pDevice->uSIFS + s_uGetTxRsvTime(pDevice,
byPktType, cbFrameLength, wRate, bNeedAck); byPktType, cbFrameLength, wRate, bNeedAck);
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment