From: Nishant Sarmukadam <nishants@marvell.com>
To: linux-wireless@vger.kernel.org
Cc: buytenh@wantstofly.org, Nishant Sarmukadam <nishants@marvell.com>,
Pradeep Nemavat <pnemavat@marvell.com>
Subject: [PATCH 4/4] mwl8k: Enable life time expiry for tx packets in the hardware
Date: Tue, 19 Apr 2011 11:12:52 +0530 [thread overview]
Message-ID: <1303191772-4299-4-git-send-email-nishants@marvell.com> (raw)
In-Reply-To: <1303191772-4299-1-git-send-email-nishants@marvell.com>
Tell the firmware to enable the life time expiry of tx packets
in the hardware. The hardware will now refer to the timestamp
in every tx packet and decide whether the packet needs to be
dropped or transmitted.
Signed-off-by: Nishant Sarmukadam <nishants@marvell.com>
Signed-off-by: Pradeep Nemavat <pnemavat@marvell.com>
---
drivers/net/wireless/mwl8k.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/net/wireless/mwl8k.c b/drivers/net/wireless/mwl8k.c
index 82cd725..7db4bb9 100644
--- a/drivers/net/wireless/mwl8k.c
+++ b/drivers/net/wireless/mwl8k.c
@@ -2502,7 +2502,8 @@ static int mwl8k_cmd_set_hw_spec(struct ieee80211_hw *hw)
cmd->flags = cpu_to_le32(MWL8K_SET_HW_SPEC_FLAG_HOST_DECR_MGMT |
MWL8K_SET_HW_SPEC_FLAG_HOSTFORM_PROBERESP |
- MWL8K_SET_HW_SPEC_FLAG_HOSTFORM_BEACON);
+ MWL8K_SET_HW_SPEC_FLAG_HOSTFORM_BEACON |
+ MWL8K_SET_HW_SPEC_FLAG_ENABLE_LIFE_TIME_EXPIRY);
cmd->num_tx_desc_per_queue = cpu_to_le32(MWL8K_TX_DESCS);
cmd->total_rxd = cpu_to_le32(MWL8K_RX_DESCS);
--
1.6.0.3
next prev parent reply other threads:[~2011-04-19 6:09 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-19 5:42 [PATCH 1/4] mwl8k: Do not stop tx queues Nishant Sarmukadam
2011-04-19 5:42 ` [PATCH 2/4] mwl8k: Add timestamp information for tx packets Nishant Sarmukadam
2011-04-19 7:54 ` Lennert Buytenhek
2011-04-19 10:08 ` Nishant Sarmukadam
2011-04-19 10:31 ` Lennert Buytenhek
2011-04-19 13:06 ` Nishant Sarmukadam
2011-04-21 7:34 ` Lennert Buytenhek
2011-04-21 8:15 ` Nishant Sarmukadam
2011-04-19 5:42 ` [PATCH 3/4] mwl8k: Reserve buffers for tx management frames Nishant Sarmukadam
2011-04-19 5:42 ` Nishant Sarmukadam [this message]
2011-04-19 7:48 ` [PATCH 1/4] mwl8k: Do not stop tx queues Lennert Buytenhek
2011-04-19 10:08 ` Nishant Sarmukadam
2011-04-19 10:26 ` Lennert Buytenhek
2011-04-19 13:05 ` Nishant Sarmukadam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1303191772-4299-4-git-send-email-nishants@marvell.com \
--to=nishants@marvell.com \
--cc=buytenh@wantstofly.org \
--cc=linux-wireless@vger.kernel.org \
--cc=pnemavat@marvell.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).