Wifi: Allow Hotspot 2.0 credential without realm matching
The realm node matching is not required when roaming consortium OI exists.
Indeed, there is a statement in [1] "2.3 Requirements for Hotspot
Operators". "SPs in this situation may find it convenient to be
identified by their roaming consortium OI rather than by their realms."
[1] Hotspot 2.0 (Release 2) Technical Specification Version 1.0.0
Bug: 77621258
Test: Connect with roaming consortium OI on Nexus 5X with hostapd
commit 64624f31cf81dc6164462fa153ee7a5909e21183 "OWE: Fix CONFIG_OWE=y
build without CONFIG_IEEE80211R=y". I tested with android-8.1.0_r18
branch and port the patch to master branch because my Nexus 5X does
not boot with master branch.
Test: All the tests are passed
./frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: I46de90091396d50ec07a91c524074fedf8fd62ff
Reported-by: Harada Hiroyuki <infocrafths20@gmail.com>
Reported-by: Hideaki Goto <hgot@cc.tohoku.ac.jp>
Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
2 files changed