inet-3.6.4/src/inet/linklayer/xmac/XMacLayer.cc
/**
 * Send one short preamble packet immediately.
 */
Send one short preamble packet immediately.
Send one short preamble packet immediately .
void XMacLayer::sendMacAck()
{
    XMacFrame* ack = new XMacFrame("Acknowledgment");
	ack->setSrc(address);
	ack->setDest(lastPreamblePktSrcAddr);
	ack->setKind(XMAC_ACK);
	ack->setBitLength(headerLength);
    attachSignal(ack, simTime());
	sendDown(ack);
	nbTxAcks++;
}
void XMacLayer :: sendMacAck ( ) { XMacFrame * ack = new XMacFrame ( " " ) ; ack -> setSrc ( address ) ; ack -> setDest ( lastPreamblePktSrcAddr ) ; ack -> setKind ( XMAC_ACK ) ; ack -> setBitLength ( headerLength ) ; attachSignal ( ack , simTime ( ) ) ; sendDown ( ack ) ; nbTxAcks ++ ; }
Send one short preamble packet immediately.
Send one short preamble packet immediately .
//~ diff with BMAC, ack_preamble_based
