Message ID | 1465271686-16598-1-git-send-email-alex.hung@canonical.com |
---|---|
State | Accepted |
Headers | show |
On 07/06/16 04:54, Alex Hung wrote: > Signed-off-by: Alex Hung <alex.hung@canonical.com> > --- > src/acpi/method/method.c | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > > diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c > index 7adb3fa..dcf3eb7 100644 > --- a/src/acpi/method/method.c > +++ b/src/acpi/method/method.c > @@ -246,6 +246,7 @@ > * _UPP Y > * _VPO Y > * _WAK Y > + * _WPP Y > * _Wxx n/a > * _WDG N > * _WED N > @@ -5621,6 +5622,15 @@ static int method_test_PMM(fwts_framework *fw) > } > > /* > + * Section 10.5 Wireless Power Controllers > + */ > +static int method_test_WPP(fwts_framework *fw) > +{ > + return method_evaluate_method(fw, METHOD_OPTIONAL, > + "_WPP", NULL, 0, method_test_integer_return, NULL); > +} > + > +/* > * Section 11.3 Fan Devices > */ > static void method_test_FIF_return( > @@ -7077,6 +7087,9 @@ static fwts_framework_minor_test method_tests[] = { > /* { method_test_PTP, "Test _PTP (Power Trip Points)." }, */ > /* { method_test_SHL, "Test _SHL (Set Hardware Limit)." }, */ > > + /* Section 10.5 Wireless Power Controllers */ > + { method_test_WPP, "Test _WPP (Wireless Power Polling)." }, > + > /* Section 11.3 Fan Devices */ > > { method_test_FIF, "Test _FIF (Fan Information)." }, > Acked-by: Colin Ian King <colin.king@canonical.com>
On 2016年06月07日 11:54, Alex Hung wrote: > Signed-off-by: Alex Hung <alex.hung@canonical.com> > --- > src/acpi/method/method.c | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > > diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c > index 7adb3fa..dcf3eb7 100644 > --- a/src/acpi/method/method.c > +++ b/src/acpi/method/method.c > @@ -246,6 +246,7 @@ > * _UPP Y > * _VPO Y > * _WAK Y > + * _WPP Y > * _Wxx n/a > * _WDG N > * _WED N > @@ -5621,6 +5622,15 @@ static int method_test_PMM(fwts_framework *fw) > } > > /* > + * Section 10.5 Wireless Power Controllers > + */ > +static int method_test_WPP(fwts_framework *fw) > +{ > + return method_evaluate_method(fw, METHOD_OPTIONAL, > + "_WPP", NULL, 0, method_test_integer_return, NULL); > +} > + > +/* > * Section 11.3 Fan Devices > */ > static void method_test_FIF_return( > @@ -7077,6 +7087,9 @@ static fwts_framework_minor_test method_tests[] = { > /* { method_test_PTP, "Test _PTP (Power Trip Points)." }, */ > /* { method_test_SHL, "Test _SHL (Set Hardware Limit)." }, */ > > + /* Section 10.5 Wireless Power Controllers */ > + { method_test_WPP, "Test _WPP (Wireless Power Polling)." }, > + > /* Section 11.3 Fan Devices */ > > { method_test_FIF, "Test _FIF (Fan Information)." }, > Acked-by: Ivan Hu <ivan.hu@canonical.com>
diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c index 7adb3fa..dcf3eb7 100644 --- a/src/acpi/method/method.c +++ b/src/acpi/method/method.c @@ -246,6 +246,7 @@ * _UPP Y * _VPO Y * _WAK Y + * _WPP Y * _Wxx n/a * _WDG N * _WED N @@ -5621,6 +5622,15 @@ static int method_test_PMM(fwts_framework *fw) } /* + * Section 10.5 Wireless Power Controllers + */ +static int method_test_WPP(fwts_framework *fw) +{ + return method_evaluate_method(fw, METHOD_OPTIONAL, + "_WPP", NULL, 0, method_test_integer_return, NULL); +} + +/* * Section 11.3 Fan Devices */ static void method_test_FIF_return( @@ -7077,6 +7087,9 @@ static fwts_framework_minor_test method_tests[] = { /* { method_test_PTP, "Test _PTP (Power Trip Points)." }, */ /* { method_test_SHL, "Test _SHL (Set Hardware Limit)." }, */ + /* Section 10.5 Wireless Power Controllers */ + { method_test_WPP, "Test _WPP (Wireless Power Polling)." }, + /* Section 11.3 Fan Devices */ { method_test_FIF, "Test _FIF (Fan Information)." },
Signed-off-by: Alex Hung <alex.hung@canonical.com> --- src/acpi/method/method.c | 13 +++++++++++++ 1 file changed, 13 insertions(+)