From owner-freebsd-wireless@freebsd.org Fri Sep 25 13:56:09 2015 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 35E5DA08036 for ; Fri, 25 Sep 2015 13:56:09 +0000 (UTC) (envelope-from s3erios@gmail.com) Received: from mail-la0-x22c.google.com (mail-la0-x22c.google.com [IPv6:2a00:1450:4010:c03::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C6C2D18E2; Fri, 25 Sep 2015 13:56:08 +0000 (UTC) (envelope-from s3erios@gmail.com) Received: by lacrr8 with SMTP id rr8so19966408lac.2; Fri, 25 Sep 2015 06:56:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:to:subject:references:date:cc:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; bh=mar51ZWvm4iA3yfnFJVy7UT9hmfQWIN/8SJznGICL+0=; b=JCOk7Jzb1F9/Il8eIjO3KxAUlVcxVcMVauCLzOzfFc8XYC2UdoqHm53F3mu6eeEtTJ 9rKEOqLrzIOJzbSh4wqeLrYFajin3hPwHiM/1qK49S/4/JyChiv9Ofsn0rZurag2A3Rs ZK4hqLD5rKGx3KYRBPzQJeK79QyPx0esP4tET97V4AgGtW4AiypomBxZc6fVEHGHsiXd N5049Ywbl2/V9ViU38nbHFUqakRKX91Th3vsfpp5VoY8Tocyw2TZb85kro0D5yhjJGGB dUChsQyFpsUzdQrzLibC/A8Hrmd9Fs4uAXlUPklQAjHs/YZXf+GzGFBVkir85b3QRalQ w66g== X-Received: by 10.112.149.68 with SMTP id ty4mr1669318lbb.74.1443189366843; Fri, 25 Sep 2015 06:56:06 -0700 (PDT) Received: from localhost (host-176-37-109-22.la.net.ua. [176.37.109.22]) by smtp.gmail.com with ESMTPSA id t129sm413628lfd.5.2015.09.25.06.56.05 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 25 Sep 2015 06:56:06 -0700 (PDT) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: freebsd-wireless@freebsd.org Subject: Re: urtwn and hostap References: <55F90187.10809@shrew.net> <55F906CB.9030007@shrew.net> <55F996FD.5060804@shrew.net> <55FA6022.8090609@shrew.net> <20150917151249.GA68201@ns.kevlo.org> <55FAEA82.3060602@shrew.net> <55FFA1B9.8040005@shrew.net> <56000EE5.30209@shrew.net> <5603630C.9020403@shrew.net> Date: Fri, 25 Sep 2015 16:56:03 +0300 Cc: "Matthew Grooms" , "Kevin Lo" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Andriy Voskoboinyk" Message-ID: In-Reply-To: <5603630C.9020403@shrew.net> User-Agent: Opera Mail/12.16 (FreeBSD) X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Sep 2015 13:56:09 -0000 > I tried to look for beacon frames using tcpdump on another urtwn adapter > but unfortunately it doesn't appear to be working. I see a "need > promiscuous mode update callback" printed out on the console every time > I try. I assume that's indicative of a problem. Is there something else > I should try besides running the second adapter in monitor mode and then > running tcpdump on the interface? I did see these when running tcpdump > on the wlan0 hostap adapter itself ... I have tested this patch with RTL8188EU in hostap mode (and with WUSB54GC in monitor mode) - and have not seen beacons from it too. > > The station wasn't able to associate with both bits stripped. It did > work with the bssid data bit stripped, so the new patch reflects that. > I'm not sure what the most appropriate comment update should be there so > I left it as is. > Sorry for misunderstanding - I have mean BCN flag ('receive beacon frames'), not DATA flag ('receive data frames'). > > Latest patch is attached. > > -Matthew