Loading wifi/hostapd/1.3/IHostapd.hal +2 −3 Original line number Diff line number Diff line Loading @@ -18,8 +18,8 @@ package android.hardware.wifi.hostapd@1.3; import @1.2::IHostapd; import @1.2::HostapdStatus; import IHostapdCallback; /** * Top-level object for managing SoftAPs. */ Loading @@ -39,6 +39,5 @@ interface IHostapd extends @1.2::IHostapd { * |HostapdStatusCode.SUCCESS|, * |HostapdStatusCode.FAILURE_UNKNOWN| */ registerCallback_1_3(IHostapdCallback callback) generates (HostapdStatus status); registerCallback_1_3(IHostapdCallback callback) generates (HostapdStatus status); }; wifi/hostapd/1.3/IHostapdCallback.hal +17 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ package android.hardware.wifi.hostapd@1.3; import @1.1::IHostapdCallback; import @1.2::MacAddress; import Generation; /** Loading @@ -24,4 +25,20 @@ import Generation; */ interface IHostapdCallback extends @1.1::IHostapdCallback { oneway onInterfaceInfoChanged(string ifaceName, Generation generation); /** * Invoked when a client connects/disconnects from the hotspot. * * @param ifaceName Name of the interface which is added via * |IHostapd.addAccessPoint|. * @param apIfaceInstance The identity of the AP instance. The interface * will have two instances in dual AP mode. The apIfaceInstance can be used * to identify which instance the callback is from. * Note: The apIfaceInstance must be same as ifaceName in single AP mode. * @param clientAddress Mac Address of hotspot client. * @param isConnected true when client connected, false when client * disconnected. */ oneway onConnectedClientsChanged(string ifaceName, string apIfaceInstance, MacAddress clientAddress, bool isConnected); }; wifi/hostapd/1.3/types.hal +0 −1 Original line number Diff line number Diff line Loading @@ -34,4 +34,3 @@ enum Generation : uint32_t { WIFI_STANDARD_11AC = 2, WIFI_STANDARD_11AX = 3, }; Loading
wifi/hostapd/1.3/IHostapd.hal +2 −3 Original line number Diff line number Diff line Loading @@ -18,8 +18,8 @@ package android.hardware.wifi.hostapd@1.3; import @1.2::IHostapd; import @1.2::HostapdStatus; import IHostapdCallback; /** * Top-level object for managing SoftAPs. */ Loading @@ -39,6 +39,5 @@ interface IHostapd extends @1.2::IHostapd { * |HostapdStatusCode.SUCCESS|, * |HostapdStatusCode.FAILURE_UNKNOWN| */ registerCallback_1_3(IHostapdCallback callback) generates (HostapdStatus status); registerCallback_1_3(IHostapdCallback callback) generates (HostapdStatus status); };
wifi/hostapd/1.3/IHostapdCallback.hal +17 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ package android.hardware.wifi.hostapd@1.3; import @1.1::IHostapdCallback; import @1.2::MacAddress; import Generation; /** Loading @@ -24,4 +25,20 @@ import Generation; */ interface IHostapdCallback extends @1.1::IHostapdCallback { oneway onInterfaceInfoChanged(string ifaceName, Generation generation); /** * Invoked when a client connects/disconnects from the hotspot. * * @param ifaceName Name of the interface which is added via * |IHostapd.addAccessPoint|. * @param apIfaceInstance The identity of the AP instance. The interface * will have two instances in dual AP mode. The apIfaceInstance can be used * to identify which instance the callback is from. * Note: The apIfaceInstance must be same as ifaceName in single AP mode. * @param clientAddress Mac Address of hotspot client. * @param isConnected true when client connected, false when client * disconnected. */ oneway onConnectedClientsChanged(string ifaceName, string apIfaceInstance, MacAddress clientAddress, bool isConnected); };
wifi/hostapd/1.3/types.hal +0 −1 Original line number Diff line number Diff line Loading @@ -34,4 +34,3 @@ enum Generation : uint32_t { WIFI_STANDARD_11AC = 2, WIFI_STANDARD_11AX = 3, };