hog-lib: Don't restrict Report MAP size
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 16 Aug 2022 18:56:32 +0000 (11:56 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:54 +0000 (14:55 +0530)
commit3f2c5ce20bc9d91aad9b9e519e9e12fbcac33554
treee8cbec42a67b83f7e16552b32f6643340dc54613
parent3ab3d8e24024d80937e3fc318959396135ad4eea
hog-lib: Don't restrict Report MAP size

Although HIDS spec is quite clear the Report MAP shall be limited to
512 bytes it doesn't seem OS do enforce that on the profile/client side
and since there isn't any qualification test enforcing it either there
are quite many devices which uses Report MAP bigger that 512 bytes
(e.g.: Brydge W-Touch and Lenovo Duet 3 BT Folio).

https://github.com/bluez/bluez/issues/377
Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
profiles/input/hog-lib.c