mt76x2: apply coverage class on slot time too
authorLorenzo Bianconi <[email protected]>
Tue, 15 May 2018 10:08:14 +0000 (12:08 +0200)
committerKalle Valo <[email protected]>
Wed, 23 May 2018 07:56:05 +0000 (10:56 +0300)
commit0d45d3fe42efc76b6c4f5a62f8d110c7a2e6f83f
treee0ec7942d58053d3baee375aaa3f93a7400b6a86
parentd2280e8e9c816f6d72a81531ec67fd60d4d02305
mt76x2: apply coverage class on slot time too

According to 802.11-2007 17.3.8.6 (slot time), the slot time should
be increased by 3 us * coverage class. Taking into account coverage
class in slot time configuration allows to increase by an order of
magnitude the throughput on a 4Km link in a noisy environment

Tested-by: Luca Bisti <[email protected]>
Tested-by: Gaetano Catalli <[email protected]>
Signed-off-by: Lorenzo Bianconi <[email protected]>
Acked-by: Felix Fietkau <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
drivers/net/wireless/mediatek/mt76/mt76x2_init.c
drivers/net/wireless/mediatek/mt76/mt76x2_main.c