如何修改6620/6626/6628的FM RSSI门限
[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]
![](https://i-blog.csdnimg.cn/blog_migrate/60cf4bbba9eb131ec8760c9a7442ecb9.png)
![](https://i-blog.csdnimg.cn/blog_migrate/363543c7af75c1f15bba3813bd95bcbf.png)
![](https://i-blog.csdnimg.cn/blog_migrate/7163e2bb26763af0585c83b95779e1b3.png)
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。