OSDN Git Service

ath9k: dynack: set max timeout according to channel width
authorLorenzo Bianconi <lorenzo@kernel.org>
Tue, 20 Aug 2019 16:20:21 +0000 (18:20 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 4 Sep 2019 06:15:21 +0000 (09:15 +0300)
commit86e392994deebe3745b15d4c1aeeb21e84bf8cdc
treec8f0bf3719e57ab872b5efbfe9072e44a7dc8599
parent6999e40d5f1dc09617a1036aabc63f5734b33e5d
ath9k: dynack: set max timeout according to channel width

Compute maximum configurable ackimeout/ctstimeout according to channel
width (clockrate)

Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/dynack.c