AP: Add user configuration for TWT responder role
Add user configuration he_twt_responder for enabling/disabling TWT responder role, in addition to checking the driver's capability. The default configuration is to enable TWT responder role when the driver supports this. Signed-off-by: Mohammad Asaad Akram <asadkrm@codeaurora.org>
This commit is contained in:
parent
9efed66845
commit
20a522b9eb
5 changed files with 11 additions and 1 deletions
|
@ -3511,6 +3511,8 @@ static int hostapd_config_fill(struct hostapd_config *conf,
|
|||
conf->he_op.he_default_pe_duration = atoi(pos);
|
||||
} else if (os_strcmp(buf, "he_twt_required") == 0) {
|
||||
conf->he_op.he_twt_required = atoi(pos);
|
||||
} else if (os_strcmp(buf, "he_twt_responder") == 0) {
|
||||
conf->he_op.he_twt_responder = atoi(pos);
|
||||
} else if (os_strcmp(buf, "he_rts_threshold") == 0) {
|
||||
conf->he_op.he_rts_threshold = atoi(pos);
|
||||
} else if (os_strcmp(buf, "he_basic_mcs_nss_set") == 0) {
|
||||
|
|
|
@ -831,6 +831,11 @@ wmm_ac_vo_acm=0
|
|||
# 1 = required
|
||||
#he_twt_required=0
|
||||
|
||||
#he_twt_responder: Whether TWT (HE) responder is enabled
|
||||
# 0 = disabled
|
||||
# 1 = enabled if supported by the driver (default)
|
||||
#he_twt_responder=1
|
||||
|
||||
#he_rts_threshold: Duration of STA transmission
|
||||
# 0 = not set (default)
|
||||
# unsigned integer = duration in units of 16 us
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue