Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 407b5f86 authored by Tapas Dey's avatar Tapas Dey
Browse files

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: default avatarTapas Dey <tdey@codeaurora.org>
parent f5b0a62a
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -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