On 10/1/21 2:53 AM, Shayne Chen wrote:
From: Ryder Lee <ryder.lee@xxxxxxxxxxxx> 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@xxxxxxxxxxxx> Signed-off-by: Evelyn Tsai <evelyn.tsai@xxxxxxxxxxxx> Signed-off-by: Ryder Lee <ryder.lee@xxxxxxxxxxxx> Signed-off-by: Shayne Chen <shayne.chen@xxxxxxxxxxxx> --- 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@xxxxxxxxxxxxxxx> Candela Technologies Inc http://www.candelatech.com