mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
Merge "NFC: Fix NFC firmware download issue"
This commit is contained in:
commit
eadb3200ae
1 changed files with 6 additions and 1 deletions
|
|
@ -62,7 +62,12 @@
|
|||
#define COLD_RESET_OID 0x1E
|
||||
|
||||
#define MAX_NCI_PAYLOAD_LEN (255)
|
||||
#define MAX_BUFFER_SIZE (NCI_HDR_LEN + MAX_NCI_PAYLOAD_LEN)
|
||||
/*
|
||||
* 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)
|
||||
|
||||
// Maximum retry count for standby writes
|
||||
#define MAX_RETRY_COUNT (3)
|
||||
|
|
|
|||
Loading…
Reference in a new issue