|
@@ -3755,7 +3755,7 @@ static int nl80211_send_station(struct sk_buff *msg, u32 cmd, u32 portid,
|
|
|
goto nla_put_failure;
|
|
|
|
|
|
#define PUT_SINFO(attr, memb, type) do { \
|
|
|
- if (sinfo->filled & BIT(NL80211_STA_INFO_ ## attr) && \
|
|
|
+ if (sinfo->filled & (1ULL << NL80211_STA_INFO_ ## attr) && \
|
|
|
nla_put_ ## type(msg, NL80211_STA_INFO_ ## attr, \
|
|
|
sinfo->memb)) \
|
|
|
goto nla_put_failure; \
|
|
@@ -3781,6 +3781,7 @@ static int nl80211_send_station(struct sk_buff *msg, u32 cmd, u32 portid,
|
|
|
PUT_SINFO(LLID, llid, u16);
|
|
|
PUT_SINFO(PLID, plid, u16);
|
|
|
PUT_SINFO(PLINK_STATE, plink_state, u8);
|
|
|
+ PUT_SINFO(RX_DURATION, rx_duration, u64);
|
|
|
|
|
|
switch (rdev->wiphy.signal_type) {
|
|
|
case CFG80211_SIGNAL_TYPE_MBM:
|