aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-04-21 19:07:11 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-04-21 19:07:11 +0000
commit7af6626bc9e905e248cfce0282892cabc85abf81 (patch)
treeaeaede4185386ff8b50c3f81e3e3ebb6cd682e57 /target
parent016d4161e65bd2c04962325935c77fdeb9f2dbf8 (diff)
downloadupstream-7af6626bc9e905e248cfce0282892cabc85abf81.tar.gz
upstream-7af6626bc9e905e248cfce0282892cabc85abf81.tar.bz2
upstream-7af6626bc9e905e248cfce0282892cabc85abf81.zip
kernel: add KEY_WPS_BUTTON definition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21073 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/generic-2.6/patches-2.6.32/411-add-KEY_WPS_BUTTON-definition.patch26
-rw-r--r--target/linux/generic-2.6/patches-2.6.33/411-add-KEY_WPS_BUTTON-definition.patch25
2 files changed, 51 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.32/411-add-KEY_WPS_BUTTON-definition.patch b/target/linux/generic-2.6/patches-2.6.32/411-add-KEY_WPS_BUTTON-definition.patch
new file mode 100644
index 0000000000..c78874a380
--- /dev/null
+++ b/target/linux/generic-2.6/patches-2.6.32/411-add-KEY_WPS_BUTTON-definition.patch
@@ -0,0 +1,26 @@
+From 492d4f25416528ffb900e6edf0fd70eafd098cfc Mon Sep 17 00:00:00 2001
+From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
+Date: Fri, 26 Feb 2010 00:16:05 -0800
+Subject: [PATCH] Input: add KEY_WPS_BUTTON definition
+
+The new key definition is supposed to be used for buttons that initiate
+WiFi Protected setup sequence:
+
+ http://en.wikipedia.org/wiki/Wi-Fi_Protected_Setup
+
+Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
+---
+ include/linux/input.h | 1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+--- a/include/linux/input.h
++++ b/include/linux/input.h
+@@ -595,6 +595,8 @@ struct input_absinfo {
+ #define KEY_NUMERIC_STAR 0x20a
+ #define KEY_NUMERIC_POUND 0x20b
+
++#define KEY_WPS_BUTTON 0x211 /* WiFi Protected Setup key */
++
+ /* We avoid low common keys in module aliases so they don't get huge. */
+ #define KEY_MIN_INTERESTING KEY_MUTE
+ #define KEY_MAX 0x2ff
diff --git a/target/linux/generic-2.6/patches-2.6.33/411-add-KEY_WPS_BUTTON-definition.patch b/target/linux/generic-2.6/patches-2.6.33/411-add-KEY_WPS_BUTTON-definition.patch
new file mode 100644
index 0000000000..c2b68e79bb
--- /dev/null
+++ b/target/linux/generic-2.6/patches-2.6.33/411-add-KEY_WPS_BUTTON-definition.patch
@@ -0,0 +1,25 @@
+From 492d4f25416528ffb900e6edf0fd70eafd098cfc Mon Sep 17 00:00:00 2001
+From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
+Date: Fri, 26 Feb 2010 00:16:05 -0800
+Subject: [PATCH] Input: add KEY_WPS_BUTTON definition
+
+The new key definition is supposed to be used for buttons that initiate
+WiFi Protected setup sequence:
+
+ http://en.wikipedia.org/wiki/Wi-Fi_Protected_Setup
+
+Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
+---
+ include/linux/input.h | 1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+--- a/include/linux/input.h
++++ b/include/linux/input.h
+@@ -597,6 +597,7 @@ struct input_absinfo {
+ #define KEY_NUMERIC_POUND 0x20b
+
+ #define KEY_CAMERA_FOCUS 0x210
++#define KEY_WPS_BUTTON 0x211 /* WiFi Protected Setup key */
+
+ /* We avoid low common keys in module aliases so they don't get huge. */
+ #define KEY_MIN_INTERESTING KEY_MUTE