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

staging: vt6655: rxtx remove dead functions

Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8d0126b1
...@@ -135,7 +135,5 @@ bool IEEE11hbMSRRepTx(void *pMgmtHandle) ...@@ -135,7 +135,5 @@ bool IEEE11hbMSRRepTx(void *pMgmtHandle)
pTxPacket->cbMPDULen = uLength; pTxPacket->cbMPDULen = uLength;
pTxPacket->cbPayloadLen = uLength - WLAN_HDR_ADDR3_LEN; pTxPacket->cbPayloadLen = uLength - WLAN_HDR_ADDR3_LEN;
if (csMgmt_xmit(pMgmt->pAdapter, pTxPacket) != CMD_STATUS_PENDING)
return false;
return true; return true;
} }
This diff is collapsed.
...@@ -189,40 +189,6 @@ struct vnt_tx_short_buf_head { ...@@ -189,40 +189,6 @@ struct vnt_tx_short_buf_head {
__le16 time_stamp_off; __le16 time_stamp_off;
} __packed; } __packed;
void
vGenerateMACHeader(
struct vnt_private *,
unsigned char *pbyBufferAddr,
unsigned short wDuration,
PSEthernetHeader psEthHeader,
bool bNeedEncrypt,
unsigned short wFragType,
unsigned int uDMAIdx,
unsigned int uFragIdx
);
unsigned int
cbGetFragCount(
struct vnt_private *,
PSKeyItem pTransmitKey,
unsigned int cbFrameBodySize,
PSEthernetHeader psEthHeader
);
void
vGenerateFIFOHeader(struct vnt_private *, unsigned char byPktTyp,
unsigned char *pbyTxBufferAddr, bool bNeedEncrypt,
unsigned int cbPayloadSize, unsigned int uDMAIdx,
PSTxDesc pHeadTD, PSEthernetHeader psEthHeader,
unsigned char *pPacket, PSKeyItem pTransmitKey,
unsigned int uNodeIndex, unsigned int *puMACfragNum,
unsigned int *pcbHeaderSize);
void vDMA0_tx_80211(struct vnt_private *, struct sk_buff *skb,
unsigned char *pbMPDU, unsigned int cbMPDULen);
CMD_STATUS csMgmt_xmit(struct vnt_private *, PSTxMgmtPacket pPacket);
CMD_STATUS csBeacon_xmit(struct vnt_private *, PSTxMgmtPacket pPacket);
int vnt_generate_fifo_header(struct vnt_private *, u32, int vnt_generate_fifo_header(struct vnt_private *, u32,
PSTxDesc head_td, struct sk_buff *); PSTxDesc head_td, struct sk_buff *);
int vnt_beacon_make(struct vnt_private *, struct ieee80211_vif *); int vnt_beacon_make(struct vnt_private *, struct ieee80211_vif *);
......
...@@ -66,12 +66,11 @@ bool ROUTEbRelay(struct vnt_private *pDevice, unsigned char *pbySkbData, ...@@ -66,12 +66,11 @@ bool ROUTEbRelay(struct vnt_private *pDevice, unsigned char *pbySkbData,
PSMgmtObject pMgmt = pDevice->pMgmt; PSMgmtObject pMgmt = pDevice->pMgmt;
PSTxDesc pHeadTD, pLastTD; PSTxDesc pHeadTD, pLastTD;
unsigned int cbFrameBodySize; unsigned int cbFrameBodySize;
unsigned int uMACfragNum; unsigned int uMACfragNum = 0;
unsigned char byPktType; unsigned char byPktType;
bool bNeedEncryption = false; bool bNeedEncryption = false;
SKeyItem STempKey; SKeyItem STempKey;
PSKeyItem pTransmitKey = NULL; PSKeyItem pTransmitKey = NULL;
unsigned int cbHeaderSize;
unsigned int ii; unsigned int ii;
unsigned char *pbyBSSID; unsigned char *pbyBSSID;
...@@ -120,9 +119,6 @@ bool ROUTEbRelay(struct vnt_private *pDevice, unsigned char *pbySkbData, ...@@ -120,9 +119,6 @@ bool ROUTEbRelay(struct vnt_private *pDevice, unsigned char *pbySkbData,
} }
} }
uMACfragNum = cbGetFragCount(pDevice, pTransmitKey,
cbFrameBodySize, &pDevice->sTxEthHeader);
if (uMACfragNum > AVAIL_TD(pDevice, TYPE_AC0DMA)) if (uMACfragNum > AVAIL_TD(pDevice, TYPE_AC0DMA))
return false; return false;
...@@ -152,12 +148,6 @@ bool ROUTEbRelay(struct vnt_private *pDevice, unsigned char *pbySkbData, ...@@ -152,12 +148,6 @@ bool ROUTEbRelay(struct vnt_private *pDevice, unsigned char *pbySkbData,
if (pDevice->wCurrentRate <= RATE_11M) if (pDevice->wCurrentRate <= RATE_11M)
byPktType = PK_TYPE_11B; byPktType = PK_TYPE_11B;
vGenerateFIFOHeader(pDevice, byPktType, pDevice->pbyTmpBuff,
bNeedEncryption, cbFrameBodySize, TYPE_AC0DMA,
pHeadTD, &pDevice->sTxEthHeader, pbySkbData,
pTransmitKey, uNodeIndex, &uMACfragNum,
&cbHeaderSize);
if (MACbIsRegBitsOn(pDevice->PortOffset, MAC_REG_PSCTL, PSCTL_PS)) { if (MACbIsRegBitsOn(pDevice->PortOffset, MAC_REG_PSCTL, PSCTL_PS)) {
/* Disable PS */ /* Disable PS */
MACbPSWakeup(pDevice->PortOffset); MACbPSWakeup(pDevice->PortOffset);
......
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