mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2026-06-07 16:35:14 -06:00
Starting tests
This commit is contained in:
parent
8af024bddb
commit
4e73a1d057
@ -180,6 +180,25 @@ void Module::Interface::GetStatus(Kernel::HLERequestContext& ctx) {
|
|||||||
LOG_WARNING(Service_AC, "(STUBBED) called");
|
LOG_WARNING(Service_AC, "(STUBBED) called");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void Module::Interface::ScanAPs(Kernel::HLERequestContext& ctx) {
|
||||||
|
IPC::RequestParser rp(ctx);
|
||||||
|
const u32 arg1 = rp.Pop();
|
||||||
|
LOG_WARNING(Service_AC, "val1: {}", arg1);
|
||||||
|
const u32 arg2 = rp.Pop();
|
||||||
|
LOG_WARNING(Service_AC, "val2: {}", arg2);
|
||||||
|
const u32 arg3 = rp.Pop();
|
||||||
|
LOG_WARNING(Service_AC, "val3: {}", arg3);
|
||||||
|
const u32 arg4 = rp.Pop();
|
||||||
|
LOG_WARNING(Service_AC, "val4: {}", arg4);
|
||||||
|
const u32 arg5 = rp.Pop();
|
||||||
|
LOG_WARNING(Service_AC, "val5: {}", arg5);
|
||||||
|
|
||||||
|
IPC::RequestBuilder rb = rp.MakeBuilder(1, 0);
|
||||||
|
rb.Push(ResultUnknown);
|
||||||
|
LOG_WARNING(Service_AC, "(STUBBED) called");
|
||||||
|
}
|
||||||
|
|
||||||
void Module::Interface::GetInfraPriority(Kernel::HLERequestContext& ctx) {
|
void Module::Interface::GetInfraPriority(Kernel::HLERequestContext& ctx) {
|
||||||
IPC::RequestParser rp(ctx);
|
IPC::RequestParser rp(ctx);
|
||||||
[[maybe_unused]] const std::vector<u8>& ac_config = rp.PopStaticBuffer();
|
[[maybe_unused]] const std::vector<u8>& ac_config = rp.PopStaticBuffer();
|
||||||
|
|||||||
@ -122,6 +122,15 @@ public:
|
|||||||
*/
|
*/
|
||||||
void GetConnectingInfraPriority(Kernel::HLERequestContext& ctx);
|
void GetConnectingInfraPriority(Kernel::HLERequestContext& ctx);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* AC::ScanAPs service function
|
||||||
|
* Inputs:
|
||||||
|
* ?
|
||||||
|
* Outputs:
|
||||||
|
* ?
|
||||||
|
*/
|
||||||
|
void ScanAPs(Kernel::HLERequestContext& ctx);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* AC::GetInfraPriority service function
|
* AC::GetInfraPriority service function
|
||||||
* Inputs:
|
* Inputs:
|
||||||
|
|||||||
@ -23,7 +23,7 @@ AC_I::AC_I(std::shared_ptr<Module> ac) : Module::Interface(std::move(ac), "ac:i"
|
|||||||
{0x000F, &AC_I::GetConnectingInfraPriority, "GetConnectingInfraPriority"},
|
{0x000F, &AC_I::GetConnectingInfraPriority, "GetConnectingInfraPriority"},
|
||||||
{0x0010, nullptr, "GetCurrentNZoneInfo"},
|
{0x0010, nullptr, "GetCurrentNZoneInfo"},
|
||||||
{0x0011, nullptr, "GetNZoneApNumService"},
|
{0x0011, nullptr, "GetNZoneApNumService"},
|
||||||
{0x001D, nullptr, "ScanAPs"},
|
{0x001D, &AC_I::ScanAPs, "ScanAPs"},
|
||||||
{0x0024, nullptr, "AddDenyApType"},
|
{0x0024, nullptr, "AddDenyApType"},
|
||||||
{0x0027, &AC_I::GetInfraPriority, "GetInfraPriority"},
|
{0x0027, &AC_I::GetInfraPriority, "GetInfraPriority"},
|
||||||
{0x002C, &AC_I::SetFromApplication, "SetFromApplication"},
|
{0x002C, &AC_I::SetFromApplication, "SetFromApplication"},
|
||||||
|
|||||||
@ -23,7 +23,7 @@ AC_U::AC_U(std::shared_ptr<Module> ac) : Module::Interface(std::move(ac), "ac:u"
|
|||||||
{0x000F, &AC_U::GetConnectingInfraPriority, "GetConnectingInfraPriority"},
|
{0x000F, &AC_U::GetConnectingInfraPriority, "GetConnectingInfraPriority"},
|
||||||
{0x0010, nullptr, "GetCurrentNZoneInfo"},
|
{0x0010, nullptr, "GetCurrentNZoneInfo"},
|
||||||
{0x0011, nullptr, "GetNZoneApNumService"},
|
{0x0011, nullptr, "GetNZoneApNumService"},
|
||||||
{0x001D, nullptr, "ScanAPs"},
|
{0x001D, &AC_U::ScanAPs, "ScanAPs"},
|
||||||
{0x0024, nullptr, "AddDenyApType"},
|
{0x0024, nullptr, "AddDenyApType"},
|
||||||
{0x0027, &AC_U::GetInfraPriority, "GetInfraPriority"},
|
{0x0027, &AC_U::GetInfraPriority, "GetInfraPriority"},
|
||||||
{0x002C, &AC_U::SetFromApplication, "SetFromApplication"},
|
{0x002C, &AC_U::SetFromApplication, "SetFromApplication"},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user