The driver never sets basic rate any more so remove function.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
priv->byTopCCKBasicRate = top_cck;
}
-/*
- * Description: Set NIC Tx Basic Rate
- *
- * Parameters:
- * In:
- * pDevice - The adapter to be set
- * wBasicRate - Basic Rate to be set
- * Out:
- * none
- *
- * Return Value: true if succeeded; false if failed.
- *
- */
-void vnt_add_basic_rate(struct vnt_private *priv, u16 rate_idx)
-{
-
- priv->wBasicRate |= (1 << rate_idx);
-
- /*Determines the highest basic rate.*/
- vnt_update_top_rates(priv);
-}
-
int vnt_ofdm_min_rate(struct vnt_private *priv)
{
int ii;
void vnt_set_rspinf(struct vnt_private *, u8);
void vnt_update_ifs(struct vnt_private *);
void vnt_update_top_rates(struct vnt_private *);
-void vnt_add_basic_rate(struct vnt_private *, u16);
int vnt_ofdm_min_rate(struct vnt_private *);
void vnt_adjust_tsf(struct vnt_private *, u8, u64, u64);
bool vnt_get_current_tsf(struct vnt_private *, u64 *);
* set BB and packet type at the same time
* set Short Slot Time, xIFS, and RSPINF
*/
- if (pDevice->byBBType == BB_TYPE_11A) {
- vnt_add_basic_rate(pDevice, RATE_6M);
+ if (pDevice->byBBType == BB_TYPE_11A)
pDevice->bShortSlotTime = true;
- } else {
- vnt_add_basic_rate(pDevice, RATE_1M);
+ else
pDevice->bShortSlotTime = false;
- }
BBvSetShortSlotTime(pDevice);
vnt_set_bss_mode(pDevice);