History

{nl,mac}80211: report gate connectivity in station info

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.

Bob Copeland committed 8 years ago

Commit dbdaee71 parent 4a6ecd37 files · +17 −1Browse files

Showing the changes to include/uapi/linux (1 of 7 files). Show all

Unified · Split

include/uapi/linux/nl80211.h+3−0
@@ -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 include3116 * 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 counter3117 * 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: internal3121 * @__NL80211_STA_INFO_AFTER_LAST: internal
3120 * @NL80211_STA_INFO_MAX: highest possible station info attribute3122 * @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,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t