2016-10-06 10:49:31 +00:00
|
|
|
From 29311af488cc1c1790a9b53c8073442548edd4bf Mon Sep 17 00:00:00 2001
|
2016-06-29 15:04:05 +00:00
|
|
|
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))
|