projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c478ac9
)
wil6210: publish max_msdu_size to FW on BCAST ring
author
Maya Erez
<merez@codeaurora.org>
Sun, 16 Jun 2019 07:26:04 +0000
(10:26 +0300)
committer
Kalle Valo
<kvalo@codeaurora.org>
Thu, 27 Jun 2019 17:50:37 +0000
(20:50 +0300)
Set max_msdu_size in WMI_BCAST_DESC_RING_ADD_CMD to allow FW
to optimize the buffers allocation for bcast packets.
Signed-off-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wil6210/wmi.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/wil6210/wmi.c
b/drivers/net/wireless/ath/wil6210/wmi.c
index
298c918
..
cacafab
100644
(file)
--- a/
drivers/net/wireless/ath/wil6210/wmi.c
+++ b/
drivers/net/wireless/ath/wil6210/wmi.c
@@
-3835,6
+3835,7
@@
int wil_wmi_bcast_desc_ring_add(struct wil6210_vif *vif, int ring_id)
.ring_size = cpu_to_le16(ring->size),
.ring_id = ring_id,
},
+ .max_msdu_size = cpu_to_le16(wil_mtu2macbuf(mtu_max)),
.status_ring_id = wil->tx_sring_idx,
.encap_trans_type = WMI_VRING_ENC_TYPE_802_3,
};