Introduce a new NL STA INFO attribute NL80211_STA_INFO_LAST_BEACON_RX_TIME to report the last received beacon time to the user space. This will help to detect if any beacon miss occurs between the mesh peers, non-AP STA and adhoc modes. v2: Addressed Johannes's comments from the v1 patch. https://patchwork.kernel.org/project/linux-wireless/patch/1653893292-11092-1-git-send-email-quic_haric@xxxxxxxxxxx/ Maharaja Kennadyrajan (2): wifi: nl80211/cfg80211: Add last_beacon_seen in station info wifi: mac80211: track and report beacon Rx time in station info include/net/cfg80211.h | 9 +++++++++ include/uapi/linux/nl80211.h | 2 ++ net/mac80211/mesh.c | 4 ++++ net/mac80211/mesh.h | 4 ++++ net/mac80211/mesh_plink.c | 18 ++++++++++++++++++ net/mac80211/mlme.c | 2 ++ net/mac80211/sta_info.c | 31 ++++++++++++++++++++++++++++++- net/mac80211/sta_info.h | 3 +++ net/wireless/nl80211.c | 3 +++ 9 files changed, 75 insertions(+), 1 deletion(-) base-commit: d9104cec3e8fe4b458b74709853231385779001f -- 2.17.1