RSSI ESP Hosted NG
Opened this issue · 1 comments
The only way we have to get the updated value of RSSI for the connected network is to retrieve it form a network scan (iw dev espsta0 scan).
This is a slow operation and sometimes breaks up a connection.
All the other commands we tried provide a value that is updated just at the join event or during a scan.
ESP Hosted configuration based on ESP32 on a linux environment.
Output to iw commands:
root@dev:~# iw dev espsta0 link
Connected to 06:ec:da:fd:81:02 (on espsta0)
SSID: SSID1
freq: 2437.0
RX: 697 bytes (4 packets)
TX: 1544 bytes (11 packets)
signal: -51 dBm
root@dev:~# iw dev espsta0 scan
BSS 06:ec:da:fd:81:02(on espsta0) -- associated
TSF: 3031531006879 usec (35d, 02:05:31)
freq: 2437
beacon interval: 100 TUs
capability: ESS Privacy ShortPreamble ShortSlotTime RadioMeasure (0x1431 )
signal: -52.00 dBm
last seen: 1670 ms ago
SSID: SSID1
Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0
DS Parameter set: channel 6
Country: IT Environment: Indoor/Outdoor
Channels [1 - 13] @ 20 dBm
ERP:
RSN: * Version: 1
* Group cipher: CCMP
* Pairwise ciphers: CCMP
* Authentication suites: PSK SAE
* Capabilities: 1-PTKSA-RC 1-GTKSA-RC MFP-capable (0x0080)
Extended supported rates: 24.0 36.0 48.0 54.0
BSS Load:
* station count: 5
* channel utilisation: 42/255
* available admission capacity: 31250 [*32us]
RM enabled capabilities:
Capabilities: 0x73 0xd0 0x00 0x00 0x0c
Link Measurement
Neighbor Report
Beacon Passive Measurement
Beacon Active Measurement
Beacon Table Measurement
LCI Measurement
Transmit Stream/Category Measurement
Triggered Transmit Stream/Category
FTM Range Report
Civic Location Measurement
Nonoperating Channel Max Measurement Duration: 0
Measurement Pilot Capability: 4
HT capabilities:
Capabilities: 0x1ac
HT20
SM Power Save disabled
RX HT20 SGI
TX STBC
RX STBC 1-stream
Max AMSDU length: 3839 bytes
No DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 8 usec (0x06)
HT TX/RX MCS rate indexes supported: 0-23
HT operation:
* primary channel: 6
* secondary channel offset: no secondary
* STA channel width: 20 MHz
* RIFS: 0
* HT protection: non-HT mixed
* non-GF present: 1
* OBSS non-GF present: 1
* dual beacon: 0
* dual CTS protection: 0
* STBC beacon: 0
* L-SIG TXOP Prot: 0
* PCO active: 0
* PCO phase: 0
Overlapping BSS scan params:
* passive dwell: 20 TUs
* active dwell: 10 TUs
* channel width trigger scan interval: 300 s
* scan passive total per channel: 200 TUs
* scan active total per channel: 20 TUs
* BSS width channel transition delay factor: 5
* OBSS Scan Activity Threshold: 0.25 %
Extended capabilities:
* HT Information Exchange Supported
* Extended Channel Switching
* SSID List
* Operating Mode Notification
WMM: * Parameter version 1
* BE: CW 15-1023, AIFSN 3
* BK: CW 15-1023, AIFSN 7
* VI: CW 7-15, AIFSN 2, TXOP 3008 usec
* VO: CW 3-7, AIFSN 2, TXOP 1504 usec