Changeset 30539


Ignore:
Timestamp:
2012-02-14T20:07:15+01:00 (4 years ago)
Author:
blogic
Message:

mac80211: Allow preamble configuration

Add a new wireless config parameter short_preamble=0|1 to enable
usage of short preambles. Default is to only allow long preambles
as before.

Even if short_preamble is set to 1 hostapd will take care that
short preambles are disabled as soon as a STA associates that
cannot handle short preambles.

Signed-off-by: Helmut Schaa <helmut.schaa@…>

File:
1 edited

Legend:

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

    r29606 r30539  
    1717        config_get basic_rate_list "$device" basic_rate 
    1818        config_get_bool noscan "$device" noscan 
     19        config_get_bool short_preamble "$device" short_preamble "0" 
    1920 
    2021        hostapd_set_log_options base_cfg "$device" 
     
    7778                done 
    7879        } 
     80 
     81        append base_cfg "preamble=$short_preamble" "$N" 
    7982         
    8083        cat >> "$cfgfile" <<EOF 
Note: See TracChangeset for help on using the changeset viewer.