Commit 9ec7f2d8 authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman

staging: vt6656: rename s_vGenerateTxParameter to vnt_generate_tx_parameter

Removing static declaration
Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 165ac77a
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
* Date: May 20, 2003 * Date: May 20, 2003
* *
* Functions: * Functions:
* s_vGenerateTxParameter - Generate tx dma required parameter. * vnt_generate_tx_parameter - Generate tx dma required parameter.
* csBeacon_xmit - beacon tx function * csBeacon_xmit - beacon tx function
* csMgmt_xmit - management tx function * csMgmt_xmit - management tx function
* s_uGetDataDuration - get tx data required duration * s_uGetDataDuration - get tx data required duration
...@@ -83,11 +83,6 @@ static const u16 wFB_Opt1[2][5] = { ...@@ -83,11 +83,6 @@ static const u16 wFB_Opt1[2][5] = {
static struct vnt_usb_send_context *s_vGetFreeContext(struct vnt_private *); static struct vnt_usb_send_context *s_vGetFreeContext(struct vnt_private *);
static u16 s_vGenerateTxParameter(struct vnt_usb_send_context *tx_context,
u8 byPktType, u16 wCurrentRate, struct vnt_tx_buffer *tx_buffer,
struct vnt_mic_hdr **mic_hdr, u32 need_mic, u32 cbFrameSize,
int bNeedACK, bool need_rts);
static unsigned int s_uGetTxRsvTime(struct vnt_private *pDevice, u8 byPktType, static unsigned int s_uGetTxRsvTime(struct vnt_private *pDevice, u8 byPktType,
u32 cbFrameLength, u16 wRate, int bNeedAck); u32 cbFrameLength, u16 wRate, int bNeedAck);
...@@ -702,7 +697,7 @@ static u16 vnt_rxtx_ab(struct vnt_usb_send_context *tx_context, ...@@ -702,7 +697,7 @@ static u16 vnt_rxtx_ab(struct vnt_usb_send_context *tx_context,
* *
-*/ -*/
static u16 s_vGenerateTxParameter(struct vnt_usb_send_context *tx_context, static u16 vnt_generate_tx_parameter(struct vnt_usb_send_context *tx_context,
u8 pkt_type, u16 current_rate, struct vnt_tx_buffer *tx_buffer, u8 pkt_type, u16 current_rate, struct vnt_tx_buffer *tx_buffer,
struct vnt_mic_hdr **mic_hdr, u32 need_mic, u32 frame_size, struct vnt_mic_hdr **mic_hdr, u32 need_mic, u32 frame_size,
int need_ack, bool need_rts) int need_ack, bool need_rts)
...@@ -950,8 +945,8 @@ int vnt_tx_packet(struct vnt_private *priv, struct sk_buff *skb) ...@@ -950,8 +945,8 @@ int vnt_tx_packet(struct vnt_private *priv, struct sk_buff *skb)
tx_context->fb_option = fb_option; tx_context->fb_option = fb_option;
duration_id = s_vGenerateTxParameter(tx_context, pkt_type, current_rate, duration_id = vnt_generate_tx_parameter(tx_context, pkt_type,
tx_buffer, &mic_hdr, need_mic, frame_size, current_rate, tx_buffer, &mic_hdr, need_mic, frame_size,
need_ack, need_rts); need_ack, need_rts);
tx_header_size = tx_context->tx_hdr_size; tx_header_size = tx_context->tx_hdr_size;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment