diff options
Diffstat (limited to 'drivers/net/wireless/ath/wil6210/cfg80211.c')
-rw-r--r-- | drivers/net/wireless/ath/wil6210/cfg80211.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/net/wireless/ath/wil6210/cfg80211.c b/drivers/net/wireless/ath/wil6210/cfg80211.c index 5c79f1d62103..bd013fdb86dc 100644 --- a/drivers/net/wireless/ath/wil6210/cfg80211.c +++ b/drivers/net/wireless/ath/wil6210/cfg80211.c | |||
@@ -142,14 +142,14 @@ int wil_cid_fill_sinfo(struct wil6210_priv *wil, int cid, | |||
142 | 142 | ||
143 | sinfo->generation = wil->sinfo_gen; | 143 | sinfo->generation = wil->sinfo_gen; |
144 | 144 | ||
145 | sinfo->filled = STATION_INFO_RX_BYTES | | 145 | sinfo->filled = BIT(NL80211_STA_INFO_RX_BYTES) | |
146 | STATION_INFO_TX_BYTES | | 146 | BIT(NL80211_STA_INFO_TX_BYTES) | |
147 | STATION_INFO_RX_PACKETS | | 147 | BIT(NL80211_STA_INFO_RX_PACKETS) | |
148 | STATION_INFO_TX_PACKETS | | 148 | BIT(NL80211_STA_INFO_TX_PACKETS) | |
149 | STATION_INFO_RX_BITRATE | | 149 | BIT(NL80211_STA_INFO_RX_BITRATE) | |
150 | STATION_INFO_TX_BITRATE | | 150 | BIT(NL80211_STA_INFO_TX_BITRATE) | |
151 | STATION_INFO_RX_DROP_MISC | | 151 | BIT(NL80211_STA_INFO_RX_DROP_MISC) | |
152 | STATION_INFO_TX_FAILED; | 152 | BIT(NL80211_STA_INFO_TX_FAILED); |
153 | 153 | ||
154 | sinfo->txrate.flags = RATE_INFO_FLAGS_MCS | RATE_INFO_FLAGS_60G; | 154 | sinfo->txrate.flags = RATE_INFO_FLAGS_MCS | RATE_INFO_FLAGS_60G; |
155 | sinfo->txrate.mcs = le16_to_cpu(reply.evt.bf_mcs); | 155 | sinfo->txrate.mcs = le16_to_cpu(reply.evt.bf_mcs); |
@@ -163,7 +163,7 @@ int wil_cid_fill_sinfo(struct wil6210_priv *wil, int cid, | |||
163 | sinfo->tx_failed = stats->tx_errors; | 163 | sinfo->tx_failed = stats->tx_errors; |
164 | 164 | ||
165 | if (test_bit(wil_status_fwconnected, wil->status)) { | 165 | if (test_bit(wil_status_fwconnected, wil->status)) { |
166 | sinfo->filled |= STATION_INFO_SIGNAL; | 166 | sinfo->filled |= BIT(NL80211_STA_INFO_SIGNAL); |
167 | sinfo->signal = reply.evt.sqi; | 167 | sinfo->signal = reply.evt.sqi; |
168 | } | 168 | } |
169 | 169 | ||