History

nl80211: use nla_put_u64_64bit() for the remaining u64 attributes

Nicolas converted most users, but didn't realize some were generated by macros. Convert those over as well.

Johannes Berg committed 10 years ago

Commit d686b921 parent 9b95fe52 files · +26 −14Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/linux/nl80211.h+4−0
@@ -2517,6 +2517,7 @@ enum nl80211_sta_bss_param { · 2516 unmodified lines
25172517 * attributes carrying the actual values.
25182518 * @NL80211_STA_INFO_RX_DURATION: aggregate PPDU duration for all frames
25192519 * received from the station (u64, usec)
2520+ * @NL80211_STA_INFO_PAD: attribute used for padding for 64-bit alignment
25202521 * @__NL80211_STA_INFO_AFTER_LAST: internal
25212522 * @NL80211_STA_INFO_MAX: highest possible station info attribute
25222523 */
@@ -2554,6 +2555,7 @@ enum nl80211_sta_info { · 31 unmodified lines
25542555 NL80211_STA_INFO_BEACON_SIGNAL_AVG,
25552556 NL80211_STA_INFO_TID_STATS,
25562557 NL80211_STA_INFO_RX_DURATION,
2558+ NL80211_STA_INFO_PAD,
25572559
25582560 /* keep last */
25592561 __NL80211_STA_INFO_AFTER_LAST,
@@ -2570,6 +2572,7 @@ enum nl80211_sta_info { · 10 unmodified lines
25702572 * transmitted MSDUs (not counting the first attempt; u64)
25712573 * @NL80211_TID_STATS_TX_MSDU_FAILED: number of failed transmitted
25722574 * MSDUs (u64)
2575+ * @NL80211_TID_STATS_PAD: attribute used for padding for 64-bit alignment
25732576 * @NUM_NL80211_TID_STATS: number of attributes here
25742577 * @NL80211_TID_STATS_MAX: highest numbered attribute here
25752578 */
@@ -2579,6 +2582,7 @@ enum nl80211_tid_stats { · 3 unmodified lines
25792582 NL80211_TID_STATS_TX_MSDU,
25802583 NL80211_TID_STATS_TX_MSDU_RETRIES,
25812584 NL80211_TID_STATS_TX_MSDU_FAILED,
2585+ NL80211_TID_STATS_PAD,
25822586
25832587 /* keep last */
25842588 NUM_NL80211_TID_STATS,