Veins 是否支持 802.11p 单播通信?
我检查了 Veins 框架中“Mac1609_4”类的源代码。参考以下代码片段:
WaveShortMessage* wsm = dynamic_cast<WaveShortMessage*>(macPkt-> decapsulate());
long dest = macPkt->getDestAddr();
DBG_MAC << "Received frame name= " << macPkt->getName()
<< ", myState=" << " src=" << macPkt->getSrcAddr()
<< " dst=" << macPkt->getDestAddr() << " myAddr="
<< myMacAddress << std::endl;
if (macPkt->getDestAddr() == myMacAddress) {
DBG_MAC << "Received a data packet addressed to me." << std::endl;
statsReceivedPackets++;
sendUp(wsm);
}
似乎实现的 MAC 层可以接收单播数据包,但我找不到任何方法来发送单播通信所需的 MAC 层确认。请问有什么建议吗?
还有 Christoph Sommer 等人的出版物。单播通信在 802.11p 中被认为是有害的。是不是因为论文中提到的原因,Veins 框架不支持单播通信?