Loading wifi/supplicant/1.0/ISupplicantP2pIface.hal +60 −0 Original line number Diff line number Diff line Loading @@ -612,4 +612,64 @@ interface ISupplicantP2pIface extends ISupplicantIface { * |SupplicantStatusCode.FAILURE_IFACE_INVALID| */ setWfdDeviceInfo(uint8_t[8] info) generates (SupplicantStatus status); /** * Creates a NFC handover request message. * * @return status Status of the operation. * Possible status codes: * |SupplicantStatusCode.SUCCESS|, * |SupplicantStatusCode.FAILURE_UNKNOWN|, * |SupplicantStatusCode.FAILURE_IFACE_INVALID| * @return request Bytes representing the handover request as specified in * section 3.1.1 of NFC Connection Handover 1.2 Technical * Specification. */ createNfcHandoverRequestMessage() generates (SupplicantStatus status, vec<uint8_t> request); /** * Creates a NFC handover select message. * * @return status Status of the operation. * Possible status codes: * |SupplicantStatusCode.SUCCESS|, * |SupplicantStatusCode.FAILURE_UNKNOWN|, * |SupplicantStatusCode.FAILURE_IFACE_INVALID| * @return select Bytes representing the handover select as specified in * section 3.1.2 of NFC Connection Handover 1.2 Technical * Specification. */ createNfcHandoverSelectMessage() generates (SupplicantStatus status, vec<uint8_t> select); /** * Report the response of the NFC handover request. * * @param request Bytes representing the handover request as specified in * section 3.1.1 of NFC Connection Handover 1.2 Technical * Specification. * @return status Status of the operation. * Possible status codes: * |SupplicantStatusCode.SUCCESS|, * |SupplicantStatusCode.FAILURE_UNKNOWN|, * |SupplicantStatusCode.FAILURE_IFACE_INVALID| */ reportNfcHandoverResponse(vec<uint8_t> request) generates (SupplicantStatus status); /** * Report the initiation of the NFC handover select. * * @param select Bytes representing the handover select as specified in * section 3.1.2 of NFC Connection Handover 1.2 Technical * Specification. * @return status Status of the operation. * Possible status codes: * |SupplicantStatusCode.SUCCESS|, * |SupplicantStatusCode.FAILURE_UNKNOWN|, * |SupplicantStatusCode.FAILURE_IFACE_INVALID| */ reportNfcHandoverInitiation(vec<uint8_t> select) generates (SupplicantStatus status); }; wifi/supplicant/1.0/ISupplicantStaNetwork.hal +20 −1 Original line number Diff line number Diff line Loading @@ -106,7 +106,10 @@ interface ISupplicantStaNetwork extends ISupplicantNetwork { PAP = 1, MSPAP = 2, MSPAPV2 = 3, GTC = 4 GTC = 4, SIM = 5, AKA = 6, AKA_PRIME = 7 }; /** Params of |sendNetworkEapSimGsmAuthResponse| request. (Refer RFC 4186) */ Loading Loading @@ -895,6 +898,22 @@ interface ISupplicantStaNetwork extends ISupplicantNetwork { */ getIdStr() generates (SupplicantStatus status, string idStr); /** * Retrieves a WPS-NFC configuration token for this network. * * @return status Status of the operation. * Possible status codes: * |SupplicantStatusCode.SUCCESS|, * |SupplicantStatusCode.FAILURE_ARGS_INVALID|, * |SupplicantStatusCode.FAILURE_UNKNOWN|, * |SupplicantStatusCode.FAILURE_NETWORK_INVALID| * @return token Bytes representing WPS-NFC configuration token. * This is a dump of all the WPS atrributes of the AP configuration * as specified in the Wi-Fi Protected Setup Specification. */ getWpsNfcConfigurationToken() generates (SupplicantStatus status, vec<uint8_t> token); /** * Enable the network for connection purposes. * Loading Loading
wifi/supplicant/1.0/ISupplicantP2pIface.hal +60 −0 Original line number Diff line number Diff line Loading @@ -612,4 +612,64 @@ interface ISupplicantP2pIface extends ISupplicantIface { * |SupplicantStatusCode.FAILURE_IFACE_INVALID| */ setWfdDeviceInfo(uint8_t[8] info) generates (SupplicantStatus status); /** * Creates a NFC handover request message. * * @return status Status of the operation. * Possible status codes: * |SupplicantStatusCode.SUCCESS|, * |SupplicantStatusCode.FAILURE_UNKNOWN|, * |SupplicantStatusCode.FAILURE_IFACE_INVALID| * @return request Bytes representing the handover request as specified in * section 3.1.1 of NFC Connection Handover 1.2 Technical * Specification. */ createNfcHandoverRequestMessage() generates (SupplicantStatus status, vec<uint8_t> request); /** * Creates a NFC handover select message. * * @return status Status of the operation. * Possible status codes: * |SupplicantStatusCode.SUCCESS|, * |SupplicantStatusCode.FAILURE_UNKNOWN|, * |SupplicantStatusCode.FAILURE_IFACE_INVALID| * @return select Bytes representing the handover select as specified in * section 3.1.2 of NFC Connection Handover 1.2 Technical * Specification. */ createNfcHandoverSelectMessage() generates (SupplicantStatus status, vec<uint8_t> select); /** * Report the response of the NFC handover request. * * @param request Bytes representing the handover request as specified in * section 3.1.1 of NFC Connection Handover 1.2 Technical * Specification. * @return status Status of the operation. * Possible status codes: * |SupplicantStatusCode.SUCCESS|, * |SupplicantStatusCode.FAILURE_UNKNOWN|, * |SupplicantStatusCode.FAILURE_IFACE_INVALID| */ reportNfcHandoverResponse(vec<uint8_t> request) generates (SupplicantStatus status); /** * Report the initiation of the NFC handover select. * * @param select Bytes representing the handover select as specified in * section 3.1.2 of NFC Connection Handover 1.2 Technical * Specification. * @return status Status of the operation. * Possible status codes: * |SupplicantStatusCode.SUCCESS|, * |SupplicantStatusCode.FAILURE_UNKNOWN|, * |SupplicantStatusCode.FAILURE_IFACE_INVALID| */ reportNfcHandoverInitiation(vec<uint8_t> select) generates (SupplicantStatus status); };
wifi/supplicant/1.0/ISupplicantStaNetwork.hal +20 −1 Original line number Diff line number Diff line Loading @@ -106,7 +106,10 @@ interface ISupplicantStaNetwork extends ISupplicantNetwork { PAP = 1, MSPAP = 2, MSPAPV2 = 3, GTC = 4 GTC = 4, SIM = 5, AKA = 6, AKA_PRIME = 7 }; /** Params of |sendNetworkEapSimGsmAuthResponse| request. (Refer RFC 4186) */ Loading Loading @@ -895,6 +898,22 @@ interface ISupplicantStaNetwork extends ISupplicantNetwork { */ getIdStr() generates (SupplicantStatus status, string idStr); /** * Retrieves a WPS-NFC configuration token for this network. * * @return status Status of the operation. * Possible status codes: * |SupplicantStatusCode.SUCCESS|, * |SupplicantStatusCode.FAILURE_ARGS_INVALID|, * |SupplicantStatusCode.FAILURE_UNKNOWN|, * |SupplicantStatusCode.FAILURE_NETWORK_INVALID| * @return token Bytes representing WPS-NFC configuration token. * This is a dump of all the WPS atrributes of the AP configuration * as specified in the Wi-Fi Protected Setup Specification. */ getWpsNfcConfigurationToken() generates (SupplicantStatus status, vec<uint8_t> token); /** * Enable the network for connection purposes. * Loading