Changeset 35565 for trunk


Ignore:
Timestamp:
2013-02-11T19:59:10+01:00 (4 years ago)
Author:
nbd
Message:

mac80211/hostapd: short_preamble is a per-vif option and should be enabled by default

Location:
trunk/package
Files:
2 edited

Legend:

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

    r35049 r35565  
    1515        config_get basic_rate_list "$device" basic_rate 
    1616        config_get_bool noscan "$device" noscan 
    17         config_get_bool short_preamble "$device" short_preamble "0" 
    1817 
    1918        hostapd_set_log_options base_cfg "$device" 
     
    5958        } 
    6059 
    61         append base_cfg "preamble=$short_preamble" "$N" 
    62          
    6360        cat >> "$cfgfile" <<EOF 
    6461ctrl_interface=/var/run/hostapd-$phy 
  • trunk/package/network/services/hostapd/files/hostapd.sh

    r34470 r35565  
    1313        config_get max_num_sta "$vif" max_num_sta 0 
    1414        config_get max_inactivity "$vif" max_inactivity 0 
     15        config_get_bool preamble "$vif" short_preamble 1 
    1516 
    1617        config_get device "$vif" device 
     
    3031        fi 
    3132        append "$var" "disassoc_low_ack=$disassoc_low_ack" "$N" 
     33        if [ "$preamble" -gt 0 ]; then 
     34                append "$var" "preamble=$preamble" "$N" 
     35        fi 
    3236 
    3337        # Examples: 
Note: See TracChangeset for help on using the changeset viewer.