def get_vendor(data):
if len(data) < <NUM_LIT:3>:<EOL><INDENT>return dict(('<STR_LIT>', '<STR_LIT:U+0020>'.join(format(x, '<STR_LIT>'))) for x in data)<EOL><DEDENT>key = data[<NUM_LIT:3>]<EOL>if bytes(data[:<NUM_LIT:3>]) == ms_oui:<EOL><INDENT>if key in wifiprinters and wifiprinters[key].flags & <NUM_LIT:1>:<EOL><INDENT>return get_ie(wifiprinters[key], key, data[<NUM_LIT:4>:])<EOL><DEDENT>return dict(('<STR_LIT>'.format(key), '<STR_LIT:U+0020>'.join(format(x, '<STR_LIT>'))) for x in data[<NUM_LIT:4>:])<EOL><DEDENT>if bytes(data[:<NUM_LIT:3>]) == wfa_oui:<EOL><INDENT>if key in wfa_printers and wfa_printers[key].flags & <NUM_LIT:1>:<EOL><INDENT>return get_ie(wfa_printers[key], key, data[<NUM_LIT:4>:])<EOL><DEDENT>return dict(('<STR_LIT>'.format(key), '<STR_LIT:U+0020>'.join(format(x, '<STR_LIT>'))) for x in data[<NUM_LIT:4>:])<EOL><DEDENT>unknown_key = '<STR_LIT>'.format(data[<NUM_LIT:0>], data[<NUM_LIT:1>], data[<NUM_LIT:2>])<EOL>unknown_value = '<STR_LIT:U+0020>'.join(format(x, '<STR_LIT>') for x in data[<NUM_LIT:3>:])<EOL>return {unknown_key: unknown_value}<EOL>
http://git.kernel.org/cgit/linux/kernel/git/jberg/iw.git/tree/scan.c?id=v3.17#n1401.

    Positional arguments:
    data -- bytearray data to read.

    Returns:
    Dictionary of parsed data with string keys.