[Ns-bugs] [Bug 625] New: Wrong calculation of GetAccessGrantStart in DcfManager

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Tue Jul 7 05:30:51 PDT 2009


http://www.nsnam.org/bugzilla/show_bug.cgi?id=625

           Summary: Wrong calculation of GetAccessGrantStart in DcfManager
           Product: ns-3
           Version: ns-3-dev
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: wifi
        AssignedTo: ns-bugs at isi.edu
        ReportedBy: andreev at iitp.ru
   Estimated Hours: 0.0


Created an attachment (id=516)
 --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=516)
Proposed fix

DcfManager checks that it is not in RX mode by comparing last RX end and last
RX start "if (m_lastRxEnd >= m_lastRxStart)", but in case of hidden stations
these moments of time may be equal, and wrong decision will be made (for
example, we have started to receive a frame exactly after previous received
frame) (see figure). So, to prevent this situation it is better to check
m_rxing flag.
Also the proposed fix does not change any regression or unit tests.


stations:
1 2 3

frames at station 2:
|frame from 1| |frame from 3|
             ^ ^
             these 2 moments may be equal if stations 1 and 3 don't hear each
other


-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Ns-bugs mailing list