projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
858fd2a
)
wifi: mt76: mt7915: reduce the number of command retries
author
Felix Fietkau
<nbd@nbd.name>
Mon, 30 Dec 2024 19:41:54 +0000
(20:41 +0100)
committer
Felix Fietkau
<nbd@nbd.name>
Tue, 14 Jan 2025 12:34:36 +0000
(13:34 +0100)
The need to retry a command is really uncommon. Reduce the retries to 1 to
speed up recovery from firmware issues.
Link:
https://patch.msgid.link/20241230194202.95065-6-nbd@nbd.name
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wireless/mediatek/mt76/mt7915/mcu.c
b/drivers/net/wireless/mediatek/mt76/mt7915/mcu.c
index 35af41b5bad667ef257b391492b63ded92fc48ec..6efa1c95e9532117e642a21c1dd62105ed7ef36c 100644
(file)
--- a/
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c
+++ b/
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c
@@
-2388,7
+2388,7
@@
int mt7915_mcu_init_firmware(struct mt7915_dev *dev)
int mt7915_mcu_init(struct mt7915_dev *dev)
{
static const struct mt76_mcu_ops mt7915_mcu_ops = {
- .max_retry =
3
,
+ .max_retry =
1
,
.headroom = sizeof(struct mt76_connac2_mcu_txd),
.mcu_skb_prepare_msg = mt76_connac2_mcu_fill_message,
.mcu_skb_send_msg = mt7915_mcu_send_message,