Hi Rediet,
Thanks for your response. I have another question: In the file src/wifi/model/yans-wifi-phy.cc, the decision whether a packet is successfully received or not is determined by: (Line 545)
if (m_random->GetValue () > snrPer.per)
{
//Packet Reception Successful
}
else
{
//Failure
}
where m_random is of type UniformRandomVariable. I'm not really able to understand how this works. How can a value generated, as per the uniform distribution, model the threshold for SNR? Shouldn't the threshold be a pre-decided one (As per BER vs. SNR tables)?