From: Arend van Spriel <arend@broadcom.com>
To: Amitkumar Karwar <akarwar@marvell.com>
Cc: <linville@tuxdriver.com>, <linux-wireless@vger.kernel.org>,
Avinash Patil <patila@marvell.com>
Subject: Re: [PATCH 4/5] mwifiex: do not setup AMPDU/AMSDU with broadcast receiver
Date: Tue, 4 Nov 2014 16:22:27 +0100 [thread overview]
Message-ID: <5458EF33.7010701@broadcom.com> (raw)
In-Reply-To: <1415102223-7118-4-git-send-email-akarwar@marvell.com>
On 11/04/14 12:57, Amitkumar Karwar wrote:
> From: Avinash Patil<patila@marvell.com>
>
> It is observed that device sometimes sends BA setup requests for
> broadcast mac address.
> Its pointless to check for availablity of AMPDU/AMSDU streams
> for broadcast mac address. This patch adds this check.
Maybe you should rephrase this a little. The last sentence seems to say:
"This patch adds a pointless check".
Regards,
Arend
> Signed-off-by: Amitkumar Karwar<akarwar@marvell.com>
> Signed-off-by: Avinash Patil<patila@marvell.com>
> ---
> drivers/net/wireless/mwifiex/11n.h | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/drivers/net/wireless/mwifiex/11n.h b/drivers/net/wireless/mwifiex/11n.h
> index 2ee268b..f275675 100644
> --- a/drivers/net/wireless/mwifiex/11n.h
> +++ b/drivers/net/wireless/mwifiex/11n.h
> @@ -84,6 +84,8 @@ mwifiex_is_amsdu_in_ampdu_allowed(struct mwifiex_private *priv,
> {
> struct mwifiex_tx_ba_stream_tbl *tx_tbl;
>
> + if (is_broadcast_ether_addr(ptr->ra))
> + return false;
> tx_tbl = mwifiex_get_ba_tbl(priv, tid, ptr->ra);
> if (tx_tbl)
> return tx_tbl->amsdu;
> @@ -96,6 +98,8 @@ static inline u8
> mwifiex_is_ampdu_allowed(struct mwifiex_private *priv,
> struct mwifiex_ra_list_tbl *ptr, int tid)
> {
> + if (is_broadcast_ether_addr(ptr->ra))
> + return false;
> if (GET_BSS_ROLE(priv) == MWIFIEX_BSS_ROLE_UAP) {
> return mwifiex_is_station_ampdu_allowed(priv, ptr, tid);
> } else {
next prev parent reply other threads:[~2014-11-04 15:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-04 11:56 [PATCH 1/5] mwifiex: rx workqueue support for USB interface Amitkumar Karwar
2014-11-04 11:57 ` [PATCH 2/5] mwifiex: remove data_complete handler Amitkumar Karwar
2014-11-04 11:57 ` [PATCH 3/5] mwifiex: fix out of memory issue observed for USB chipsets Amitkumar Karwar
2014-11-04 11:57 ` [PATCH 4/5] mwifiex: do not setup AMPDU/AMSDU with broadcast receiver Amitkumar Karwar
2014-11-04 15:22 ` Arend van Spriel [this message]
2014-11-04 17:20 ` Avinash Patil
2014-11-04 11:57 ` [PATCH 5/5] mwifiex: fix warning while starting BSS Amitkumar Karwar
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=5458EF33.7010701@broadcom.com \
--to=arend@broadcom.com \
--cc=akarwar@marvell.com \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=patila@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.