src/devices/wifi/ctrl-headers.h
author Andrey Mazo <mazo@iitp.ru>
Fri, 23 Apr 2010 15:09:31 +0400
changeset 6273 8d70de29d514
parent 5948 34bd93988e2b
child 6588 a83484625502
permissions -rw-r--r--
spell check, mostly in comments.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5948
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
     1
/* -*-  Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
     2
/*
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
     3
 * Copyright (c) 2009 MIRKO BANCHI
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
     4
 *
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
     5
 * This program is free software; you can redistribute it and/or modify
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
     6
 * it under the terms of the GNU General Public License version 2 as 
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
     7
 * published by the Free Software Foundation;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
     8
 *
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
     9
 * This program is distributed in the hope that it will be useful,
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    12
 * GNU General Public License for more details.
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    13
 *
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    14
 * You should have received a copy of the GNU General Public License
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    15
 * along with this program; if not, write to the Free Software
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    16
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    17
 *
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    18
 * Author: Mirko Banchi <mk.banchi@gmail.com>
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    19
 */
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    20
#ifndef CTRL_HEADERS_H
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    21
#define CTRL_HEADERS_H
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    22
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    23
#include "ns3/header.h"
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    24
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    25
namespace ns3 {
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    26
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    27
/** Headers for Block ack request and response.
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    28
 *  802.11n standard includes three types of block ack:
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    29
 *    - Basic block ack (unique type in 802.11e)
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    30
 *    - Compressed block ack
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    31
 *    - Multi-TID block ack
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    32
 *  For now only basic block ack and compressed block ack 
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    33
 *  are supported.
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    34
 *  Basic block ack is also default variant.
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    35
 */
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    36
enum BlockAckType
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    37
{
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    38
  BASIC_BLOCK_ACK,
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    39
  COMPRESSED_BLOCK_ACK,
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    40
  MULTI_TID_BLOCK_ACK
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    41
};
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    42
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    43
class CtrlBAckRequestHeader : public Header {
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    44
public:
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    45
  CtrlBAckRequestHeader ();
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    46
  ~CtrlBAckRequestHeader ();
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    47
  static TypeId GetTypeId (void);
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    48
  virtual TypeId GetInstanceTypeId (void) const;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    49
  virtual void Print (std::ostream &os) const;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    50
  virtual uint32_t GetSerializedSize (void) const;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    51
  virtual void Serialize (Buffer::Iterator start) const;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    52
  virtual uint32_t Deserialize (Buffer::Iterator start);
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    53
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    54
  void SetHtImmediateAck (bool immediateAck);
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    55
  void SetType (enum BlockAckType type);
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    56
  void SetTidInfo (uint8_t tid);
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    57
  void SetStartingSequence (uint16_t seq);
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    58
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    59
  bool MustSendHtImmediateAck (void) const;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    60
  uint8_t GetTidInfo (void) const;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    61
  uint16_t GetStartingSequence (void) const;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    62
  bool IsBasic (void) const;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    63
  bool IsCompressed (void) const;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    64
  bool IsMultiTid (void) const;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    65
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    66
  uint16_t GetStartingSequenceControl (void) const;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    67
  
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    68
private:
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    69
  
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    70
  void SetStartingSequenceControl (uint16_t seqControl);
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    71
  uint16_t GetBarControl (void) const;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    72
  void SetBarControl (uint16_t bar);
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    73
  
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    74
  /**
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    75
   * The lsb bit of the BAR control field is used only for the
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    76
   * HT (High Throughput) delayed block ack configuration.
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    77
   * For now only non HT immediate block ack is implemented so this field
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    78
   * is here only for a future implementation of HT delayed variant.
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    79
   */
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    80
  bool m_barAckPolicy;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    81
  bool m_multiTid;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    82
  bool m_compressed;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    83
  uint16_t m_tidInfo;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    84
  uint16_t m_startingSeq;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    85
};
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    86
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    87
class CtrlBAckResponseHeader : public Header {
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    88
public:
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    89
  CtrlBAckResponseHeader ();
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    90
  ~CtrlBAckResponseHeader ();
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    91
  static TypeId GetTypeId (void);
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    92
  virtual TypeId GetInstanceTypeId (void) const;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    93
  virtual void Print (std::ostream &os) const;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    94
  virtual uint32_t GetSerializedSize (void) const;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    95
  virtual void Serialize (Buffer::Iterator start) const;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    96
  virtual uint32_t Deserialize (Buffer::Iterator start);
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    97
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    98
  void SetHtImmediateAck (bool immeadiateAck);
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
    99
  void SetType (enum BlockAckType type);
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   100
  void SetTidInfo (uint8_t tid);
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   101
  void SetStartingSequence (uint16_t seq);
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   102
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   103
  bool MustSendHtImmediateAck (void) const;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   104
  uint8_t GetTidInfo (void) const;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   105
  uint16_t GetStartingSequence (void) const;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   106
  bool IsBasic (void) const;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   107
  bool IsCompressed (void) const;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   108
  bool IsMultiTid (void) const;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   109
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   110
  void SetReceivedPacket (uint16_t seq);
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   111
  void SetReceivedFragment (uint16_t seq, uint8_t frag);
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   112
  bool IsPacketReceived (uint16_t seq) const;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   113
  bool IsFragmentReceived (uint16_t seq, uint8_t frag) const;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   114
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   115
  uint16_t GetStartingSequenceControl (void) const;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   116
  void SetStartingSequenceControl (uint16_t seqControl);
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   117
  
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   118
private:
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   119
  
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   120
  uint16_t GetBaControl (void) const;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   121
  void SetBaControl (uint16_t bar);
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   122
  
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   123
  Buffer::Iterator SerializeBitmap (Buffer::Iterator start) const;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   124
  Buffer::Iterator DeserializeBitmap (Buffer::Iterator start);
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   125
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   126
  /**
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   127
   * This function is used to correctly index in both bitmap
6273
8d70de29d514 spell check, mostly in comments.
Andrey Mazo <mazo@iitp.ru>
parents: 5948
diff changeset
   128
   * and compressed bitmap, one bit or one block of 16 bits respectively.
5948
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   129
   * If we are using basic block ack, return value represents index of 
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   130
   * block of 16 bits for packet having sequence number equals to <i>seq</i>.
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   131
   * If we are using compressed block ack, return value represents bit 
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   132
   * to set to 1 in the compressed bitmap to indicate that packet having 
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   133
   * sequence number equals to <i>seq</i> was correctly received.
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   134
   *
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   135
   * for more details see 7.2.1.8 in IEEE 802.11n/D4.00
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   136
   */
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   137
  uint8_t IndexInBitmap (uint16_t seq) const;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   138
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   139
  /**
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   140
   * The lsb bit of the BA control field is used only for the
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   141
   * HT (High Throughput) delayed block ack configuration.
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   142
   * For now only non HT immediate block ack is implemented so this field
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   143
   * is here only for a future implementation of HT delayed variant.
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   144
   */
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   145
  bool m_baAckPolicy;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   146
  bool m_multiTid;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   147
  bool m_compressed;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   148
  uint16_t m_tidInfo;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   149
  uint16_t m_startingSeq;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   150
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   151
  union {
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   152
    uint16_t m_bitmap[64];
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   153
    uint64_t m_compressedBitmap;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   154
  } bitmap;
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   155
};
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   156
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   157
} //namespace ns3
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   158
34bd93988e2b add block ack headers
Mirko Banchi <mk.banchi@gmail.com>
parents:
diff changeset
   159
#endif /* CTRL_HEADERS_H */