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
0da13fa8
Commit
0da13fa8
authored
16 years ago
by
Andy Boyett
Browse files
Options
Downloads
Patches
Plain Diff
mac80211: move txpower to wifi-device section, but remain backwards compatible
SVN-Revision: 14309
parent
6360bd27
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
package/mac80211/Makefile
+1
-1
1 addition, 1 deletion
package/mac80211/Makefile
package/mac80211/files/lib/wifi/mac80211.sh
+6
-4
6 additions, 4 deletions
package/mac80211/files/lib/wifi/mac80211.sh
with
7 additions
and
5 deletions
package/mac80211/Makefile
+
1
−
1
View file @
0da13fa8
...
...
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
include
$(INCLUDE_DIR)/kernel.mk
PKG_NAME
:=
mac80211
PKG_RELEASE
:=
1
PKG_RELEASE
:=
2
ifneq
($(CONFIG_LINUX_2_6_27)$(CONFIG_LINUX_2_6_28),)
PKG_VERSION
:=
2009-01-29
...
...
This diff is collapsed.
Click to expand it.
package/mac80211/files/lib/wifi/mac80211.sh
+
6
−
4
View file @
0da13fa8
...
...
@@ -50,6 +50,7 @@ enable_mac80211() {
local
device
=
"
$1
"
config_get channel
"
$device
"
channel
config_get vifs
"
$device
"
vifs
config_get txpower
"
$device
"
txpower
local
first
=
1
for
vif
in
$vifs
;
do
...
...
@@ -112,10 +113,11 @@ enable_mac80211() {
esac
config_get ssid
"
$vif
"
ssid
config_get txpwr
"
$vif
"
txpower
if
[
-n
"
$txpwr
"
]
;
then
iwconfig
"
$ifname
"
txpower
"
${
txpwr
%%.*
}
"
fi
config_get vif_txpower
"
$vif
"
txpower
# use vif_txpower (from wifi-iface) to override txpower (from
# wifi-device) if the latter doesn't exist
txpower
=
"
${
txpower
:-
$vif_txpower
}
"
[
-z
"
$txpower
"
]
||
iwconfig
"
$ifname
"
txpower
"
${
txpower
%%.*
}
"
config_get frag
"
$vif
"
frag
if
[
-n
"
$frag
"
]
;
then
...
...
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