linux/drivers/staging/vt6656
Malcolm Priestley 5a5d6a80cf staging: vt6656: desc.h Remove typedef struct tagSMICHDRHead to new structure in rxtx.h
To new structure.
typedef struct tagSMICHDRHead -> struct vnt_mic_hdr

This is only needed by rxtc.c so moved to rxtx.h

The new structure is the same size as the old but
contains the members as pointer referenced in
rxtx.c s_vFillTxKey
u8 id
	*pMICHDR = 0x59;
u8 tx_priority;
	*((u8 *)(pMICHDR+1)) = 0; // TxPriority
u8 mic_addr2[6];
	memcpy(pMICHDR+2, &(pMACHeader->addr2[0]), 6);
__be32 tsc_47_16;
	pMICHDR+8 = HIBYTE(HIWORD(pTransmitKey->dwTSC47_16));
	pMICHDR+9 = LOBYTE(HIWORD(pTransmitKey->dwTSC47_16));
	pMICHDR+10 = HIBYTE(LOWORD(pTransmitKey->dwTSC47_16));
	pMICHDR+11 = LOBYTE(LOWORD(pTransmitKey->dwTSC47_16));
__be16 tsc_15_0;
	pMICHDR+12 = HIBYTE(pTransmitKey->wTSC15_0);
	pMICHDR+13 = LOBYTE(pTransmitKey->wTSC15_0);
__be16 payload_len;
	pMICHDR+14 = HIBYTE(wPayloadLen);
	pMICHDR+15 = LOBYTE(wPayloadLen);
__be16 hlen;
	pMICHDR+16 = 0; // HLEN[15:8]
	pMICHDR+17 = 28; // HLEN[7:0]
__le16 frame_control;
	memcpy(pMICHDR+18, (u8 *)&wValue, 2); // MSKFRACTL
u8 addr1[6];
	memcpy(pMICHDR+20, &(pMACHeader->addr1[0]), 6);
u8 addr2[6];
	memcpy(pMICHDR+26, &(pMACHeader->addr2[0]), 6);
u8 addr3[6];
	memcpy(pMICHDR+32, &(pMACHeader->addr3[0]), 6);
__le16 seq_ctrl;
	memcpy(pMICHDR+38, (u8 *)&wValue, 2); // MSKSEQCTL
u8 addr4[6];
	memcpy(pMICHDR+40, &(pMACHeader->addr4[0]), 6);
u16 packing; /* packing to 48 bytes */

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-08-23 10:11:02 -07:00
..
80211hdr.h staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
80211mgr.c staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
80211mgr.h staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
aes_ccmp.c staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
aes_ccmp.h staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
baseband.c staging: vt6656: baseband.c BBvCalculateParameter create structure for pwPhyLen, pbyPhySrv and pbyPhySgn 2013-08-21 10:13:27 -07:00
baseband.h staging: vt6656: baseband.c BBvCalculateParameter create structure for pwPhyLen, pbyPhySrv and pbyPhySgn 2013-08-21 10:13:27 -07:00
bssdb.c staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
bssdb.h staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
card.c staging: vt6656: baseband.c BBvCalculateParameter create structure for pwPhyLen, pbyPhySrv and pbyPhySgn 2013-08-21 10:13:27 -07:00
card.h staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
channel.c staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
channel.h staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
control.c staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
control.h staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
country.h staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
datarate.c staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
datarate.h staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
desc.h staging: vt6656: desc.h Remove typedef struct tagSMICHDRHead to new structure in rxtx.h 2013-08-23 10:11:02 -07:00
device_cfg.h staging: vt6656: remove dead code DBG_PORT80/VIAWET_DEBUG 2013-07-25 13:39:41 -07:00
device.h staging: vt6656: device.h unused variables 2013-07-31 17:42:53 -07:00
dpc.c staging: vt6656: Remove dead code macro ASSERT 2013-07-25 13:39:02 -07:00
dpc.h staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
firmware.c staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
firmware.h staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
hostap.c staging: vt6656: use free_netdev instead of kfree 2013-05-13 05:52:33 -07:00
hostap.h staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
int.c staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
int.h staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
iocmd.h staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
iowpa.h staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
iwctl.c staging: vt6656: [bug] Fix missing spin lock in iwctl_siwpower. 2013-05-16 16:27:38 -07:00
iwctl.h staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
Kconfig
key.c staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
key.h staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
mac.c staging: vt6656: mac.c MACvDisableKeyEntry remove dead code wOffset 2013-06-17 14:55:32 -07:00
mac.h staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
main_usb.c staging: vt6656: dead code wCTSDuration. 2013-07-31 17:42:51 -07:00
Makefile staging: vt6656: dead code remove ioctl.c/h 2012-11-26 16:24:16 -08:00
mib.c staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
mib.h staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
michael.c staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
michael.h staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
power.c staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
power.h staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
rc4.c staging: vt6656: replaced custom BYTE definition with u8 2013-03-11 09:18:46 -07:00
rc4.h staging: vt6656: remove code placeholders 2013-03-25 11:06:09 -07:00
rf.c staging: vt6656: rf.c: Remove camel case from local variables 2013-05-30 21:09:05 +09:00
rf.h staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
rndis.h staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
rxtx.c staging: vt6656: desc.h Remove typedef struct tagSMICHDRHead to new structure in rxtx.h 2013-08-23 10:11:02 -07:00
rxtx.h staging: vt6656: desc.h Remove typedef struct tagSMICHDRHead to new structure in rxtx.h 2013-08-23 10:11:02 -07:00
srom.h staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
tcrc.c staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
tcrc.h staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
tether.c staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
tether.h staging: vt6656: remove unused definitions 2013-05-13 18:08:18 -04:00
tkip.c staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
tkip.h staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
tmacro.h staging: vt6656: remove unused definitions 2013-05-13 18:08:18 -04:00
TODO staging: vt6656: removed no longer useful ttype.h file 2013-03-11 09:18:47 -07:00
usbpipe.c staging: vt6656: Remove dead code macro ASSERT 2013-07-25 13:39:02 -07:00
usbpipe.h staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
vntconfiguration.dat
wcmd.c staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
wcmd.h staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
wctl.c staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
wctl.h staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
wmgr.c staging: vt6656: remove dead code DBG_PORT80/VIAWET_DEBUG 2013-07-25 13:39:41 -07:00
wmgr.h staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
wpa2.c staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
wpa2.h staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
wpa.c staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
wpa.h staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
wpactl.c staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00
wpactl.h staging: vt6656: remove consecutive newlines 2013-03-28 16:06:27 -07:00