mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-24 06:52:37 +01:00
monitor: Add support for decoding connection quality monitor attributes
This commit is contained in:
parent
4ec7eb1c74
commit
da3c7310a0
@ -418,6 +418,19 @@ static const struct attr_entry frame_types_table[] = {
|
||||
{ }
|
||||
};
|
||||
|
||||
static const struct attr_entry cqm_table[] = {
|
||||
{ NL80211_ATTR_CQM_RSSI_THOLD, "RSSI threshold", ATTR_U32 },
|
||||
{ NL80211_ATTR_CQM_RSSI_HYST, "RSSI hysteresis", ATTR_U32 },
|
||||
{ NL80211_ATTR_CQM_RSSI_THRESHOLD_EVENT,
|
||||
"RSSI threshold event", ATTR_U32 },
|
||||
{ NL80211_ATTR_CQM_PKT_LOSS_EVENT,
|
||||
"Packet loss event", ATTR_U32 },
|
||||
{ NL80211_ATTR_CQM_TXE_RATE, "TX error rate", ATTR_U32 },
|
||||
{ NL80211_ATTR_CQM_TXE_PKTS, "TX error packets", ATTR_U32 },
|
||||
{ NL80211_ATTR_CQM_TXE_INTVL, "TX error interval", ATTR_U32 },
|
||||
{ }
|
||||
};
|
||||
|
||||
static const struct attr_entry attr_table[] = {
|
||||
{ NL80211_ATTR_WIPHY,
|
||||
"Wiphy", ATTR_U32 },
|
||||
@ -612,7 +625,7 @@ static const struct attr_entry attr_table[] = {
|
||||
{ NL80211_ATTR_PS_STATE,
|
||||
"PS State", ATTR_U32 },
|
||||
{ NL80211_ATTR_CQM,
|
||||
"CQM" },
|
||||
"CQM", ATTR_NESTED, { cqm_table } },
|
||||
{ NL80211_ATTR_LOCAL_STATE_CHANGE,
|
||||
"Local State Change", ATTR_FLAG },
|
||||
{ NL80211_ATTR_AP_ISOLATE,
|
||||
|
Loading…
Reference in New Issue
Block a user