From owner-freebsd-wireless@freebsd.org Fri Oct 14 00:03:43 2016 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 D222EC10F8D; Fri, 14 Oct 2016 00:03:43 +0000 (UTC) (envelope-from andriyvos@gmail.com) Received: from mail-lf0-f43.google.com (mail-lf0-f43.google.com [209.85.215.43]) (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 5621E102; Fri, 14 Oct 2016 00:03:43 +0000 (UTC) (envelope-from andriyvos@gmail.com) Received: by mail-lf0-f43.google.com with SMTP id l131so122931137lfl.2; Thu, 13 Oct 2016 17:03:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:cc:subject:references:date:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; bh=58L+1HH41zDqvyFWoQdPw+IatCq9LLZfoKOwmoBNIQA=; b=l36fS3WAHmNvCjdSbbU7QE4iAV/2ZRqDcts8QhQYzsapJLQoZ3bBYML8WnRYVQSuMJ KLOl9uP5h+Tmkul2xn8Iaa7Etir3IUsr7ftxFLhg2VQNT/8///Fy6DDEX0xY/X8OM3Qo lzaML6X8G1k+sDU17hD9QjSC17WblcTxZiKpvDfI/BktCbq0cT4RvutqcDpoEp6DKe7/ nuEqBXHf4KvZqvOp7bkf2kLNLOfkD8KZFVRcp5PD8qpkqKmaxTuEF0+V9uDjrs0WKdxP ZwshWM5FtL5aaLI5IuHuHjLkaBDnvFYE/JbmxZs2IbhiJcjFl+VVTTNbUx/ELG0pJVaA tn1g== X-Gm-Message-State: AA6/9RnssaczCc/6600OEj0AdmbLiEiIu9IBBThkRfsYoGT16QvcgfiXi/KCFSQbOASDaw== X-Received: by 10.25.132.18 with SMTP id g18mr285954lfd.7.1476403420659; Thu, 13 Oct 2016 17:03:40 -0700 (PDT) Received: from localhost (host-176-37-109-22.la.net.ua. [176.37.109.22]) by smtp.gmail.com with ESMTPSA id g5sm4399045lfe.14.2016.10.13.17.03.39 (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 13 Oct 2016 17:03:40 -0700 (PDT) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "Kevin Lo" Cc: "freebsd-wireless@freebsd.org" , "freebsd-current@freebsd.org" , "Adrian Chadd" Subject: Re: urtwn(4) / rtwn(4) drivers are merged - call for review / testing References: <20160923015840.GA77979@ns.kevlo.org> <20160923071830.GA79146@ns.kevlo.org> <20161001150924.GA48641@ns.kevlo.org> <20161003005523.GA57437@ns.kevlo.org> <20161011012702.GA36712@ns.kevlo.org> <20161012043415.GA45653@ns.kevlo.org> Date: Fri, 14 Oct 2016 03:03:41 +0300 MIME-Version: 1.0 Content-Transfer-Encoding: Quoted-Printable From: "Andriy Voskoboinyk" Message-ID: In-Reply-To: <20161012043415.GA45653@ns.kevlo.org> User-Agent: Opera Mail/12.16 (FreeBSD) X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.23 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, 14 Oct 2016 00:03:44 -0000 Wed, 12 Oct 2016 07:34:15 +0300 =D0=B1=D1=83=D0=BB=D0=BE =D0=BD=D0=B0=D0= =BF=D0=B8=D1=81=D0=B0=D0=BD=D0=BE Kevin Lo : Thanks for testing! (I have got another one to simplify the process) Can you approve that current tree (master) works without any (new) = problems? P.S. Known issue (present in the current driver too): - the card ACKs only some frames that were sent using CCK rates (whilst sees all retransmissions - that can be seen in 'rx discard 'cuz = = dup' counter via wlanstats) > I tried to use https://github.com/s3erios/rtwn/tree/pci_modified, > still no luck. BTW, there's a compilation error: = > http://pastebin.com/hCFfYVSj > > To ensure that the adapter is not faulty, I tested with the snapshots = = > image > (FreeBSD-12.0-CURRENT-amd64-20160829-r305028-memstick.img), rtwn(4) = > works fine. > > Kevin > > On Tue, Oct 11, 2016 at 11:21:24PM +0300, Andriy Voskoboinyk wrote: >> >> Tue, 11 Oct 2016 04:27:02 +0300 =D0=B1=D1=83=D0=BB=D0=BE =D0=BD=D0=B0= =D0=BF=D0=B8=D1=81=D0=B0=D0=BD=D0=BE Kevin Lo = >> : >> >> I have created 'pci_modified' branch to speed-up the process (RTL881*= AU >> will >> not work with it for now); right now it contains (mostly) unmodified >> initialization path from rtwn(4) driver. >> >> If this version will work, I will revert some 'RTWN_PCI_WORKAROUND' >> temporary blocks until the culprit is found. >> >> > On Sat, Oct 08, 2016 at 02:18:54AM +0300, Andriy Voskoboinyk wrote:= >> >> >> >> Mon, 03 Oct 2016 03:55:23 +0300 =D0=B1=D1=83=D0=BB=D0=BE =D0=BD=D0= =B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BD=D0=BE Kevin Lo >> >> : >> >> >> >> Hi! >> > >> > Hi Andriy, >> > >> >> Can you refresh the tree and retest it (dev.rtwn.0.debug=3D0x829f)= ? >> > >> > I refreshed the tree and retested it, unfortunately it's still the = = >> same. >> > Here's the log: https://people.freebsd.org/~kevlo/rtl8188ce-debuglo= g >> >> >> >> P.S. If Rx is still broken (status is always 0) try to execute >> >> 'ifconfig wlan0 promisc' >> > >> > It doesn't help either :( >>