wifi: rtl8xxxu: Fix RTL8188EU firmware upload block size
PATCH v2 1/1 wifi: rtl8xxxu: Fix RTL8188EU firmware upload block size
A user reports that the firmware upload consistently fails when it's uploaded in chunks of 128 bytes, but it works when uploaded in chunks of 196 bytes. The official driver uses 196 bytes also.
Signed-off-by Bitterblue Smith <[email protected]>
---
v2:
- Make the patch apply.
--- drivers/net/wireless/realtek/rtl8xxxu/8188e.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/realtek/rtl8xxxu/8188e.c +1 -1
@@ -1860,7 +1860,7 @@ struct rtl8xxxu_fileops rtl8188eu_fops = { .set_crystal_cap = rtl8188f_set_crystal_cap, .cck_rssi = rtl8188e_cck_rssi, .led_classdev_brightness_set = rtl8188eu_led_brightness_set, - .writeN_block_size = 128, + .writeN_block_size = 196, .rx_desc_size = sizeof(struct rtl8xxxu_rxdesc16), .tx_desc_size = sizeof(struct rtl8xxxu_txdesc32), .has_tx_report = 1,
Signature · 1 line
2.47.1
Quoted 6 lines · Bitterblue Smith
A user reports that the firmware upload consistently fails when it's uploaded in chunks of 128 bytes, but it works when uploaded in chunks of 196 bytes. The official driver uses 196 bytes also.
1 patch(es) applied to rtw-next branch of rtw.git, thanks.
93b3a45645f1 wifi: rtl8xxxu: Fix RTL8188EU firmware upload block size