<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Sonia, </div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="margin:0px;font-size:15px;font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;color:rgb(32, 31, 30);background-color:rgb(255, 255, 255)">I am trying to get
 it using one of the methods mentioned by Junxiao. I don't think only packets with 0 SNR are sent to the upper layers. If the ?SNR value is under the acceptable range (below a threshold value), the packets are accepted and sent to the upper layer. </span><br>
<span style="margin:0px;font-size:15px;font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;color:rgb(32, 31, 30);background-color:rgb(255, 255, 255)">At the mac layer, I
 can see all the packets have a certain SNR value, I didn't see any 0 value. Please correct me if I am wrong. </span><br>
</div>
<div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
It depends on what physical layer loss model are you using in the simulations. Ideally, it will be 0, however, I agree, in practical scenario and specifically in a wireless channel case, there will extremely small acceptable value (only in the absence of obstacles
 and if the signal strength is strong) otherwise, IMHO, the packet will be requested again.  So, if you still need those "small values" at network layer, it is fine and depends on your proposed scheme. Looking forward to your solution for sharing tags in ndnSIM. </div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div></div>
<div></div>
<div></div>
<div><span style="font-style:normal; font-weight:400; font-size:small; line-height:21.3px; font-family:Verdana; color:rgb(0,0,0)"><b><span style="font-size:12pt; font-family:Calibri,Helvetica,sans-serif,serif,EmojiFont"></span></b></span></div>
<div style="font-size:11pt; font-family:Calibri,sans-serif; margin:0px 0in 0.000133333px; background:white">
<p style="background:white; font-size:11pt; font-family:Calibri,sans-serif; margin:0in 0in 0.0001pt">
<b><span style="margin:0px; padding:0in; border:1pt none windowtext; font-family:Calibri,Helvetica,sans-serif; color:black">Regards </span></b><span style="margin:0px; color:rgb(32,31,30)"></span></p>
<p style="background:white; font-size:11pt; font-family:Calibri,sans-serif; margin:0in 0in 0.0001pt">
<span style="margin:0px"><span style="margin:0px; padding:0in; border:1pt none windowtext; font-family:Calibri,Helvetica,sans-serif; color:rgb(32,31,30)"> </span></span><span style="margin:0px; color:rgb(32,31,30)"></span></p>
<p style="background:white; font-size:11pt; font-family:Calibri,sans-serif; margin:0in 0in 0.0001pt; text-align:start">
<b><span style="margin:0px"><span style="margin:0px; padding:0in; border:1pt none windowtext; font-family:Calibri,Helvetica,sans-serif; color:black">Muhammad Atif Ur Rehman</span></span></b><span style="margin:0px"><span style="margin:0px; padding:0in; border:1pt none windowtext; font-family:Calibri,Helvetica,sans-serif; color:black"> </span><b><span style="margin:0px; font-family:Calibri,Helvetica,sans-serif">(Ph.D.
 Candidate)</span></b><br>
</span></p>
</div>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Sonia <zohanoor67@gmail.com><br>
<b>Sent:</b> Friday, June 11, 2021 11:25 AM<br>
<b>To:</b> Atif Rehman <atif_r@outlook.com><br>
<b>Cc:</b> ndnsim@lists.cs.ucla.edu <ndnsim@lists.cs.ucla.edu><br>
<b>Subject:</b> Re: [ndnSIM] [EXT] Can we access ns3 packet tags in forwarder.cc</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div dir="ltr">Hi Atif,
<div><br>
</div>
<div>Thank you for the explanation. Actually, I want to see the relationship between the life of wireless links (connection) and SNR along with some other parameters among mobile nodes. I need this information to design a forwarding strategy.      <br>
<br>
<span style="font-size:17px">Concluding all this, I would say that, may be you will be able to fetch the SNR tag value using Junxiao solution but when you will extract its value, it will be 0 in most of the cases.</span><span style="font-size:17px"> </span></div>
<div> </div>
<div>I am trying to get it using one of the methods mentioned by Junxiao. I don't think only packets with 0 SNR are sent to the upper layers. If the SNR value is under the acceptable range (below a threshold value), the packets are accepted and sent to the
 upper layer. </div>
<div>At the mac layer, I can see all the packets have a certain SNR value, I didn't see any 0 value. Please correct me if I am wrong. </div>
<div><br>
</div>
<div><span style="font-size:17px">Please do share your experience once you done with the experiments.</span></div>
<div>I will for sure.</div>
<div><br>
</div>
<div>Thank you for the help. </div>
</div>
<br>
<img width="0" height="0" class="x_mailtrack-img" alt="" style="display:flex" src="https://mailtrack.io/trace/mail/9cc1e188dcde7ddc67be1a1fabe1912d40ca3e9b.png?u=5632877">
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Fri, Jun 11, 2021 at 9:03 AM Atif Rehman via ndnSIM <<a href="mailto:ndnsim@lists.cs.ucla.edu">ndnsim@lists.cs.ucla.edu</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div>
<div dir="ltr">
<div></div>
<div>
<div dir="ltr">
<p style="margin:0px 0px 3px; line-height:normal"><span style="font-size:17px">Hi Sonia,</span></p>
<p style="margin:0px 0px 3px; line-height:normal"><span style="font-size:17px"><br>
</span></p>
<p style="margin:0px 0px 3px; line-height:normal"><span style="font-size:17px">Just out of curiosity, why do you need physical/MAC layer parameter at network layer. Specifically, in SNR case, do we really need that at network layer or is it even possible that
 we can fetch SNR value at network layer? In the later case, I might be wrong but I don’t think SNR value will be retained at network layer, at least in the default implementation. </span></p>
<p style="margin:0px; font-size:17px; line-height:normal; min-height:20.3px"><span></span><br>
</p>
<p style="margin:0px; font-size:17px; line-height:normal"><span>So here is the rationale with an example. Node 1 received a packet let say through wireless medium in this case, and at MAC layer the error in packet (frame) is calculated. Now MAC layer encountered
 that the SNR is high and the packet has to be fetched again from the forwarding node because there is no other way to reconstruct the original packet. In this case, the MAC layer will not forward the packet to the upper layer but rather wait for the forwarding
 node to send the packet again.<span> </span></span></p>
<p style="margin:0px; font-size:17px; line-height:normal; min-height:20.3px"><span></span><br>
</p>
<p style="margin:0px; font-size:17px; line-height:normal"><span>You may ask why the MAC layer shouldn’t send the packet to the network layer, and for that the rationale is,<span> <span> </span></span>if the received packet has many erroneous bits then it is
 useless to further process the packet.<span> </span></span></p>
<p style="margin:0px; font-size:17px; line-height:normal; min-height:20.3px"><span></span><br>
</p>
<p style="margin:0px; font-size:17px; line-height:normal"><span>Finally, if the packet is correctly received, it will be sent to the network layer and at this time there will be either no or extremely small SNR.<span> </span></span></p>
<p style="margin:0px; font-size:17px; line-height:normal; min-height:20.3px"><span></span><br>
</p>
<p style="margin:0px; font-size:17px; line-height:normal"><span>Concluding all this, I would say that, may be you will be able to fetch the SNR tag value using Junxiao solution but when you will extract its value, it will be 0 in most of the cases.<span> </span></span></p>
<p style="margin:0px; font-size:17px; line-height:normal; min-height:20.3px"><span></span><br>
</p>
<p style="margin:0px; font-size:17px; line-height:normal"><span>Please do share your experience once you done with the experiments. Thanks</span></p>
<p style="margin:0px; font-size:17px; line-height:normal; min-height:20.3px"><span></span><br>
</p>
<p style="margin:0px; font-size:17px; line-height:normal"><span>Regards<span> </span></span></p>
<p style="margin:0px; font-size:17px; line-height:normal; min-height:20.3px"><span></span><br>
</p>
<p style="margin:0px; font-size:17px; line-height:normal"><span>Muhammad Atif Ur Rehman ( Ph.D. Candidate )</span></p>
<br>
</div>
</div>
<div id="x_gmail-m_-8834619913291753400id-388472e8-cb90-4421-a30a-bc13b3deda6a"></div>
</div>
</div>
_______________________________________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
</blockquote>
</div>
</div>
</div>
</body>
</html>