Product Info

RTL8822CE RTL8822CU RTL8822CS COB TSSI MP FLOW
©2019 Realtek Semiconductor Corp.
21
3.1.5.4. Tx index calibration command and sample
Step 1 : Switch the Tx power tracking state to the Tx index calibration state.
insmod 8822c.ko rtw_RFE_type=X
Tx index for each channel group with PHY data rate in path a, path b should be calibrated.
The following command take “ Path A, Channel 7, HT40, HTMCS7” as example.
Step 2 : MP start and enter Tx index calibration mode.
rtwpriv wlan0 mp_start
rtwpriv wlan0 7 1 a HTMCS7 1 2000 //start HW Tx
*About HW Tx function parameters detail, please refer to appendix.
Step 3 : Make Tx power to fit target power by adjusting Tx power index.
rtwpriv wlan0 mp_txpower patha=63,pathb=0 //set a Tx power index 63
Target power values were defined in section 3.5.2.
The variation between defined Tx target power and measured Tx power should be adjusted to
±0.25dB.
Defined Tx target power – Measured Tx power = ± 0.25 dB
The sample command uses the index 63, it is the center index.
Step 4 : Record the Tx index value after measured power had fit target power.
Record the Tx index value. Find out all the Tx index value for each channel group and each
PHY data rate. There is a recommended interpolation method which described at section
3.1.5.4.1
The Tx index value should be updated to HW eFuse.
Step 5 : Before measuring the next channel, stop HW Tx.
rtwpriv wlan0 stop //Stop HW packet Tx