Search Linux Wireless

Re: [PATCH 1/4] NFC: Add NFC dev_up and dev_down control operations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ilan,

On Wed, Aug 17, 2011 at 3:33 AM, Elias, Ilan <ilane@xxxxxx> wrote:
> Hi Aloisio, Lauro, Samuel,
>
>>
>> The following 2 NFC control operations (via generic netlink) were added:
>>       - Dev_up, which turn on the NFC controller (this operation may take
>> a     few seconds, as it can download new FW to the NFC controller)
>>       - Dev_down, which turn off the NFC controller
>>
> Please note that in the file core.c, the new flag 'dev_up' is not checked in the nfc core API (e.g. in the function nfc_start_poll).
> We should discuss whether the dev_up/dev_down operations will be used in all devices (i.e. also PN533) - this is my preference.

I agree. In order to abstract the NFC device type that is being used,
dev_up must be called before start_poll to all devices. The driver
must be in charge of deciding if something must be done at dev_up
time.

Regards,
Aloisio
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux