aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/platform/x86/dell-laptop.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/platform/x86/dell-laptop.c b/drivers/platform/x86/dell-laptop.c
index ab89103150b5..9724613c28a6 100644
--- a/drivers/platform/x86/dell-laptop.c
+++ b/drivers/platform/x86/dell-laptop.c
@@ -629,12 +629,21 @@ static int dell_debugfs_show(struct seq_file *s, void *data)
629 (status & BIT(4)) >> 4); 629 (status & BIT(4)) >> 4);
630 seq_printf(s, "Bit 5 : Wireless keyboard supported: %lu\n", 630 seq_printf(s, "Bit 5 : Wireless keyboard supported: %lu\n",
631 (status & BIT(5)) >> 5); 631 (status & BIT(5)) >> 5);
632 seq_printf(s, "Bit 6 : UWB supported: %lu\n",
633 (status & BIT(6)) >> 6);
634 seq_printf(s, "Bit 7 : WiGig supported: %lu\n",
635 (status & BIT(7)) >> 7);
632 seq_printf(s, "Bit 8 : Wifi is installed: %lu\n", 636 seq_printf(s, "Bit 8 : Wifi is installed: %lu\n",
633 (status & BIT(8)) >> 8); 637 (status & BIT(8)) >> 8);
634 seq_printf(s, "Bit 9 : Bluetooth is installed: %lu\n", 638 seq_printf(s, "Bit 9 : Bluetooth is installed: %lu\n",
635 (status & BIT(9)) >> 9); 639 (status & BIT(9)) >> 9);
636 seq_printf(s, "Bit 10: WWAN is installed: %lu\n", 640 seq_printf(s, "Bit 10: WWAN is installed: %lu\n",
637 (status & BIT(10)) >> 10); 641 (status & BIT(10)) >> 10);
642 seq_printf(s, "Bit 11: UWB installed: %lu\n",
643 (status & BIT(11)) >> 11);
644 seq_printf(s, "Bit 12: WiGig installed: %lu\n",
645 (status & BIT(12)) >> 12);
646
638 seq_printf(s, "Bit 16: Hardware switch is on: %lu\n", 647 seq_printf(s, "Bit 16: Hardware switch is on: %lu\n",
639 (status & BIT(16)) >> 16); 648 (status & BIT(16)) >> 16);
640 seq_printf(s, "Bit 17: Wifi is blocked: %lu\n", 649 seq_printf(s, "Bit 17: Wifi is blocked: %lu\n",
@@ -643,6 +652,10 @@ static int dell_debugfs_show(struct seq_file *s, void *data)
643 (status & BIT(18)) >> 18); 652 (status & BIT(18)) >> 18);
644 seq_printf(s, "Bit 19: WWAN is blocked: %lu\n", 653 seq_printf(s, "Bit 19: WWAN is blocked: %lu\n",
645 (status & BIT(19)) >> 19); 654 (status & BIT(19)) >> 19);
655 seq_printf(s, "Bit 20: UWB is blocked: %lu\n",
656 (status & BIT(20)) >> 20);
657 seq_printf(s, "Bit 21: WiGig is blocked: %lu\n",
658 (status & BIT(21)) >> 21);
646 659
647 seq_printf(s, "\nhwswitch_state:\t0x%X\n", hwswitch_state); 660 seq_printf(s, "\nhwswitch_state:\t0x%X\n", hwswitch_state);
648 seq_printf(s, "Bit 0 : Wifi controlled by switch: %lu\n", 661 seq_printf(s, "Bit 0 : Wifi controlled by switch: %lu\n",
@@ -651,6 +664,10 @@ static int dell_debugfs_show(struct seq_file *s, void *data)
651 (hwswitch_state & BIT(1)) >> 1); 664 (hwswitch_state & BIT(1)) >> 1);
652 seq_printf(s, "Bit 2 : WWAN controlled by switch: %lu\n", 665 seq_printf(s, "Bit 2 : WWAN controlled by switch: %lu\n",
653 (hwswitch_state & BIT(2)) >> 2); 666 (hwswitch_state & BIT(2)) >> 2);
667 seq_printf(s, "Bit 3 : UWB controlled by switch: %lu\n",
668 (hwswitch_state & BIT(3)) >> 3);
669 seq_printf(s, "Bit 4 : WiGig controlled by switch: %lu\n",
670 (hwswitch_state & BIT(4)) >> 4);
654 seq_printf(s, "Bit 7 : Wireless switch config locked: %lu\n", 671 seq_printf(s, "Bit 7 : Wireless switch config locked: %lu\n",
655 (hwswitch_state & BIT(7)) >> 7); 672 (hwswitch_state & BIT(7)) >> 7);
656 seq_printf(s, "Bit 8 : Wifi locator enabled: %lu\n", 673 seq_printf(s, "Bit 8 : Wifi locator enabled: %lu\n",