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
This commit is contained in:
Krishna Rao
2022-10-19 10:36:14 +05:30
committed by Madan Koyyalamudi
父節點 39042cfc1a
當前提交 68a8c47232

查看文件

@@ -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 * returns error, or if the function indicates that the element or element
* fragment sequence was not found by providing a starting address of NULL. * fragment sequence was not found by providing a starting address of NULL.
* *
* Find the first Multi-Link element or the start of the first * Find the first Multi-Link element or the start of the first Multi-Link
* Multi-Link element fragment sequence in a given buffer containing elements, * element fragment sequence in a given buffer containing elements, if a
* if a Multi-Link element or element fragment sequence exists in the given * Multi-Link element or element fragment sequence exists in the given buffer.
* 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 * Return: QDF_STATUS_SUCCESS in the case of success, QDF_STATUS value giving
* the reason for error in the case of failure * the reason for error in the case of failure