diff options
Diffstat (limited to 'drivers/net/wireless/ath/carl9170/fwcmd.h')
-rw-r--r-- | drivers/net/wireless/ath/carl9170/fwcmd.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/carl9170/fwcmd.h b/drivers/net/wireless/ath/carl9170/fwcmd.h index d4a4e1dbef06..d552166db505 100644 --- a/drivers/net/wireless/ath/carl9170/fwcmd.h +++ b/drivers/net/wireless/ath/carl9170/fwcmd.h | |||
@@ -53,6 +53,7 @@ enum carl9170_cmd_oids { | |||
53 | CARL9170_CMD_REBOOT = 0x04, | 53 | CARL9170_CMD_REBOOT = 0x04, |
54 | CARL9170_CMD_BCN_CTRL = 0x05, | 54 | CARL9170_CMD_BCN_CTRL = 0x05, |
55 | CARL9170_CMD_READ_TSF = 0x06, | 55 | CARL9170_CMD_READ_TSF = 0x06, |
56 | CARL9170_CMD_RX_FILTER = 0x07, | ||
56 | 57 | ||
57 | /* CAM */ | 58 | /* CAM */ |
58 | CARL9170_CMD_EKEY = 0x10, | 59 | CARL9170_CMD_EKEY = 0x10, |
@@ -153,6 +154,20 @@ struct carl9170_psm { | |||
153 | } __packed; | 154 | } __packed; |
154 | #define CARL9170_PSM_SIZE 4 | 155 | #define CARL9170_PSM_SIZE 4 |
155 | 156 | ||
157 | struct carl9170_rx_filter_cmd { | ||
158 | __le32 rx_filter; | ||
159 | } __packed; | ||
160 | #define CARL9170_RX_FILTER_CMD_SIZE 4 | ||
161 | |||
162 | #define CARL9170_RX_FILTER_BAD 0x01 | ||
163 | #define CARL9170_RX_FILTER_OTHER_RA 0x02 | ||
164 | #define CARL9170_RX_FILTER_DECRY_FAIL 0x04 | ||
165 | #define CARL9170_RX_FILTER_CTL_OTHER 0x08 | ||
166 | #define CARL9170_RX_FILTER_CTL_PSPOLL 0x10 | ||
167 | #define CARL9170_RX_FILTER_CTL_BACKR 0x20 | ||
168 | #define CARL9170_RX_FILTER_MGMT 0x40 | ||
169 | #define CARL9170_RX_FILTER_DATA 0x80 | ||
170 | |||
156 | struct carl9170_bcn_ctrl_cmd { | 171 | struct carl9170_bcn_ctrl_cmd { |
157 | __le32 vif_id; | 172 | __le32 vif_id; |
158 | __le32 mode; | 173 | __le32 mode; |
@@ -188,6 +203,7 @@ struct carl9170_cmd { | |||
188 | struct carl9170_rf_init rf_init; | 203 | struct carl9170_rf_init rf_init; |
189 | struct carl9170_psm psm; | 204 | struct carl9170_psm psm; |
190 | struct carl9170_bcn_ctrl_cmd bcn_ctrl; | 205 | struct carl9170_bcn_ctrl_cmd bcn_ctrl; |
206 | struct carl9170_rx_filter_cmd rx_filter; | ||
191 | u8 data[CARL9170_MAX_CMD_PAYLOAD_LEN]; | 207 | u8 data[CARL9170_MAX_CMD_PAYLOAD_LEN]; |
192 | } __packed; | 208 | } __packed; |
193 | } __packed; | 209 | } __packed; |