Return-path: Received: from mail-yx0-f187.google.com ([209.85.210.187]:35961 "EHLO mail-yx0-f187.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751460Ab0ASXJ2 convert rfc822-to-8bit (ORCPT ); Tue, 19 Jan 2010 18:09:28 -0500 Received: by yxe17 with SMTP id 17so5575116yxe.33 for ; Tue, 19 Jan 2010 15:09:27 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <06EDB64EA58644438DE96E973C536BFF@FrankWMillerPC> Date: Tue, 19 Jan 2010 18:09:27 -0500 Message-ID: Subject: Re: wireless for manet experiments From: Bob Copeland To: "Frank W. Miller" Cc: linux-wireless@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Tue, Jan 19, 2010 at 6:07 PM, Bob Copeland wrote: > On Tue, Jan 19, 2010 at 4:19 PM, Frank W. Miller > > I have some code to make mac80211_hwsim controllable from user space. > Basically, you get a queue of packets in the driver that you can read > from a file descriptor and write to a different file descriptor to > simulate reception by a peer. ?You can then make the user space part > probabilistically drop packets or whatever you like (I have code for > this too). > > I'm not sure how well this meets your use case but I can post patches > if you're interested. Just a follow-up in case it wasn't clear: the above uses no hardware, since I was mostly interested in the upper levels. There's also libmac by the ORBIT folks that adds some hooks into real hardware drivers (I have never used it personally). -- Bob Copeland %% www.bobcopeland.com