如何修改6620/6626/6628的FM RSSI门限
时间:10-02
整理:3721RD
点击:
[DESCRIPTION]
如何修改6620/6626/6628的FM RSSI门限
[SOLUTION]
Example:
main log中有如下信息:
04-24 10:24:23.771 1189 1631 D FMLIB_CORE: NO.11: 968 --> -95(dbm)
其中-95(dbm)为968假台的信号强度。可以取门限值为-94dbm。根据上面公式
修改FMR_RSSI_TH_L.
针对6620的软件调节电台的方法,详细请参考dms服务器上的Soft-mute gain
setting for MT6620_v4.0.pptx;
6626
6628 alps/mediatek/custom/common/hal/fmradio/cust/MT6628/fm_cust.cfg
RSSI threshold rang is:
-4dbuv ~ 70dbuv(-111dbm ~ -37dbm)
If RSSI threshold is “x” dBm
Then the register value should be calculated as the following flow:
If x > 0, Reg = (x * 16 / 6) ;
If x <= 0, Reg = 65536 + (x * 16 / 6) ;
Eg. x = -111 dBm (-4dBuv)
Reg = 65536 + (-111 * 16 / 6) = 65240 = 0xFED8
Rebuild FM driver
针对6628的软件调节电台的方法,详细请参考dms服务器上的FM scan threshold
setting for MT6628_v1.0.pptx。
如何修改6620/6626/6628的FM RSSI门限
[SOLUTION]
Example:
main log中有如下信息:
04-24 10:24:23.771 1189 1631 D FMLIB_CORE: NO.11: 968 --> -95(dbm)
其中-95(dbm)为968假台的信号强度。可以取门限值为-94dbm。根据上面公式
修改FMR_RSSI_TH_L.
针对6620的软件调节电台的方法,详细请参考dms服务器上的Soft-mute gain
setting for MT6620_v4.0.pptx;
6626
6628 alps/mediatek/custom/common/hal/fmradio/cust/MT6628/fm_cust.cfg
RSSI threshold rang is:
-4dbuv ~ 70dbuv(-111dbm ~ -37dbm)
If RSSI threshold is “x” dBm
Then the register value should be calculated as the following flow:
If x > 0, Reg = (x * 16 / 6) ;
If x <= 0, Reg = 65536 + (x * 16 / 6) ;
Eg. x = -111 dBm (-4dBuv)
Reg = 65536 + (-111 * 16 / 6) = 65240 = 0xFED8
Rebuild FM driver
针对6628的软件调节电台的方法,详细请参考dms服务器上的FM scan threshold
setting for MT6628_v1.0.pptx。