mirror of
https://github.com/espressif/esp32-wifi-lib.git
synced 2026-08-10 05:08:05 +00:00
Some peers encode committed availability with Time Bitmap Control period 1024 TU and 5-6 byte bitmaps. The parser required the bitmap span to equal the period and truncated the 9-bit start offset, rejecting every such entry; with no committed entry left, secured NDP setup was rejected with NDL_UNACCEPTABLE. Accept any bitmap not longer than the period per Wi-Fi Aware v4.0 Table 97, fold periods > 512 TU into the 512 TU window, and apply the full start offset.