Changeset 24441


Ignore:
Timestamp:
2010-12-10T19:43:47+01:00 (7 years ago)
Author:
jow
Message:

[package] mac80211: use iw for txpower control (#8416)

File:
1 edited

Legend:

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

    r23673 r24441  
    318318                fi 
    319319 
    320                 # txpower is not yet implemented in iw 
    321320                config_get vif_txpower "$vif" txpower 
    322321                # use vif_txpower (from wifi-iface) to override txpower (from 
    323322                # wifi-device) if the latter doesn't exist 
    324323                txpower="${txpower:-$vif_txpower}" 
    325                 [ -z "$txpower" ] || iwconfig "$ifname" txpower "${txpower%%.*}" 
     324                [ -z "$txpower" ] || iw dev "$ifname" set txpower fixed "${txpower%%.*}00" 
    326325        done 
    327326 
Note: See TracChangeset for help on using the changeset viewer.