ATH10K Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Sebastian Gottschall <s.gottschall@dd-wrt.com>
To: Alexis Green <agreen@cococorp.com>, Ben Greear <greearb@candelatech.com>
Cc: ath10k@lists.infradead.org
Subject: Re: QCA998X not working at all
Date: Thu, 14 Apr 2016 16:13:22 +0200	[thread overview]
Message-ID: <570FA582.2050309@dd-wrt.com> (raw)
In-Reply-To: <CAAnMG+N7OEqJy95c+bDNYrV-uARmg0xLjWc19hZPCaK8Myf8tQ@mail.gmail.com>

Am 13.04.2016 um 19:05 schrieb Alexis Green:
> How about only ignoring the error only if there's caldata. Could be a
> good middle ground.
>
> This is a patch I submitted to OpenWRT a while ago as part of Netgear
> X4 support -
> https://patchwork.ozlabs.org/patch/601352/
even then its not clear if this function ever worked. you say it happend 
on a I7 system. so a device without caldata on local flash memory

>
> On Wed, Apr 13, 2016 at 8:36 AM, Ben Greear <greearb@candelatech.com> wrote:
>> On 11/19/2015 10:21 AM, Sebastian Gottschall wrote:
>>> simple solution.
>>>
>>> as for ath9k. otp must be ignored for various chipsets, since they wont
>>> return valid results
>>>
>>> --- core.c (Revision 2702)
>>> +++ core.c (Arbeitskopie)
>>> @@ -1735,9 +1735,8 @@
>>>
>>>     ret = ath10k_core_get_board_id_from_otp(ar);
>>>     if (ret && ret != -EOPNOTSUPP) {
>>> -  ath10k_err(ar, "failed to get board id from otp for qca99x0: %d\n",
>>> +  ath10k_err(ar, "failed to get board id from otp for qca99x0: %d,
>>> ignore\n",
>>>            ret);
>>> -  return ret;
>>>     }
>>>
>>>     ret = ath10k_core_fetch_board_file(ar);
>>
>> I received a report of the same problem reported below from someone using an
>> i7 processor
>> on some random motherboard.
>>
>> Same NIC, kernel, and firmware works fine on my systems, so it appears to be
>> platform
>> dependent somehow.
>>
>> Did you find a better solution other than just ignoring the OTP failure?
>>
>> Thanks,
>> Ben
>>
>>>
>>>
>>> Am 19.11.2015 um 18:12 schrieb Sebastian Gottschall:
>>>> Am 19.11.2015 um 17:13 schrieb Ben Greear:
>>>>>
>>>>> git clone git://dmz2.candelatech.com/linux.ath
>>>> same effect with yours
>>>>
>>>>      6.201141] ath10k_pci 0000:01:00.0: enabling device (0140 -> 0142)
>>>> [    6.201593] ath10k_pci 0000:01:00.0: pci irq legacy interrupts 0
>>>> irq_mode 0 reset_mode 0
>>>> [    8.578573] ath10k_pci 0000:01:00.0: unable to read from the device
>>>> [    8.578605] ath10k_pci 0000:01:00.0: could not execute otp for board
>>>> id check: -110
>>>> [    8.583648] ath10k_pci 0000:01:00.0: failed to get board id from otp
>>>> for qca99x0: -110
>>>> [    8.591338] ath10k_pci 0000:01:00.0: could not probe fw (-110)
>>>> [    8.600062] ath10k_pci 0001:01:00.0: enabling device (0140 -> 0142)
>>>> [    8.605600] ath10k_pci 0001:01:00.0: pci irq legacy interrupts 0
>>>> irq_mode 0 reset_mode 0
>>>> [   10.798574] ath10k_pci 0001:01:00.0: unable to read from the device
>>>> [   10.798598] ath10k_pci 0001:01:00.0: could not execute otp for board
>>>> id check: -110
>>>> [   10.803644] ath10k_pci 0001:01:00.0: failed to get board id from otp
>>>> for qca99x0: -110
>>>> [   10.811346] ath10k_pci 0001:01:00.0: could not probe fw (-110)
>>>>
>>>>
>>>> _______________________________________________
>>>> ath10k mailing list
>>>> ath10k@lists.infradead.org
>>>> http://lists.infradead.org/mailman/listinfo/ath10k
>>>>
>>>
>>> _______________________________________________
>>> ath10k mailing list
>>> ath10k@lists.infradead.org
>>> http://lists.infradead.org/mailman/listinfo/ath10k
>>>
>>
>> --
>> Ben Greear <greearb@candelatech.com>
>> Candela Technologies Inc  http://www.candelatech.com
>>
>>
>> _______________________________________________
>> ath10k mailing list
>> ath10k@lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/ath10k


_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

  reply	other threads:[~2016-04-14 14:13 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-02 14:03 [PATCH 0/8] ath10k: clean up ath10k_skb_cb Michal Kazior
2015-11-02 14:03 ` [PATCH 1/8] ath10k: merge is_protected with nohwcrypt Michal Kazior
2015-11-02 14:03 ` [PATCH 2/8] ath10k: rename function to adhere to naming convention Michal Kazior
2015-11-02 14:03 ` [PATCH 3/8] ath10k: remove txmode from skb_cb Michal Kazior
2015-11-02 14:03 ` [PATCH 4/8] ath10k: remove is_offchan Michal Kazior
2015-11-02 14:03 ` [PATCH 5/8] ath10k: remove freq from skb_cb Michal Kazior
2015-11-02 14:03 ` [PATCH 6/8] ath10k: pack up flags in skb_cb Michal Kazior
2015-11-02 14:03 ` [PATCH 7/8] ath10k: replace vdev_id and tid in skb cb Michal Kazior
2015-11-03  9:37   ` Michal Kazior
2015-11-02 14:03 ` [PATCH 8/8] ath10k: store msdu_id instead of txbuf pointers Michal Kazior
2015-11-10 13:10 ` [PATCH v2 0/9] ath10k: clean up ath10k_skb_cb Michal Kazior
2015-11-10 13:10   ` [PATCH v2 1/9] ath10k: merge is_protected with nohwcrypt Michal Kazior
2015-11-10 13:10   ` [PATCH v2 2/9] ath10k: rename function to adhere to naming convention Michal Kazior
2015-11-10 13:10   ` [PATCH v2 3/9] ath10k: remove txmode from skb_cb Michal Kazior
2015-11-10 13:10   ` [PATCH v2 4/9] ath10k: remove is_offchan Michal Kazior
2015-11-10 13:10   ` [PATCH v2 5/9] ath10k: remove freq from skb_cb Michal Kazior
2015-11-10 13:10   ` [PATCH v2 6/9] ath10k: pack up flags in skb_cb Michal Kazior
2015-11-10 13:10   ` [PATCH v2 7/9] ath10k: fix tx header parsing Michal Kazior
2015-11-10 13:10   ` [PATCH v2 8/9] ath10k: replace vdev_id and tid in skb cb Michal Kazior
2015-11-10 13:10   ` [PATCH v2 9/9] ath10k: store msdu_id instead of txbuf pointers Michal Kazior
2015-11-12 19:29   ` [PATCH v2 0/9] ath10k: clean up ath10k_skb_cb Kalle Valo
2015-11-13  6:20     ` Michal Kazior
2015-11-18  5:59     ` [PATCH v3 " Michal Kazior
2015-11-18  5:59       ` [PATCH v3 1/9] ath10k: merge is_protected with nohwcrypt Michal Kazior
2015-11-18  5:59       ` [PATCH v3 2/9] ath10k: rename function to adhere to naming convention Michal Kazior
2015-11-18  5:59       ` [PATCH v3 3/9] ath10k: remove txmode from skb_cb Michal Kazior
2015-11-18  5:59       ` [PATCH v3 4/9] ath10k: remove is_offchan Michal Kazior
2015-11-18  5:59       ` [PATCH v3 5/9] ath10k: remove freq from skb_cb Michal Kazior
2015-11-18  5:59       ` [PATCH v3 6/9] ath10k: pack up flags in skb_cb Michal Kazior
2015-11-18  5:59       ` [PATCH v3 7/9] ath10k: fix tx header parsing Michal Kazior
2015-11-18  5:59       ` [PATCH v3 8/9] ath10k: replace vdev_id and tid in skb cb Michal Kazior
2015-11-18  5:59       ` [PATCH v3 9/9] ath10k: store msdu_id instead of txbuf pointers Michal Kazior
2015-11-19 15:10         ` QCA998X not working at all Sebastian Gottschall
2015-11-19 15:33           ` Ben Greear
2015-11-19 15:35             ` Sebastian Gottschall
2015-11-19 16:13               ` Ben Greear
2015-11-19 17:12                 ` Sebastian Gottschall
2015-11-19 18:21                   ` Sebastian Gottschall
2015-11-20 11:53                     ` Kalle Valo
2015-11-20 15:55                       ` Sebastian Gottschall
2015-11-20 16:46                         ` Ben Greear
2016-04-13 15:36                     ` Ben Greear
2016-04-13 17:05                       ` Alexis Green
2016-04-14 14:13                         ` Sebastian Gottschall [this message]
2016-04-14 14:12                       ` Sebastian Gottschall
2015-11-19 15:35             ` Sebastian Gottschall
2015-11-23 15:21       ` [PATCH v3 0/9] ath10k: clean up ath10k_skb_cb Kalle Valo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=570FA582.2050309@dd-wrt.com \
    --to=s.gottschall@dd-wrt.com \
    --cc=agreen@cococorp.com \
    --cc=ath10k@lists.infradead.org \
    --cc=greearb@candelatech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox