@@ -278,16 +278,16 @@ bool card_set_phy_parameter(struct vnt_private *priv, u8 bb_type)
278
278
*
279
279
* Parameters:
280
280
* In:
281
- * priv - The adapter to be sync.
282
- * byRxRate - data rate of receive beacon
281
+ * priv - The adapter to be sync.
282
+ * rx_rate - data rate of receive beacon
283
283
* qwBSSTimestamp - Rx BCN's TSF
284
284
* qwLocalTSF - Local TSF
285
285
* Out:
286
286
* none
287
287
*
288
288
* Return Value: none
289
289
*/
290
- bool card_update_tsf (struct vnt_private * priv , unsigned char byRxRate ,
290
+ bool card_update_tsf (struct vnt_private * priv , unsigned char rx_rate ,
291
291
u64 qwBSSTimestamp )
292
292
{
293
293
u64 local_tsf ;
@@ -296,7 +296,7 @@ bool card_update_tsf(struct vnt_private *priv, unsigned char byRxRate,
296
296
local_tsf = vt6655_get_current_tsf (priv );
297
297
298
298
if (qwBSSTimestamp != local_tsf ) {
299
- qwTSFOffset = CARDqGetTSFOffset (byRxRate , qwBSSTimestamp ,
299
+ qwTSFOffset = CARDqGetTSFOffset (rx_rate , qwBSSTimestamp ,
300
300
local_tsf );
301
301
/* adjust TSF, HW's TSF add TSF Offset reg */
302
302
qwTSFOffset = le64_to_cpu (qwTSFOffset );
@@ -708,11 +708,11 @@ unsigned char card_get_pkt_type(struct vnt_private *priv)
708
708
*
709
709
* Return Value: TSF Offset value
710
710
*/
711
- u64 CARDqGetTSFOffset (unsigned char byRxRate , u64 qwTSF1 , u64 qwTSF2 )
711
+ u64 CARDqGetTSFOffset (unsigned char rx_rate , u64 qwTSF1 , u64 qwTSF2 )
712
712
{
713
713
unsigned short wRxBcnTSFOffst ;
714
714
715
- wRxBcnTSFOffst = rx_bcn_tsf_off [byRxRate % MAX_RATE ];
715
+ wRxBcnTSFOffst = rx_bcn_tsf_off [rx_rate % MAX_RATE ];
716
716
717
717
qwTSF2 += (u64 )wRxBcnTSFOffst ;
718
718
0 commit comments