Re: [PATCH v3 1/2] mt76x02: run calibration after scanning

2018-11-05 Thread Felix Fietkau
On 2018-11-01 16:35, Stanislaw Gruszka wrote: > If we are associated and scanning is performed, sw_scan_complete callback > is done after we get back to operating channel, so we do not perform > queue cal work. Fix this queue cal work from sw_scan_complete(). > > On mt76x0 we have to restore gain

[PATCH v3 1/2] mt76x02: run calibration after scanning

2018-11-01 Thread Stanislaw Gruszka
If we are associated and scanning is performed, sw_scan_complete callback is done after we get back to operating channel, so we do not perform queue cal work. Fix this queue cal work from sw_scan_complete(). On mt76x0 we have to restore gain in MT_BBP(AGC, 8) register after scanning, as it was