19 Feb, 2013
1 commit
-
…wireless-next into for-davem
Conflicts:
drivers/net/wireless/iwlwifi/dvm/tx.c
drivers/net/wireless/ti/wlcore/sdio.c
drivers/net/wireless/ti/wlcore/spi.c
12 Feb, 2013
1 commit
-
The MEI bus API changed according to the latest comments from the char-misc
maintainers, and this patch fixes the microread mei physical layer code
according to those changes:
We pass the MEI id back to the probe routine, and the mei_driver takes a
table of MEI ids instead of one static id.
Also, mei_bus_driver got renamed to mei_driver, mei_bus_client to
mei_device, and mei_bus_set/get_clientdata to mei_set/get_clientdata.Signed-off-by: Samuel Ortiz
08 Feb, 2013
2 commits
-
Remove unneeded bitwise OR operator on uninitialized sk_buff data
Signed-off-by: Thierry Escande
Signed-off-by: Samuel Ortiz -
On some peculiar worlds, microreads are found hidden behind MEIs and needs
to be accessed through the ME bus.Signed-off-by: Samuel Ortiz
04 Feb, 2013
2 commits
-
Signed-off-by: Samuel Ortiz
-
Inside Secure microread is an HCI based NFC chipset.
This initial support includes reader and p2p (Target and initiator) modes.Signed-off-by: Eric Lapuyade
Signed-off-by: Samuel Ortiz
30 Jan, 2013
2 commits
-
Signed-off-by: Waldemar Rymarkiewicz
Signed-off-by: Samuel Ortiz -
These variables are not exported.
Signed-off-by: Waldemar Rymarkiewicz
Signed-off-by: Samuel Ortiz
29 Jan, 2013
1 commit
-
…wireless-next into for-davem
14 Jan, 2013
1 commit
-
Use dereferenced pointer in sizeof instead of pointer itself.
Signed-off-by: Thierry Escande
Signed-off-by: Samuel Ortiz
10 Jan, 2013
30 commits
-
This is a quite critical patch as it fixes potential reference to
undefined general_bytes which were never set correctly on target
activation due to missing parenthesis.Signed-off-by: Waldemar Rymarkiewicz
Signed-off-by: Samuel Ortiz -
Each NFC adapter can have several links to different secure elements and
that property needs to be exported by the drivers.
A secure element link can be enabled and disabled, and card emulation will
be handled by the currently active one. Otherwise card emulation will be
host implemented.Signed-off-by: Samuel Ortiz
-
Signed-off-by: Samuel Ortiz
-
The pn544 init routine does nothing but adding the driver to the i2c bus.
Signed-off-by: Samuel Ortiz
-
As we may need to support other physical layers, we can avoid linking the
core part into each and every pn544 module.Signed-off-by: Samuel Ortiz
-
Some chips diverge from the HCI spec in their implementation of standard
features. This adds a new quirks parameter to
nfc_hci_allocate_device() to let the driver indicate its divergence.Signed-off-by: Eric Lapuyade
Signed-off-by: Samuel Ortiz -
Signed-off-by: Eric Lapuyade
Signed-off-by: Samuel Ortiz -
Some chips use a standard HCI event code, destined to a proprietary
gate, with a different meaning. Therefore, the HCI driver must always
have a chance to intercept the event before standard processing is
attempted.
The new semantic specifies that the result value "1" means that the
driver doesn't especially handle the event. result
Signed-off-by: Samuel Ortiz -
There is no use to return an error if the caller doesn't get it.
Signed-off-by: Samuel Ortiz
-
devm_kzalloc allocates memory that is released when a driver detaches.
This patch uses devm_kzalloc for data that is allocated in the probe
function of a platform device and is only freed in the remove function.Signed-off-by: Julia Lawall
Signed-off-by: Samuel Ortiz -
Encapsulate whole frame logic (tx/rx frame structure and size) inside
the ops structure to make the core driver generic for devices which
handle frames in non standard menner (different then pn533 spec say).Signed-off-by: Waldemar Rymarkiewicz
Signed-off-by: Samuel Ortiz -
Signed-off-by: Waldemar Rymarkiewicz
Signed-off-by: Samuel Ortiz -
'params' arg in pn533_cmd_complete_t definition has been deprecated and
currently is not in use (resp skb is pass in arg ptr), so remove it.Also 'params_len' arg is used as a transfer status indicator, so simply
reword it appropriately.Signed-off-by: Waldemar Rymarkiewicz
Signed-off-by: Samuel Ortiz -
As it's not used anymore get rid of that buffer.
Signed-off-by: Waldemar Rymarkiewicz
Signed-off-by: Samuel Ortiz -
__pn533_send_cmd_frame_async() should be frame type independent. So, don't
use pn533_frame type params and instead use skb for req and resp pointers.Signed-off-by: Waldemar Rymarkiewicz
Signed-off-by: Samuel Ortiz -
dev->out_frame buffer is much bigger for ACK frame needs. Use
local buffer instead.Signed-off-by: Waldemar Rymarkiewicz
Signed-off-by: Samuel Ortiz -
Remove debug messages which do not include valueable informations
in debug mode. Add some new ones for better tracking or reword when
if necessary.Signed-off-by: Waldemar Rymarkiewicz
Signed-off-by: Samuel Ortiz -
Fix text message to be more suitable for the error code and treat
ESHUTDOWN as an error not debug msg.Signed-off-by: Waldemar Rymarkiewicz
Signed-off-by: Samuel Ortiz -
Remove obsolete send async api as it's no longer used. Remove
global dev->in_frame as well, as each packet is kept is a
seperate skb struct now, so that's not used anymore.Signed-off-by: Waldemar Rymarkiewicz
Signed-off-by: Samuel Ortiz -
Signed-off-by: Waldemar Rymarkiewicz
Signed-off-by: Samuel Ortiz -
Signed-off-by: Waldemar Rymarkiewicz
Signed-off-by: Samuel Ortiz -
Signed-off-by: Waldemar Rymarkiewicz
Signed-off-by: Samuel Ortiz -
Signed-off-by: Waldemar Rymarkiewicz
Signed-off-by: Samuel Ortiz -
Remove frame logic from start_pool cb using the new iface
for async send.Signed-off-by: Waldemar Rymarkiewicz
Signed-off-by: Samuel Ortiz -
Signed-off-by: Waldemar Rymarkiewicz
Signed-off-by: Samuel Ortiz -
Remove frame logic from transceive cb using new iface
for async send.For pn533_wq_mi_recv() use pn533_send_cmd_direct_async which
sends the cmd directly to the hardware, skipping cmd queue.Signed-off-by: Waldemar Rymarkiewicz
Signed-off-by: Samuel Ortiz -
Remove frame logic from InJmumpForDEP command using
the new iface for async send.Signed-off-by: Waldemar Rymarkiewicz
Signed-off-by: Samuel Ortiz -
Remove frame logic from TgSetData and TgGetData commands
using the new iface for async send.Signed-off-by: Waldemar Rymarkiewicz
Signed-off-by: Samuel Ortiz -
Remove obsolate pn533_send_cmd_frame_sync() and use
previously added new iface for sync send.The new interface require the use of individual skb for each
cmd which removes some memcpy calls and hides frame logic.Signed-off-by: Waldemar Rymarkiewicz
Signed-off-by: Samuel Ortiz -
Allocate sk_buff for the request.
Signed-off-by: Waldemar Rymarkiewicz
Signed-off-by: Samuel Ortiz