code: def get_tim(_, data):
      
      answers = {
          'DTIM Count': data[0],
          'DTIM Period': data[1],
          'Bitmap Control': data[2],
          'Bitmap[0]': data[3],
      }
      if len(data) - 4:
          answers['+ octets'] = len(data) - 4
      return answers
docs: http://git.kernel.org/cgit/linux/kernel/git/jberg/iw.git/tree/scan.c?id=v3.17#n874.
  
      Positional arguments:
      data -- bytearray data to read.
  
      Returns:
      Dict.