SendDATA() is basically to build the header for the data packet. I feel keeping counter in that function is not right.
Thanks On Wed, Mar 6, 2013 at 3:41 AM, shiny <shiny....@gmail.com> wrote: > Hi sai, > To calculate total frames send in mac-802_11.cc i keep a counter in > sendDATA() function.Is it correct? am waiting for ur reply... > > On Fri, Mar 1, 2013 at 10:55 AM, shiny <shiny....@gmail.com> wrote: > >> Hi sai, >> How to calculate total number of frames send in mac-802_11.cc nd do u >> have source code for FER calculation. >> >> On Thu, Feb 28, 2013 at 9:54 AM, shiny <shiny....@gmail.com> wrote: >> >>> hi frnd, >>> do u know how to calculate frame error rate in mac-802_11.cc >>> >>> On Sat, Feb 23, 2013 at 11:42 PM, shiny <shiny....@gmail.com> wrote: >>> >>>> thanks a lot.... >>>> >>>> On 2/23/13, Sai Bhyravajosyula <sbhyr...@asu.edu> wrote: >>>> > Hi Shiny >>>> > >>>> > >>>> > CheckPktTx() actually is responsible for successful transmission of >>>> > messages.. If successfully transmitted , it returns 0 else >>>> > return -1. >>>> > >>>> > So basically I would suggest you to keep a counter before the >>>> statement >>>> > return -1 in the checkpkttx(). >>>> > >>>> > Also deferhandler() is responsible for making a node to attempt a >>>> > transmission (includes control pkts and data pkts). >>>> > >>>> > I hope this information helps you. >>>> > >>>> > Thanks >>>> > >>>> > >>>> > >>>> > >>>> > On Tue, Feb 19, 2013 at 10:47 PM, shiny <shiny....@gmail.com> wrote: >>>> > >>>> >> hi, >>>> >> i ve done wat u said but i got pkt send count in check_pktTx() fn as >>>> 4553 >>>> >> and in deferhandler() fn recv count as 11327.is it correct >>>> >> >>>> >> On Wed, Feb 20, 2013 at 10:51 AM, Sai Bhyravajosyula >>>> >> <sbhyr...@asu.edu>wrote: >>>> >> >>>> >>> >>>> >>> Hey >>>> >>> >>>> >>> deferhandler() method is MAC802_11.cc will tell the number of >>>> attempts. >>>> >>> >>>> >>> Checkpktx will actually send the data packet. >>>> >>> >>>> >>> >>>> >>> Keep a counter in both functions and finally subtract. >>>> >>> >>>> >>> Thanks >>>> >>> >>>> >>> >>>> >>> >>>> >>> >>>> >>> >>>> >>> On Tue, Feb 19, 2013 at 10:15 PM, shiny <shiny....@gmail.com> >>>> wrote: >>>> >>> >>>> >>>> >>>> >>>> hi all, >>>> >>>> >>>> >>>> Anybody know how to estimate transmission failure in mac layer? >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> >>>> With Regards, >>>> >>>> John Shiny.J >>>> >>>> >>>> >>> >>>> >>> >>>> >>> >>>> >>> -- >>>> >>> Bhyravajosyula Sai Vishnu Kiran >>>> >>> MS in Computer Science >>>> >>> mail-id: sbhyr...@asu.edu >>>> >>> >>>> >>> >>>> >> >>>> >> >>>> >> -- >>>> >> With Regards, >>>> >> John Shiny.J >>>> >> >>>> > >>>> > >>>> > >>>> > -- >>>> > Bhyravajosyula Sai Vishnu Kiran >>>> > MS in Computer Science >>>> > mail-id: sbhyr...@asu.edu >>>> > >>>> >>>> >>>> -- >>>> With Regards, >>>> John Shiny.J >>>> >>> >>> >>> >>> -- >>> With Regards, >>> John Shiny.J >>> >> >> >> >> -- >> With Regards, >> John Shiny.J >> > > > > -- > With Regards, > John Shiny.J > -- Bhyravajosyula Sai Vishnu Kiran MS in Computer Science mail-id: sbhyr...@asu.edu