Capture the current state of gate connectivity from the mesh formation field in mesh config whenever we receive a beacon, and report that via GET_STATION. This allows applications doing mesh peering in userspace to make peering decisions based on peers' current upstream connectivity.
Showing the changes to include/uapi/linux (1 of 7 files). Show all
Unified · Split
| @@ -3116,6 +3116,8 @@ enum nl80211_sta_bss_param { · 3115 unmodified lines | |||
| 3116 | * with an FCS error (u32, from this station). This count may not include | 3116 | * with an FCS error (u32, from this station). This count may not include |
| 3117 | * some packets with an FCS error due to TA corruption. Hence this counter | 3117 | * some packets with an FCS error due to TA corruption. Hence this counter |
| 3118 | * might not be fully accurate. | 3118 | * might not be fully accurate. |
| 3119 | * @NL80211_STA_INFO_CONNECTED_TO_GATE: set to true if STA has a path to a | ||
| 3120 | * mesh gate | ||
| 3119 | * @__NL80211_STA_INFO_AFTER_LAST: internal | 3121 | * @__NL80211_STA_INFO_AFTER_LAST: internal |
| 3120 | * @NL80211_STA_INFO_MAX: highest possible station info attribute | 3122 | * @NL80211_STA_INFO_MAX: highest possible station info attribute |
| 3121 | */ | 3123 | */ |
| @@ -3158,6 +3160,7 @@ enum nl80211_sta_info { · 36 unmodified lines | |||
| 3158 | NL80211_STA_INFO_ACK_SIGNAL_AVG, | 3160 | NL80211_STA_INFO_ACK_SIGNAL_AVG, |
| 3159 | NL80211_STA_INFO_RX_MPDUS, | 3161 | NL80211_STA_INFO_RX_MPDUS, |
| 3160 | NL80211_STA_INFO_FCS_ERROR_COUNT, | 3162 | NL80211_STA_INFO_FCS_ERROR_COUNT, |
| 3163 | NL80211_STA_INFO_CONNECTED_TO_GATE, | ||
| 3161 | 3164 | ||
| 3162 | /* keep last */ | 3165 | /* keep last */ |
| 3163 | __NL80211_STA_INFO_AFTER_LAST, | 3166 | __NL80211_STA_INFO_AFTER_LAST, |