Daniel,

So if I understand correctly, I would embed our custom packets in UDP
packets.  This would include the RTS/CTS/ACK MAC packets in addition to the
actual data packets.  The MAC layer, as far as ns-2 is concerned, would just
be a pass-through (not sending its own RTS/CTS).

Do you have an example that I can compile and run with ns-2 (I'm using 2.29
on Cygwin)?  In either case, I would greatly appreciate any documentation
you can point me to get started!

Thanks again,

Jeff

-----Original Message-----
From: Daniel Mahrenholz [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 22, 2006 2:32 PM
To: Jeff Schwentner
Cc: [email protected]
Subject: Re: [ns] Simulating an embedded ad-hoc wireless protocol

Hi Jeff,

Jeff Schwentner schrieb:
> Thanks for the reply!  I read your paper (Unified Development and
Deployment
> of Network Protocols).  If I understand this correctly, it looks like it
> does not encapsulate the MAC layer.  In the firmware I need to simulate,
it
> has its own MAC and custom packet structure.  I really need to simulate
the
> MAC with my network protocol, is it possible to use GEA for this?  If so,
> what modifications would be required?
>   

Currently  we encalsulate all packets into UDP packets. But we 
implemented are own MAC protocol onto of this. The advantage was that it 
was easy to implement, the downside is the additional overhead. We are 
currently working to implement a raw socket interface for ns-2 to 
overcome this problem. At the moment you additionally need to use the 
DumpAgent for routing (so no routing) in ns-2 and maybe a dump MAC layer 
that just passes all packets down to the medium.

Daniel.

Reply via email to