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

staging: vt6656: rxtx: Replace wRTSTxRrvTime*

Fix base type to __le16 and remove camel case.

Camel case changes
wRTSTxRrvTime* -> rts_rrv_time*
Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fadc3bdf
...@@ -816,11 +816,11 @@ static u16 s_vGenerateTxParameter(struct vnt_private *pDevice, ...@@ -816,11 +816,11 @@ static u16 s_vGenerateTxParameter(struct vnt_private *pDevice,
struct vnt_rrv_time_rts *pBuf = struct vnt_rrv_time_rts *pBuf =
&tx_buffer->tx_head.tx_rts.rts; &tx_buffer->tx_head.tx_rts.rts;
pBuf->wRTSTxRrvTime_aa = s_uGetRTSCTSRsvTime(pDevice, 2, pBuf->rts_rrv_time_aa = s_uGetRTSCTSRsvTime(pDevice, 2,
byPktType, cbFrameSize, wCurrentRate); byPktType, cbFrameSize, wCurrentRate);
pBuf->wRTSTxRrvTime_ba = s_uGetRTSCTSRsvTime(pDevice, 1, pBuf->rts_rrv_time_ba = s_uGetRTSCTSRsvTime(pDevice, 1,
byPktType, cbFrameSize, wCurrentRate); byPktType, cbFrameSize, wCurrentRate);
pBuf->wRTSTxRrvTime_bb = s_uGetRTSCTSRsvTime(pDevice, 0, pBuf->rts_rrv_time_bb = s_uGetRTSCTSRsvTime(pDevice, 0,
byPktType, cbFrameSize, wCurrentRate); byPktType, cbFrameSize, wCurrentRate);
pBuf->wTxRrvTime_a = vnt_rxtx_rsvtime_le16(pDevice, pBuf->wTxRrvTime_a = vnt_rxtx_rsvtime_le16(pDevice,
...@@ -880,7 +880,7 @@ static u16 s_vGenerateTxParameter(struct vnt_private *pDevice, ...@@ -880,7 +880,7 @@ static u16 s_vGenerateTxParameter(struct vnt_private *pDevice,
struct vnt_rrv_time_ab *pBuf = &tx_buffer-> struct vnt_rrv_time_ab *pBuf = &tx_buffer->
tx_head.tx_ab.ab; tx_head.tx_ab.ab;
pBuf->wRTSTxRrvTime = s_uGetRTSCTSRsvTime(pDevice, 2, pBuf->rts_rrv_time = s_uGetRTSCTSRsvTime(pDevice, 2,
byPktType, cbFrameSize, wCurrentRate); byPktType, cbFrameSize, wCurrentRate);
pBuf->wTxRrvTime = vnt_rxtx_rsvtime_le16(pDevice, pBuf->wTxRrvTime = vnt_rxtx_rsvtime_le16(pDevice,
...@@ -914,7 +914,7 @@ static u16 s_vGenerateTxParameter(struct vnt_private *pDevice, ...@@ -914,7 +914,7 @@ static u16 s_vGenerateTxParameter(struct vnt_private *pDevice,
struct vnt_rrv_time_ab *pBuf = &tx_buffer-> struct vnt_rrv_time_ab *pBuf = &tx_buffer->
tx_head.tx_ab.ab; tx_head.tx_ab.ab;
pBuf->wRTSTxRrvTime = s_uGetRTSCTSRsvTime(pDevice, 0, pBuf->rts_rrv_time = s_uGetRTSCTSRsvTime(pDevice, 0,
byPktType, cbFrameSize, wCurrentRate); byPktType, cbFrameSize, wCurrentRate);
pBuf->wTxRrvTime = vnt_rxtx_rsvtime_le16(pDevice, pBuf->wTxRrvTime = vnt_rxtx_rsvtime_le16(pDevice,
......
...@@ -53,9 +53,9 @@ struct vnt_mic_hdr { ...@@ -53,9 +53,9 @@ struct vnt_mic_hdr {
/* RsvTime buffer header */ /* RsvTime buffer header */
struct vnt_rrv_time_rts { struct vnt_rrv_time_rts {
u16 wRTSTxRrvTime_ba; __le16 rts_rrv_time_ba;
u16 wRTSTxRrvTime_aa; __le16 rts_rrv_time_aa;
u16 wRTSTxRrvTime_bb; __le16 rts_rrv_time_bb;
u16 wReserved; u16 wReserved;
u16 wTxRrvTime_b; u16 wTxRrvTime_b;
u16 wTxRrvTime_a; u16 wTxRrvTime_a;
...@@ -69,7 +69,7 @@ struct vnt_rrv_time_cts { ...@@ -69,7 +69,7 @@ struct vnt_rrv_time_cts {
} __packed; } __packed;
struct vnt_rrv_time_ab { struct vnt_rrv_time_ab {
u16 wRTSTxRrvTime; __le16 rts_rrv_time;
u16 wTxRrvTime; u16 wTxRrvTime;
} __packed; } __packed;
......
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