--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ns-3-users/2faaca75-1ddd-438e-8c7c-446cf1b94be3n%40googlegroups.com.
My goal is to obtain the BER or set a fixed BER in WifiPhy. To achieve this, I attempted to use the RateErrorModel, but I discovered that it works only for wired connections (e.g., PointToPointNetDevice). I found that we cannot directly use the RateErrorModel for WifiPhy; however, we can utilize the PostReceptionErrorModel attribute to set a RateErrorModel and apply a fixed BER after reception.
However, I am currently stuck on how to trace or track packets that are dropped post reception. Since I am unable to trace them, I cannot confirm whether the BER has been applied correctly. My understanding is that the PhyRxDrop TraceSource only triggers the corresponding callback function DURING reception. Since the error model drops packets after reception, they do not appear in the corresponding callback function for PhyRxDrop.
Could someone please suggest how to trace the packets dropped via the Post Reception Error Model?
Thank you.
Best Regards,
Jiten Patel