Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5533916yba; Mon, 13 May 2019 12:33:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqx79pbXsWUeKLK0TMKVt2IuX21T1s299Hvys3wmSsOx6fA9TXNiivuXcRbwvwWLPUYXH8Qx X-Received: by 2002:aa7:8495:: with SMTP id u21mr25214654pfn.125.1557776002262; Mon, 13 May 2019 12:33:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557776002; cv=none; d=google.com; s=arc-20160816; b=VHtQ7qa+R4nQtGaQETxb4XsMRHyIo+ztvgeZrZYpCADWSaLijSAVxBQmk82d1Pjw77 7bWZC3Ew0i8qpBhQMJIG/APo18DgO673s4McIOHZ0cD3wwAhuGhn990sPs17O06/tUpv oXn+CM4psksaMuEi/9VIIn1nbxh0EowRPSUFH8x/9h3EEn0bn0FvWYQg4y2JU0vN3l1s qykVN6SBMW3gx0tKLc/S0yrKxkvpcKQE4Cxs8H7igtrOqbk8HmHNiBVjGA/tCzYiw9yw FBoHKwdq7JPJp5gViXjoM7gLMWkjFbw7g1+4hJ55mpgerGn3Nl142o4SHn/GGcf3YgzY aZ4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=LuXCF7allNgGb74veKifI5MrJitbZ5zHMuOiMyVwMRI=; b=Ngz0nzbbNtucKF7lsPGzrU4HhbIeN8ExJLhZAufb9uQ+pzHOvLQNM5J/PVcDH/fGze j7Pod6oIOBU1XXEbl2nAfsuFP/1Ik/DQo9EDggm1KN6YJ1ssrtem1BRPvr8DzrY8TVZ6 5lepxQLU43OoQyEh+xHtsC9LMNO1eutk/e3q0OkTDPzcg5Sa41T8lHv/mV9xk+DNfUV9 0ZqxMewzbF7Wk4drvrkkKgZ43KsCzqZ+GM/poIq973+RV9g8djEY0BH1GP1PCvgKoDLs Y3SqpJtbPao0H6ycEDp+gW6+lhLtMTAr/g0kndMRkQ8C2h4Xhif27/iC8hOpKjsmyWOc 73ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PzvbKhsF; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d125si4696507pfd.257.2019.05.13.12.33.07; Mon, 13 May 2019 12:33:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PzvbKhsF; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729180AbfEMRgU (ORCPT + 99 others); Mon, 13 May 2019 13:36:20 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:42903 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728708AbfEMRgU (ORCPT ); Mon, 13 May 2019 13:36:20 -0400 Received: by mail-pg1-f195.google.com with SMTP id 145so7115129pgg.9 for ; Mon, 13 May 2019 10:36:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LuXCF7allNgGb74veKifI5MrJitbZ5zHMuOiMyVwMRI=; b=PzvbKhsFCPUGi6uF2anemPxpPQraFITfCO4aRDQ3sPXnvbYBTq61o4snJr2ZubBo+5 AxAfyGhKS72k4PM+BZbeUKh2YIRtAXTgbZlFiqR/Je4W3pX1yn2oZPXWP+Q7ez6AJiN/ 7F5B82P87jpOuCr1WmIR+JD0KqqDE5cLPRUXeK034rtgIz8f4uVYSUgCSXIXOW7KyfB4 CsLOkZLUg0MwQPO4zYNDJkjFCkJ9IpZUxcWK8heQkkSFrpgHc548BdaCXR21ARvhL2p7 kI/zFxVswKXcy3C/LW172+ITMtfuiV0ij94tBr/qsem69AFocbq8I+kE+1q3bUTzRnDL n30Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LuXCF7allNgGb74veKifI5MrJitbZ5zHMuOiMyVwMRI=; b=aNxbIzvQUQ5DjGeG7aoIzhoOivWCQSujxppPd4kUAVwnnMmhT+SjWpDgryhDtLkA89 9ranfu9zcuvmSkqvuV8BKJ1xlqDdwtf4PjmJy67sgJ52Q9xNkkqBZqjSECXkGOvQohWq t4bt54LMCf4dTpikV1ts5aaKJet5i68RwfPZYXpy1IooG8nrf62pALLDHla0HI3jhzBT t7nAdoxudz+6847c5uFUGFu/Kjap0dXQhGp0BEJRn3cY8FtjK8fVzacEeaRy61nYQg0y 4CHGCUcv618klQN5MEVQFE6AQOoR6ITbZpf6Y2PZTfD+9Iw2VXBZolDkAW/4KokIQqS8 90Gw== X-Gm-Message-State: APjAAAXH2VNDxe6l5KGS2DFfXnpKYY2ODfKymaBTEu226gSsnKS5udny hnv0QCe9DxmAyROpCIjzzkXr7dbWbuDQ/9/G1GVyBWC93A== X-Received: by 2002:aa7:8186:: with SMTP id g6mr35336059pfi.126.1557768979394; Mon, 13 May 2019 10:36:19 -0700 (PDT) MIME-Version: 1.0 References: <79695018-5ac9-d7c8-a386-c6dd3f9ed474@candelatech.com> In-Reply-To: <79695018-5ac9-d7c8-a386-c6dd3f9ed474@candelatech.com> From: Sam Samy Date: Mon, 13 May 2019 10:36:08 -0700 Message-ID: Subject: Re: ath10k 5Ghz RSSI low To: Ben Greear Cc: linux-wireless@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org > Probably it is a board-file and/or calibration data issue then. > > The debugfs 'ath10k/tpc_stats' file may show very low values? I am not sure if the values are right. Here is one of the 5Ghz radio stats: root@OpenWrt:/sys# cat ./kernel/debug/ieee80211/phy0/ath10k/tpc_stats ************************************* TPC config for channel 5320 mode 10 ************************************* CTL = 0x10 Reg. Domain = 58 Antenna Gain = 0 Reg. Max Antenna Gain = 0 Power Limit = 46 Reg. Max Power = 46 Num tx chains = 2 Num supported rates = 129 ******************************** ******************* CDD POWER TABLE **************** ******************************** No. Preamble Rate_code tpc_value0 tpc_value1 tpc_value2 tpc_value3 0 CCK 0x40 0 0 1 CCK 0x41 0 0 2 CCK 0x42 0 0 3 CCK 0x43 0 0 4 OFDM 0x 0 36 34 5 OFDM 0x 1 38 34 6 OFDM 0x 2 38 34 7 OFDM 0x 3 38 34 8 OFDM 0x 4 34 34 9 OFDM 0x 5 38 34 10 OFDM 0x 6 38 34 11 OFDM 0x 7 38 34 12 HT20 0x80 38 34 13 HT20 0x81 38 34 14 HT20 0x82 38 34 15 HT20 0x83 38 34 16 HT20 0x84 38 34 17 HT20 0x85 36 34 18 HT20 0x86 34 34 19 HT20 0x87 32 32 20 HT20 0x90 38 38 21 HT20 0x91 38 38 22 HT20 0x92 38 38 23 HT20 0x93 38 38 24 HT20 0x94 38 38 25 HT20 0x95 36 36 26 HT20 0x96 34 34 27 HT20 0x97 32 32 28 HT40 0x80 37 34 29 HT40 0x81 37 34 30 HT40 0x82 37 34 31 HT40 0x83 37 34 32 HT40 0x84 37 34 33 HT40 0x85 35 34 34 HT40 0x86 33 33 35 HT40 0x87 31 31 36 HT40 0x90 37 37 37 HT40 0x91 37 37 38 HT40 0x92 37 37 39 HT40 0x93 37 37 40 HT40 0x94 37 37 41 HT40 0x95 35 35 42 HT40 0x96 33 33 43 HT40 0x97 31 31 44 VHT20 0xc0 38 34 45 VHT20 0xc1 38 34 46 VHT20 0xc2 38 34 47 VHT20 0xc3 38 34 48 VHT20 0xc4 38 34 49 VHT20 0xc5 36 34 50 VHT20 0xc6 34 34 51 VHT20 0xc7 32 32 52 VHT20 0xc8 31 31 53 VHT20 0xc9 30 30 54 VHT20 0xd0 38 38 55 VHT20 0xd1 38 38 56 VHT20 0xd2 38 38 57 VHT20 0xd3 38 38 58 VHT20 0xd4 38 38 59 VHT20 0xd5 36 36 60 VHT20 0xd6 34 34 61 VHT20 0xd7 32 32 62 VHT20 0xd8 31 31 63 VHT20 0xd9 30 30 64 VHT40 0xc0 37 34 65 VHT40 0xc1 37 34 66 VHT40 0xc2 37 34 67 VHT40 0xc3 37 34 68 VHT40 0xc4 37 34 69 VHT40 0xc5 35 34 70 VHT40 0xc6 33 33 71 VHT40 0xc7 31 31 72 VHT40 0xc8 30 30 73 VHT40 0xc9 29 29 74 VHT40 0xd0 37 37 75 VHT40 0xd1 37 37 76 VHT40 0xd2 37 37 77 VHT40 0xd3 37 37 78 VHT40 0xd4 37 37 79 VHT40 0xd5 35 35 80 VHT40 0xd6 33 33 81 VHT40 0xd7 31 31 82 VHT40 0xd8 30 30 83 VHT40 0xd9 29 29 84 VHT80 0xc0 36 34 85 VHT80 0xc1 36 34 86 VHT80 0xc2 36 34 87 VHT80 0xc3 36 34 88 VHT80 0xc4 36 34 89 VHT80 0xc5 34 34 90 VHT80 0xc6 32 32 91 VHT80 0xc7 30 30 92 VHT80 0xc8 29 29 93 VHT80 0xc9 28 28 94 VHT80 0xd0 36 36 95 VHT80 0xd1 36 36 96 VHT80 0xd2 36 36 97 VHT80 0xd3 36 36 98 VHT80 0xd4 36 36 99 VHT80 0xd5 34 34 100 VHT80 0xd6 32 32 101 VHT80 0xd7 30 30 102 VHT80 0xd8 29 29 103 VHT80 0xd9 28 28 104 HTCUP 0x40 36 36 105 HTCUP 0x 0 36 34 106 HTCUP 0x40 36 36 107 HTCUP 0x 0 36 34 108 HTCUP 0x 0 36 34 109 HTCUP 0x7a 34 34 110 HTCUP 0x8a 32 32 111 HTCUP 0x a 30 30 112 HTCUP 0xee 27 27 113 HTCUP 0xa6 26 26 114 HTCUP 0x90 36 36 115 HTCUP 0x1d 36 36 116 HTCUP 0x80 36 34 117 HTCUP 0x41 36 36 118 HTCUP 0xd9 36 36 119 HTCUP 0x64 34 34 120 HTCUP 0xf9 32 32 121 HTCUP 0x 0 30 30 122 HTCUP 0x 0 27 27 123 HTCUP 0x 0 26 26 124 HTCUP 0x64 0 0 125 HTCUP 0x 0 37 34 126 HTCUP 0x31 0 0 127 HTCUP 0x 4 37 34 128 HTCUP 0x 0 38 34 *********************************** ******************************** ******************* STBC POWER TABLE **************** ******************************** No. Preamble Rate_code tpc_value0 tpc_value1 tpc_value2 tpc_value3 0 CCK 0x40 0 0 1 CCK 0x41 0 0 2 CCK 0x42 0 0 3 CCK 0x43 0 0 4 OFDM 0x 0 36 36 5 OFDM 0x 1 38 38 6 OFDM 0x 2 38 38 7 OFDM 0x 3 38 38 8 OFDM 0x 4 34 34 9 OFDM 0x 5 38 38 10 OFDM 0x 6 38 38 11 OFDM 0x 7 38 38 12 HT20 0x80 38 38 13 HT20 0x81 38 38 14 HT20 0x82 38 38 15 HT20 0x83 38 38 16 HT20 0x84 38 38 17 HT20 0x85 36 36 18 HT20 0x86 34 34 19 HT20 0x87 32 32 20 HT20 0x90 38 38 21 HT20 0x91 38 38 22 HT20 0x92 38 38 23 HT20 0x93 38 38 24 HT20 0x94 38 38 25 HT20 0x95 36 36 26 HT20 0x96 34 34 27 HT20 0x97 32 32 28 HT40 0x80 37 37 29 HT40 0x81 37 37 30 HT40 0x82 37 37 31 HT40 0x83 37 37 32 HT40 0x84 37 37 33 HT40 0x85 35 35 34 HT40 0x86 33 33 35 HT40 0x87 31 31 36 HT40 0x90 37 37 37 HT40 0x91 37 37 38 HT40 0x92 37 37 39 HT40 0x93 37 37 40 HT40 0x94 37 37 41 HT40 0x95 35 35 42 HT40 0x96 33 33 43 HT40 0x97 31 31 44 VHT20 0xc0 38 38 45 VHT20 0xc1 38 38 46 VHT20 0xc2 38 38 47 VHT20 0xc3 38 38 48 VHT20 0xc4 38 38 49 VHT20 0xc5 36 36 50 VHT20 0xc6 34 34 51 VHT20 0xc7 32 32 52 VHT20 0xc8 31 31 53 VHT20 0xc9 30 30 54 VHT20 0xd0 38 38 55 VHT20 0xd1 38 38 56 VHT20 0xd2 38 38 57 VHT20 0xd3 38 38 58 VHT20 0xd4 38 38 59 VHT20 0xd5 36 36 60 VHT20 0xd6 34 34 61 VHT20 0xd7 32 32 62 VHT20 0xd8 31 31 63 VHT20 0xd9 30 30 64 VHT40 0xc0 37 37 65 VHT40 0xc1 37 37 66 VHT40 0xc2 37 37 67 VHT40 0xc3 37 37 68 VHT40 0xc4 37 37 69 VHT40 0xc5 35 35 70 VHT40 0xc6 33 33 71 VHT40 0xc7 31 31 72 VHT40 0xc8 30 30 73 VHT40 0xc9 29 29 74 VHT40 0xd0 37 37 75 VHT40 0xd1 37 37 76 VHT40 0xd2 37 37 77 VHT40 0xd3 37 37 78 VHT40 0xd4 37 37 79 VHT40 0xd5 35 35 80 VHT40 0xd6 33 33 81 VHT40 0xd7 31 31 82 VHT40 0xd8 30 30 83 VHT40 0xd9 29 29 84 VHT80 0xc0 36 36 85 VHT80 0xc1 36 36 86 VHT80 0xc2 36 36 87 VHT80 0xc3 36 36 88 VHT80 0xc4 36 36 89 VHT80 0xc5 34 34 90 VHT80 0xc6 32 32 91 VHT80 0xc7 30 30 92 VHT80 0xc8 29 29 93 VHT80 0xc9 28 28 94 VHT80 0xd0 36 36 95 VHT80 0xd1 36 36 96 VHT80 0xd2 36 36 97 VHT80 0xd3 36 36 98 VHT80 0xd4 36 36 99 VHT80 0xd5 34 34 100 VHT80 0xd6 32 32 101 VHT80 0xd7 30 30 102 VHT80 0xd8 29 29 103 VHT80 0xd9 28 28 104 HTCUP 0x40 36 36 105 HTCUP 0x 0 36 36 106 HTCUP 0x40 36 36 107 HTCUP 0x 0 36 36 108 HTCUP 0x 0 36 36 109 HTCUP 0x7a 34 34 110 HTCUP 0x8a 32 32 111 HTCUP 0x a 30 30 112 HTCUP 0xee 27 27 113 HTCUP 0xa6 26 26 114 HTCUP 0x90 36 36 115 HTCUP 0x1d 36 36 116 HTCUP 0x80 36 36 117 HTCUP 0x41 36 36 118 HTCUP 0xd9 36 36 119 HTCUP 0x64 34 34 120 HTCUP 0xf9 32 32 121 HTCUP 0x 0 30 30 122 HTCUP 0x 0 27 27 123 HTCUP 0x 0 26 26 124 HTCUP 0x64 0 0 125 HTCUP 0x 0 37 37 126 HTCUP 0x31 0 0 127 HTCUP 0x 4 37 37 128 HTCUP 0x 0 38 38 *********************************** TXBF not supported *************************** root@OpenWrt:/sys# Thanks On Mon, May 13, 2019 at 10:27 AM Ben Greear wrote: > > On 5/13/19 10:26 AM, Sam Samy wrote: > > hi Ben, > > > >> Hello, what firmware are you using (ath10k-ct, or QCA?) If using -ct firmware, > >> please try QCA firmware and let me know if that fixes the problem. > >> > > I tried both. Both have the same problem. I tried various versions > > of the both(-ct and QCA) firmware as well. All have the same problem. > > Probably it is a board-file and/or calibration data issue then. > > The debugfs 'ath10k/tpc_stats' file may show very low values? > > Thanks, > Ben > > > > > Thanks > > > > On Mon, May 13, 2019 at 10:00 AM Ben Greear wrote: > >> > >> On 5/13/19 9:56 AM, Sam Samy wrote: > >>> Hi, > >>> I installed master branch openwrt onto Asus MAP-AC2200 AP. It has tri > >>> band. Its based on IPQ4019 DK04 QCA reference platform. 2 radios > >>> (2Ghz/5Ghz) on AHB bus and one 5GHZ on PCIe bus. Its generally working > >>> fine except one problem in 5Ghz. On both the 5Ghz radios the RSSI is > >>> pretty low on any channel I put it in. In one feet range I see -60dB > >>> RSSI, where as the stock firmware that came with the AP gives an RSSI > >>> of -36dB at one foot distance.The downstream transmit rates are MCS8/9 > >>> for most part. The 2Ghz is working fine. Its using the cal data from > >>> the flash that came with the AP. > >>> > >>> Can you please suggest anyway to debug this or improve the RSSI? > >>> > >>> Thanks you! > >>> > >> > >> Hello, what firmware are you using (ath10k-ct, or QCA?) If using -ct firmware, > >> please try QCA firmware and let me know if that fixes the problem. > >> > >> Thanks, > >> Ben > >> > >> -- > >> Ben Greear > >> Candela Technologies Inc http://www.candelatech.com > >> > > > > > -- > Ben Greear > Candela Technologies Inc http://www.candelatech.com >