http://git.kernel.org/cgit/linux/kernel/git/jberg/iw.git/tree/scan.c?id=v3.17#n1088.

    Positional arguments:
    data -- bytearray data to read.

    Returns:
    Dict.

def get_wifi_wmm(_, data):
    """http://git.kernel.org/cgit/linux/kernel/git/jberg/iw.git/tree/scan.c?id=v3.17#n1088.

    Positional arguments:
    data -- bytearray data to read.

    Returns:
    Dict.
    """
    answers = dict()
    if data[0] == 0x01:
        if len(data) < 20:
            key = 'invalid'
        elif data[1] != 1:
            key = 'Parameter: not version 1'
        else:
            answers.update(get_wifi_wmm_param(data[2:]))
            return answers
    elif data[0] == 0x00:
        key = 'information'
    else:
        key = 'type {0}'.format(data[0])
    answers[key] = ' '.join(format(x, '02x') for x in data)
    return answers