From owner-freebsd-wireless@freebsd.org Thu Sep 22 01:36:42 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 63DE1BE4B46 for ; Thu, 22 Sep 2016 01:36:42 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x22d.google.com (mail-io0-x22d.google.com [IPv6:2607:f8b0:4001:c06::22d]) (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 2D8FA1AB for ; Thu, 22 Sep 2016 01:36:42 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-io0-x22d.google.com with SMTP id m79so71524928ioo.3 for ; Wed, 21 Sep 2016 18:36:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=vUc7l4ELNjWEVIn14yp95pnlD0jJGF/nqemFX+6R/kQ=; b=cgMDC6UrjtRNFcbbGyxbOsuFh2Y3fzSb7sU/du7BmaWCzqUDOrMCfEWXdF8hfkGi0K kytPb9fa0GGOXaS9f1JxGXvk0rFoJBLimwrWKPtQ2GD6ueRmGJQ7ixV0Bz4cXU+qxIYN kwCD8hmCkCSwerNE4PRuwCyqO4zv/ewWEep+p2lZrAJ5d5ckQOC97nLJMqTyP/Aoh1SX KUCP+B0GIIN4blI7mfzprJGoi+lGVPgdlsxgfoc4QX1Pc+3r/m6JIEjbed1CfCffj6aJ B/nbEthmyHOnUIa91Ok/2ogMx+HWYd0HFR1grkvFvNp9/Ezh6vQNJzgzA/Rz1zbbDCz6 iueg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=vUc7l4ELNjWEVIn14yp95pnlD0jJGF/nqemFX+6R/kQ=; b=gL8mr4JE1g3T8BMEp1EYCw/8yYEvmrUXV8M8dvWhRHAIJmJz1Co4N4k2//yQ4OUV1G gIn802UrO8YXu5WvUuf8tvLGaP9DW25eg9hkn/M5b60cIPPbnxuiJVFZfBsrwfKkPpUu T2tOHEg8at/tvXV0X5KsVpuCZCDzaIzUqq/7h9pDIIZrU7swF6AcAt5BGN2vZlEN6ey4 g+FXPAjyvSpjIFjCVAFBh4s67X0ZcyBsMZuzhfH00tQ+Cojd63LI3Fm9iXKZCwCvxEGu TfGCa/XRaGZAOXp/vOHQfoJf6dYAdj79VSR4kVAPAI6+oKNLgsOFZnkdK6Ij3GrjQ4rY mP1Q== X-Gm-Message-State: AE9vXwMndGQYyKZkUNRzypnqUxPE/pjmcn6qMQzFM/KjyGmzhUtoqvv+0YBwEtAk/2AIpKO06GN3bELJBGQnzw== X-Received: by 10.107.172.4 with SMTP id v4mr51888742ioe.49.1474508201623; Wed, 21 Sep 2016 18:36:41 -0700 (PDT) MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.36.141.129 with HTTP; Wed, 21 Sep 2016 18:36:40 -0700 (PDT) In-Reply-To: References: <201609192236.u8JMaUI8081855@repo.freebsd.org> From: Adrian Chadd Date: Wed, 21 Sep 2016 18:36:40 -0700 X-Google-Sender-Auth: titUR_c78NBaNAvamuGHIpxarRs Message-ID: Subject: Re: svn commit: r306007 - head/sys/dev/iwm To: Larry Rosenman , "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=UTF-8 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: Thu, 22 Sep 2016 01:36:42 -0000 larry and I did some private debugging. The long and short of it is that his setup doesn't receive frames on antenna A, only on antenna B. Antenna A has like 50dB or more less signal: iwm0: energy In A -114 B -51 C -256 , and max -51 So my guess is it's either not connected internally, or (like mine?) it's hooked up through a bluetooth switch that we're just plainly not setup right. On mine, A is active and B looks like the above (-114). Imre/etc, let's look at what iwlwifi/mvm does for default TX antenna config and default bluetooth config. I think it's wrong. I think our hard-coded antenna (1) is wrong, and I think the antenna alternating in the rate table is also wrong. -adrian