2 * Copyright (c) 2004-2005 Atheros Communications Inc.
6 * $ATH_LICENSE_HOSTSDK0_C$
27 mode : TCMD_CONT_TX_OFF - Disabling continous tx
28 TCMD_CONT_TX_SINE - Enable continuous unmodulated tx
29 TCMD_CONT_TX_FRAME- Enable continuous modulated tx
30 freq : Channel freq in Mhz. (e.g 2412 for channel 1 in 11 g)
43 txPwr: Tx power in dBm[5 -11] for unmod Tx, [5-14] for mod Tx
44 antenna: 1 - one antenna
46 Note : Enable/disable continuous tx test cmd works only when target is awake.
57 typedef PREPACK
struct {
65 A_UINT32 scramblerOff
;
69 } POSTPACK TCMD_CONT_TX
;
71 #define TCMD_TXPATTERN_ZERONE 0x1
72 #define TCMD_TXPATTERN_ZERONE_DIS_SCRAMBLE 0x2
75 act: TCMD_CONT_RX_PROMIS - promiscuous mode (accept all incoming frames)
76 TCMD_CONT_RX_FILTER - filter mode (accept only frames with dest
77 address equal specified
78 mac address (set via act =3)
79 TCMD_CONT_RX_REPORT off mode (disable cont rx mode and get the
80 report from the last cont
83 TCMD_CONT_RX_SETMAC - set MacAddr mode (sets the MAC address for the
84 target. This Overrides
85 the default MAC address.)
89 TCMD_CONT_RX_PROMIS
=0,
95 typedef PREPACK
struct {
100 struct PREPACK TCMD_CONT_RX_PARA
{
104 struct PREPACK TCMD_CONT_RX_REPORT
{
108 struct PREPACK TCMD_CONT_RX_MAC
{
109 A_UCHAR addr
[ATH_MAC_LEN
];
112 } POSTPACK TCMD_CONT_RX
;
114 /* Force sleep/wake test cmd
115 mode: TCMD_PM_WAKEUP - Wakeup the target
116 TCMD_PM_SLEEP - Force the target to sleep.
119 TCMD_PM_WAKEUP
= 1, /* be consistent with target */
123 typedef PREPACK
struct {
134 typedef PREPACK
union {
144 #endif /* TESTCMD_H_ */