• Ilan Peer's avatar
    wifi: mac80211: Parse station profile from association response · 45ebac4f
    Ilan Peer authored
    When processing an association response frame for a Multi-Link
    connection, extract the per station profile for each additional
    link, and use it for parsing the link elements.
    
    As the Multi-Link element might be fragmented, add support for
    reassembling a fragmented element. To simplify memory management
    logic, extend 'struct ieee802_11_elems' to hold a scratch buffer,
    which is used for the defragmentation. Once an element is
    reconstructed in the scratch area, point the corresponding element
    pointer to it. Currently only defragmentation of Multi-Link element
    and the contained per-STA profile subelement is supported.
    Signed-off-by: default avatarIlan Peer <ilan.peer@intel.com>
    Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
    45ebac4f
ieee80211_i.h 80.9 KB