Return-path: Received: from nbd.name ([46.4.11.11]:45285 "EHLO nbd.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751028Ab3EaH4t (ORCPT ); Fri, 31 May 2013 03:56:49 -0400 Message-ID: <51A857BF.7070008@openwrt.org> (sfid-20130531_095652_623250_FA7054EF) Date: Fri, 31 May 2013 09:56:47 +0200 From: Felix Fietkau MIME-Version: 1.0 To: Ben Greear CC: "linux-wireless@vger.kernel.org" Subject: Re: Another try at getting pktgen to work with wifi. References: <51A79E4A.7000609@candelatech.com> <51A7B049.9090201@openwrt.org> <51A7BA63.4080403@candelatech.com> In-Reply-To: <51A7BA63.4080403@candelatech.com> Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: On 2013-05-30 10:45 PM, Ben Greear wrote: > On 05/30/2013 01:02 PM, Felix Fietkau wrote: >> On 2013-05-30 8:45 PM, Ben Greear wrote: >>> I'm trying to come up with a more acceptable patch to the problem discussed a few years >>> ago: >>> >>> http://thread.gmane.org/gmane.linux.kernel.wireless.general/64582/focus=64626 >>> >>> The patch below appears to work as expected. In pktgen, you just have to set >>> the QoS to whatever value matches the queue you need. >>> >>> This seem reasonable? >> Why do you adjust the queue mapping instead of the skb priority? In that >> other thread you mentioned that pktgen should be able to control the >> queue, yet here you're taking queue control away from it for tx on mac80211. > > I was having trouble getting it to work, but I was trying it at > a different place in the code when I was hacking on it... > > Do you think I'd just need to adjust skb->priority in the > same spot in the code, or is there more to it? I think that could work. - Felix