To prevent double parsing the ie buffer for ies which require information from other ies, utilize pointer aliasing to simplify the referencing of other ies. Dylan Eskew (3): iw: scan: add enum for ie ids iw: scan: change parsing from in-place to cached iw: scan: replace passed ie buffer with alias struct ieee80211.h | 82 +++++++++++++ scan.c | 326 +++++++++++++++++++++++++++++++--------------------- 2 files changed, 277 insertions(+), 131 deletions(-) -- 2.46.0