-
Notifications
You must be signed in to change notification settings - Fork 27
Description
I forked the bcmdhd driver from(https://github.com/MYiR-Dev/myir-st-linux/tree/develop-ld25x-6.1.82/drivers/net/wireless/bcmdhd) repository for my project. During the usage, I encountered an issue regarding the acquisition of the Received Signal Strength Indicator (RSSI) value.
I originally expected to obtain the RSSI value normally through the command wpa_cli -i wlan0 signal_poll. However, in practical operation, this command fails to retrieve an accurate RSSI value. After thorough testing and troubleshooting, currently, the only way to obtain the RSSI value is by using the command iw dev wlan0 scan ssid | grep "SSID\|signal".
Nevertheless, using the command iw dev wlan0 scan ssid | grep "SSID\|signal" has significant drawbacks:
Time-consuming: Each execution of this command requires a considerable amount of time to complete the scanning operation. For scenarios where real-time RSSI values are needed, this causes a substantial delay and fails to promptly reflect the current signal strength status.
Affects Normal WiFi Operation: While this scanning command is being executed, it has an impact on the normal operation of the WiFi. For example, it may lead to issues such as unstable network connections and a decrease in data transfer speed, which negatively affects the network performance of the entire system.
:~@ wpa_cli -i wlan0 signal_poll
RSSI=-2
LINKSPEED=65
NOISE=9999
FREQUENCY=2437
WIDTH=20 MHz
CENTER_FRQ1=2437