All of lore.kernel.org
 help / color / mirror / Atom feed
From: Varka Bhadram <varkabhadram@gmail.com>
To: Marcel Holtmann <marcel@holtmann.org>, Varka Bhadram <varkab@cdac.in>
Cc: linux-wpan@vger.kernel.org, alex.aring@gmail.com
Subject: Re: [PATCH bluetooth-next] mac802154: fix transmission power datatype
Date: Thu, 09 Apr 2015 13:46:06 +0530	[thread overview]
Message-ID: <55263546.8070904@gmail.com> (raw)
In-Reply-To: <1E49928F-28CB-416C-B22D-2F56CEAAAEBA@holtmann.org>

On 04/09/2015 01:16 PM, Marcel Holtmann wrote:
> Hi Varka,
>
>>>> Available 802.15.4 devices support multiple power levels,
>>>> which includes positive and negative values.This patch fix
>>>> set_txpower() operation arugument type to signed from int
>>>>
>>>> Signed-off-by: Varka Bhadram <varkab@cdac.in>
>>>> ---
>>>> include/net/mac802154.h |    2 +-
>>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>>
>>>> diff --git a/include/net/mac802154.h b/include/net/mac802154.h
>>>> index fb4e8a3d..1213419 100644
>>>> --- a/include/net/mac802154.h
>>>> +++ b/include/net/mac802154.h
>>>> @@ -213,7 +213,7 @@ struct ieee802154_ops {
>>>> 	int		(*set_hw_addr_filt)(struct ieee802154_hw *hw,
>>>> 					    struct ieee802154_hw_addr_filt *filt,
>>>> 					    unsigned long changed);
>>>> -	int		(*set_txpower)(struct ieee802154_hw *hw, int db);
>>>> +	int		(*set_txpower)(struct ieee802154_hw *hw, s8 dbm);
>>> the commit message is pretty much non-sense. int is as signed as s8.
>> The netlink attribute for the power level is s8. At mac level the values
>> stored in s8 only [1].
> sure, but the commit message is still non-sense.

Ok. I will change the commit and also i need to add the change to at86rf230 driver.

--
Thanks
Varka Bhadram


      reply	other threads:[~2015-04-09  8:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-09  7:14 [PATCH bluetooth-next] mac802154: fix transmission power datatype Varka Bhadram
2015-04-09  7:28 ` Marcel Holtmann
2015-04-09  7:41   ` Varka Bhadram
2015-04-09  7:46     ` Marcel Holtmann
2015-04-09  8:16       ` Varka Bhadram [this message]

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=55263546.8070904@gmail.com \
    --to=varkabhadram@gmail.com \
    --cc=alex.aring@gmail.com \
    --cc=linux-wpan@vger.kernel.org \
    --cc=marcel@holtmann.org \
    --cc=varkab@cdac.in \
    /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.