All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: iwd@lists.01.org
Subject: Re: [PATCH 1/3] auto-t: hwsim.py: convert addresses to 42:* format
Date: Wed, 25 Aug 2021 08:52:17 -0500	[thread overview]
Message-ID: <3d9c3519-72e8-f494-aed3-42e1f991cd67@gmail.com> (raw)
In-Reply-To: <20210823183221.558154-1-prestwoj@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 786 bytes --]

Hi James,

On 8/23/21 1:32 PM, James Prestwood wrote:
> mac80211_hwsim has a funny quirk with multiple addresses in
> radios. Some operations require address index zero, some index
> one. And these addresses (possibly a result of how test-runner
> initializes radios) sometimes get mixed up. For example scan
> results may show a BSS address as 02:00:00:00:00:00, while the
> next test run shows 42:00:00:00:00:00.
> 
> Ultimately, sending out frames requires the first nibble of the
> address to be 0x4 so to handle both variants of addresses described
> above hwsim.py was updated to always bitwise OR the first byte
> with 0x40.
> ---
>   autotests/util/hwsim.py | 16 ++++++++++++++--
>   1 file changed, 14 insertions(+), 2 deletions(-)
> 

All applied, thanks.

      parent reply	other threads:[~2021-08-25 13:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-23 18:32 [PATCH 1/3] auto-t: hwsim.py: convert addresses to 42:* format James Prestwood
2021-08-23 18:32 ` [PATCH 2/3] auto-t: testSAQuery remove ungraceful restart James Prestwood
2021-08-23 18:32 ` [PATCH 3/3] auto-t: hostapd.py: remove ungraceful_restart James Prestwood
2021-08-25 13:52 ` Denis Kenzior [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=3d9c3519-72e8-f494-aed3-42e1f991cd67@gmail.com \
    --to=denkenz@gmail.com \
    --cc=iwd@lists.01.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.