Skip to content

Commit 2e7f631

Browse files
krish2718kartben
authored andcommitted
modules: hostap: Add support to read TX PHY rate
Useful for matter applications. Signed-off-by: Chaitanya Tata <[email protected]>
1 parent 54b21b6 commit 2e7f631

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

modules/hostap/src/supp_api.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1538,8 +1538,10 @@ int supplicant_status(const struct device *dev, struct wifi_iface_status *status
15381538
ret = z_wpa_ctrl_signal_poll(&signal_poll);
15391539
if (!ret) {
15401540
status->rssi = signal_poll.rssi;
1541+
status->current_phy_rate = signal_poll.current_txrate;
15411542
} else {
1542-
wpa_printf(MSG_WARNING, "%s:Failed to read RSSI", __func__);
1543+
wpa_printf(MSG_WARNING, "%s: Failed to read signal poll info",
1544+
__func__);
15431545
}
15441546
}
15451547

0 commit comments

Comments
 (0)