Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4957012ybl; Tue, 14 Jan 2020 00:48:57 -0800 (PST) X-Google-Smtp-Source: APXvYqznHkuMrgEi+0ADR07TVjiQWHZGnGhvu+a6OhR89zeWQCTJ9Spc+xcppA9x71+IY4qV0Q47 X-Received: by 2002:a9d:4692:: with SMTP id z18mr15737746ote.163.1578991737686; Tue, 14 Jan 2020 00:48:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578991737; cv=none; d=google.com; s=arc-20160816; b=Ydm9mvWhuB7KaKacNVcuq6EZpFm1Xad8q/fG4/7Il3wkw9KTLgGV7f9h3v4MofGUdP a4notFXIgBhc+yg5/wz9nkGmLxKJF88ypafpABDUrye9zCVRgt3vHzl7RZjhl/3yumN4 fDaTZp+yQc9l081RxszsbHPc4MuQGtWWu4HzdZzKeU5vXUIlIZCuHw3j7YfmC3j8GZgc Akaza58lXTR1gOf0qLLdLapKn8Cy7QF3OpVUFEGA+pSjS0Zd3Ifw5DDz0kkxd8sHPK9z qBYBZBSmSevbm3OffUmNzpHBtLATAM8kdxH4arVNV1YQkq5ckPAFeIrikHfEfG8c05vp OaQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=IiimFPCUzsK/NSQS4nOZMqHnFPciGIS4RhFAyHEBZo4=; b=cI4B2rJmHzZn891wraACUeO4vFmcDBxnjstT+1EB+USBe6n8FLKP2Lp/d6zwLPPY8d fTQDI6adUTpCwK5BxSn6qhFgo54gYUaXmXCb52tYhrtSXCqcaAJ7lq0hnN3kadrL/60C UV0PovBcq5O9z+kpXKZ6QGLle2rEmqwZyKU3rfEdDztL8bq2SPuDnHO2kzrxmIZe/A/9 UhMa7hC25+27AWMZNWLyJO2BTP6clQpQYGW5Hn6CJhV7ytm1ymDjhIh49N7lp8zkzsCO 2GK8MTtgkqrzhQ4Wuqi+09AFoeyKa//hDhehjlFH9qjEzD/w2eVbAGGDtATCL6yZcRaa L9cA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Iu5ZLr9R; 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 d20si7099288oic.40.2020.01.14.00.48.38; Tue, 14 Jan 2020 00:48:57 -0800 (PST) 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=Iu5ZLr9R; 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 S1726044AbgANIsh (ORCPT + 99 others); Tue, 14 Jan 2020 03:48:37 -0500 Received: from mail-ot1-f65.google.com ([209.85.210.65]:33016 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725842AbgANIsh (ORCPT ); Tue, 14 Jan 2020 03:48:37 -0500 Received: by mail-ot1-f65.google.com with SMTP id b18so11911715otp.0 for ; Tue, 14 Jan 2020 00:48:37 -0800 (PST) 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:content-transfer-encoding; bh=IiimFPCUzsK/NSQS4nOZMqHnFPciGIS4RhFAyHEBZo4=; b=Iu5ZLr9RvDzqgIKD/DBCtNgWLF2vMJzIHxtJSFD+Kbwi8tUIrewhkf+EcSWMxB6H5B wEM3068URxITA1a4/u+ScfFnl7Ep0Q9dT7FFxxKimDGsqmCICq5p+Ua+t0oRsN0ol/az PIUQEQTC8+XNzA04TUj9ExoIyJ5lbCOdd+byAYm5XzGSGKoNkPCII0JQDAhMPfmXB1wB B4jRk0lVpYZT52zj/6Z2NZt78MgI3z+im91+kKxVzOyUDsZd8/6KE8ERQu7dsQF5kyBZ iTG2Kc8UNJ70YdU6Ok1KjQ/P2LHUzqNwgz89+1GPIdrWEjy15Lj53TRZ+aicp37CDHgm JA1w== 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:content-transfer-encoding; bh=IiimFPCUzsK/NSQS4nOZMqHnFPciGIS4RhFAyHEBZo4=; b=VKfs6g9TH4o/7rbrmL0Mk8KEsOfY0gi/BsMZ5xVqBGylyJrn4CedsmhXzQCQb7xtB8 yA0giqot3FX3twmXxQVzyWtYDzuwlw9LQlzj/ASidLZt27FsqcZdrq6kuaYWuBPeI/Ce fd8QD2TieMIn6qJq+EmMbZScgBdHAFAxUeiRAoB+TlLRsQAUGXQ34SDprJjMjkUnnDfo NQP4e0hbfXAFDLiQdtN4Epy2d/xESaYZWZK+1iiuaxMzlvFWP9PlMg9ONlIwSsixyZH0 4vo3Pk8pJJ1bELGJcYmRUp4VEQAVag2wuC//v09YENT9rYDuW7ZgJw+lTSPakfUagKS6 qMoA== X-Gm-Message-State: APjAAAUPaLnfEpZP+nVlBs+YqCDurFK0Lmk10czYMEZQbv9E9bCqgi1t ig29qJ7DWxNzqbbhWwP6/BaZIN+XWRukSpIwGZU8SGyCSPI= X-Received: by 2002:a05:6830:1607:: with SMTP id g7mr16278280otr.320.1578991716702; Tue, 14 Jan 2020 00:48:36 -0800 (PST) MIME-Version: 1.0 References: <20200110132142.7737-1-denis281089@gmail.com> In-Reply-To: From: Denis Kalashnikov Date: Tue, 14 Jan 2020 11:46:49 +0300 Message-ID: Subject: Re: [PATCH v3] ath9k: fix firmware bug in some Mikrotik R11e-2HPnD cards To: Tom Psyborg Cc: Felix Fietkau , linux-wireless@vger.kernel.org, Kalle Valo Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Using MAC address for distinguishing these cards is a good idea for local/ad-hoc solution. Thanks guys for participating in the question and help. We decided to send these cards back to Mikrotik. =D0=B2=D1=82, 14 =D1=8F=D0=BD=D0=B2. 2020 =D0=B3. =D0=B2 05:52, Tom Psyborg= : > > On 13/01/2020, Denis Kalashnikov wrote: > > I read value from the SREV register of AR9582 -- got 0x001c04ff. I > > looked through the code of ath9k and found out that in this case the > > revision is 4. So, since AR_SREV_REVISION_9580_10 is defined as 4, I > > logically concluded that AR_SREV_9580_10 would do the job. But you > > suspicions turned to be right. I tested AR9580 now and it has the same > > value as AR9582 in the SREV register -- 0x001c04ff. PCI Subsystem ID > > is zero on those Mikrotik cards, so it is not useful. Felix, guys, may > > be somebody have any thoughts how we can distinguish AR9582? Or that a > > chip has only 2 chains? May be values from other registers? > > > > read MAC OUI any apply only to mikrotik ones?