[PATCH v5 1/8] mt76: mt7915: introduce mt7915_mcu_beacon_check_caps()
Ben Greear
greearb at candelatech.com
Thu Oct 7 16:50:41 PDT 2021
On 10/1/21 2:53 AM, Shayne Chen wrote:
> From: Ryder Lee <ryder.lee at mediatek.com>
>
> Beacon elements might be changed by hostapd configuraion, so driver
> should compare both IEs and PHY capabilities to get the least common
> denominator before association.
>
> Co-developed-by: Evelyn Tsai <evelyn.tsai at mediatek.com>
> Signed-off-by: Evelyn Tsai <evelyn.tsai at mediatek.com>
> Signed-off-by: Ryder Lee <ryder.lee at mediatek.com>
> Signed-off-by: Shayne Chen <shayne.chen at mediatek.com>
> ---
> v2: modify condition for mimo_dl_en
> v5: rebase to staging tree
Have you tested this in station mode? I tried merging this into my tree
and it broke station mode. Symptom was that it associated, but could not
get DHCP. It worked if I disabled AX mode and made it associate as 11ac.
I think root cause is probably that the beacon is never set in STA mode,
but the code building the MCU messages are unconditionally looking at
the values derived from the beacon caps when making decisions about bfer/bfee
and ldpc and such.
Thanks,
Ben
--
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc http://www.candelatech.com
More information about the Linux-mediatek
mailing list