|
@@ -1141,7 +1141,7 @@ static int get_station(struct wiphy *wiphy, struct net_device *dev,
|
|
|
return -ENOENT;
|
|
|
}
|
|
|
|
|
|
- sinfo->filled |= BIT(NL80211_STA_INFO_INACTIVE_TIME);
|
|
|
+ sinfo->filled |= BIT_ULL(NL80211_STA_INFO_INACTIVE_TIME);
|
|
|
|
|
|
wilc_get_inactive_time(vif, mac, &inactive_time);
|
|
|
sinfo->inactive_time = 1000 * inactive_time;
|
|
@@ -1150,11 +1150,11 @@ static int get_station(struct wiphy *wiphy, struct net_device *dev,
|
|
|
|
|
|
wilc_get_statistics(vif, &stats, true);
|
|
|
|
|
|
- sinfo->filled |= BIT(NL80211_STA_INFO_SIGNAL) |
|
|
|
- BIT(NL80211_STA_INFO_RX_PACKETS) |
|
|
|
- BIT(NL80211_STA_INFO_TX_PACKETS) |
|
|
|
- BIT(NL80211_STA_INFO_TX_FAILED) |
|
|
|
- BIT(NL80211_STA_INFO_TX_BITRATE);
|
|
|
+ sinfo->filled |= BIT_ULL(NL80211_STA_INFO_SIGNAL) |
|
|
|
+ BIT_ULL(NL80211_STA_INFO_RX_PACKETS) |
|
|
|
+ BIT_ULL(NL80211_STA_INFO_TX_PACKETS) |
|
|
|
+ BIT_ULL(NL80211_STA_INFO_TX_FAILED) |
|
|
|
+ BIT_ULL(NL80211_STA_INFO_TX_BITRATE);
|
|
|
|
|
|
sinfo->signal = stats.rssi;
|
|
|
sinfo->rx_packets = stats.rx_cnt;
|
|
@@ -1775,7 +1775,7 @@ static int dump_station(struct wiphy *wiphy, struct net_device *dev,
|
|
|
priv = wiphy_priv(wiphy);
|
|
|
vif = netdev_priv(priv->dev);
|
|
|
|
|
|
- sinfo->filled |= BIT(NL80211_STA_INFO_SIGNAL);
|
|
|
+ sinfo->filled |= BIT_ULL(NL80211_STA_INFO_SIGNAL);
|
|
|
|
|
|
wilc_get_rssi(vif, &sinfo->signal);
|
|
|
|