diff options
author | Javier Cardona <javier@cozybit.com> | 2012-03-31 14:31:33 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-04-10 15:20:33 -0400 |
commit | d299a1f21ea7ffd5114d099b2f92c867c495e8b3 (patch) | |
tree | 4325e83c1ad096be0d2fa71c52d1ad115ea23ca4 /include/linux/nl80211.h | |
parent | dbf498fbafa2c23139d5a990e94ed78bafbbea19 (diff) |
{nl,cfg}80211: Support for mesh synchronization
Report Toffset to userspace.
Let userspace select the mesh synchronization method.
Signed-off-by: Marco Porsch <marco.porsch@s2005.tu-chemnitz.de>
Signed-off-by: Pavel Zubarev <pavel.zubarev@gmail.com>
Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/nl80211.h')
-rw-r--r-- | include/linux/nl80211.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h index 1f6e44680fb7..c6d26328a166 100644 --- a/include/linux/nl80211.h +++ b/include/linux/nl80211.h | |||
@@ -1685,6 +1685,7 @@ enum nl80211_sta_bss_param { | |||
1685 | * @NL80211_STA_INFO_CONNECTED_TIME: time since the station is last connected | 1685 | * @NL80211_STA_INFO_CONNECTED_TIME: time since the station is last connected |
1686 | * @NL80211_STA_INFO_STA_FLAGS: Contains a struct nl80211_sta_flag_update. | 1686 | * @NL80211_STA_INFO_STA_FLAGS: Contains a struct nl80211_sta_flag_update. |
1687 | * @NL80211_STA_INFO_BEACON_LOSS: count of times beacon loss was detected (u32) | 1687 | * @NL80211_STA_INFO_BEACON_LOSS: count of times beacon loss was detected (u32) |
1688 | * @NL80211_STA_INFO_T_OFFSET: timing offset with respect to this STA (s64) | ||
1688 | * @__NL80211_STA_INFO_AFTER_LAST: internal | 1689 | * @__NL80211_STA_INFO_AFTER_LAST: internal |
1689 | * @NL80211_STA_INFO_MAX: highest possible station info attribute | 1690 | * @NL80211_STA_INFO_MAX: highest possible station info attribute |
1690 | */ | 1691 | */ |
@@ -1708,6 +1709,7 @@ enum nl80211_sta_info { | |||
1708 | NL80211_STA_INFO_CONNECTED_TIME, | 1709 | NL80211_STA_INFO_CONNECTED_TIME, |
1709 | NL80211_STA_INFO_STA_FLAGS, | 1710 | NL80211_STA_INFO_STA_FLAGS, |
1710 | NL80211_STA_INFO_BEACON_LOSS, | 1711 | NL80211_STA_INFO_BEACON_LOSS, |
1712 | NL80211_STA_INFO_T_OFFSET, | ||
1711 | 1713 | ||
1712 | /* keep last */ | 1714 | /* keep last */ |
1713 | __NL80211_STA_INFO_AFTER_LAST, | 1715 | __NL80211_STA_INFO_AFTER_LAST, |
@@ -2142,6 +2144,9 @@ enum nl80211_mntr_flags { | |||
2142 | * | 2144 | * |
2143 | * @NL80211_MESHCONF_ATTR_MAX: highest possible mesh configuration attribute | 2145 | * @NL80211_MESHCONF_ATTR_MAX: highest possible mesh configuration attribute |
2144 | * | 2146 | * |
2147 | * @NL80211_MESHCONF_SYNC_OFFSET_MAX_NEIGHBOR: maximum number of neighbors | ||
2148 | * to synchronize to for 11s default synchronization method (see 11C.12.2.2) | ||
2149 | * | ||
2145 | * @__NL80211_MESHCONF_ATTR_AFTER_LAST: internal use | 2150 | * @__NL80211_MESHCONF_ATTR_AFTER_LAST: internal use |
2146 | */ | 2151 | */ |
2147 | enum nl80211_meshconf_params { | 2152 | enum nl80211_meshconf_params { |
@@ -2166,6 +2171,7 @@ enum nl80211_meshconf_params { | |||
2166 | NL80211_MESHCONF_HWMP_PERR_MIN_INTERVAL, | 2171 | NL80211_MESHCONF_HWMP_PERR_MIN_INTERVAL, |
2167 | NL80211_MESHCONF_FORWARDING, | 2172 | NL80211_MESHCONF_FORWARDING, |
2168 | NL80211_MESHCONF_RSSI_THRESHOLD, | 2173 | NL80211_MESHCONF_RSSI_THRESHOLD, |
2174 | NL80211_MESHCONF_SYNC_OFFSET_MAX_NEIGHBOR, | ||
2169 | 2175 | ||
2170 | /* keep last */ | 2176 | /* keep last */ |
2171 | __NL80211_MESHCONF_ATTR_AFTER_LAST, | 2177 | __NL80211_MESHCONF_ATTR_AFTER_LAST, |
@@ -2205,6 +2211,11 @@ enum nl80211_meshconf_params { | |||
2205 | * complete (unsecured) mesh peering without the need of a userspace daemon. | 2211 | * complete (unsecured) mesh peering without the need of a userspace daemon. |
2206 | * | 2212 | * |
2207 | * @NL80211_MESH_SETUP_ATTR_MAX: highest possible mesh setup attribute number | 2213 | * @NL80211_MESH_SETUP_ATTR_MAX: highest possible mesh setup attribute number |
2214 | * | ||
2215 | * @NL80211_MESH_SETUP_ENABLE_VENDOR_SYNC: Enable this option to use a | ||
2216 | * vendor specific synchronization method or disable it to use the default | ||
2217 | * neighbor offset synchronization | ||
2218 | * | ||
2208 | * @__NL80211_MESH_SETUP_ATTR_AFTER_LAST: Internal use | 2219 | * @__NL80211_MESH_SETUP_ATTR_AFTER_LAST: Internal use |
2209 | */ | 2220 | */ |
2210 | enum nl80211_mesh_setup_params { | 2221 | enum nl80211_mesh_setup_params { |
@@ -2214,6 +2225,7 @@ enum nl80211_mesh_setup_params { | |||
2214 | NL80211_MESH_SETUP_IE, | 2225 | NL80211_MESH_SETUP_IE, |
2215 | NL80211_MESH_SETUP_USERSPACE_AUTH, | 2226 | NL80211_MESH_SETUP_USERSPACE_AUTH, |
2216 | NL80211_MESH_SETUP_USERSPACE_AMPE, | 2227 | NL80211_MESH_SETUP_USERSPACE_AMPE, |
2228 | NL80211_MESH_SETUP_ENABLE_VENDOR_SYNC, | ||
2217 | 2229 | ||
2218 | /* keep last */ | 2230 | /* keep last */ |
2219 | __NL80211_MESH_SETUP_ATTR_AFTER_LAST, | 2231 | __NL80211_MESH_SETUP_ATTR_AFTER_LAST, |