From: jean-pierre cartal Date: Wed, 17 Feb 2010 11:05:07 +0100 Subject: [ath9k-devel] Virtual wiphy usage Message-ID: <4B7BBF53.2070602@cartal.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org 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]() Modules linked in: ath9k ath9k_common ath9k_hw ath mac80211 cfg80211 asix usbserial usbnet ohci_hcd nf_nat_tftp nf_conntrack_tftp nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp ipt_MASQUER Call Trace: [<800682bc>] dump_stack+0x8/0x34 [<8007cfc4>] warn_slowpath_common+0x70/0xb0 [<83d14af8>] ieee80211_rx+0xb8/0x9e0 [mac80211] [<831650e0>] ath_isr+0x230/0x320 [ath9k] [<831656b0>] ath_rx_tasklet+0x4e0/0x558 [ath9k] [<831645b0>] ath9k_tasklet+0x60/0xec [ath9k] [<80081ff4>] tasklet_action+0x88/0xe4 [<800827e8>] __do_softirq+0xb0/0x148 [<800828c8>] do_softirq+0x48/0x6c [<8006082c>] ret_from_irq+0x0/0x4 [<80060a20>] r4k_wait+0x20/0x40 [<8006c96c>] cpu_idle+0x24/0x44 [<802dca48>] start_kernel+0x33c/0x354 ---[ end trace 152f17359594df6f ]--- Am I doing something wrong ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20100217/b9a9257b/attachment.htm