History

{nl,cfg}80211: make peer link expiration time configurable

If a STA has a peer that it hasn't seen any tx activity from for a certain length of time, the peer link is expired. This means the inactive STA is removed from the list of peers and that STA is not considered a peer again unless it re-peers. Previously, this inactivity time was always 30 minutes. Now, add it to the mesh configuration and allow it to be configured. Retain 30 minutes as a default value.

Colleen Twitty committed 13 years ago

Commit 8e7c0531 parent a0a2af74 files · +18 −1Browse files

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

Unified · Split

include/uapi/linux/nl80211.h+5−0
@@ -2577,6 +2577,10 @@ enum nl80211_mesh_power_mode { · 2576 unmodified lines
25772577 *
25782578 * @NL80211_MESHCONF_AWAKE_WINDOW: awake window duration (in TUs)
25792579 *
2580+ * @NL80211_MESHCONF_PLINK_TIMEOUT: If no tx activity is seen from a STA we've
2581+ * established peering with for longer than this time (in seconds), then
2582+ * remove it from the STA's list of peers. Default is 30 minutes.
2583+ *
25802584 * @__NL80211_MESHCONF_ATTR_AFTER_LAST: internal use
25812585 */
25822586 enum nl80211_meshconf_params {
@@ -2608,6 +2612,7 @@ enum nl80211_meshconf_params { · 25 unmodified lines
26082612 NL80211_MESHCONF_HWMP_CONFIRMATION_INTERVAL,
26092613 NL80211_MESHCONF_POWER_MODE,
26102614 NL80211_MESHCONF_AWAKE_WINDOW,
2615+ NL80211_MESHCONF_PLINK_TIMEOUT,
26112616
26122617 /* keep last */
26132618 __NL80211_MESHCONF_ATTR_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