Linux IEEE 802.15.4 and 6LoWPAN development
 help / color / mirror / Atom feed
From: Varka Bhadram <varkabhadram@gmail.com>
To: Alexander Aring <alex.aring@gmail.com>
Cc: linux-wpan@vger.kernel.org, Varka Bhadram <varkab@cdac.in>
Subject: Re: [PATCH bluetooth-next] nl802154: export supported commands
Date: Wed, 03 Jun 2015 12:43:17 +0530	[thread overview]
Message-ID: <556EA90D.4080203@gmail.com> (raw)
In-Reply-To: <20150603064950.GB731@omega>

On 06/03/2015 12:19 PM, Alexander Aring wrote:

> Hi,
>
> On Wed, Jun 03, 2015 at 09:44:01AM +0530, Varka Bhadram wrote:
>> This patch will export the supported commands by the devices
>> to the user. This is required because user should know supported
>> commands by the IEEE-802.15.4 devices. Drivers that are there in
>> the mainline are not supporting all the functionalities that the
>> core is providing to us.
>>
> I think this is not the reason why this was implemented. You check here
> cfg802154_ops which ends in mac802154 (SoftMAC) OR _possible_ HardMAC drivers.
>
> If you want to make sure that a driver implement it _and_ really sure
> you need to check on ieee802154_ops.
>
> I suppose the real reason why wireless has this implementation, is
> because to check if HardMAC drivers can support a specific command.
> This is because every HardMAC driver should implement then the full
> cfg802154_ops callback structure. It's simple wrong here to say "to
> check if the driver support the functionalities".

I found this thread for the reason used in wireless for implementation.

http://www.spinics.net/lists/linux-wireless/msg29923.html

> You skip the mac802154 layer here, these calls are direct driver-layer
> calls in case of HardMAC driver only.
>
>
> Currently that's why I think such feature has _at_ _the_ _moment_ no
> really big use case, because we don't have any HardMAC driver currently.
> Anyway this prepares to handle HardMAC drivers. After fixing the commit
> message you can add a:
>
> Acked-by: Alexander Aring <alex.aring@gmail.com>

Thanks

-- 
Varka Bhadram


  reply	other threads:[~2015-06-03  7:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-03  4:14 [PATCH bluetooth-next] nl802154: export supported commands Varka Bhadram
2015-06-03  6:49 ` Alexander Aring
2015-06-03  7:13   ` Varka Bhadram [this message]
2015-06-03  7:48     ` Alexander Aring
2015-06-04  7:30 ` Alexander Aring
  -- strict thread matches above, loose matches on Subject: below --
2015-06-03  4:09 Varka Bhadram
2015-06-03  4:12 ` Varka Bhadram

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=556EA90D.4080203@gmail.com \
    --to=varkabhadram@gmail.com \
    --cc=alex.aring@gmail.com \
    --cc=linux-wpan@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox