Ping-Ke Shih <pkshih@xxxxxxxxxxx> wrote: > The RF calibrations should be executed one by one, so add a completion > to ensure one is finish before next. The report from C2H event contains > state and optional version, and we only check the state for now. We also > care about the time a RF calibration takes, so record start time before > asking firmware to do calibration and get the delta time when receiving > report. > > Consider SER recovery, we can't receive C2H event, use half of argument > 'ms' as fixed delay that is 2 times of measured maximum time of > calibrations. > > Signed-off-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx> 11 patches applied to wireless-next.git, thanks. ad1c86e92698 wifi: rtw89: rfk: add a completion to wait RF calibration report from C2H event 80f47f82f319 wifi: rtw89: rfk: send channel information to firmware for RF calibrations 9c66da3b19b5 wifi: rtw89: rfk: add H2C command to trigger IQK 32919a043894 wifi: rtw89: rfk: add H2C command to trigger RX DCK b835141be5a9 wifi: rtw89: rfk: add H2C command to trigger DPK 1a0cba5dc983 wifi: rtw89: rfk: add H2C command to trigger DACK af41e89ea323 wifi: rtw89: rfk: add H2C command to trigger TXGAPK bd6f5f27cb2c wifi: rtw89: rfk: add H2C command to trigger TSSI ff146ec22d5f wifi: rtw89: 8922a: rfk: implement chip_ops to call RF calibrations 7e2629dc843f wifi: rtw89: 8922a: add chip_ops::rfk_init_late to do initial RF calibrations later 4dbd964f33aa wifi: rtw89: 8922a: add chip_ops::rfk_hw_init -- https://patchwork.kernel.org/project/linux-wireless/patch/20240202030642.108385-2-pkshih@xxxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches