dBm Always Showing as 0

Hi everyone,

I'm encountering an issue where the dBm values are consistently showing as 0 when running the command iw phy0-sta0 scan | egrep '(SSID|signal):'. Here's a sample output:

makefileCopy code

iw  phy0-sta0 scan | egrep '(SSID|signal):'
        signal: 0.00 dBm
        signal: 0.00 dBm
        signal: 0.00 dBm
        signal: -125.00 dBm
        SSID: def

As you can see, most of the signals are displaying as 0 dBm. I'm puzzled by this inconsistency. Does anyone have insights into why this might be happening or how to troubleshoot it?

Looking forward to your suggestions.

Thank you!

What hardware are you using, and what OpenWrt version?

Hi mk24,

The system I am using is as follows:

root@OpenWrt:/# ubus call system board
        "kernel": "5.15.137",
        "hostname": "OpenWrt,"
        "system": "MediaTek MT7628AN ver:1 eco:2",
        "model": "Mediatek MT7628AN evaluation board",
        "board_name": "MediaTek,mt7628an-eval-board",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "23.05.2",
                "revision": "r23630-842932a63d",
                "target": "ramips/mt76x8",
                "description": "OpenWrt 23.05.2 r23630-842932a63d"

With Regards,

Despite restoring the openwrt-23.05.2-ramips-mt76x8-mediatek_mt7628an-eval-board-squashfs-sysupgrade.bin firmware from the OpenWrt repository, the problem persists.

Has anyone else encountered a similar issue or have any suggestions for troubleshooting?

Thank you in advance for your assistance.

The issue has been solved after adding the iwinfo package.