Return-path: Received: from mail-io0-f195.google.com ([209.85.223.195]:34593 "EHLO mail-io0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750866AbcA1XB1 (ORCPT ); Thu, 28 Jan 2016 18:01:27 -0500 MIME-Version: 1.0 In-Reply-To: <1454019155.2332.15.camel@sipsolutions.net> References: <1453983185.2217.12.camel@sipsolutions.net> <1454013625.2332.9.camel@sipsolutions.net> <1454019155.2332.15.camel@sipsolutions.net> Date: Thu, 28 Jan 2016 15:01:26 -0800 Message-ID: (sfid-20160129_000209_251793_9E54D8D5) Subject: Re: WARNING at net/mac80211/rate.c:513 ieee80211_get_tx_rates [mac80211] From: Linus Torvalds To: Johannes Berg Cc: Larry Finger , Chaoming Li , Kalle Valo , David Miller , Linux Wireless List , Network Development Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Thu, Jan 28, 2016 at 2:12 PM, Johannes Berg wrote: > > Your best workaround may just be to ignore VHT for now - clearly it's > broken so using "just" HT (which is likely not that much of a penalty > anyway since you're apparently not using 80 MHz) will be much better. > > Go into > > _rtl_init_hw_vht_capab() > > and just remove or stub out the entire contents of that (or you could > just remove the "vht_supported=true" if you feel like it.) > > That should get it to HT only, which is likely tested and working > better. Bingo. That indeed gets me working wireless. It's not super-fast, but I don't think it ever has been.. If somebody has a suggested patch to actually *fix* VHT on this chipset, that would obviously be better. And maybe it works on some other chipsets, but not on mine. I'll happily test patches now that the merge window is over and I have some time again (and I can also make my AP do 80MHz channels if that matters, although as Johannes noted it's not enabled by default). For the realtek driver people, here is what lspci says: 02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821AE 802.11ac PCIe Wireless Network Adapter Subsystem: AzureWave Device 2161 Kernel driver in use: rtl8821ae (Numeric PCI ID: 10ec:8821, subsystem 1a3b:2161) Thanks, Linus