1*4d7e907cSAndroid Build Coastguard Worker/* 2*4d7e907cSAndroid Build Coastguard Worker * Copyright 2016 The Android Open Source Project 3*4d7e907cSAndroid Build Coastguard Worker * 4*4d7e907cSAndroid Build Coastguard Worker * Licensed under the Apache License, Version 2.0 (the "License"); 5*4d7e907cSAndroid Build Coastguard Worker * you may not use this file except in compliance with the License. 6*4d7e907cSAndroid Build Coastguard Worker * You may obtain a copy of the License at 7*4d7e907cSAndroid Build Coastguard Worker * 8*4d7e907cSAndroid Build Coastguard Worker * http://www.apache.org/licenses/LICENSE-2.0 9*4d7e907cSAndroid Build Coastguard Worker * 10*4d7e907cSAndroid Build Coastguard Worker * Unless required by applicable law or agreed to in writing, software 11*4d7e907cSAndroid Build Coastguard Worker * distributed under the License is distributed on an "AS IS" BASIS, 12*4d7e907cSAndroid Build Coastguard Worker * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13*4d7e907cSAndroid Build Coastguard Worker * See the License for the specific language governing permissions and 14*4d7e907cSAndroid Build Coastguard Worker * limitations under the License. 15*4d7e907cSAndroid Build Coastguard Worker */ 16*4d7e907cSAndroid Build Coastguard Worker 17*4d7e907cSAndroid Build Coastguard Workerpackage [email protected]; 18*4d7e907cSAndroid Build Coastguard Worker 19*4d7e907cSAndroid Build Coastguard Workerimport IWifiIface; 20*4d7e907cSAndroid Build Coastguard Workerimport IWifiNanIfaceEventCallback; 21*4d7e907cSAndroid Build Coastguard Worker 22*4d7e907cSAndroid Build Coastguard Worker/** 23*4d7e907cSAndroid Build Coastguard Worker * Interface used to represent a single NAN(Neighbour Aware Network) iface. 24*4d7e907cSAndroid Build Coastguard Worker * 25*4d7e907cSAndroid Build Coastguard Worker * References to "NAN Spec" are to the Wi-Fi Alliance "Wi-Fi Neighbor Awareness 26*4d7e907cSAndroid Build Coastguard Worker * Networking (NAN) Technical Specification". 27*4d7e907cSAndroid Build Coastguard Worker */ 28*4d7e907cSAndroid Build Coastguard Workerinterface IWifiNanIface extends IWifiIface { 29*4d7e907cSAndroid Build Coastguard Worker /** 30*4d7e907cSAndroid Build Coastguard Worker * Requests notifications of significant events on this iface. Multiple calls 31*4d7e907cSAndroid Build Coastguard Worker * to this must register multiple callbacks each of which must receive all 32*4d7e907cSAndroid Build Coastguard Worker * events. 33*4d7e907cSAndroid Build Coastguard Worker * 34*4d7e907cSAndroid Build Coastguard Worker * @param callback An instance of the |IWifiNanIfaceEventCallback| HIDL interface 35*4d7e907cSAndroid Build Coastguard Worker * object. 36*4d7e907cSAndroid Build Coastguard Worker * @return status WifiStatus of the operation. 37*4d7e907cSAndroid Build Coastguard Worker * Possible status codes: 38*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.SUCCESS|, 39*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.ERROR_WIFI_IFACE_INVALID| 40*4d7e907cSAndroid Build Coastguard Worker */ 41*4d7e907cSAndroid Build Coastguard Worker registerEventCallback(IWifiNanIfaceEventCallback callback) 42*4d7e907cSAndroid Build Coastguard Worker generates (WifiStatus status); 43*4d7e907cSAndroid Build Coastguard Worker 44*4d7e907cSAndroid Build Coastguard Worker /** 45*4d7e907cSAndroid Build Coastguard Worker * Get NAN capabilities. Asynchronous response is with 46*4d7e907cSAndroid Build Coastguard Worker * |IWifiNanIfaceEventCallback.notifyCapabilitiesResponse|. 47*4d7e907cSAndroid Build Coastguard Worker * 48*4d7e907cSAndroid Build Coastguard Worker * @param cmdId command Id to use for this invocation. 49*4d7e907cSAndroid Build Coastguard Worker * @return status WifiStatus of the operation. 50*4d7e907cSAndroid Build Coastguard Worker * Possible status codes: 51*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.SUCCESS|, 52*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.ERROR_WIFI_IFACE_INVALID|, 53*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.ERROR_UNKNOWN| 54*4d7e907cSAndroid Build Coastguard Worker */ 55*4d7e907cSAndroid Build Coastguard Worker getCapabilitiesRequest(CommandIdShort cmdId) generates (WifiStatus status); 56*4d7e907cSAndroid Build Coastguard Worker 57*4d7e907cSAndroid Build Coastguard Worker /** 58*4d7e907cSAndroid Build Coastguard Worker * Enable NAN: configures and activates NAN clustering (does not start 59*4d7e907cSAndroid Build Coastguard Worker * a discovery session or set up data-interfaces or data-paths). Use the 60*4d7e907cSAndroid Build Coastguard Worker * |IWifiNanIface.configureRequest| method to change the configuration of an already enabled 61*4d7e907cSAndroid Build Coastguard Worker * NAN interface. 62*4d7e907cSAndroid Build Coastguard Worker * Asynchronous response is with |IWifiNanIfaceEventCallback.notifyEnableResponse|. 63*4d7e907cSAndroid Build Coastguard Worker * 64*4d7e907cSAndroid Build Coastguard Worker * @param cmdId command Id to use for this invocation. 65*4d7e907cSAndroid Build Coastguard Worker * @param msg Instance of |NanEnableRequest|. 66*4d7e907cSAndroid Build Coastguard Worker * @return status WifiStatus of the operation. 67*4d7e907cSAndroid Build Coastguard Worker * Possible status codes: 68*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.SUCCESS|, 69*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.ERROR_WIFI_IFACE_INVALID|, 70*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.ERROR_INVALID_ARGS|, 71*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.ERROR_UNKNOWN| 72*4d7e907cSAndroid Build Coastguard Worker */ 73*4d7e907cSAndroid Build Coastguard Worker enableRequest(CommandIdShort cmdId, NanEnableRequest msg) 74*4d7e907cSAndroid Build Coastguard Worker generates (WifiStatus status); 75*4d7e907cSAndroid Build Coastguard Worker 76*4d7e907cSAndroid Build Coastguard Worker /** 77*4d7e907cSAndroid Build Coastguard Worker * Configure NAN: configures an existing NAN functionality (i.e. assumes 78*4d7e907cSAndroid Build Coastguard Worker * |IWifiNanIface.enableRequest| already submitted and succeeded). 79*4d7e907cSAndroid Build Coastguard Worker * Asynchronous response is with |IWifiNanIfaceEventCallback.notifyConfigResponse|. 80*4d7e907cSAndroid Build Coastguard Worker * 81*4d7e907cSAndroid Build Coastguard Worker * @param cmdId command Id to use for this invocation. 82*4d7e907cSAndroid Build Coastguard Worker * @param msg Instance of |NanConfigRequest|. 83*4d7e907cSAndroid Build Coastguard Worker * @return status WifiStatus of the operation. 84*4d7e907cSAndroid Build Coastguard Worker * Possible status codes: 85*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.SUCCESS|, 86*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.ERROR_WIFI_IFACE_INVALID|, 87*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.ERROR_INVALID_ARGS|, 88*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.ERROR_UNKNOWN| 89*4d7e907cSAndroid Build Coastguard Worker */ 90*4d7e907cSAndroid Build Coastguard Worker configRequest(CommandIdShort cmdId, NanConfigRequest msg) 91*4d7e907cSAndroid Build Coastguard Worker generates (WifiStatus status); 92*4d7e907cSAndroid Build Coastguard Worker 93*4d7e907cSAndroid Build Coastguard Worker /** 94*4d7e907cSAndroid Build Coastguard Worker * Disable NAN functionality. 95*4d7e907cSAndroid Build Coastguard Worker * Asynchronous response is with |IWifiNanIfaceEventCallback.notifyDisableResponse|. 96*4d7e907cSAndroid Build Coastguard Worker * 97*4d7e907cSAndroid Build Coastguard Worker * @param cmdId command Id to use for this invocation. 98*4d7e907cSAndroid Build Coastguard Worker * @return status WifiStatus of the operation. 99*4d7e907cSAndroid Build Coastguard Worker * Possible status codes: 100*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.SUCCESS|, 101*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.ERROR_WIFI_IFACE_INVALID|, 102*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.ERROR_UNKNOWN| 103*4d7e907cSAndroid Build Coastguard Worker */ 104*4d7e907cSAndroid Build Coastguard Worker disableRequest(CommandIdShort cmdId) generates (WifiStatus status); 105*4d7e907cSAndroid Build Coastguard Worker 106*4d7e907cSAndroid Build Coastguard Worker /** 107*4d7e907cSAndroid Build Coastguard Worker * Publish request to start advertising a discovery service. 108*4d7e907cSAndroid Build Coastguard Worker * Asynchronous response is with |IWifiNanIfaceEventCallback.notifyStartPublishResponse|. 109*4d7e907cSAndroid Build Coastguard Worker * 110*4d7e907cSAndroid Build Coastguard Worker * @param cmdId command Id to use for this invocation. 111*4d7e907cSAndroid Build Coastguard Worker * @param msg Instance of |NanPublishRequest|. 112*4d7e907cSAndroid Build Coastguard Worker * @return status WifiStatus of the operation. 113*4d7e907cSAndroid Build Coastguard Worker * Possible status codes: 114*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.SUCCESS|, 115*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.ERROR_WIFI_IFACE_INVALID|, 116*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.ERROR_INVALID_ARGS|, 117*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.ERROR_UNKNOWN| 118*4d7e907cSAndroid Build Coastguard Worker */ 119*4d7e907cSAndroid Build Coastguard Worker startPublishRequest(CommandIdShort cmdId, NanPublishRequest msg) 120*4d7e907cSAndroid Build Coastguard Worker generates (WifiStatus status); 121*4d7e907cSAndroid Build Coastguard Worker 122*4d7e907cSAndroid Build Coastguard Worker /** 123*4d7e907cSAndroid Build Coastguard Worker * Stop publishing a discovery service. 124*4d7e907cSAndroid Build Coastguard Worker * Asynchronous response is with |IWifiNanIfaceEventCallback.notifyStopPublishResponse|. 125*4d7e907cSAndroid Build Coastguard Worker * 126*4d7e907cSAndroid Build Coastguard Worker * @param cmdId command Id to use for this invocation. 127*4d7e907cSAndroid Build Coastguard Worker * @param sessionId ID of the publish discovery session to be stopped. 128*4d7e907cSAndroid Build Coastguard Worker * @return status WifiStatus of the operation. 129*4d7e907cSAndroid Build Coastguard Worker * Possible status codes: 130*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.SUCCESS|, 131*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.ERROR_WIFI_IFACE_INVALID|, 132*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.ERROR_UNKNOWN| 133*4d7e907cSAndroid Build Coastguard Worker */ 134*4d7e907cSAndroid Build Coastguard Worker stopPublishRequest(CommandIdShort cmdId, uint8_t sessionId) 135*4d7e907cSAndroid Build Coastguard Worker generates (WifiStatus status); 136*4d7e907cSAndroid Build Coastguard Worker 137*4d7e907cSAndroid Build Coastguard Worker /** 138*4d7e907cSAndroid Build Coastguard Worker * Subscribe request to start searching for a discovery service. 139*4d7e907cSAndroid Build Coastguard Worker * Asynchronous response is with |IWifiNanIfaceEventCallback.notifyStartSubscribeResponse|. 140*4d7e907cSAndroid Build Coastguard Worker * 141*4d7e907cSAndroid Build Coastguard Worker * @param cmdId command Id to use for this invocation. 142*4d7e907cSAndroid Build Coastguard Worker * @param msg Instance of |NanSubscribeRequest|. 143*4d7e907cSAndroid Build Coastguard Worker * @return status WifiStatus of the operation. 144*4d7e907cSAndroid Build Coastguard Worker * Possible status codes: 145*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.SUCCESS|, 146*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.ERROR_WIFI_IFACE_INVALID|, 147*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.ERROR_INVALID_ARGS|, 148*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.ERROR_UNKNOWN| 149*4d7e907cSAndroid Build Coastguard Worker */ 150*4d7e907cSAndroid Build Coastguard Worker startSubscribeRequest(CommandIdShort cmdId, NanSubscribeRequest msg) 151*4d7e907cSAndroid Build Coastguard Worker generates (WifiStatus status); 152*4d7e907cSAndroid Build Coastguard Worker 153*4d7e907cSAndroid Build Coastguard Worker /** 154*4d7e907cSAndroid Build Coastguard Worker * Stop subscribing to a discovery service. 155*4d7e907cSAndroid Build Coastguard Worker * Asynchronous response is with |IWifiNanIfaceEventCallback.notifyStopSubscribeResponse|. 156*4d7e907cSAndroid Build Coastguard Worker * 157*4d7e907cSAndroid Build Coastguard Worker * @param cmdId command Id to use for this invocation. 158*4d7e907cSAndroid Build Coastguard Worker * @param sessionId ID of the subscribe discovery session to be stopped. 159*4d7e907cSAndroid Build Coastguard Worker * @return status WifiStatus of the operation. 160*4d7e907cSAndroid Build Coastguard Worker * Possible status codes: 161*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.SUCCESS|, 162*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.ERROR_WIFI_IFACE_INVALID|, 163*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.ERROR_UNKNOWN| 164*4d7e907cSAndroid Build Coastguard Worker */ 165*4d7e907cSAndroid Build Coastguard Worker stopSubscribeRequest(CommandIdShort cmdId, uint8_t sessionId) 166*4d7e907cSAndroid Build Coastguard Worker generates (WifiStatus status); 167*4d7e907cSAndroid Build Coastguard Worker 168*4d7e907cSAndroid Build Coastguard Worker /** 169*4d7e907cSAndroid Build Coastguard Worker * NAN transmit follow up message request. 170*4d7e907cSAndroid Build Coastguard Worker * Asynchronous response is with |IWifiNanIfaceEventCallback.notifyTransmitFollowupResponse|. 171*4d7e907cSAndroid Build Coastguard Worker * 172*4d7e907cSAndroid Build Coastguard Worker * @param cmdId command Id to use for this invocation. 173*4d7e907cSAndroid Build Coastguard Worker * @param msg Instance of |NanTransmitFollowupRequest|. 174*4d7e907cSAndroid Build Coastguard Worker * @return status WifiStatus of the operation. 175*4d7e907cSAndroid Build Coastguard Worker * Possible status codes: 176*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.SUCCESS|, 177*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.ERROR_WIFI_IFACE_INVALID|, 178*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.ERROR_INVALID_ARGS|, 179*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.ERROR_UNKNOWN| 180*4d7e907cSAndroid Build Coastguard Worker */ 181*4d7e907cSAndroid Build Coastguard Worker transmitFollowupRequest(CommandIdShort cmdId, NanTransmitFollowupRequest msg) 182*4d7e907cSAndroid Build Coastguard Worker generates (WifiStatus status); 183*4d7e907cSAndroid Build Coastguard Worker 184*4d7e907cSAndroid Build Coastguard Worker /** 185*4d7e907cSAndroid Build Coastguard Worker * Create a NAN Data Interface. 186*4d7e907cSAndroid Build Coastguard Worker * Asynchronous response is with |IWifiNanIfaceEventCallback.notifyCreateDataInterfaceResponse|. 187*4d7e907cSAndroid Build Coastguard Worker * 188*4d7e907cSAndroid Build Coastguard Worker * @param cmdId command Id to use for this invocation. 189*4d7e907cSAndroid Build Coastguard Worker * @return status WifiStatus of the operation. 190*4d7e907cSAndroid Build Coastguard Worker * Possible status codes: 191*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.SUCCESS|, 192*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.ERROR_WIFI_IFACE_INVALID|, 193*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.ERROR_UNKNOWN| 194*4d7e907cSAndroid Build Coastguard Worker */ 195*4d7e907cSAndroid Build Coastguard Worker createDataInterfaceRequest(CommandIdShort cmdId, string ifaceName) 196*4d7e907cSAndroid Build Coastguard Worker generates (WifiStatus status); 197*4d7e907cSAndroid Build Coastguard Worker 198*4d7e907cSAndroid Build Coastguard Worker /** 199*4d7e907cSAndroid Build Coastguard Worker * Delete a NAN Data Interface. 200*4d7e907cSAndroid Build Coastguard Worker * Asynchronous response is with |IWifiNanIfaceEventCallback.notifyDeleteDataInterfaceResponse|. 201*4d7e907cSAndroid Build Coastguard Worker * 202*4d7e907cSAndroid Build Coastguard Worker * @param cmdId command Id to use for this invocation. 203*4d7e907cSAndroid Build Coastguard Worker * @return status WifiStatus of the operation. 204*4d7e907cSAndroid Build Coastguard Worker * Possible status codes: 205*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.SUCCESS|, 206*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.ERROR_WIFI_IFACE_INVALID|, 207*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.ERROR_UNKNOWN| 208*4d7e907cSAndroid Build Coastguard Worker */ 209*4d7e907cSAndroid Build Coastguard Worker deleteDataInterfaceRequest(CommandIdShort cmdId, string ifaceName) 210*4d7e907cSAndroid Build Coastguard Worker generates (WifiStatus status); 211*4d7e907cSAndroid Build Coastguard Worker 212*4d7e907cSAndroid Build Coastguard Worker /** 213*4d7e907cSAndroid Build Coastguard Worker * Initiate a data-path (NDP) setup operation: Initiator. 214*4d7e907cSAndroid Build Coastguard Worker * Asynchronous response is with |IWifiNanIfaceEventCallback.notifyInitiateDataPathResponse|. 215*4d7e907cSAndroid Build Coastguard Worker * 216*4d7e907cSAndroid Build Coastguard Worker * @param cmdId command Id to use for this invocation. 217*4d7e907cSAndroid Build Coastguard Worker * @param msg Instance of |NanInitiateDataPathRequest|. 218*4d7e907cSAndroid Build Coastguard Worker * @return status WifiStatus of the operation. 219*4d7e907cSAndroid Build Coastguard Worker * Possible status codes: 220*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.SUCCESS|, 221*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.ERROR_WIFI_IFACE_INVALID|, 222*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.ERROR_INVALID_ARGS|, 223*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.ERROR_UNKNOWN| 224*4d7e907cSAndroid Build Coastguard Worker */ 225*4d7e907cSAndroid Build Coastguard Worker initiateDataPathRequest(CommandIdShort cmdId, NanInitiateDataPathRequest msg) 226*4d7e907cSAndroid Build Coastguard Worker generates (WifiStatus status); 227*4d7e907cSAndroid Build Coastguard Worker 228*4d7e907cSAndroid Build Coastguard Worker /** 229*4d7e907cSAndroid Build Coastguard Worker * Respond to a received data indication as part of a data-path (NDP) setup operation. An 230*4d7e907cSAndroid Build Coastguard Worker * indication is received by the Responder from the Initiator. 231*4d7e907cSAndroid Build Coastguard Worker * Asynchronous response is with 232*4d7e907cSAndroid Build Coastguard Worker * |IWifiNanIfaceEventCallback.notifyRespondToDataPathIndicationResponse|. 233*4d7e907cSAndroid Build Coastguard Worker * 234*4d7e907cSAndroid Build Coastguard Worker * @param cmdId command Id to use for this invocation. 235*4d7e907cSAndroid Build Coastguard Worker * @param msg Instance of |NanRespondToDataPathIndicationRequest|. 236*4d7e907cSAndroid Build Coastguard Worker * @return status WifiStatus of the operation. 237*4d7e907cSAndroid Build Coastguard Worker * Possible status codes: 238*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.SUCCESS|, 239*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.ERROR_WIFI_IFACE_INVALID|, 240*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.ERROR_INVALID_ARGS|, 241*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.ERROR_UNKNOWN| 242*4d7e907cSAndroid Build Coastguard Worker */ 243*4d7e907cSAndroid Build Coastguard Worker respondToDataPathIndicationRequest(CommandIdShort cmdId, 244*4d7e907cSAndroid Build Coastguard Worker NanRespondToDataPathIndicationRequest msg) 245*4d7e907cSAndroid Build Coastguard Worker generates (WifiStatus status); 246*4d7e907cSAndroid Build Coastguard Worker 247*4d7e907cSAndroid Build Coastguard Worker /** 248*4d7e907cSAndroid Build Coastguard Worker * Data-path (NDP) termination request: executed by either Initiator or Responder. 249*4d7e907cSAndroid Build Coastguard Worker * Asynchronous response is with |IWifiNanIfaceEventCallback.notifyTerminateDataPathResponse|. 250*4d7e907cSAndroid Build Coastguard Worker * 251*4d7e907cSAndroid Build Coastguard Worker * @param cmdId command Id to use for this invocation. 252*4d7e907cSAndroid Build Coastguard Worker * @param ndpInstanceId Data-path instance ID to be terminated. 253*4d7e907cSAndroid Build Coastguard Worker * @return status WifiStatus of the operation. 254*4d7e907cSAndroid Build Coastguard Worker * Possible status codes: 255*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.SUCCESS|, 256*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.ERROR_WIFI_IFACE_INVALID|, 257*4d7e907cSAndroid Build Coastguard Worker * |WifiStatusCode.ERROR_UNKNOWN| 258*4d7e907cSAndroid Build Coastguard Worker */ 259*4d7e907cSAndroid Build Coastguard Worker terminateDataPathRequest(CommandIdShort cmdId, uint32_t ndpInstanceId) 260*4d7e907cSAndroid Build Coastguard Worker generates (WifiStatus status); 261*4d7e907cSAndroid Build Coastguard Worker}; 262