From 994f5af4f0a1e203b6d70622767bfd362ace772a Mon Sep 17 00:00:00 2001 From: Hamish Guthrie Date: Wed, 18 May 2011 11:50:36 +0000 Subject: [omap35xx] Move beagleboard base-files to beagleboard sub-target, remove unused mac80211.sh git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26932 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../gumstix/base-files/lib/wifi/mac80211.sh | 440 --------------------- 1 file changed, 440 deletions(-) delete mode 100644 target/linux/omap35xx/gumstix/base-files/lib/wifi/mac80211.sh (limited to 'target/linux/omap35xx/gumstix') diff --git a/target/linux/omap35xx/gumstix/base-files/lib/wifi/mac80211.sh b/target/linux/omap35xx/gumstix/base-files/lib/wifi/mac80211.sh deleted file mode 100644 index 7e53b62a37..0000000000 --- a/target/linux/omap35xx/gumstix/base-files/lib/wifi/mac80211.sh +++ /dev/null @@ -1,440 +0,0 @@ -#!/bin/sh -append DRIVERS "mac80211" - -mac80211_hostapd_setup_base() { - local phy="$1" - local ifname="$2" - - cfgfile="/var/run/hostapd-$phy.conf" - config_get device "$vif" device - config_get country "$device" country - config_get hwmode "$device" hwmode - config_get channel "$device" channel - config_get_bool noscan "$device" noscan - [ -n "$channel" -a -z "$hwmode" ] && wifi_fixup_hwmode "$device" - [ "$channel" = auto ] && channel= - [ -n "$hwmode" ] && { - config_get hwmode_11n "$device" hwmode_11n - [ -n "$hwmode_11n" ] && { - hwmode="$hwmode_11n" - append base_cfg "ieee80211n=1" "$N" - config_get htmode "$device" htmode - config_get ht_capab_list "$device" ht_capab - case "$htmode" in - HT20|HT40+|HT40-) ht_capab="[$htmode]";; - *)ht_capab=;; - esac - for cap in $ht_capab_list; do - ht_capab="$ht_capab[$cap]" - done - [ -n "$ht_capab" ] && append base_cfg "ht_capab=$ht_capab" "$N" - } - } - cat > "$cfgfile" <