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
39e6e9e3
Commit
39e6e9e3
authored
12 years ago
by
Felix Fietkau
Browse files
Options
Downloads
Patches
Plain Diff
hostapd: add an option for configuring the maximum number of connected clients
SVN-Revision: 33400
parent
9b020e77
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
package/hostapd/files/hostapd.sh
+4
-0
4 additions, 0 deletions
package/hostapd/files/hostapd.sh
with
4 additions
and
0 deletions
package/hostapd/files/hostapd.sh
+
4
−
0
View file @
39e6e9e3
...
...
@@ -10,6 +10,7 @@ hostapd_set_bss_options() {
config_get wpa_master_rekey
"
$vif
"
wpa_master_rekey
# 640
config_get_bool ap_isolate
"
$vif
"
isolate 0
config_get_bool disassoc_low_ack
"
$vif
"
disassoc_low_ack 1
config_get max_num_sta
"
$vif
"
max_num_sta 0
config_get device
"
$vif
"
device
config_get hwmode
"
$device
"
hwmode
...
...
@@ -20,6 +21,9 @@ hostapd_set_bss_options() {
if
[
"
$ap_isolate
"
-gt
0
]
;
then
append
"
$var
"
"ap_isolate=
$ap_isolate
"
"
$N
"
fi
if
[
"
$max_num_sta
"
-gt
0
]
;
then
append
"
$var
"
"max_num_sta=
$max_num_sta
"
"
$N
"
fi
append
"
$var
"
"disassoc_low_ack=
$disassoc_low_ack
"
"
$N
"
# Examples:
...
...
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