From: Ben Greear <greearb@candelatech.com>
To: Michal Kazior <michal.kazior@tieto.com>
Cc: ath10k <ath10k@lists.infradead.org>
Subject: Re: Vdev map issues.
Date: Wed, 30 Apr 2014 10:21:09 -0700 [thread overview]
Message-ID: <53613105.8080301@candelatech.com> (raw)
In-Reply-To: <53612DAF.8070602@candelatech.com>
On 04/30/2014 10:06 AM, Ben Greear wrote:
> On 04/29/2014 11:06 PM, Michal Kazior wrote:
>> On 30 April 2014 02:13, Ben Greear <greearb@candelatech.com> wrote:
>>> Possibly I've made too many local changes and gotten confused, but this code
>>> appears like it should be doing an |= instead of &= in ath10k_add_interface?
>>>
>>> err_vdev_delete:
>>> ath10k_wmi_vdev_delete(ar, arvif->vdev_id);
>>> ar->free_vdev_map &= ~(1LL << arvif->vdev_id);
>>> list_del(&arvif->list);
>>
>> Correct. Will you submit a patch?
>
> This is tangled in another patch that enables 64-bit vdev-maps,
> but I will rebase and post it shortly.
>
> Another question in the related code: For monitor devices, we
> are using bit - 1 for the monitor device ID, but we do not subtract
> one when creating normal stations. Is this on purpose?
Ahh, nevermind that bit - 1 question, that is a local bug I introduced I think...
Thanks,
Ben
>
> And, instead of checking for bit == 0, why not check for
> zero map before we even try the ffs call? That should work
> for __ffs64 as well, which is what I need for lots of vdevs...
>
> Thanks,
> Ben
>
>
--
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
prev parent reply other threads:[~2014-04-30 17:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-30 0:13 Vdev map issues Ben Greear
2014-04-30 6:06 ` Michal Kazior
2014-04-30 17:06 ` Ben Greear
2014-04-30 17:21 ` Ben Greear [this message]
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=53613105.8080301@candelatech.com \
--to=greearb@candelatech.com \
--cc=ath10k@lists.infradead.org \
--cc=michal.kazior@tieto.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