Changeset 33587


Ignore:
Timestamp:
2012-09-28T20:29:22+02:00 (5 years ago)
Author:
nbd
Message:

mac80211: add uci support for configuring antenna gain

Location:
trunk/package/mac80211
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/mac80211/Makefile

    r33530 r33587  
    1212 
    1313PKG_VERSION:=2012-09-07 
    14 PKG_RELEASE:=2 
     14PKG_RELEASE:=3 
    1515PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources 
    1616PKG_MD5SUM:=59e0a114ee4b755a6e47cb6cd0f32ebc 
  • trunk/package/mac80211/files/lib/wifi/mac80211.sh

    r32830 r33587  
    296296        config_get txantenna "$device" txantenna all 
    297297        config_get rxantenna "$device" rxantenna all 
     298        config_get antenna_gain "$device" antenna_gain 0 
    298299        config_get frag "$device" frag 
    299300        config_get rts "$device" rts 
     
    322323 
    323324        iw phy "$phy" set antenna $txantenna $rxantenna >/dev/null 2>&1 
     325        iw phy "$phy" set antenna_gain $antenna_gain 
    324326 
    325327        [ -n "$distance" ] && iw phy "$phy" set distance "$distance" 
Note: See TracChangeset for help on using the changeset viewer.