mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 14:13:16 +00:00
ad51e09fd1
Signed-off-by: Felix Fietkau <nbd@nbd.name>
27 lines
1003 B
Diff
27 lines
1003 B
Diff
From 29311af488cc1c1790a9b53c8073442548edd4bf Mon Sep 17 00:00:00 2001
|
|
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
|
Date: Wed, 29 Jun 2016 15:03:54 -0400
|
|
Subject: [PATCH] rtl8xxxu: 8188eu specify firmware block size and set
|
|
power_off function
|
|
|
|
This uses a conservative firmware block size for now.
|
|
|
|
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
|
|
---
|
|
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8188e.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
--- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8188e.c
|
|
+++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8188e.c
|
|
@@ -223,8 +223,10 @@ struct rtl8xxxu_fileops rtl8188eu_fops =
|
|
.parse_efuse = rtl8188eu_parse_efuse,
|
|
.load_firmware = rtl8188eu_load_firmware,
|
|
.power_on = rtl8188eu_power_on,
|
|
+ .power_off = rtl8xxxu_power_off,
|
|
.reset_8051 = rtl8xxxu_reset_8051,
|
|
.usb_quirks = rtl8188e_usb_quirks,
|
|
+ .writeN_block_size = 128,
|
|
/*
|
|
* Use 9K for 8188e normal chip
|
|
* Max RX buffer = 10K - max(TxReportSize(64*8), WOLPattern(16*24))
|