OSDN Git Service

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:54:55 +0000 (15:54 +0100)
commiteee5e4c98f307a81c2716ab804e7dc3b66b4c125
treeb002373257644fef4af23371a281b9b7a8d65e7b
parent6673f2636b41ccafbe48e12a1c393b57a95f084a
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