qcacmn: Add clarification for util_find_mlie()

Add further clarification for util_find_mlie() that the buffer passed
should contain only 802.11 Information Elements, and should not
contain other information like 802.11 header, 802.11 fields that are
not elements, etc.

Change-Id: Id577cdc08189cd0f60053b1345ee15b3bb4f0eca
CRs-Fixed: 3316369
Dieser Commit ist enthalten in:
Krishna Rao
2022-10-19 10:36:14 +05:30
committet von Madan Koyyalamudi
Ursprung 39042cfc1a
Commit 68a8c47232

Datei anzeigen

@@ -146,10 +146,13 @@ util_gen_link_probe_rsp(uint8_t *frame, qdf_size_t frame_len,
* returns error, or if the function indicates that the element or element
* fragment sequence was not found by providing a starting address of NULL.
*
* Find the first Multi-Link element or the start of the first
* Multi-Link element fragment sequence in a given buffer containing elements,
* if a Multi-Link element or element fragment sequence exists in the given
* buffer.
* Find the first Multi-Link element or the start of the first Multi-Link
* element fragment sequence in a given buffer containing elements, if a
* Multi-Link element or element fragment sequence exists in the given buffer.
* The buffer should contain only 802.11 Information elements, and thus should
* not contain other information like 802.11 header, 802.11 frame body
* components like fields that are not elements (e.g. Capability Information
* field, Beacon Interval field), etc.
*
* Return: QDF_STATUS_SUCCESS in the case of success, QDF_STATUS value giving
* the reason for error in the case of failure