Changeset 24966


Ignore:
Timestamp:
2011-01-11T14:19:53+01:00 (7 years ago)
Author:
jow
Message:

[package] mac80211: support per-vif wmm option, defaults to 1 if unset

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/mac80211/files/lib/wifi/mac80211.sh

    r24726 r24966  
    104104        [ "$wds" -gt 0 ] && append hostapd_cfg "wds_sta=1" "$N" 
    105105 
     106        local macaddr hidden maxassoc wmm 
    106107        config_get macaddr "$vif" macaddr 
     108        config_get maxassoc "$vif" maxassoc 
    107109        config_get_bool hidden "$vif" hidden 0 
    108         config_get maxassoc "$vif" maxassoc 
     110        config_get_bool wmm "$vif" wmm 1 
    109111        cat >> /var/run/hostapd-$phy.conf <<EOF 
    110112$hostapd_cfg 
    111 wmm_enabled=1 
     113wmm_enabled=$wmm 
    112114bssid=$macaddr 
    113115ignore_broadcast_ssid=$hidden 
Note: See TracChangeset for help on using the changeset viewer.