Dear Nicola,
Thank you very much for the reply!
It must be a coincidence, I thought of the exact solution you
mentioned in that thread and implemented it last day :)
To be exact, what I do in the YansWifiChannel::Send() method is to
send the packet to any node within the tx range and is operating in a
channel which overlaps with the current sender's channel. However,
since the packet goes to that node as if it is intended to it (perhaps
I should change it so that the node just drops the packet?), I am not
sure how the backoff counters, etc are calculated. But for the time
being, I think this solution works.
One solution I tried before this one was to keep a list of PHYs that
are in vicinity with overlapping channels, pass this list on to the
DcfManager::DoGrantAccess so that I could send a collision
notification to the requester if any of other nodes in this list is
currently txing so that it backsoff. This did not work, however.
I will look into the spectrum framework, and see what I could do with
it. I hope it's OK to contact you in case I have some question on
this.
Thank you very much once again.
Regards,
Anand
On May 21, 10:05 pm, Nicola Baldo <
nba...@cttc.es> wrote:
> Hi Anand,
>
> one quick solution is the one I described some time ago here:
http://groups.google.com/group/ns-3-users/browse_thread/thread/f0f6be...
>
> you can find an example of such an adjacent-channel attenuation model
> in this paper:
> Eduard Garcia Villegas, Elena Lopez-Aguilera, Rafael Vidal, Josep
> Paradells, "Effect of adjacent-channel interference in IEEE 802. 1
> WLANs"
> see in particular table I in the paper.
>
> once you use this model, you just need to forward the packet from the
> channel to the phy of all nodes in adjacent channels; then,
> YansWifiPhy will automatically take care of CCA and other stuff
> (including possibly receiving packets coming from adjacent channels,
> as happens with real devices).
>
> Note however that this model is somewhat coarse. A more accurate
> modeling could be done using the spectrum framework:
http://iptechwiki.cttc.es/Ns3_Spectrum
>
> however this would require significant development effort in order to
> properly integrate Spectrum and Wifi. I have a clear idea on how to do
> it, so I could provide some guidance, but, I repeat, it requires
> significant development effort.
>
> Nicola
>
> --
> You received this message because you are subscribed to the Google Groups "ns-3-users" group.To post to this group, send email
tons-3...@googlegroups.com.To unsubscribe from this group, send email
tons-3-users...@googlegroups.com.