]> git.ipfire.org Git - thirdparty/hostap.git/commit
Add more nl80211 info to struct wpa_signal_info
authorDavid Ruth <druth@chromium.org>
Wed, 30 Nov 2022 23:33:09 +0000 (23:33 +0000)
committerJouni Malinen <j@w1.fi>
Sat, 3 Dec 2022 08:42:16 +0000 (10:42 +0200)
commitad4fa5dd3cf1168676715dcd2dea0c2c9b258d23
tree32e1ed081f43d66bf5e5bbc4464dac6bae657be7
parent090f0f8c70415255c8800a28e24c1d23f595a32e
Add more nl80211 info to struct wpa_signal_info

Facilitate emitting more station information over D-Bus for use by the
connection manager.

* Add storage for more NL80211_STA_INFO_* fields to data structures, and
  move them through the system.
* Reorder NL80211_STA_INFO_* fields in driver_nl80211.c to match the
  ordering in nl80211.h.
* Convert signal field to an integer to support holding WPA_INVALID_NOISE
  and avoid changing logging.

* Add fields to hostap_sta_driver_data to capture more information
* fcs_error_count
* beacon_loss_count
* expected_throughput
* rx_drop_misc
* rx_mpdus
* rx_hemcs
* tx_hemcs
* rx_he_nss
* tx_he_nss
* avg_signal
* avg_beacon_signal
* avg_ack_signal
* Add struct hostap_sta_driver_data to struct wpa_signal_info and remove
  redundant fields and redundant attribute parsing
* Change logging when printing txrate to handle unsigned long
  value

Signed-off-by: David Ruth <druth@chromium.org>
12 files changed:
src/ap/ctrl_iface_ap.c
src/drivers/driver.h
src/drivers/driver_nl80211.c
src/drivers/driver_nl80211.h
src/drivers/driver_nl80211_event.c
src/drivers/driver_wext.c
wpa_supplicant/bgscan_learn.c
wpa_supplicant/bgscan_simple.c
wpa_supplicant/ctrl_iface.c
wpa_supplicant/dbus/dbus_new_handlers.c
wpa_supplicant/events.c
wpa_supplicant/wpa_supplicant.c