diff options
Diffstat (limited to 'wifi/1.0/IWifiStaIfaceEventCallback.hal')
| -rw-r--r-- | wifi/1.0/IWifiStaIfaceEventCallback.hal | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/wifi/1.0/IWifiStaIfaceEventCallback.hal b/wifi/1.0/IWifiStaIfaceEventCallback.hal index d47d40cfd..e8df4c27a 100644 --- a/wifi/1.0/IWifiStaIfaceEventCallback.hal +++ b/wifi/1.0/IWifiStaIfaceEventCallback.hal @@ -20,6 +20,8 @@ interface IWifiStaIfaceEventCallback { /** * Callback indicating that an ongoing background scan request has failed. * The background scan needs to be restarted to continue scanning. + * + * @param cmdId command ID corresponding to the request. */ oneway onBackgroundScanFailure(CommandId cmdId); @@ -28,7 +30,7 @@ interface IWifiStaIfaceEventCallback { * |REPORT_EVENTS_FULL_RESULTS| flag set in * |StaBackgroundScanBucketParameters.eventReportScheme|. * - * @param cmdId command Id corresponding to the request. + * @param cmdId command ID corresponding to the request. * @parm result Full scan result for an AP. */ oneway onBackgroundFullScanResult(CommandId cmdId, StaScanResult result); @@ -39,8 +41,18 @@ interface IWifiStaIfaceEventCallback { * |REPORT_EVENTS_EACH_SCAN| or one of the configured thresholds was * breached. * - * @param cmdId command Id corresponding to the request. + * @param cmdId command ID corresponding to the request. * @parm scanDatas List of scan result for all AP's seen since last callback. */ oneway onBackgroundScanResults(CommandId cmdId, vec<StaScanData> scanDatas); + + /** + * Called when the RSSI of the currently connected access point goes beyond the + * thresholds set via |IWifiStaIface.startRssiMonitoring|. + * + * @param cmdId command ID corresponding to the request. + * @param currBssid BSSID of the currently connected access point. + * @param currRssi RSSI of the currently connected access point. + */ + oneway onRssiThresholdBreached(CommandId cmdId, Bssid currBssid, Rssi currRssi); }; |
