Loading wifi/supplicant/1.0/ISupplicantP2pIface.hal +28 −0 Original line number Diff line number Diff line Loading @@ -59,6 +59,22 @@ interface ISupplicantP2pIface extends ISupplicantIface { uint32_t max; }; /** * Enum describing the modes of Miracast supported * via driver commands. */ enum MiracastMode : uint8_t { DISABLED = 0, /** * Operating as source. */ SOURCE = 1, /** * Operating as sink. */ SINK = 2 }; /** * Register for callbacks from this interface. * Loading Loading @@ -511,4 +527,16 @@ interface ISupplicantP2pIface extends ISupplicantIface { */ cancelServiceDiscovery(uint64_t identifier) generates (SupplicantStatus status); /** * Send driver command to set Miracast mode. * * @param mode Mode of Miracast. * @return status Status of the operation. * Possible status codes: * |SupplicantStatusCode.SUCCESS|, * |SupplicantStatusCode.FAILURE_UNKNOWN| */ setMiracastMode(MiracastMode mode) generates (SupplicantStatus status); }; wifi/supplicant/1.0/ISupplicantStaIface.hal +129 −3 Original line number Diff line number Diff line Loading @@ -48,6 +48,25 @@ interface ISupplicantStaIface extends ISupplicantIface { OSU_PROVIDERS_LIST = 8, }; /** * Enum describing the types of RX filter supported * via driver commands. */ enum RxFilterType : uint8_t { V4_MULTICAST = 0, V6_MULTICAST = 1 }; /** * Enum describing the modes of BT coexistence supported * via driver commands. */ enum BtCoexistenceMode : uint8_t { ENABLED = 0, DISABLED = 1, SENSE = 2 }; /** * Register for callbacks from this interface. * Loading Loading @@ -120,7 +139,7 @@ interface ISupplicantStaIface extends ISupplicantIface { setPowerSave(bool enable) generates (SupplicantStatus status); /** * Initiate TDLS discover with the provided peer mac address. * Initiate TDLS discover with the provided peer MAC address. * * @param macAddress MAC address of the peer. * @return status Status of the operation. Loading @@ -133,7 +152,7 @@ interface ISupplicantStaIface extends ISupplicantIface { generates (SupplicantStatus status); /** * Initiate TDLS setup with the provided peer mac address. * Initiate TDLS setup with the provided peer MAC address. * * @param macAddress MAC address of the peer. * @return status Status of the operation. Loading @@ -146,7 +165,7 @@ interface ISupplicantStaIface extends ISupplicantIface { generates (SupplicantStatus status); /** * Initiate TDLS teardown with the provided peer mac address. * Initiate TDLS teardown with the provided peer MAC address. * * @param macAddress MAC address of the peer. * @return status Status of the operation. Loading Loading @@ -193,4 +212,111 @@ interface ISupplicantStaIface extends ISupplicantIface { */ initiateHs20IconQuery(MacAddress macAddress, string fileName) generates (SupplicantStatus status); /** * Send driver command to get MAC address of the device. * * @return status Status of the operation. * Possible status codes: * |SupplicantStatusCode.SUCCESS|, * |SupplicantStatusCode.FAILURE_UNKNOWN| * @return macAddr MAC address of the device. */ getMacAddress() generates (SupplicantStatus status, MacAddress macAddr); /** * Send driver command to start RX filter. * * @return status Status of the operation. * Possible status codes: * |SupplicantStatusCode.SUCCESS|, * |SupplicantStatusCode.FAILURE_UNKNOWN| */ startRxFilter() generates (SupplicantStatus status); /** * Send driver command to stop RX filter. * * @return status Status of the operation. * Possible status codes: * |SupplicantStatusCode.SUCCESS|, * |SupplicantStatusCode.FAILURE_UNKNOWN| */ stopRxFilter() generates (SupplicantStatus status); /** * Send driver command to add the specified RX filter. * * @param type Type of filter. * @return status Status of the operation. * Possible status codes: * |SupplicantStatusCode.SUCCESS|, * |SupplicantStatusCode.FAILURE_UNKNOWN| */ addRxFilter(RxFilterType type) generates (SupplicantStatus status); /** * Send driver command to remove the specified RX filter. * * @param type Type of filter. * @return status Status of the operation. * Possible status codes: * |SupplicantStatusCode.SUCCESS|, * |SupplicantStatusCode.FAILURE_UNKNOWN| */ removeRxFilter(RxFilterType type) generates (SupplicantStatus status); /** * Send driver command to set Bluetooth coexistence mode. * * @param mode Mode of Bluetooth coexistence. * @return status Status of the operation. * Possible status codes: * |SupplicantStatusCode.SUCCESS|, * |SupplicantStatusCode.FAILURE_UNKNOWN| */ setBtCoexistenceMode(BtCoexistenceMode mode) generates (SupplicantStatus status); /** * Send driver command to set Bluetooth coexistence scan mode. * When this mode is on, some of the low-level scan parameters * used by the driver are changed to reduce interference * with A2DP streaming. * * @param enable true to enable, false to disable. * @return status Status of the operation. * Possible status codes: * |SupplicantStatusCode.SUCCESS|, * |SupplicantStatusCode.FAILURE_UNKNOWN| */ setBtCoexistenceScanModeEnabled(bool enable) generates (SupplicantStatus status); /** * Send driver command to set suspend optimizations for power save. * * @param enable true to enable, false to disable. * @return status Status of the operation. * Possible status codes: * |SupplicantStatusCode.SUCCESS|, * |SupplicantStatusCode.FAILURE_UNKNOWN| */ setSuspendModeEnabled(bool enable) generates (SupplicantStatus status); /** * Send driver command to set country code. * * @param code 2 byte country code (as defined in ISO 3166) to set. * @return status Status of the operation. * Possible status codes: * |SupplicantStatusCode.SUCCESS|, * |SupplicantStatusCode.FAILURE_UNKNOWN| */ setCountryCode(int8_t[2] code) generates (SupplicantStatus status); }; wifi/supplicant/1.0/ISupplicant.hal +8 −8 File changed.Contains only whitespace changes. Show changes Loading
wifi/supplicant/1.0/ISupplicantP2pIface.hal +28 −0 Original line number Diff line number Diff line Loading @@ -59,6 +59,22 @@ interface ISupplicantP2pIface extends ISupplicantIface { uint32_t max; }; /** * Enum describing the modes of Miracast supported * via driver commands. */ enum MiracastMode : uint8_t { DISABLED = 0, /** * Operating as source. */ SOURCE = 1, /** * Operating as sink. */ SINK = 2 }; /** * Register for callbacks from this interface. * Loading Loading @@ -511,4 +527,16 @@ interface ISupplicantP2pIface extends ISupplicantIface { */ cancelServiceDiscovery(uint64_t identifier) generates (SupplicantStatus status); /** * Send driver command to set Miracast mode. * * @param mode Mode of Miracast. * @return status Status of the operation. * Possible status codes: * |SupplicantStatusCode.SUCCESS|, * |SupplicantStatusCode.FAILURE_UNKNOWN| */ setMiracastMode(MiracastMode mode) generates (SupplicantStatus status); };
wifi/supplicant/1.0/ISupplicantStaIface.hal +129 −3 Original line number Diff line number Diff line Loading @@ -48,6 +48,25 @@ interface ISupplicantStaIface extends ISupplicantIface { OSU_PROVIDERS_LIST = 8, }; /** * Enum describing the types of RX filter supported * via driver commands. */ enum RxFilterType : uint8_t { V4_MULTICAST = 0, V6_MULTICAST = 1 }; /** * Enum describing the modes of BT coexistence supported * via driver commands. */ enum BtCoexistenceMode : uint8_t { ENABLED = 0, DISABLED = 1, SENSE = 2 }; /** * Register for callbacks from this interface. * Loading Loading @@ -120,7 +139,7 @@ interface ISupplicantStaIface extends ISupplicantIface { setPowerSave(bool enable) generates (SupplicantStatus status); /** * Initiate TDLS discover with the provided peer mac address. * Initiate TDLS discover with the provided peer MAC address. * * @param macAddress MAC address of the peer. * @return status Status of the operation. Loading @@ -133,7 +152,7 @@ interface ISupplicantStaIface extends ISupplicantIface { generates (SupplicantStatus status); /** * Initiate TDLS setup with the provided peer mac address. * Initiate TDLS setup with the provided peer MAC address. * * @param macAddress MAC address of the peer. * @return status Status of the operation. Loading @@ -146,7 +165,7 @@ interface ISupplicantStaIface extends ISupplicantIface { generates (SupplicantStatus status); /** * Initiate TDLS teardown with the provided peer mac address. * Initiate TDLS teardown with the provided peer MAC address. * * @param macAddress MAC address of the peer. * @return status Status of the operation. Loading Loading @@ -193,4 +212,111 @@ interface ISupplicantStaIface extends ISupplicantIface { */ initiateHs20IconQuery(MacAddress macAddress, string fileName) generates (SupplicantStatus status); /** * Send driver command to get MAC address of the device. * * @return status Status of the operation. * Possible status codes: * |SupplicantStatusCode.SUCCESS|, * |SupplicantStatusCode.FAILURE_UNKNOWN| * @return macAddr MAC address of the device. */ getMacAddress() generates (SupplicantStatus status, MacAddress macAddr); /** * Send driver command to start RX filter. * * @return status Status of the operation. * Possible status codes: * |SupplicantStatusCode.SUCCESS|, * |SupplicantStatusCode.FAILURE_UNKNOWN| */ startRxFilter() generates (SupplicantStatus status); /** * Send driver command to stop RX filter. * * @return status Status of the operation. * Possible status codes: * |SupplicantStatusCode.SUCCESS|, * |SupplicantStatusCode.FAILURE_UNKNOWN| */ stopRxFilter() generates (SupplicantStatus status); /** * Send driver command to add the specified RX filter. * * @param type Type of filter. * @return status Status of the operation. * Possible status codes: * |SupplicantStatusCode.SUCCESS|, * |SupplicantStatusCode.FAILURE_UNKNOWN| */ addRxFilter(RxFilterType type) generates (SupplicantStatus status); /** * Send driver command to remove the specified RX filter. * * @param type Type of filter. * @return status Status of the operation. * Possible status codes: * |SupplicantStatusCode.SUCCESS|, * |SupplicantStatusCode.FAILURE_UNKNOWN| */ removeRxFilter(RxFilterType type) generates (SupplicantStatus status); /** * Send driver command to set Bluetooth coexistence mode. * * @param mode Mode of Bluetooth coexistence. * @return status Status of the operation. * Possible status codes: * |SupplicantStatusCode.SUCCESS|, * |SupplicantStatusCode.FAILURE_UNKNOWN| */ setBtCoexistenceMode(BtCoexistenceMode mode) generates (SupplicantStatus status); /** * Send driver command to set Bluetooth coexistence scan mode. * When this mode is on, some of the low-level scan parameters * used by the driver are changed to reduce interference * with A2DP streaming. * * @param enable true to enable, false to disable. * @return status Status of the operation. * Possible status codes: * |SupplicantStatusCode.SUCCESS|, * |SupplicantStatusCode.FAILURE_UNKNOWN| */ setBtCoexistenceScanModeEnabled(bool enable) generates (SupplicantStatus status); /** * Send driver command to set suspend optimizations for power save. * * @param enable true to enable, false to disable. * @return status Status of the operation. * Possible status codes: * |SupplicantStatusCode.SUCCESS|, * |SupplicantStatusCode.FAILURE_UNKNOWN| */ setSuspendModeEnabled(bool enable) generates (SupplicantStatus status); /** * Send driver command to set country code. * * @param code 2 byte country code (as defined in ISO 3166) to set. * @return status Status of the operation. * Possible status codes: * |SupplicantStatusCode.SUCCESS|, * |SupplicantStatusCode.FAILURE_UNKNOWN| */ setCountryCode(int8_t[2] code) generates (SupplicantStatus status); };
wifi/supplicant/1.0/ISupplicant.hal +8 −8 File changed.Contains only whitespace changes. Show changes