From: Pavel Roskin Date: Fri, 05 Mar 2010 18:03:10 -0500 Subject: [ath9k-devel] Virtual wiphy usage In-Reply-To: <4B7BBF53.2070602@cartal.fr> References: <4B7BBF53.2070602@cartal.fr> Message-ID: <1267830190.2666.1.camel@mj> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On Wed, 2010-02-17 at 11:05 +0100, jean-pierre cartal wrote: > Hi, > > I'm trying to use ath9k virtual wiphy feature on openwrt trunk version > ( compat-wireless-2010-02-02) and I can't get it to work: > > 1. load the ath9k with the nohwcrypt=1 option > 2. mount -tdebugfs debugfs /mnt > echo add > /mnt/ath9k/phy0/wiphy > 3. At this point iwconfig shows 2 new interfaces (wlan0 and > wlan1) > 4. ifconfig wlan0 up > Gives several kernel warnings like this one : > > WARNING: > at /var/dev/OpenWRT/trunk_test/openwrt/build_dir/linux-ar71xx/compat-wireless-2010-02-02/net/mac80211/rx.c:2448 ieee80211_rx+0xb8/0x9e0 [mac80211]() I confirm this problem with the current wireless-testing. The code that triggers the backtrace is in file net/mac80211/rx.c, function ieee80211_rx: /* * The same happens when we're not even started, * but that's worth a warning. */ if (WARN_ON(!local->started)) goto drop; > Am I doing something wrong ? No, "doing something wrong" should not trigger kernel warnings. -- Regards, Pavel Roskin