{nl,cfg,mac}80211: let userspace make meshif mesh gate
Allow userspace to set NL80211_MESHCONF_GATE_ANNOUNCEMENTS attribute, which will advertise this mesh node as being a mesh gate. NL80211_HWMP_ROOTMODE must be set or this will do nothing. Signed-off-by: Javier Cardona <javier@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
0507e159a2
commit
16dd7267f4
@@ -372,6 +372,8 @@ IEEE80211_IF_FILE(min_discovery_timeout,
|
||||
u.mesh.mshcfg.min_discovery_timeout, DEC);
|
||||
IEEE80211_IF_FILE(dot11MeshHWMPRootMode,
|
||||
u.mesh.mshcfg.dot11MeshHWMPRootMode, DEC);
|
||||
IEEE80211_IF_FILE(dot11MeshGateAnnouncementProtocol,
|
||||
u.mesh.mshcfg.dot11MeshGateAnnouncementProtocol, DEC);
|
||||
IEEE80211_IF_FILE(dot11MeshHWMPRannInterval,
|
||||
u.mesh.mshcfg.dot11MeshHWMPRannInterval, DEC);
|
||||
#endif
|
||||
@@ -489,6 +491,7 @@ static void add_mesh_config(struct ieee80211_sub_if_data *sdata)
|
||||
MESHPARAMS_ADD(min_discovery_timeout);
|
||||
MESHPARAMS_ADD(dot11MeshHWMPRootMode);
|
||||
MESHPARAMS_ADD(dot11MeshHWMPRannInterval);
|
||||
MESHPARAMS_ADD(dot11MeshGateAnnouncementProtocol);
|
||||
#undef MESHPARAMS_ADD
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user