[Passpoint] Fix incorrect Venue URL ANQP-element parsing

The length value is set to 1 plus the number of octets in the Venue
URL field, and it does not include the length octet itself. The
logic failed to parse ANQP-elements with multiple entries.

Bug: 174188914
Test: atest VenueUrlElementTest
Test: Integration test with Passpoint network configured with
multiple venue URLs

Change-Id: Ie784cab3c5639612fd699ad9f1e49ef67c71a7ed
2 files changed
tree: b906e8a1eb0adf68d0881258d4eb706417f71e57
  1. apex/
  2. service/
  3. metrics_pdd_hook.py
  4. PREUPLOAD.cfg