libertas: Create sysfs entry for changing the mesh probe response limit
[pandora-kernel.git] / drivers / net / wireless / libertas / host.h
index a916bb9..277ff19 100644 (file)
@@ -9,17 +9,6 @@
 #define DEFAULT_AD_HOC_CHANNEL                 6
 #define        DEFAULT_AD_HOC_CHANNEL_A                36
 
-/** IEEE 802.11 oids */
-#define OID_802_11_SSID                                0x00008002
-#define OID_802_11_INFRASTRUCTURE_MODE         0x00008008
-#define OID_802_11_FRAGMENTATION_THRESHOLD     0x00008009
-#define OID_802_11_RTS_THRESHOLD               0x0000800A
-#define OID_802_11_TX_ANTENNA_SELECTED         0x0000800D
-#define OID_802_11_SUPPORTED_RATES             0x0000800E
-#define OID_802_11_STATISTICS                  0x00008012
-#define OID_802_11_TX_RETRYCOUNT               0x0000801D
-#define OID_802_11D_ENABLE                     0x00008020
-
 #define CMD_OPTION_WAITFORRSP                  0x0002
 
 /** Host command IDs */
 #define CMD_WAKE_METHOD_COMMAND_INT    0x0001
 #define CMD_WAKE_METHOD_GPIO           0x0002
 
+/* Object IDs for CMD_802_11_SNMP_MIB */
+#define SNMP_MIB_OID_BSS_TYPE          0x0000
+#define SNMP_MIB_OID_OP_RATE_SET       0x0001
+#define SNMP_MIB_OID_BEACON_PERIOD     0x0002  /* Reserved on v9+ */
+#define SNMP_MIB_OID_DTIM_PERIOD       0x0003  /* Reserved on v9+ */
+#define SNMP_MIB_OID_ASSOC_TIMEOUT     0x0004  /* Reserved on v9+ */
+#define SNMP_MIB_OID_RTS_THRESHOLD     0x0005
+#define SNMP_MIB_OID_SHORT_RETRY_LIMIT 0x0006
+#define SNMP_MIB_OID_LONG_RETRY_LIMIT  0x0007
+#define SNMP_MIB_OID_FRAG_THRESHOLD    0x0008
+#define SNMP_MIB_OID_11D_ENABLE                0x0009
+#define SNMP_MIB_OID_11H_ENABLE                0x000A
+
 /* Define action or option for CMD_BT_ACCESS */
 enum cmd_bt_access_opts {
        /* The bt commands start at 5 instead of 1 because the old dft commands
@@ -218,6 +220,14 @@ enum cmd_fwt_access_opts {
        CMD_ACT_FWT_ACCESS_TIME,
 };
 
+/* Define action or option for CMD_802_11_HOST_SLEEP_CFG */
+enum cmd_wol_cfg_opts {
+       CMD_ACT_ACTION_NONE = 0,
+       CMD_ACT_SET_WOL_RULE,
+       CMD_ACT_GET_WOL_RULE,
+       CMD_ACT_RESET_WOL_RULE,
+};
+
 /* Define action or option for CMD_MESH_ACCESS */
 enum cmd_mesh_access_opts {
        CMD_ACT_MESH_GET_TTL = 1,
@@ -235,6 +245,7 @@ enum cmd_mesh_access_opts {
        CMD_ACT_MESH_GET_ROUTE_EXP,
        CMD_ACT_MESH_SET_AUTOSTART_ENABLED,
        CMD_ACT_MESH_GET_AUTOSTART_ENABLED,
+       CMD_ACT_MESH_SET_GET_PRB_RSP_LIMIT = 17,
 };
 
 /* Define actions and types for CMD_MESH_CONFIG */