def get_11u_advert(_, data):
answers = dict()<EOL>idx = <NUM_LIT:0><EOL>while idx < len(data) - <NUM_LIT:1>:<EOL><INDENT>qri = data[idx]<EOL>proto_id = data[idx + <NUM_LIT:1>]<EOL>answers['<STR_LIT>'] = qri<EOL>answers['<STR_LIT>'] = qri & <NUM_LIT><EOL>if qri & (<NUM_LIT:1> << <NUM_LIT:7>):<EOL><INDENT>answers['<STR_LIT>'] = True<EOL><DEDENT>answers['<STR_LIT>'] = {<NUM_LIT:0>: '<STR_LIT>', <NUM_LIT:1>: '<STR_LIT>', <NUM_LIT:3>: '<STR_LIT>',<EOL><NUM_LIT:2>: '<STR_LIT>',<EOL><NUM_LIT>: '<STR_LIT>'}.get(proto_id, '<STR_LIT>'.format(proto_id))<EOL>idx += <NUM_LIT:2><EOL><DEDENT>return answers<EOL>
http://git.kernel.org/cgit/linux/kernel/git/jberg/iw.git/tree/scan.c?id=v3.17#n676.

    Positional arguments:
    data -- bytearray data to read.

    Returns:
    Dict.