From: "John W. Linville" <linville@tuxdriver.com>
To: Bing Zhao <bzhao@marvell.com>
Cc: linux-wireless@vger.kernel.org,
Amitkumar Karwar <akarwar@marvell.com>,
Avinash Patil <patila@marvell.com>,
Yogesh Ashok Powar <yogeshp@marvell.com>,
Nishant Sarmukadam <nishants@marvell.com>,
Frank Huang <frankh@marvell.com>,
Paul Stewart <pstew@chromium.org>
Subject: Re: [PATCH 2/3] mwifiex: add basic 11h support for station
Date: Wed, 19 Jun 2013 10:24:46 -0400 [thread overview]
Message-ID: <20130619142446.GC12079@tuxdriver.com> (raw)
In-Reply-To: <1371598618-26593-2-git-send-email-bzhao@marvell.com>
On Tue, Jun 18, 2013 at 04:36:57PM -0700, Bing Zhao wrote:
> From: Amitkumar Karwar <akarwar@marvell.com>
>
> This patch adds code to parse requested AP's 11h capabilities
> and add 11h information in association request.
>
> Also, deauth is sent to the AP after receiving channel switch
> announcement event from firmware. This happens when AP advertises
> WLAN_EID_CHANNEL_SWITCH IE in it's beacon.
>
> Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
> Signed-off-by: Bing Zhao <bzhao@marvell.com>
> Signed-off-by: Paul Stewart <pstew@chromium.org>
> ---
> drivers/net/wireless/mwifiex/sta_event.c | 7 +++
> diff --git a/drivers/net/wireless/mwifiex/sta_event.c b/drivers/net/wireless/mwifiex/sta_event.c
> index 41aafc7..0f7b4cf 100644
> --- a/drivers/net/wireless/mwifiex/sta_event.c
> +++ b/drivers/net/wireless/mwifiex/sta_event.c
> @@ -427,6 +427,13 @@ int mwifiex_process_sta_event(struct mwifiex_private *priv)
>
> break;
>
> + case EVENT_CHANNEL_SWITCH_ANN:
> + dev_dbg(adapter->dev, "event: Channel Switch Announcement\n");
> + ret = mwifiex_send_cmd_async(priv,
> + HostCmd_CMD_802_11_DEAUTHENTICATE,
> + HostCmd_ACT_GEN_SET, 0,
> + priv->curr_bss_params.bss_descriptor.mac_address);
> +
> default:
> dev_dbg(adapter->dev, "event: unknown event id: %#x\n",
> eventcause);
Do you mean for this case to fall-through to the default case?
--
John W. Linville Someday the world will need a hero, and you
linville@tuxdriver.com might be all we have. Be ready.
next prev parent reply other threads:[~2013-06-19 14:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-18 23:36 [PATCH 1/3] mwifiex: code rearrangement for better readability Bing Zhao
2013-06-18 23:36 ` [PATCH 2/3] mwifiex: add basic 11h support for station Bing Zhao
2013-06-19 14:24 ` John W. Linville [this message]
2013-06-19 15:45 ` Bing Zhao
2013-06-18 23:36 ` [PATCH 3/3] mwifiex: channel switch handling " Bing Zhao
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=20130619142446.GC12079@tuxdriver.com \
--to=linville@tuxdriver.com \
--cc=akarwar@marvell.com \
--cc=bzhao@marvell.com \
--cc=frankh@marvell.com \
--cc=linux-wireless@vger.kernel.org \
--cc=nishants@marvell.com \
--cc=patila@marvell.com \
--cc=pstew@chromium.org \
--cc=yogeshp@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.