653-0013-rtl8xxxu-8188eu-specify-firmware-block-size-and-set-.patch 1003 B

1234567891011121314151617181920212223242526
  1. From 29311af488cc1c1790a9b53c8073442548edd4bf Mon Sep 17 00:00:00 2001
  2. From: Jes Sorensen <Jes.Sorensen@redhat.com>
  3. Date: Wed, 29 Jun 2016 15:03:54 -0400
  4. Subject: [PATCH] rtl8xxxu: 8188eu specify firmware block size and set
  5. power_off function
  6. This uses a conservative firmware block size for now.
  7. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
  8. ---
  9. drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8188e.c | 2 ++
  10. 1 file changed, 2 insertions(+)
  11. --- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8188e.c
  12. +++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8188e.c
  13. @@ -223,8 +223,10 @@ struct rtl8xxxu_fileops rtl8188eu_fops =
  14. .parse_efuse = rtl8188eu_parse_efuse,
  15. .load_firmware = rtl8188eu_load_firmware,
  16. .power_on = rtl8188eu_power_on,
  17. + .power_off = rtl8xxxu_power_off,
  18. .reset_8051 = rtl8xxxu_reset_8051,
  19. .usb_quirks = rtl8188e_usb_quirks,
  20. + .writeN_block_size = 128,
  21. /*
  22. * Use 9K for 8188e normal chip
  23. * Max RX buffer = 10K - max(TxReportSize(64*8), WOLPattern(16*24))