diff options
Diffstat (limited to 'net/wireless')
| -rw-r--r-- | net/wireless/nl80211.c | 30 | ||||
| -rw-r--r-- | net/wireless/trace.h | 26 |
2 files changed, 28 insertions, 28 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index ad3e294acabe..94ab2014fefe 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c | |||
| @@ -6641,25 +6641,25 @@ static int nl80211_send_survey(struct sk_buff *msg, u32 portid, u32 seq, | |||
| 6641 | if ((survey->filled & SURVEY_INFO_IN_USE) && | 6641 | if ((survey->filled & SURVEY_INFO_IN_USE) && |
| 6642 | nla_put_flag(msg, NL80211_SURVEY_INFO_IN_USE)) | 6642 | nla_put_flag(msg, NL80211_SURVEY_INFO_IN_USE)) |
| 6643 | goto nla_put_failure; | 6643 | goto nla_put_failure; |
| 6644 | if ((survey->filled & SURVEY_INFO_CHANNEL_TIME) && | 6644 | if ((survey->filled & SURVEY_INFO_TIME) && |
| 6645 | nla_put_u64(msg, NL80211_SURVEY_INFO_CHANNEL_TIME, | 6645 | nla_put_u64(msg, NL80211_SURVEY_INFO_TIME, |
| 6646 | survey->channel_time)) | 6646 | survey->time)) |
| 6647 | goto nla_put_failure; | 6647 | goto nla_put_failure; |
| 6648 | if ((survey->filled & SURVEY_INFO_CHANNEL_TIME_BUSY) && | 6648 | if ((survey->filled & SURVEY_INFO_TIME_BUSY) && |
| 6649 | nla_put_u64(msg, NL80211_SURVEY_INFO_CHANNEL_TIME_BUSY, | 6649 | nla_put_u64(msg, NL80211_SURVEY_INFO_TIME_BUSY, |
| 6650 | survey->channel_time_busy)) | 6650 | survey->time_busy)) |
| 6651 | goto nla_put_failure; | 6651 | goto nla_put_failure; |
| 6652 | if ((survey->filled & SURVEY_INFO_CHANNEL_TIME_EXT_BUSY) && | 6652 | if ((survey->filled & SURVEY_INFO_TIME_EXT_BUSY) && |
| 6653 | nla_put_u64(msg, NL80211_SURVEY_INFO_CHANNEL_TIME_EXT_BUSY, | 6653 | nla_put_u64(msg, NL80211_SURVEY_INFO_TIME_EXT_BUSY, |
| 6654 | survey->channel_time_ext_busy)) | 6654 | survey->time_ext_busy)) |
| 6655 | goto nla_put_failure; | 6655 | goto nla_put_failure; |
| 6656 | if ((survey->filled & SURVEY_INFO_CHANNEL_TIME_RX) && | 6656 | if ((survey->filled & SURVEY_INFO_TIME_RX) && |
| 6657 | nla_put_u64(msg, NL80211_SURVEY_INFO_CHANNEL_TIME_RX, | 6657 | nla_put_u64(msg, NL80211_SURVEY_INFO_TIME_RX, |
| 6658 | survey->channel_time_rx)) | 6658 | survey->time_rx)) |
| 6659 | goto nla_put_failure; | 6659 | goto nla_put_failure; |
| 6660 | if ((survey->filled & SURVEY_INFO_CHANNEL_TIME_TX) && | 6660 | if ((survey->filled & SURVEY_INFO_TIME_TX) && |
| 6661 | nla_put_u64(msg, NL80211_SURVEY_INFO_CHANNEL_TIME_TX, | 6661 | nla_put_u64(msg, NL80211_SURVEY_INFO_TIME_TX, |
| 6662 | survey->channel_time_tx)) | 6662 | survey->time_tx)) |
| 6663 | goto nla_put_failure; | 6663 | goto nla_put_failure; |
| 6664 | 6664 | ||
| 6665 | nla_nest_end(msg, infoattr); | 6665 | nla_nest_end(msg, infoattr); |
diff --git a/net/wireless/trace.h b/net/wireless/trace.h index ad38910f7036..bbb7afc264af 100644 --- a/net/wireless/trace.h +++ b/net/wireless/trace.h | |||
| @@ -1604,11 +1604,11 @@ TRACE_EVENT(rdev_return_int_survey_info, | |||
| 1604 | WIPHY_ENTRY | 1604 | WIPHY_ENTRY |
| 1605 | CHAN_ENTRY | 1605 | CHAN_ENTRY |
| 1606 | __field(int, ret) | 1606 | __field(int, ret) |
| 1607 | __field(u64, channel_time) | 1607 | __field(u64, time) |
| 1608 | __field(u64, channel_time_busy) | 1608 | __field(u64, time_busy) |
| 1609 | __field(u64, channel_time_ext_busy) | 1609 | __field(u64, time_ext_busy) |
| 1610 | __field(u64, channel_time_rx) | 1610 | __field(u64, time_rx) |
| 1611 | __field(u64, channel_time_tx) | 1611 | __field(u64, time_tx) |
| 1612 | __field(u32, filled) | 1612 | __field(u32, filled) |
| 1613 | __field(s8, noise) | 1613 | __field(s8, noise) |
| 1614 | ), | 1614 | ), |
| @@ -1616,11 +1616,11 @@ TRACE_EVENT(rdev_return_int_survey_info, | |||
| 1616 | WIPHY_ASSIGN; | 1616 | WIPHY_ASSIGN; |
| 1617 | CHAN_ASSIGN(info->channel); | 1617 | CHAN_ASSIGN(info->channel); |
| 1618 | __entry->ret = ret; | 1618 | __entry->ret = ret; |
| 1619 | __entry->channel_time = info->channel_time; | 1619 | __entry->time = info->time; |
| 1620 | __entry->channel_time_busy = info->channel_time_busy; | 1620 | __entry->time_busy = info->time_busy; |
| 1621 | __entry->channel_time_ext_busy = info->channel_time_ext_busy; | 1621 | __entry->time_ext_busy = info->time_ext_busy; |
| 1622 | __entry->channel_time_rx = info->channel_time_rx; | 1622 | __entry->time_rx = info->time_rx; |
| 1623 | __entry->channel_time_tx = info->channel_time_tx; | 1623 | __entry->time_tx = info->time_tx; |
| 1624 | __entry->filled = info->filled; | 1624 | __entry->filled = info->filled; |
| 1625 | __entry->noise = info->noise; | 1625 | __entry->noise = info->noise; |
| 1626 | ), | 1626 | ), |
| @@ -1629,9 +1629,9 @@ TRACE_EVENT(rdev_return_int_survey_info, | |||
| 1629 | "channel time extension busy: %llu, channel time rx: %llu, " | 1629 | "channel time extension busy: %llu, channel time rx: %llu, " |
| 1630 | "channel time tx: %llu, filled: %u, noise: %d", | 1630 | "channel time tx: %llu, filled: %u, noise: %d", |
| 1631 | WIPHY_PR_ARG, __entry->ret, CHAN_PR_ARG, | 1631 | WIPHY_PR_ARG, __entry->ret, CHAN_PR_ARG, |
| 1632 | __entry->channel_time, __entry->channel_time_busy, | 1632 | __entry->time, __entry->time_busy, |
| 1633 | __entry->channel_time_ext_busy, __entry->channel_time_rx, | 1633 | __entry->time_ext_busy, __entry->time_rx, |
| 1634 | __entry->channel_time_tx, __entry->filled, __entry->noise) | 1634 | __entry->time_tx, __entry->filled, __entry->noise) |
| 1635 | ); | 1635 | ); |
| 1636 | 1636 | ||
| 1637 | TRACE_EVENT(rdev_tdls_oper, | 1637 | TRACE_EVENT(rdev_tdls_oper, |
