summaryrefslogtreecommitdiffstats
path: root/include/linux/irda.h
diff options
context:
space:
mode:
authorSamuel Ortiz <samuel@sortiz.org>2007-07-02 22:55:31 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-07-10 22:16:44 -0700
commit411725280bd0058ebb83c0e32133b7a94902c3a6 (patch)
tree7fc21a6c4b07ad80cf426c466400ed4679834e98 /include/linux/irda.h
parent89da1ecf5483e6aa29b456a15ad6d05a6797c5a5 (diff)
downloadop-kernel-dev-411725280bd0058ebb83c0e32133b7a94902c3a6.zip
op-kernel-dev-411725280bd0058ebb83c0e32133b7a94902c3a6.tar.gz
[IrDA]: Monitor mode.
Through the IrDA netlink set mode command, we switch to IrDA monitor mode, where one IrLAP instance receives all the packets on the media, without ever responding to them. Signed-off-by: Samuel Ortiz <samuel@sortiz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/irda.h')
-rw-r--r--include/linux/irda.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/irda.h b/include/linux/irda.h
index 35911bd..8e37357 100644
--- a/include/linux/irda.h
+++ b/include/linux/irda.h
@@ -242,6 +242,7 @@ enum nl80211_attrs {
/* IrDA modes */
#define IRDA_MODE_PRIMARY 0x1
#define IRDA_MODE_SECONDARY 0x2
+#define IRDA_MODE_MONITOR 0x4
#endif /* KERNEL_IRDA_H */
OpenPOWER on IntegriCloud