Moved ieee802_11_parse_elems() into common code