Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lede-mikrotik
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johannes Rudolph
lede-mikrotik
Commits
d886c0aa
Commit
d886c0aa
authored
13 years ago
by
Felix Fietkau
Browse files
Options
Downloads
Patches
Plain Diff
mac80211: make mesh support optional
SVN-Revision: 29506
parent
4ca2d864
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
package/mac80211/Makefile
+7
-0
7 additions, 0 deletions
package/mac80211/Makefile
package/mac80211/patches/008-disable_mesh.patch
+11
-0
11 additions, 0 deletions
package/mac80211/patches/008-disable_mesh.patch
with
18 additions
and
0 deletions
package/mac80211/Makefile
+
7
−
0
View file @
d886c0aa
...
@@ -32,6 +32,7 @@ PKG_CONFIG_DEPENDS:= \
...
@@ -32,6 +32,7 @@ PKG_CONFIG_DEPENDS:= \
CONFIG_PACKAGE_kmod-mac80211
\
CONFIG_PACKAGE_kmod-mac80211
\
$(
patsubst %,CONFIG_PACKAGE_kmod-%,
$(
PKG_DRIVERS
))
\
$(
patsubst %,CONFIG_PACKAGE_kmod-%,
$(
PKG_DRIVERS
))
\
CONFIG_PACKAGE_MAC80211_DEBUGFS
\
CONFIG_PACKAGE_MAC80211_DEBUGFS
\
CONFIG_PACKAGE_MAC80211_MESH
\
CONFIG_PACKAGE_ATH_DEBUG
\
CONFIG_PACKAGE_ATH_DEBUG
\
CONFIG_PACKAGE_B43_DEBUG
\
CONFIG_PACKAGE_B43_DEBUG
\
CONFIG_PACKAGE_B43_PIO
\
CONFIG_PACKAGE_B43_PIO
\
...
@@ -89,6 +90,10 @@ define KernelPackage/mac80211/config
...
@@ -89,6 +90,10 @@ define KernelPackage/mac80211/config
Say
N
unless
you
know
you
need
this.
Say
N
unless
you
know
you
need
this.
config
PACKAGE_MAC80211_MESH
bool
"Enable 802.11s mesh support"
default
y
endmenu
endmenu
endef
endef
...
@@ -1068,6 +1073,7 @@ BUILDFLAGS:= \
...
@@ -1068,6 +1073,7 @@ BUILDFLAGS:= \
$(
if
$(
CONFIG_PCI
)
,-DCONFIG_ATH9K_PCI
)
\
$(
if
$(
CONFIG_PCI
)
,-DCONFIG_ATH9K_PCI
)
\
$(
if
$(
CONFIG_TARGET_ar71xx
)
,-DCONFIG_ATH9K_AHB
)
\
$(
if
$(
CONFIG_TARGET_ar71xx
)
,-DCONFIG_ATH9K_AHB
)
\
$(
if
$(
CONFIG_PACKAGE_MAC80211_DEBUGFS
)
,
-DCONFIG_CFG80211_DEBUGFS
-DCONFIG_MAC80211_DEBUGFS
-DCONFIG_ATH9K_DEBUGFS
-DCONFIG_CARL9170_DEBUGFS
-DCONFIG_ATH9K_HTC_DEBUGFS
-DCONFIG_ATH5K_DEBUG
)
\
$(
if
$(
CONFIG_PACKAGE_MAC80211_DEBUGFS
)
,
-DCONFIG_CFG80211_DEBUGFS
-DCONFIG_MAC80211_DEBUGFS
-DCONFIG_ATH9K_DEBUGFS
-DCONFIG_CARL9170_DEBUGFS
-DCONFIG_ATH9K_HTC_DEBUGFS
-DCONFIG_ATH5K_DEBUG
)
\
$(
if
$(
CONFIG_PACKAGE_MAC80211_MESH
)
,-DCONFIG_MAC80211_MESH
)
\
$(
if
$(
CONFIG_PACKAGE_ATH_DEBUG
)
,-DCONFIG_ATH_DEBUG
-DCONFIG_ATH9K_PKTLOG
)
\
$(
if
$(
CONFIG_PACKAGE_ATH_DEBUG
)
,-DCONFIG_ATH_DEBUG
-DCONFIG_ATH9K_PKTLOG
)
\
-D__CONFIG_MAC80211_RC_DEFAULT
=
minstrel
\
-D__CONFIG_MAC80211_RC_DEFAULT
=
minstrel
\
-DCONFIG_MAC80211_RC_MINSTREL_HT
\
-DCONFIG_MAC80211_RC_MINSTREL_HT
\
...
@@ -1102,6 +1108,7 @@ MAKE_OPTS:= \
...
@@ -1102,6 +1108,7 @@ MAKE_OPTS:= \
CONFIG_CFG80211
=
$(
if
$(
CONFIG_PACKAGE_kmod-cfg80211
)
,m
)
\
CONFIG_CFG80211
=
$(
if
$(
CONFIG_PACKAGE_kmod-cfg80211
)
,m
)
\
CONFIG_MAC80211
=
$(
if
$(
CONFIG_PACKAGE_kmod-mac80211
)
,m
)
\
CONFIG_MAC80211
=
$(
if
$(
CONFIG_PACKAGE_kmod-mac80211
)
,m
)
\
CONFIG_MAC80211_RC_MINSTREL
=
y
\
CONFIG_MAC80211_RC_MINSTREL
=
y
\
CONFIG_MAC80211_MESH
=
$(
CONFIG_PACKAGE_MAC80211_MESH
)
\
CONFIG_MAC80211_LEDS
=
$(
CONFIG_LEDS_TRIGGERS
)
\
CONFIG_MAC80211_LEDS
=
$(
CONFIG_LEDS_TRIGGERS
)
\
CONFIG_CFG80211_DEBUGFS
=
$(
if
$(
CONFIG_PACKAGE_MAC80211_DEBUGFS
)
,y
)
\
CONFIG_CFG80211_DEBUGFS
=
$(
if
$(
CONFIG_PACKAGE_MAC80211_DEBUGFS
)
,y
)
\
CONFIG_MAC80211_DEBUGFS
=
$(
if
$(
CONFIG_PACKAGE_MAC80211_DEBUGFS
)
,y
)
\
CONFIG_MAC80211_DEBUGFS
=
$(
if
$(
CONFIG_PACKAGE_MAC80211_DEBUGFS
)
,y
)
\
...
...
This diff is collapsed.
Click to expand it.
package/mac80211/patches/008-disable_mesh.patch
0 → 100644
+
11
−
0
View file @
d886c0aa
--- a/config.mk
+++ b/config.mk
@@ -188,7 +188,7 @@
CONFIG_MAC80211_LEDS=y
endif #CONFIG_LEDS_TRIGGERS
# enable mesh networking too
-CONFIG_MAC80211_MESH=y
+# CONFIG_MAC80211_MESH=y
CONFIG_CFG80211=m
CONFIG_CFG80211_DEFAULT_PS=y
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment