Author: avos
Date: Sat Nov 26 20:26:29 2016
New Revision: 309196
URL: https://svnweb.freebsd.org/changeset/base/309196

Log:
  rsu: fix R92S_TXDW1_QSEL_H2C definition (0x1f -> 0x13).
  
  Without this fix firmware ignores all but first 32 commands
  (= almost everything (except plain Tx / Rx) stops working).
  
  Tested with ASUS USB-N10.

Modified:
  head/sys/dev/usb/wlan/if_rsureg.h

Modified: head/sys/dev/usb/wlan/if_rsureg.h
==============================================================================
--- head/sys/dev/usb/wlan/if_rsureg.h   Sat Nov 26 17:55:46 2016        
(r309195)
+++ head/sys/dev/usb/wlan/if_rsureg.h   Sat Nov 26 20:26:29 2016        
(r309196)
@@ -573,7 +573,7 @@ struct r92s_tx_desc {
 #define R92S_TXDW1_QSEL_M      0x00001f00
 #define R92S_TXDW1_QSEL_S      8
 #define R92S_TXDW1_QSEL_BE     0x03
-#define R92S_TXDW1_QSEL_H2C    0x1f
+#define R92S_TXDW1_QSEL_H2C    0x13
 #define R92S_TXDW1_NONQOS      0x00010000
 #define R92S_TXDW1_KEYIDX_M    0x00060000
 #define R92S_TXDW1_KEYIDX_S    17
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to