src/wifi/model/mgt-headers.cc
changeset 11622 d0da0aa55bda
parent 11589 d3bfef4544ec
child 11628 243b71de25a0
equal deleted inserted replaced
11621:5560c057c54a 11622:d0da0aa55bda
   920 {
   920 {
   921   m_startingSeq = seq;
   921   m_startingSeq = seq;
   922 }
   922 }
   923 
   923 
   924 void
   924 void
       
   925 MgtAddBaRequestHeader::SetStartingSequenceControl (uint16_t seqControl)
       
   926 {
       
   927   m_startingSeq = (seqControl >> 4) & 0x0fff;
       
   928 }
       
   929 
       
   930 void
   925 MgtAddBaRequestHeader::SetAmsduSupport (bool supported)
   931 MgtAddBaRequestHeader::SetAmsduSupport (bool supported)
   926 {
   932 {
   927   m_amsduSupport = supported;
   933   m_amsduSupport = supported;
   928 }
   934 }
   929 
   935 
   965 
   971 
   966 uint16_t
   972 uint16_t
   967 MgtAddBaRequestHeader::GetStartingSequenceControl (void) const
   973 MgtAddBaRequestHeader::GetStartingSequenceControl (void) const
   968 {
   974 {
   969   return (m_startingSeq << 4) & 0xfff0;
   975   return (m_startingSeq << 4) & 0xfff0;
   970 }
       
   971 
       
   972 void
       
   973 MgtAddBaRequestHeader::SetStartingSequenceControl (uint16_t seqControl)
       
   974 {
       
   975   m_startingSeq = (seqControl >> 4) & 0x0fff;
       
   976 }
   976 }
   977 
   977 
   978 uint16_t
   978 uint16_t
   979 MgtAddBaRequestHeader::GetParameterSet (void) const
   979 MgtAddBaRequestHeader::GetParameterSet (void) const
   980 {
   980 {