mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 13:02:44 +01:00
nl80211util: parse TX power in frequency attributes
This commit is contained in:
parent
76a94b4cc8
commit
71c921fb42
@ -548,6 +548,9 @@ int nl80211_parse_supported_frequencies(struct l_genl_attr *band_freqs,
|
||||
case NL80211_FREQUENCY_ATTR_NO_HE:
|
||||
freq_attr.no_he = true;
|
||||
break;
|
||||
case NL80211_FREQUENCY_ATTR_MAX_TX_POWER:
|
||||
freq_attr.tx_power = *((uint32_t *) data) / 100;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user