docs: def get_capabilities(_, data):
      """http://git.kernel.org/cgit/linux/kernel/git/jberg/iw.git/tree/scan.c?id=v3.17#n796.
  
      Positional arguments:
      data -- bytearray data to read.
  
      Returns:
      List.
      """
      answers = list()
      for i in range(len(data)):
          base = i * 8
          for bit in range(8):
              if not data[i] & (1 << bit):
                  continue
              answers.append(CAPA.get(bit + base, bit))
      return answers