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
31163116 * with an FCS error (u32, from this station). This count may not include
31173117 * some packets with an FCS error due to TA corruption. Hence this counter
31183118 * 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
31193121 * @__NL80211_STA_INFO_AFTER_LAST: internal
31203122 * @NL80211_STA_INFO_MAX: highest possible station info attribute
31213123 */
@@ -3158,6 +3160,7 @@ enum nl80211_sta_info { · 36 unmodified lines
31583160 NL80211_STA_INFO_ACK_SIGNAL_AVG,
31593161 NL80211_STA_INFO_RX_MPDUS,
31603162 NL80211_STA_INFO_FCS_ERROR_COUNT,
3163+ NL80211_STA_INFO_CONNECTED_TO_GATE,
31613164
31623165 /* keep last */
31633166 __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