Bugzilla – Bug 2489
vanet-routing-compare.cc example is not generating correct output for WAVE (i.e. mode 3 in .cc file)
Last modified: 2016-09-23 07:57:20 EDT
Created attachment 2565 [details] At line number 1327: m_80211mode (1) changed to m_80211mode (3) and m_80211mode = 3; is added at line number 2374. steps to reproduce: ------------------------------------------------- open file and made following changes in vanet-routing-compare.cc: 1. At line number 1327: m_80211mode (1); to m_80211mode (3); Save and run it. Outuput: with m_80211mode (1) and m_80211mode (3) is same, which is wrong. 2. (i) At line number 1327: m_80211mode (1); to m_80211mode (3) i.e. keep the change as suggested in 1. (ii) At line number 2374 add following : m_80211mode = 1; It will look like: ------------------ m_traceFile = ""; m_logFile = ""; m_mobility = 2; m_80211mode = 3; if (m_nNodes == 156) { --- --- ------------------ save and run it Output: ------------------------------------------------- I am in EnableForWave() I am in EnableForWave() I am in EnableForWave() I am in EnableForWave() I am in EnableForWave() Routing Setup for AODV At t=0s BSM_PDR1=0 BSM_PDR1=0 BSM_PDR3=0 BSM_PDR4=0 BSM_PDR5=0 BSM_PDR6=0... Which is again wrong.
*** This bug has been marked as a duplicate of bug 2341 ***
*** This bug has been marked as a duplicate of bug 2314 ***