NFC: Fix NFC firmware download issue
Due to insufficient kernel buffer size, NFC firmware download fails during NFC initialization. Increased kernel buffer size to support frame size of 554 in FW download mode. Change-Id: I93dc7a51116f121475529e5becb0a0d213d1ce2c Signed-off-by: Tapas Dey <tdey@codeaurora.org>
This commit is contained in:
@@ -27,7 +27,12 @@
|
||||
#define DEV_COUNT 1
|
||||
#define DEVICE_NAME "nq-nci"
|
||||
#define CLASS_NAME "nqx"
|
||||
#define MAX_BUFFER_SIZE (320)
|
||||
/*
|
||||
* From MW 11.04 buffer size increased to support
|
||||
* frame size of 554 in FW download mode
|
||||
* Frame len(2) + Frame Header(6) + DATA(512) + HASH(32) + CRC(2) + RFU(4)
|
||||
*/
|
||||
#define MAX_BUFFER_SIZE (558)
|
||||
#define WAKEUP_SRC_TIMEOUT (2000)
|
||||
#define NCI_HEADER_LEN 3
|
||||
#define NCI_PAYLOAD_IDX 3
|
||||
|
||||
Reference in New Issue
Block a user