Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit de8690a2 authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman
Browse files

staging: vt6656: rename BBvSetVGAGainOffset to vnt_set_vga_gain_offset

parent 3c956cc0
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -543,7 +543,7 @@ void vnt_set_short_slot_time(struct vnt_private *priv)
	vnt_control_out_u8(priv, MESSAGE_REQUEST_BBREG, 0x0a, priv->byBBRxConf);
	vnt_control_out_u8(priv, MESSAGE_REQUEST_BBREG, 0x0a, priv->byBBRxConf);
}
}


void BBvSetVGAGainOffset(struct vnt_private *priv, u8 data)
void vnt_set_vga_gain_offset(struct vnt_private *priv, u8 data)
{
{


	vnt_control_out_u8(priv, MESSAGE_REQUEST_BBREG, 0xE7, data);
	vnt_control_out_u8(priv, MESSAGE_REQUEST_BBREG, 0xE7, data);
+1 −1
Original line number Original line Diff line number Diff line
@@ -94,7 +94,7 @@ void vnt_get_phy_field(struct vnt_private *, u32 frame_length,
	u16 tx_rate, u8 pkt_type, struct vnt_phy_field *);
	u16 tx_rate, u8 pkt_type, struct vnt_phy_field *);


void vnt_set_short_slot_time(struct vnt_private *);
void vnt_set_short_slot_time(struct vnt_private *);
void BBvSetVGAGainOffset(struct vnt_private *, u8 byData);
void vnt_set_vga_gain_offset(struct vnt_private *, u8);
void vnt_set_antenna_mode(struct vnt_private *, u8);
void vnt_set_antenna_mode(struct vnt_private *, u8);
int vnt_vt3184_init(struct vnt_private *);
int vnt_vt3184_init(struct vnt_private *);
void BBvSetDeepSleep(struct vnt_private *);
void BBvSetDeepSleep(struct vnt_private *);
+1 −1
Original line number Original line Diff line number Diff line
@@ -836,5 +836,5 @@ void vnt_set_bss_mode(struct vnt_private *priv)
		priv->abyBBVGA[3] = 0x0;
		priv->abyBBVGA[3] = 0x0;
	}
	}


	BBvSetVGAGainOffset(priv, priv->abyBBVGA[0]);
	vnt_set_vga_gain_offset(priv, priv->abyBBVGA[0]);
}
}
+1 −1
Original line number Original line Diff line number Diff line
@@ -881,7 +881,7 @@ static void vnt_bss_info_changed(struct ieee80211_hw *hw,
			priv->bShortSlotTime = false;
			priv->bShortSlotTime = false;


		vnt_set_short_slot_time(priv);
		vnt_set_short_slot_time(priv);
		BBvSetVGAGainOffset(priv, priv->abyBBVGA[0]);
		vnt_set_vga_gain_offset(priv, priv->abyBBVGA[0]);
		BBvUpdatePreEDThreshold(priv, false);
		BBvUpdatePreEDThreshold(priv, false);
	}
	}