Changeset 18356


Ignore:
Timestamp:
2009-11-10T20:27:19+01:00 (6 years ago)
Author:
nbd
Message:

mac80211: implement wds sta support (wds ap support work in progress, needs hostapd changes)

Location:
trunk/package
Files:
6 added
1 edited

Legend:

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

    r18355 r18356  
    105105                config_get mode "$vif" mode 
    106106                config_get ssid "$vif" ssid 
     107                config_get_bool wds "$vif" wds 0 
    107108 
    108109                # It is far easier to delete and create the desired interface 
     
    124125                        ;; 
    125126                        sta) 
    126                                 iw phy "$phy" interface add "$ifname" type managed 
     127                                local wdsflag 
     128                                [ "$wds" -gt 0 ] && wdsflag="wds on" 
     129                                iw phy "$phy" interface add "$ifname" type managed $wdsflag 
    127130                        ;; 
    128131                esac 
Note: See TracChangeset for help on using the changeset viewer.