Question on software-crypt mode.

Michal Kazior michal.kazior at tieto.com
Fri Dec 13 05:53:16 EST 2013


On 11 December 2013 16:07, Ben Greear <greearb at candelatech.com> wrote:
> Hello!
>
> I am trying to implement software-crypt for ath10k so that it can do crypt
> with multiple stations connected to same AP.
>
> I tried using ath9k's approach and just not setting keys, but that does not
> work at all
> (no stations can communicate).
>
> If I basically leave code as is, then secondary stations can associate but
> never
> get DHCP.  I see FCS and hw-crypt errored packets being received from the
> ath10k firmware/chip.  This is probably because the chip/firmware decodes
> the
> secondary station's packets with the first station's keys.
> Transmitted packets (as sniffed from the AP) do appear fine.

This sounds a lot like a multi-BSS issues that were discovered
recently on AP branch firmware.

See commit:

  ath10k: fix multi BSSID with WPA on FW 10.1

You could try applying the commit and remove the following code from it:

  if (arvif->vdev_type != WMI_VDEV_TYPE_AP)
    return;

The commit was originally only tested against AP interfaces but I was
suspecting the same thing (i.e. corrupted Tx) could be happening on
multi-STA.


Michał



More information about the ath10k mailing list