• Stanislaw Gruszka's avatar
    mt76x0: use band parameter for LC calibration · ad3f993a
    Stanislaw Gruszka authored
    We use always 1 as band parameter for MCU_CAL_LC, this break 2GHz,
    we should use 0 for this band instead.
    
    Patch fixes problems happened sometimes when try to associate with 2GHz
    AP and manifest by errors like below:
    
    [14680.920823] wlan0: authenticate with 18:31:bf:c0:51:b0
    [14681.109506] wlan0: send auth to 18:31:bf:c0:51:b0 (try 1/3)
    [14681.310454] wlan0: send auth to 18:31:bf:c0:51:b0 (try 2/3)
    [14681.518469] wlan0: send auth to 18:31:bf:c0:51:b0 (try 3/3)
    [14681.726499] wlan0: authentication with 18:31:bf:c0:51:b0 timed out
    
    Fixes: 9aec146d ("mt76x0: pci: introduce mt76x0_phy_calirate routine")
    Signed-off-by: default avatarStanislaw Gruszka <sgruszka@redhat.com>
    Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
    ad3f993a
phy.c 29.6 KB