User`s guide
Aironet Wireless Communications, Inc. 7-29 Confidential and Proprietary
Set PHY Register Command
The Set PHY register command takes:
Param0 = PHY register offset
Param1 = ClearBits
Param2 = SetBits
The PHY register will only be modified if ClearBits or SetBits are non-zero:
Phy = (Phy & (~ClearBits)) | SetBits;
In any event, the resultant (or existing if not modified) PHY value is returned in Resp0.
To read a PHY register, set ClearBits and SetBits to zero.
Note, the PC4500/4800 PHY specifies the register offsets in byte offsets, these have to be multiplied by
two to get the word offset.
Special PHY Register Offsets map to local variables for controlling the transmitter tests as follows:
PC4500/4800 Direct Sequence PHY Register Description
0x8000 PLCP word to precede all transmissions
0x8002 Frequency to be used for a transmitter test
0x8004 Transmit power (milliwatts)
0x8006 RSSI Threshold override
Transmitter Test Command
The transmitter test command accepts three optional parameters:
Param0 = command block
Param1 = frequency block
Param2 = pattern block
The command block contains a list of commands as follows:
0x0000 Ends the transmitter test
0x0001 Loop back to the beginning of the commands
0x0002 Start transmitting
0x0003 Stop transmitting
0x0004 Delay for N usec where N is the next word
0x0005 Delay for N Kusec where N is the next word
0x0006 Go to the next frequency in the frequency RID
0x0007 Start receive mode
Three blocks of memory must be pre-allocated using the Allocate Buffer command. These blocks are
automatically freed when tests are completed normally. In the event that the tests are not completed
normally, the blocks should be manually freed.
The frequency block contains a list of frequencies where 0 is 2400 MHz. The frequency block is only
useful if there is a command block with the “Goto next frequency” command embedded in it. The pattern
block contains a pattern of even length for transmission. A pattern block may be passed down regardless of
whether there is a command block.
The following is sample code:
// note, these blocks of memory do not have the u16RidLen at the beginning
// used to transfer the command, frequency and pattern blocks to the PC4500/4800