All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: Johannes Berg <johannes@sipsolutions.net>, vnaralas@codeaurora.org
Cc: linux-wireless@vger.kernel.org, linux-wireless-owner@vger.kernel.org
Subject: Re: [PATCH] cfg80211: Add cumulative channel survey dump support.
Date: Mon, 18 Jun 2018 13:57:34 -0700	[thread overview]
Message-ID: <f5d74d35-b4c1-4654-b4d0-9729b9749f16@candelatech.com> (raw)
In-Reply-To: <1529354772.3092.41.camel@sipsolutions.net>

On 06/18/2018 01:46 PM, Johannes Berg wrote:
> On Thu, 2018-05-31 at 08:52 -0700, Ben Greear wrote:
>>
>> On 05/31/2018 02:06 AM, vnaralas@codeaurora.org wrote:
>>> On 2018-05-23 15:24, Johannes Berg wrote:
>>>> On Tue, 2018-05-22 at 14:45 +0530, Venkateswara Naralasetty wrote:
>>>>> This patch provides support to send accumulated survey data to
>>>>> user if low level drivers provides non-accumulated survey data.
>>>>
>>>> I think the commit log should say what you need this for?
>>>>
>>>> It's simultaneously a new flag, and a lot of code, but it's not clear
>>>> what the point is?
>>>>
>>>> johannes
>>>
>>> I will sent next version of patch with updated commit log.
>>>
>>> Providing you the earlier discussion of this patch to give quick overview about this patch.
>>> https://patchwork.kernel.org/patch/9701459/
>>
>> It is simple to fix the firmware, it just has several bugs related to clearing the
>> accumulator as well as the 'real' values.  If you can find a QCA firmware engineer
>> that will accept patches I can show them how to fix this easily.  I recently
>> fixed this in my wave-1 firmware.  I posted patches to the ath10k driver to
>> support this a week or so ago, but not sure if Kalle will apply them.
>
> That would be nicer even, but I guess we still have to worry about older
> firmware? Perhaps not for survey support? Dunno.
>
> Obviously less code is better, but I can't really say how easy it would
> be to get firmware updates rolled out to people who'd need them ...
>
>> And, it is likely that even if you don't use the 'clear' option, you are going to
>> get wraps in the firmware and that will just be other harder to debug bugs.
>
> You have to use clear if you don't accumulate completely in fw, no?

At least some firmware is broken in numerous ways, and there is no clear way to
tell which firmware is broken how as far as I can tell.  It does appear to be fixed in
recent 10.4 (wave-2) firmware, so maybe they will fix 10.2 as well.

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com

  reply	other threads:[~2018-06-18 20:57 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-22  9:15 [PATCH] cfg80211: Add cumulative channel survey dump support Venkateswara Naralasetty
2018-05-23  9:54 ` Johannes Berg
2018-05-31  9:06   ` vnaralas
2018-05-31 15:52     ` Ben Greear
2018-06-18 20:46       ` Johannes Berg
2018-06-18 20:57         ` Ben Greear [this message]
2018-06-18 20:45     ` Johannes Berg
2019-09-17 17:27     ` Sven Eckelmann
2019-09-17 17:27       ` Sven Eckelmann
2019-09-17 17:44       ` Ben Greear
2019-09-17 17:44         ` Ben Greear
2019-09-18  8:46       ` Sven Eckelmann
2019-09-18  8:46         ` Sven Eckelmann
2019-09-18 12:58         ` Ben Greear
2019-09-18 12:58           ` Ben Greear
2019-09-18 13:07           ` Sven Eckelmann
2019-09-18 13:07             ` Sven Eckelmann
2019-09-18 13:13             ` Sven Eckelmann
2019-09-18 13:13               ` Sven Eckelmann

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=f5d74d35-b4c1-4654-b4d0-9729b9749f16@candelatech.com \
    --to=greearb@candelatech.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless-owner@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=vnaralas@codeaurora.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.