[ns] Problem with 802.11 MAC layer
Hi, I am currenty coding a MANET protocol in NS. In routing agent, I am able to send the packets to neighbouring nodes but when nodes are trying to send the reply I am getting an error Invalid Control Packet from 802.11physical layer code. I have not changed anything in the physical layer, I have only plugged in my routing layer agent. Please help.. Thanks shibdas
[ns] Problem with Ad-Hoc routinng agent
Hi, I am currently writing a new ad-hoc routing agent in ns-2.29. I have followed the Implementing a new manet routing agent document linked at ns documentation site. My agent implementation makes use of a timer. When the time expires Send_pkt function is called but when I am attaching an application level agent like a CBR agent or FTP between two nodes send_pkt of the routing agent is called. can anyone please help me with the extact calling sequence of the send_pkt function when a higher level agent is attached with a node and starts transferring data. Thanks shibdas