3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2025-02-26 00:40:42 +01:00
James Prestwood 7c9561f027 ie: refactor parsing supported data rates
Both ext/supported rates IEs are obtained from scan results. These
IEs are passed to ie_tlv_init/ie_tlv_next, as well as direct length
checks (for supported rates at least, extended supported rates can
be as long as a single byte integer can hold, 1 - 255) which verifies
that the length in the IE matches the overall IE length that is
stored in scan_bss. Because of this, ie_parse_supported_rates_from_data
was doing double duty re-initializing a TLV iterator.

Intead, since we know the IE length is within bounds, the length/data
can simply be directly accessed out of the buffer. This avoids the need
for a wrapper function entirely.

The length parameters were also removed, since this is now obtained
directly from the IE.
2021-05-14 14:28:23 -05:00
..
2021-04-30 20:07:19 -05:00
2020-07-09 09:58:21 -05:00
2020-07-09 09:58:21 -05:00
2021-03-12 13:49:23 -06:00
2021-05-14 09:49:08 -05:00
2020-08-13 13:43:31 -05:00
2019-12-09 01:47:11 -06:00
2021-04-20 09:37:48 -05:00
2021-05-07 08:41:21 -05:00
2021-03-12 13:49:23 -06:00
2021-02-08 15:56:30 -06:00
2021-04-09 11:32:21 -05:00
2021-04-09 11:32:21 -05:00
2021-03-12 13:49:23 -06:00
2019-05-19 13:07:13 -05:00
2021-03-11 22:34:26 -06:00
2017-11-28 13:20:33 -06:00
2021-05-14 14:28:23 -05:00
2021-05-14 14:28:23 -05:00
2021-04-28 11:25:46 -05:00
2021-05-07 08:45:20 -05:00
2020-02-03 11:54:28 -06:00
2019-07-15 14:06:26 -05:00
2020-09-16 14:31:07 -05:00
2020-04-10 06:31:19 -05:00
2020-09-14 11:39:25 -05:00
2020-09-14 11:39:25 -05:00
2021-04-23 09:51:46 -05:00
2020-03-17 15:35:22 -05:00
2021-03-15 13:14:16 -05:00
2021-03-15 13:14:16 -05:00
2021-03-12 13:49:23 -06:00
2021-03-12 13:49:23 -06:00
2020-01-17 12:50:23 -06:00