* [PATCH] mt76: mt7615: enable SCS by default
@ 2019-09-06 15:29 Lorenzo Bianconi
2019-09-06 17:44 ` Toke Høiland-Jørgensen
0 siblings, 1 reply; 3+ messages in thread
From: Lorenzo Bianconi @ 2019-09-06 15:29 UTC (permalink / raw)
To: nbd; +Cc: lorenzo.bianconi, linux-wireless, ryder.lee, royluo
Enable Smart Carrier Sense algorithm by default in order to improve
performances in a noisy environment
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
---
drivers/net/wireless/mediatek/mt76/mt7615/init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/init.c b/drivers/net/wireless/mediatek/mt76/mt7615/init.c
index 1104e4c8aaa6..835499979b73 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7615/init.c
+++ b/drivers/net/wireless/mediatek/mt76/mt7615/init.c
@@ -50,7 +50,7 @@ static void mt7615_mac_init(struct mt7615_dev *dev)
MT_TMAC_CTCR0_INS_DDLMT_EN);
mt7615_mcu_set_rts_thresh(dev, 0x92b);
- mt7615_mac_set_scs(dev, false);
+ mt7615_mac_set_scs(dev, true);
mt76_rmw(dev, MT_AGG_SCR, MT_AGG_SCR_NLNAV_MID_PTEC_DIS,
MT_AGG_SCR_NLNAV_MID_PTEC_DIS);
--
2.21.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] mt76: mt7615: enable SCS by default
2019-09-06 15:29 [PATCH] mt76: mt7615: enable SCS by default Lorenzo Bianconi
@ 2019-09-06 17:44 ` Toke Høiland-Jørgensen
2019-09-07 5:07 ` Lorenzo Bianconi
0 siblings, 1 reply; 3+ messages in thread
From: Toke Høiland-Jørgensen @ 2019-09-06 17:44 UTC (permalink / raw)
To: Lorenzo Bianconi, nbd; +Cc: lorenzo.bianconi, linux-wireless, ryder.lee, royluo
Lorenzo Bianconi <lorenzo@kernel.org> writes:
> Enable Smart Carrier Sense algorithm by default in order to improve
> performances in a noisy environment
What does that do (the algorithm, that is)? :)
-Toke
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] mt76: mt7615: enable SCS by default
2019-09-06 17:44 ` Toke Høiland-Jørgensen
@ 2019-09-07 5:07 ` Lorenzo Bianconi
0 siblings, 0 replies; 3+ messages in thread
From: Lorenzo Bianconi @ 2019-09-07 5:07 UTC (permalink / raw)
To: Toke Høiland-Jørgensen
Cc: Lorenzo Bianconi, Felix Fietkau, Lorenzo Bianconi,
linux-wireless, Ryder Lee, Roy Luo
>
> Lorenzo Bianconi <lorenzo@kernel.org> writes:
>
> > Enable Smart Carrier Sense algorithm by default in order to improve
> > performances in a noisy environment
>
> What does that do (the algorithm, that is)? :)
>
> -Toke
Hi Toke,
it is used for tuning device sensitivity according to RTS error rate
and False CCA reported by the radio (e.g decrease radio sensitivity to
cut off interference stations).
It has been ported from vendor sdk.
https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git/commit/drivers/net/wireless/mediatek/mt76/mt7615?id=49de79ad9a748c86277f39613ade72dc56421454
Regards,
Lorenzo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-09-07 5:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-06 15:29 [PATCH] mt76: mt7615: enable SCS by default Lorenzo Bianconi
2019-09-06 17:44 ` Toke Høiland-Jørgensen
2019-09-07 5:07 ` Lorenzo Bianconi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).