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

Commit ee197f3c authored by Sunil Ravi's avatar Sunil Ravi
Browse files

Wifi: Inform framework on failure to find a network

Added a callback function to indicate that the
supplicant failed to find a network in scan result
which matches with the network capabilities requested by upper layer
for connection.

Bug: 161196120
Test: vts test - VtsHalWifiSupplicantV1_4TargetTest
Change-Id: I9549a80ca636b4ee91aca421cf7cfae9f95a9161
parent 882356d2
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -168,4 +168,13 @@ interface ISupplicantStaIfaceCallback extends @1.3::ISupplicantStaIfaceCallback
     * @param assocRejectData Association Rejection related information.
     */
    oneway onAssociationRejected_1_4(AssociationRejectionData assocRejectData);

    /**
     * Used to indicate that the supplicant failed to find a network in scan result
     * which matches with the network capabilities requested by upper layer
     * for connection.
     *
     * @param ssid network name supplicant tried to connect.
     */
    oneway onNetworkNotFound(Ssid ssid);
};
+4 −0
Original line number Diff line number Diff line
@@ -237,6 +237,10 @@ class IfaceCallback : public ISupplicantStaIfaceCallback {
        override {
        return Void();
    }
    Return<void> onNetworkNotFound(
        const hidl_vec<uint8_t>& /* ssid */) override {
        return Void();
    }
};

/*