M7350v2_en_gpl
This commit is contained in:
30
external/hostap/hostapd/Makefile
vendored
Normal file → Executable file
30
external/hostap/hostapd/Makefile
vendored
Normal file → Executable file
@ -862,14 +862,42 @@ verify_config:
|
||||
fi
|
||||
|
||||
install: all
|
||||
ifndef CONFIG_TP_WLAN_MODULE_BCM
|
||||
mkdir -p $(DESTDIR)/usr/bin
|
||||
for i in $(ALL); do cp -f $$i $(DESTDIR)/usr/bin/$$i; done
|
||||
endif
|
||||
|
||||
mkdir -p $(DESTDIR)/etc
|
||||
ifdef CONFIG_DRIVER_AR6000
|
||||
install -m 0644 config/ar6k-ap-all.conf $(DESTDIR)/etc/AR6003_hostapd.conf
|
||||
install -m 0644 config/ar6k-ap1-all.conf $(DESTDIR)/etc/AR6003_AP1_hostapd.conf
|
||||
endif
|
||||
|
||||
ifdef CONFIG_TP_WLAN_MODULE_BCM
|
||||
|
||||
ifdef CONFIG_WIRELESS_ACL_TYPE_BLACK
|
||||
#[liyuan start] M7350 series enable acl deny list in default
|
||||
install -m 0644 -d $(DESTDIR)/etc/config
|
||||
install -m 0644 config/tp-bcm-ap-all-7350-series.conf $(DESTDIR)/etc/AR6004_hostapd.conf
|
||||
install -m 0644 config/tp-bcm-ap-all-7350-series.deny $(DESTDIR)/etc/config/hostapd.deny
|
||||
ln -s /etc/AR6004_hostapd.conf $(DESTDIR)/etc/hostapd.conf
|
||||
|
||||
install -m 0644 -d $(DESTDIR)/etc/default_config
|
||||
install -m 0644 config/tp-bcm-ap-all-7350-series.conf $(DESTDIR)/etc/default_config/AR6004_hostapd.conf
|
||||
install -m 0644 config/tp-bcm-ap-all-7350-series.deny $(DESTDIR)/etc/default_config/hostapd.deny
|
||||
#[liyuan end]
|
||||
else
|
||||
#[lixiangkui start] install wifi default config
|
||||
install -m 0644 config/tp-bcm-ap-all.conf $(DESTDIR)/etc/AR6004_hostapd.conf
|
||||
ln -s /etc/AR6004_hostapd.conf $(DESTDIR)/etc/hostapd.conf
|
||||
|
||||
install -m 0644 -d $(DESTDIR)/etc/default_config
|
||||
install -m 0644 config/tp-bcm-ap-all.conf $(DESTDIR)/etc/default_config/AR6004_hostapd.conf
|
||||
#[lixiangkui end]
|
||||
endif
|
||||
|
||||
else
|
||||
|
||||
ifdef CONFIG_DRIVER_NL80211
|
||||
ifdef CONFIG_WIRELESS_ACL_TYPE_BLACK
|
||||
#[liyuan start] M7350 series enable acl deny list in default
|
||||
@ -896,6 +924,8 @@ else
|
||||
endif
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
../src/drivers/build.hostapd:
|
||||
@if [ -f ../src/drivers/build.wpa_supplicant ]; then \
|
||||
$(MAKE) -C ../src/wps clean; \
|
||||
|
@ -10,4 +10,4 @@ ignore_broadcast_ssid=0
|
||||
ieee80211n=1
|
||||
ht_capab=[HT40-][SHORT-GI-20][SHORT-GI-40]
|
||||
require_ht=0
|
||||
max_num_sta=15
|
||||
max_num_sta=15
|
||||
|
15
external/hostap/hostapd/config/tp-bcm-ap-all-7350-series.conf
vendored
Normal file
15
external/hostap/hostapd/config/tp-bcm-ap-all-7350-series.conf
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
interface=wlan0
|
||||
bridge=br0
|
||||
driver=nl80211
|
||||
ctrl_interface=/var/run/hostapd
|
||||
wmode=2
|
||||
channel=0
|
||||
auto_chan_select=2
|
||||
auth_algs=1
|
||||
ignore_broadcast_ssid=0
|
||||
ieee80211n=1
|
||||
ht_capab=[HT40-][SHORT-GI-20][SHORT-GI-40]
|
||||
require_ht=0
|
||||
max_num_sta=15
|
||||
macaddr_acl=3
|
||||
deny_mac_file=/etc/config/hostapd.deny
|
0
external/hostap/hostapd/config/tp-bcm-ap-all-7350-series.deny
vendored
Normal file
0
external/hostap/hostapd/config/tp-bcm-ap-all-7350-series.deny
vendored
Normal file
13
external/hostap/hostapd/config/tp-bcm-ap-all.conf
vendored
Normal file
13
external/hostap/hostapd/config/tp-bcm-ap-all.conf
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
interface=wlan0
|
||||
bridge=br0
|
||||
driver=nl80211
|
||||
ctrl_interface=/var/run/hostapd
|
||||
wmode=2
|
||||
channel=0
|
||||
auto_chan_select=2
|
||||
auth_algs=1
|
||||
ignore_broadcast_ssid=0
|
||||
ieee80211n=1
|
||||
ht_capab=[HT40-][SHORT-GI-20][SHORT-GI-40]
|
||||
require_ht=0
|
||||
max_num_sta=15
|
Reference in New Issue
Block a user