diff options
author | Avinash Patil <patila@marvell.com> | 2012-08-04 03:06:08 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-08-06 21:12:54 +0200 |
commit | 838e4f44929782a2163c7bc95a7cd2da5d8b47f9 (patch) | |
tree | 01f73f71e516e23bdc01fef09cc09f2049ada950 /drivers/net/wireless/mwifiex/decl.h | |
parent | mwifiex: create list for associated stations in AP mode (diff) | |
download | linux-838e4f44929782a2163c7bc95a7cd2da5d8b47f9.tar.xz linux-838e4f44929782a2163c7bc95a7cd2da5d8b47f9.zip |
mwifiex: improve uAP RX handling
1. Separate file for uAP RX handling.
2. If received packet is broadcast/multicast, send it to kernel
as well as requeue it back to uAP TX queue.
3. If received packet is for associated STA (intra-BSS), requeue
it back to uAP TX queue.
4. In all other cases (packets for AP or inter-BSS packets),
pass packet to kernel to handle it accordingly.
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Kiran Divekar <dkiran@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/decl.h')
-rw-r--r-- | drivers/net/wireless/mwifiex/decl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/decl.h b/drivers/net/wireless/mwifiex/decl.h index 070ef25f5186..400d360ac91f 100644 --- a/drivers/net/wireless/mwifiex/decl.h +++ b/drivers/net/wireless/mwifiex/decl.h @@ -60,6 +60,9 @@ #define MWIFIEX_SDIO_BLOCK_SIZE 256 #define MWIFIEX_BUF_FLAG_REQUEUED_PKT BIT(0) +#define MWIFIEX_BUF_FLAG_BRIDGED_PKT BIT(1) + +#define MWIFIEX_BRIDGED_PKTS_THRESHOLD 1024 enum mwifiex_bss_type { MWIFIEX_BSS_TYPE_STA = 0, |