Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Nov 2016 20:26:29 +0000 (UTC)
From:      Andriy Voskoboinyk <avos@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r309196 - head/sys/dev/usb/wlan
Message-ID:  <201611262026.uAQKQTjO087365@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611262026.uAQKQTjO087365>