code: def get_ht_capa(_, data):
      
      answers = {
          'Capabilities': get_ht_capability(data[0] | (data[1] << 8)),
          'Minimum RX AMPDU time spacing': ampdu_space.get((data[2] >> 2) & 7, 'BUG (spacing more than 3 bits!)'),
          'Maximum RX AMPDU length': {0: 8191, 1: 16383, 2: 32767, 3: 65535}.get(data[2] & 3, 0),
      }
      answers.update(get_ht_mcs(data[3:]))
      return answers
docs: http://git.kernel.org/cgit/linux/kernel/git/jberg/iw.git/tree/scan.c?id=v3.17#n602.
  
      Positional arguments:
      data -- bytearray data to read.
  
      Returns:
      Dict.