Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 88cc1004 authored by Sunil Ravi's avatar Sunil Ravi Committed by Jay Patel
Browse files

wifi: Fix for DPP VTS test failures on 5GHz only devices

Pass one 2.4GHz channel (1) and one 5GHz channel(40) in
URI channel-list, so that devices which support only one band
can initiate Authentication.

Bug: 161331637
Test: VtsHalWifiSupplicantV1_2TargetTest
Test: VtsHalWifiSupplicantV1_3TargetTest
Change-Id: Ic2677c5f2c2bebe632f823f0472da0a5ae404c0d
parent 51e6ef63
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -287,7 +287,8 @@ TEST_F(SupplicantStaIfaceHidlTest, AddDppPeerUriAndRomveUri) {
    }

    hidl_string uri =
        "DPP:C:81/1;M:48d6d5bd1de1;I:G1197843;K:MDkwEwYHKoZIzj0CAQYIKoZIzj"
        "DPP:C:81/1,117/"
        "40;M:48d6d5bd1de1;I:G1197843;K:MDkwEwYHKoZIzj0CAQYIKoZIzj"
        "0DAQcDIgAD0edY4X3N//HhMFYsZfMbQJTiNFtNIWF/cIwMB/gzqOM=;;";
    uint32_t peer_id = 0;

@@ -319,7 +320,8 @@ TEST_F(SupplicantStaIfaceHidlTest, StartDppEnrolleeInitiator) {
    }

    hidl_string uri =
        "DPP:C:81/1;M:48d6d5bd1de1;I:G1197843;K:MDkwEwYHKoZIzj0CAQYIKoZIzj"
        "DPP:C:81/1,117/"
        "40;M:48d6d5bd1de1;I:G1197843;K:MDkwEwYHKoZIzj0CAQYIKoZIzj"
        "0DAQcDIgAD0edY4X3N//HhMFYsZfMbQJTiNFtNIWF/cIwMB/gzqOM=;;";
    uint32_t peer_id = 0;

@@ -370,7 +372,8 @@ TEST_F(SupplicantStaIfaceHidlTest, StartDppConfiguratorInitiator) {
    }

    hidl_string uri =
        "DPP:C:81/1;M:48d6d5bd1de1;I:G1197843;K:MDkwEwYHKoZIzj0CAQYIKoZIzj"
        "DPP:C:81/1,117/"
        "40;M:48d6d5bd1de1;I:G1197843;K:MDkwEwYHKoZIzj0CAQYIKoZIzj"
        "0DAQcDIgAD0edY4X3N//HhMFYsZfMbQJTiNFtNIWF/cIwMB/gzqOM=;;";
    uint32_t peer_id = 0;