Dear experts
I want to compare scenario between ns2 and ns3. In ns2 duration of rts = 52us, cts = 44us,block ack = 68us
in ns3, i checked, and the default value of rts = 64us, cts = 60us, blockack = 80us(are these correct??)
and now i want to change these values are same as in ns3.
How can I change it, can anyone give me some advise ?
I also tried by modifying by change the size of those. from file mac-low.cc --> jump to wifi-mac-header.cc ->>in function
uint32_t
WifiMacHeader::GetSize (void) const
uint32_t size = 0;
switch (m_ctrlType)
{
case TYPE_MGT:
size = 2 + 2 + 6 + 6 + 6 + 2;
break;
case TYPE_CTL:
switch (m_ctrlSubtype)
{
case SUBTYPE_CTL_RTS:
size = 2 + 2 + 6 + 6; //change here
break;
case SUBTYPE_CTL_CTS:
case SUBTYPE_CTL_ACK:
size = 2 + 2 + 6; //change here
break;
case SUBTYPE_CTL_BACKREQ:
case SUBTYPE_CTL_BACKRESP:
size = 2 + 2 + 6 + 6; //change here
break;
case SUBTYPE_CTL_CTLWRAPPER:
size = 2 +2 +6 +2 +4;
break;
}
break;
....
I changed value here but , it got errors. i don't know is it correct way
I appriciate your help
Thank you