staging: vt6656: rename CARDvUpdateBasicTopRate to vnt_update_top_rates

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>
This commit is contained in:
Malcolm Priestley 2014-05-30 16:27:45 +01:00 committed by Greg Kroah-Hartman
parent c7ee9eeb47
commit 47203c49e1
2 changed files with 4 additions and 4 deletions

View file

@ -22,7 +22,7 @@
* s_vSafeResetTx - Rest Tx * s_vSafeResetTx - Rest Tx
* CARDvSetRSPINF - Set RSPINF * CARDvSetRSPINF - Set RSPINF
* vnt_update_ifs - Update slotTime,SIFS,DIFS, and EIFS * vnt_update_ifs - Update slotTime,SIFS,DIFS, and EIFS
* CARDvUpdateBasicTopRate - Update BasicTopRate * vnt_update_top_rates - Update BasicTopRate
* CARDbAddBasicRate - Add to BasicRateSet * CARDbAddBasicRate - Add to BasicRateSet
* CARDbSetBasicRate - Set Basic Tx Rate * CARDbSetBasicRate - Set Basic Tx Rate
* CARDbIsOFDMinBasicRate - Check if any OFDM rate is in BasicRateSet * CARDbIsOFDMinBasicRate - Check if any OFDM rate is in BasicRateSet
@ -465,7 +465,7 @@ void vnt_update_ifs(struct vnt_private *priv)
MESSAGE_REQUEST_MACREG, 1, &max_min); MESSAGE_REQUEST_MACREG, 1, &max_min);
} }
void CARDvUpdateBasicTopRate(struct vnt_private *priv) void vnt_update_top_rates(struct vnt_private *priv)
{ {
u8 top_ofdm = RATE_24M, top_cck = RATE_1M; u8 top_ofdm = RATE_24M, top_cck = RATE_1M;
u8 i; u8 i;
@ -511,7 +511,7 @@ void CARDbAddBasicRate(struct vnt_private *priv, u16 rate_idx)
priv->wBasicRate |= (1 << rate_idx); priv->wBasicRate |= (1 << rate_idx);
/*Determines the highest basic rate.*/ /*Determines the highest basic rate.*/
CARDvUpdateBasicTopRate(priv); vnt_update_top_rates(priv);
} }
int CARDbIsOFDMinBasicRate(struct vnt_private *priv) int CARDbIsOFDMinBasicRate(struct vnt_private *priv)

View file

@ -48,7 +48,7 @@ struct vnt_private;
void vnt_set_channel(struct vnt_private *, u32); void vnt_set_channel(struct vnt_private *, u32);
void CARDvSetRSPINF(struct vnt_private *, u8); void CARDvSetRSPINF(struct vnt_private *, u8);
void vnt_update_ifs(struct vnt_private *); void vnt_update_ifs(struct vnt_private *);
void CARDvUpdateBasicTopRate(struct vnt_private *); void vnt_update_top_rates(struct vnt_private *);
void CARDbAddBasicRate(struct vnt_private *, u16); void CARDbAddBasicRate(struct vnt_private *, u16);
int CARDbIsOFDMinBasicRate(struct vnt_private *pDevice); int CARDbIsOFDMinBasicRate(struct vnt_private *pDevice);
void CARDvAdjustTSF(struct vnt_private *pDevice, u8 byRxRate, void CARDvAdjustTSF(struct vnt_private *pDevice, u8 byRxRate,