staging: vt6656: rename BBvUpdatePreEDThreshold to vnt_update_pre_ed_threshold
Dropping BB Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
0e951753dc
commit
80dcc0aeb9
|
@ -581,7 +581,7 @@ void vnt_exit_deep_sleep(struct vnt_private *priv)
|
|||
vnt_control_out_u8(priv, MESSAGE_REQUEST_BBREG, 0x0d, 0x01);/* CR13 */
|
||||
}
|
||||
|
||||
void BBvUpdatePreEDThreshold(struct vnt_private *priv, int scanning)
|
||||
void vnt_update_pre_ed_threshold(struct vnt_private *priv, int scanning)
|
||||
{
|
||||
u8 cr_201 = 0x0, cr_206 = 0x0;
|
||||
u8 ed_inx = priv->byBBPreEDIndex;
|
||||
|
|
|
@ -99,6 +99,6 @@ void vnt_set_antenna_mode(struct vnt_private *, u8);
|
|||
int vnt_vt3184_init(struct vnt_private *);
|
||||
void vnt_set_deep_sleep(struct vnt_private *);
|
||||
void vnt_exit_deep_sleep(struct vnt_private *);
|
||||
void BBvUpdatePreEDThreshold(struct vnt_private *, int scanning);
|
||||
void vnt_update_pre_ed_threshold(struct vnt_private *, int scanning);
|
||||
|
||||
#endif /* __BASEBAND_H__ */
|
||||
|
|
|
@ -882,7 +882,7 @@ static void vnt_bss_info_changed(struct ieee80211_hw *hw,
|
|||
|
||||
vnt_set_short_slot_time(priv);
|
||||
vnt_set_vga_gain_offset(priv, priv->abyBBVGA[0]);
|
||||
BBvUpdatePreEDThreshold(priv, false);
|
||||
vnt_update_pre_ed_threshold(priv, false);
|
||||
}
|
||||
|
||||
if (changed & BSS_CHANGED_TXPOWER)
|
||||
|
@ -1003,7 +1003,7 @@ static void vnt_sw_scan_start(struct ieee80211_hw *hw)
|
|||
|
||||
vnt_set_bss_mode(priv);
|
||||
/* Set max sensitivity*/
|
||||
BBvUpdatePreEDThreshold(priv, true);
|
||||
vnt_update_pre_ed_threshold(priv, true);
|
||||
}
|
||||
|
||||
static void vnt_sw_scan_complete(struct ieee80211_hw *hw)
|
||||
|
@ -1011,7 +1011,7 @@ static void vnt_sw_scan_complete(struct ieee80211_hw *hw)
|
|||
struct vnt_private *priv = hw->priv;
|
||||
|
||||
/* Return sensitivity to channel level*/
|
||||
BBvUpdatePreEDThreshold(priv, false);
|
||||
vnt_update_pre_ed_threshold(priv, false);
|
||||
}
|
||||
|
||||
static int vnt_get_stats(struct ieee80211_hw *hw,
|
||||
|
|
Loading…
Reference in a new issue