def get_ht_capa(_, data):
answers = {<EOL>'<STR_LIT>': get_ht_capability(data[<NUM_LIT:0>] | (data[<NUM_LIT:1>] << <NUM_LIT:8>)),<EOL>'<STR_LIT>': ampdu_space.get((data[<NUM_LIT:2>] >> <NUM_LIT:2>) & <NUM_LIT:7>, '<STR_LIT>'),<EOL>'<STR_LIT>': {<NUM_LIT:0>: <NUM_LIT>, <NUM_LIT:1>: <NUM_LIT>, <NUM_LIT:2>: <NUM_LIT>, <NUM_LIT:3>: <NUM_LIT>}.get(data[<NUM_LIT:2>] & <NUM_LIT:3>, <NUM_LIT:0>),<EOL>}<EOL>answers.update(get_ht_mcs(data[<NUM_LIT:3>:]))<EOL>return answers<EOL>
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.