Hostapd: Add hostapd_cli like string commands
Add hostapdCmd() API to provide hostapd_cli like string commands to hostapd for value added feature. Change-Id: Iec559538d1bfc76036a584c27bc1a0de94afb149 CRs-Fixed: 2667560
This commit is contained in:
committed by
Purushottam Kushwaha
parent
2699635d77
commit
6ae2aa51e6
@@ -214,4 +214,25 @@ interface IHostapdVendor extends @1.1::IHostapdVendor {
|
||||
*/
|
||||
addVendorAccessPoint_1_2(VendorIfaceParams ifaceParams, VendorNetworkParams nwParams)
|
||||
generates (HostapdStatus status);
|
||||
|
||||
/**
|
||||
* List active interfaces in hostapd.
|
||||
*
|
||||
* @return status Status of the operation.
|
||||
* Possible status codes:
|
||||
* |SupplicantStatusCode.SUCCESS|,
|
||||
* |SupplicantStatusCode.FAILURE_UNKNOWN|
|
||||
* @return ifnames Active interface names.
|
||||
*/
|
||||
listInterfaces() generates (HostapdStatus status, vec<string> ifnames);
|
||||
|
||||
/**
|
||||
* Send hostapd_cli like commands to hostapd.
|
||||
* @return status Status of the operation.
|
||||
* Possible status codes:
|
||||
* |SupplicantStatusCode.SUCCESS|,
|
||||
* |SupplicantStatusCode.FAILURE_UNKNOWN|
|
||||
* @return reply Hostapd_cli like reply string
|
||||
*/
|
||||
hostapdCmd(string ifname, string cmd) generates (HostapdStatus status, string reply);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user