All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Prestwood <prestwoj@gmail.com>
To: ath10k@lists.infradead.org
Subject: Re: QCA6174 showing terrible performance when connecting via WPA3-SAE
Date: Mon, 29 Apr 2024 11:23:11 -0700	[thread overview]
Message-ID: <ce0e2043-5085-4dd6-86bd-89dca6f566be@gmail.com> (raw)
In-Reply-To: <87o79sfjlf.fsf@kernel.org>

Hi Eric,

On 4/29/24 5:18 AM, Kalle Valo wrote:
> Eric Park <me@ericswpark.com> writes:
>
>> On 4/25/24 5:51 AM, Kalle Valo wrote:
>>
>>> I do not use Network Manager or other connection managers when testing.
>>> It's much more reliable to use wpasupplicant directly and you get full
>>> control. I usually create a custom config file and then start the
>>> supplicant manually. Some pointers:
>>>
>>> (...)
>> I had some time today to test this, but unfortunately I couldn't
>> figure out if wpa_supplicant was using WPA2 or WPA3. Trying to connect
>> via `key_mgmt=SAE` caused `dhcpcd` to time out looking for carriers,
>> so I guess it was connecting via WPA2. In any case the speed results
>> were the same as disabling WPA3 on the router-side.
> If you run wpa_supplicant -dddt (or similar) you get a lot of debug
> output, I'm sure it will also include the cipher.
>
>> The reason I'm sending this email despite not making much progress
>> above is because it turns out I was chasing a red herring. The real
>> problem behind the degraded throughput was 802.11w. The router was
>> advertising support for it (802.11w capable but optional), but was not
>> forcing clients that didn't have the capability (required mode).
>>
>> In Optional mode, I was experiencing the degraded performance. But
>> after I disabled 802.11w on the router side, the speeds recovered to
>> normal levels on both 2.4 GHz and 5 GHz bands, even connected over
>> WPA3.
>>
>> So I'm guessing something on the driver's side is signaling that it
>> supports 802.11w, when in reality it doesn't or some bug with the
>> implementation causes the speed to drop. Or maybe there's an overhead
>> I'm unaware of when 802.11w is enabled? My limited understanding of
>> 802.11w is that the management frames are protected to prevent deauth
>> attacks.
>>
>> I'm not sure where to begin troubleshooting this, but in the interim
>> can I disable the capability advertising on the driver-level? I don't
>> want to disable 802.11w on my entire network, if possible.
> Very good that you found this is 802.11w related. What is the make and
> model of your router?
>
> I don't know how well ath10k 802.11w support is tested and then it was
> last tested. Do you happen to have other Access Points supporting
> 802.11w? That might help to pinpoint if 802.11w is completely broken in
> ath10k or if this is an interoperability issue with ath10k and your AP.

FWIW I just had 802.11w enabled on our test floor (should have been to 
begin with...) where all clients are running QCA6174's. I tested with 
iperf and saw zero difference in throughput between MFP disabled and 
enabled. We also set MFP to required, not optional. So at least the 
hardware variant/firmware we run isn't picky with MFP:

qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 168c:3363
firmware ver WLAN.RM.4.4.1-00288- api 6 features wowlan,ignore-otp,mfp 
crc32 bf907c7c

Thanks,

James

>


      parent reply	other threads:[~2024-04-29 18:23 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-09 15:08 QCA6174 showing terrible performance when connecting via WPA3-SAE Eric Park
2024-03-11 10:21 ` Kalle Valo
2024-03-21  4:05   ` Eric Park
2024-04-25  9:51     ` Kalle Valo
2024-04-28  3:04       ` Eric Park
2024-04-29 12:18         ` Kalle Valo
2024-04-29 13:26           ` Eric Park
2024-04-29 16:32             ` Kalle Valo
2024-04-29 17:53               ` Eric Park
2024-05-03 21:52                 ` Eric Park
2024-05-06  9:04                   ` Kalle Valo
2024-05-07  1:37                     ` Eric Park
2024-05-14 15:27                       ` Kalle Valo
2024-05-14 22:23                         ` Eric Park
2024-05-15  8:04                           ` Kalle Valo
2024-05-17  8:43                             ` Eric Park
2024-05-17  9:41                               ` Kalle Valo
2024-04-29 18:23           ` James Prestwood [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=ce0e2043-5085-4dd6-86bd-89dca6f566be@gmail.com \
    --to=prestwoj@gmail.com \
    --cc=ath10k@lists.infradead.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.