From: Kalle Valo <kvalo@qca.qualcomm.com>
To: <rmani@qca.qualcomm.com>
Cc: <linux-wireless@vger.kernel.org>, <ath6kl-devel@qualcomm.com>
Subject: Re: [PATCH v2 2/8] ath6kl: Add a new func to configure default WOW patterns for AP mode
Date: Tue, 24 Jan 2012 13:36:05 +0200 [thread overview]
Message-ID: <4F1E97A5.1030403@qca.qualcomm.com> (raw)
In-Reply-To: <1327066544-23779-3-git-send-email-rmani@qca.qualcomm.com>
On 01/20/2012 03:35 PM, rmani@qca.qualcomm.com wrote:
> From: Raja Mani <rmani@qca.qualcomm.com>
>
> ath6kl_ap_add_default_wow_patterns() is added to configure
> the below default patterns when the system enters into WOW
> suspend in AP mode.
>
> * Unicast IP, EAPOL-like and ARP packet pattern
> * ARP packet pattern
> * mDNS/SSDP/LLMNR pattern
> * DHCP broadcast pattern
>
> This will be called from ath6kl_wow_suspend() func.
>
> In addition, two argument variable's ('filter' and 'mask)
> data type in ath6kl_wmi_add_wow_pattern_cmd() are changed
> from 'u8 *' to 'const u8 *'. This is needed to make all
> pattern and mask arrays to be 'static const u8' in
> the caller function.
>
> Signed-off-by: Raja Mani <rmani@qca.qualcomm.com>
You could fold patches 2-5 into one patch as they seem to be the same
logical change. At least patches 4 and 5 need to be folded, otherwise
wow will be broken between the patches.
> --- a/drivers/net/wireless/ath/ath6kl/cfg80211.c
> +++ b/drivers/net/wireless/ath/ath6kl/cfg80211.c
> @@ -1723,6 +1723,85 @@ static int ath6kl_flush_pmksa(struct wiphy *wiphy, struct net_device *netdev)
> return 0;
> }
>
> +static int ath6kl_ap_add_default_wow_patterns(struct ath6kl *ar,
> + struct ath6kl_vif *vif)
> +{
ath6kl_wow_ap() or similar would be a lot shorter name.
Kalle
next prev parent reply other threads:[~2012-01-24 11:36 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-20 13:35 [PATCH v2 0/8] Allow the user to define suspend mode rmani
2012-01-20 13:35 ` [PATCH v2 1/8] ath6kl: Re-architect suspend mode handling in ath6kl_sdio_suspend rmani
2012-01-24 11:30 ` Kalle Valo
2012-01-20 13:35 ` [PATCH v2 2/8] ath6kl: Add a new func to configure default WOW patterns for AP mode rmani
2012-01-24 11:36 ` Kalle Valo [this message]
2012-01-20 13:35 ` [PATCH v2 3/8] ath6kl: Add a new func to config default WOW patterns for non " rmani
2012-01-24 11:39 ` Kalle Valo
2012-01-20 13:35 ` [PATCH v2 4/8] ath6kl: Move WOW patterns config code to a separate function rmani
2012-01-24 11:44 ` Kalle Valo
2012-01-20 13:35 ` [PATCH v2 5/8] ath6kl: Configure WOW patterns while going to wow_suspend rmani
2012-01-20 13:35 ` [PATCH v2 6/8] ath6kl: Return a proper error code when not in connected state rmani
2012-01-24 11:45 ` Kalle Valo
2012-01-20 13:35 ` [PATCH v2 7/8] ath6kl: Add a support to handle the host sleep mode cmd processed event rmani
2012-01-24 11:46 ` Kalle Valo
2012-01-20 13:35 ` [PATCH v2 8/8] ath6kl: Wait for host sleep mode cmd processed event during WOW suspend rmani
2012-01-24 11:47 ` [PATCH v2 0/8] Allow the user to define suspend mode Kalle Valo
2012-01-30 6:12 ` Raja Mani
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=4F1E97A5.1030403@qca.qualcomm.com \
--to=kvalo@qca.qualcomm.com \
--cc=ath6kl-devel@qualcomm.com \
--cc=linux-wireless@vger.kernel.org \
--cc=rmani@qca.qualcomm.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.