User`s guide

Aironet Wireless Communications, Inc. 7-40 Confidential and Proprietary
PayloadLen = len - 12;
bap0_write(&PayloadLen, sizeof(PayloadLen));
bap0_write(pPacket, len);
// issue the transmit command
Cmd.Command = CMD_TRANSMIT;
Cmd.Param0 = TxFid;
if (issuecommand(&cmd, &rsp) != SUCCESS) return ERROR;
if ( (rsp.Status & 0xFF00) != 0) return ERROR;
// -- the following may be executed later in interrupt context
// wait for the transmit to complete
while ( ( (EvStat = IN4500(EVSTAT)) & (EV_TX|EV_TXEXC)) == 0) ;
// get the allocated fid and acknowledge
TxFid = IN4500(TXCOMPLFID);
// optionally read the return status
if (EvStat & EV_TXEXC) {
if (bap0_setup(TxFid, 0x0034) != SUCCESS) return ERROR;
bap0_read(&Status, sizeof(Status));
}
// acknowledge handling of the tx completion
OUT4500(EVACK, EvStat & (EV_TX|EV_TXEXC));
}
Alternatively, the host may keep a fixed number of pre-allocated transmit FIDs which may be reclaimed
when the TxComplFid is indicated to the host. The TxControl field should have the
TXCTL_NORELEASE bit set in this case.
FID without 802.3 Header – Access Point Mode
On a host based Access Point, the card is typically configured to operate without 802.3 Headers. The
Access Point reads all required information directly from the 802.11 header, so the 802.3 header is
eliminated for efficiency.
The Receive 802.3 Header may be disabled by setting the PayloadType bit in the OperatingMode field of
the general configuration.
The Transmit 802.3 Header is disabled by setting the PayloadType bit in the TxControl field in the
Control header.
Protocol encapsulation changes are still required for ethernet hosts; hence the gap field is still present.
Receive 802.11 management and control packets will have a gap length of zero. Receive 802.11 data
packets may have a gap length of 0, 2 or 8.