653-0057-rtl8xxxu-Add-rpt_sel-entry-to-struct-rtl8xxxu_rxdesc.patch 1022 B

1234567891011121314151617181920212223242526272829303132333435
  1. From f670de32e58c1623ee30d7511e62e7b7e2164684 Mon Sep 17 00:00:00 2001
  2. From: Jes Sorensen <Jes.Sorensen@redhat.com>
  3. Date: Tue, 4 Oct 2016 12:40:22 -0400
  4. Subject: [PATCH] rtl8xxxu: Add rpt_sel entry to struct rtl8xxxu_rxdesc16
  5. The 8188e supports TX reports which will show up as an RX packet,
  6. similar to how the gen2 parts handle it.
  7. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
  8. ---
  9. drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h | 6 ++++--
  10. 1 file changed, 4 insertions(+), 2 deletions(-)
  11. --- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h
  12. +++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h
  13. @@ -161,7 +161,8 @@ struct rtl8xxxu_rxdesc16 {
  14. u32 htc:1;
  15. u32 eosp:1;
  16. u32 bssidfit:2;
  17. - u32 reserved1:16;
  18. + u32 rpt_sel:2; /* 8188e */
  19. + u32 reserved1:14;
  20. u32 unicastwake:1;
  21. u32 magicwake:1;
  22. @@ -219,7 +220,8 @@ struct rtl8xxxu_rxdesc16 {
  23. u32 magicwake:1;
  24. u32 unicastwake:1;
  25. - u32 reserved1:16;
  26. + u32 reserved1:14;
  27. + u32 rpt_sel:2; /* 8188e */
  28. u32 bssidfit:2;
  29. u32 eosp:1;
  30. u32 htc:1;