]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wfx: firmware does not support more than 32 total retries
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Tue, 17 Dec 2019 16:14:33 +0000 (16:14 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Dec 2019 14:51:04 +0000 (15:51 +0100)
commitac17ed7bb322a5e855e3f87d4f129f1c03efad9c
treeee72ac6a3147b5999237641be0f8d95786517c99
parent4b504ecbe4f0ebb5b3d2febd60c54a9a0b7b9a3a
staging: wfx: firmware does not support more than 32 total retries

The sum of all retries for a Tx frame cannot be superior to 32.

There are 4 rates at most. So this patch limits number of retries per
rate to 8.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20191217161318.31402-6-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/main.c