diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2014-11-25 09:43:05 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-11-25 14:09:56 -0500 |
commit | 808bbebcc8fcbcb2b93aefd8b181a0fdccb407c6 (patch) | |
tree | 76730d24264fbea860643fe4c8706b0d45bf2418 /drivers/net/wireless/mwifiex/main.h | |
parent | 381e9fffe6b8343c2479939178ef7ded50bf32d3 (diff) |
mwifiex: add Tx status support for EAPOL packets
Firmware notifies the driver through event if EAPOL data packet
has been acked or not. We will inform this status to userspace
listening on a socket.
Signed-off-by: Cathy Luo <cluo@marvell.com>
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/main.h')
-rw-r--r-- | drivers/net/wireless/mwifiex/main.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/main.h b/drivers/net/wireless/mwifiex/main.h index 5a690d5210f0..e19fc2f87436 100644 --- a/drivers/net/wireless/mwifiex/main.h +++ b/drivers/net/wireless/mwifiex/main.h | |||
@@ -34,6 +34,7 @@ | |||
34 | #include <linux/firmware.h> | 34 | #include <linux/firmware.h> |
35 | #include <linux/ctype.h> | 35 | #include <linux/ctype.h> |
36 | #include <linux/of.h> | 36 | #include <linux/of.h> |
37 | #include <linux/idr.h> | ||
37 | 38 | ||
38 | #include "decl.h" | 39 | #include "decl.h" |
39 | #include "ioctl.h" | 40 | #include "ioctl.h" |
@@ -578,6 +579,9 @@ struct mwifiex_private { | |||
578 | u8 check_tdls_tx; | 579 | u8 check_tdls_tx; |
579 | struct timer_list auto_tdls_timer; | 580 | struct timer_list auto_tdls_timer; |
580 | bool auto_tdls_timer_active; | 581 | bool auto_tdls_timer_active; |
582 | struct idr ack_status_frames; | ||
583 | /* spin lock for ack status */ | ||
584 | spinlock_t ack_status_lock; | ||
581 | }; | 585 | }; |
582 | 586 | ||
583 | enum mwifiex_ba_status { | 587 | enum mwifiex_ba_status { |
@@ -1335,6 +1339,9 @@ void mwifiex_add_auto_tdls_peer(struct mwifiex_private *priv, const u8 *mac); | |||
1335 | void mwifiex_setup_auto_tdls_timer(struct mwifiex_private *priv); | 1339 | void mwifiex_setup_auto_tdls_timer(struct mwifiex_private *priv); |
1336 | void mwifiex_clean_auto_tdls(struct mwifiex_private *priv); | 1340 | void mwifiex_clean_auto_tdls(struct mwifiex_private *priv); |
1337 | 1341 | ||
1342 | void mwifiex_parse_tx_status_event(struct mwifiex_private *priv, | ||
1343 | void *event_body); | ||
1344 | |||
1338 | #ifdef CONFIG_DEBUG_FS | 1345 | #ifdef CONFIG_DEBUG_FS |
1339 | void mwifiex_debugfs_init(void); | 1346 | void mwifiex_debugfs_init(void); |
1340 | void mwifiex_debugfs_remove(void); | 1347 | void mwifiex_debugfs_remove(void); |