• Johannes Berg's avatar
    mac80211: split up and insert custom IEs correctly · 8e664fb3
    Johannes Berg authored
    Currently, we insert all user-specified IEs before the HT
    IE for association, and after the HT IE for probe requests.
    For association, that's correct only if the user-specified
    IEs are RSN only, incorrect in all other cases including
    WPA. Change this to split apart the user-specified IEs in
    two places for association: before the HT IE (e.g. RSN),
    after the HT IE (generally empty right now I think?) and
    after WMM (all other vendor-specific IEs). For probes,
    split the IEs in different places to be correct according
    to the spec.
    Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    8e664fb3
util.c 33.9 KB