All of lore.kernel.org
 help / color / mirror / Atom feed
From: Larry Finger <Larry.Finger@lwfinger.net>
To: Taehee Yoo <ap420073@gmail.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [PATCH] rtlwifi: rtl8192cu: Add case in rtl92cu_get_hw_reg
Date: Wed, 25 Feb 2015 12:33:33 -0600	[thread overview]
Message-ID: <54EE157D.3050101@lwfinger.net> (raw)
In-Reply-To: <1424887133-5670-1-git-send-email-ap420073@gmail.com>

On 02/25/2015 11:58 AM, Taehee Yoo wrote:
> rtl_op_stop get wowlan state but rtl92cu_get_hw_reg has not process.
>
> Signed-off-by: Taehee Yoo <ap420073@gmail.com>

Has this been tested? I am not aware that the RTL8192CU firmware could handle 
WOWLAN.

Larry

> ---
>   drivers/net/wireless/rtlwifi/rtl8192cu/hw.c | 6 ++++++
>   1 file changed, 6 insertions(+)
>
> diff --git a/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c b/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c
> index fe4b699..f6ad959 100644
> --- a/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c
> +++ b/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c
> @@ -1589,6 +1589,12 @@ void rtl92cu_get_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val)
>   	case HW_VAR_DATA_FILTER:
>   		*((u16 *) (val)) = rtl_read_word(rtlpriv, REG_RXFLTMAP2);
>   		break;
> +	case HAL_DEF_WOWLAN:
> +		if (ppsc->wo_wlan_mode)
> +			*((bool *)(val)) = true;
> +		else
> +			*((bool *)(val)) = false;
> +		break;
>   	default:
>   		RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG,
>   			 "switch case not processed\n");
>


  reply	other threads:[~2015-02-25 18:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-25 17:58 [PATCH] rtlwifi: rtl8192cu: Add case in rtl92cu_get_hw_reg Taehee Yoo
2015-02-25 18:33 ` Larry Finger [this message]
2015-02-25 18:59   ` ap420073 .
2015-02-25 19:12     ` Larry Finger
2015-02-25 19:24       ` ap420073 .
  -- strict thread matches above, loose matches on Subject: below --
2015-02-25 19:34 Taehee Yoo
2015-02-25 20:23 ` Larry Finger

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=54EE157D.3050101@lwfinger.net \
    --to=larry.finger@lwfinger.net \
    --cc=ap420073@gmail.com \
    --cc=linux-wireless@vger.kernel.org \
    /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.