passpoint-r2: Validate PPS MO when parsing PPS-MO XML.

It needs to be validated based on the schema of PPS MO defined in
Hostpot 2.0 release 2 specification.

Bug: 118506846
Test: ./frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Test: live test with Passpoint R2 service provider AP.
Change-Id: Iaf2c8d96633ddf1e2408c1f9ccfcf5faa8fe7b7a
Signed-off-by: Ecco Park <eccopark@google.com>
2 files changed