modules: hostap: Add support to read TX PHY rate
Useful for matter applications. Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
This commit is contained in:
parent
54b21b6a54
commit
2e7f6311bf
1 changed files with 3 additions and 1 deletions
|
|
@ -1538,8 +1538,10 @@ int supplicant_status(const struct device *dev, struct wifi_iface_status *status
|
|||
ret = z_wpa_ctrl_signal_poll(&signal_poll);
|
||||
if (!ret) {
|
||||
status->rssi = signal_poll.rssi;
|
||||
status->current_phy_rate = signal_poll.current_txrate;
|
||||
} else {
|
||||
wpa_printf(MSG_WARNING, "%s:Failed to read RSSI", __func__);
|
||||
wpa_printf(MSG_WARNING, "%s: Failed to read signal poll info",
|
||||
__func__);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue