Skip to content

Contents

wlanconfig athX addsta <mac addr> <airtime configured> <ssid to which it is applicable if associated>
First, configure the airtime for a VAP before configuring a airtime for a station (STA). The correct command sequence to assign airtime to a VAP and STA is as follows:
1. Assign airtime to VAP
wlanconfig ath0 addssid vap1 100
// Assigns 100% airtime to VAP1
2. Assign airtime to STA
wlanconfig ath0 addsta 000102030405 10 vap1 specified MAC when associated to VAP1
//Assign 10% airtime to

The ‘sta_ssid’ option is required for STA-based ATF configuration. An example section for STAbased ATF configuration is as follows:

uci add wsplcd atf-re-config uci set wsplcd.@atf-re-config[0].REname=RE0
uci set wsplcd.@atf-re-config[0].sssid_cmd=addssid
uci set wsplcd.@atf-re-config[0].sssid_wifidev=ath1
uci set wsplcd.@atf-re-config[0].sssid_val=60
uci add wsplcd atf-re-config uci set wsplcd.@atf-re-config[1].REname=RE0
uci set wsplcd.@atf-re-config[1].sta=40:4d:7f:b6:e9:89
uci set wsplcd.@atf-re-config[1].sta_cmd=addsta
uci set wsplcd.@atf-re-config[1].sta_wifidev=ath1
uci set wsplcd.@atf-re-config[1].sta_val=60
uci set wsplcd.@atf-re-config[1].sta_ssid=ssid