land: Import wifi configs
fetch firmware from prima in kernel Signed-off-by: Darshan Manjrekar <darshanmanjrekar1205@gmail.com>
This commit is contained in:
parent
fd645559d1
commit
4265241d41
7 changed files with 1088 additions and 0 deletions
|
@ -15,3 +15,15 @@ PRODUCT_PACKAGES += \
|
|||
# Properties
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
wifi.interface=wlan0
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/wifi/hostapd.accept:system/etc/hostapd/hostapd.accept \
|
||||
$(LOCAL_PATH)/wifi/hostapd_default.conf:system/etc/hostapd/hostapd_default.conf \
|
||||
$(LOCAL_PATH)/wifi/hostapd.deny:system/etc/hostapd/hostapd.deny \
|
||||
$(LOCAL_PATH)/wifi/p2p_supplicant_overlay.conf:system/etc/wifi/p2p_supplicant_overlay.conf \
|
||||
$(LOCAL_PATH)/wifi/wpa_supplicant_overlay.conf:system/etc/wifi/wpa_supplicant_overlay.conf
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/wifi/fstman.ini:system/etc/wifi/fstman.ini \
|
||||
$(TOPDIR)kernel/xiaomi/msm8937/drivers/staging/prima/firmware_bin/WCNSS_cfg.dat:system/etc/firmware/wlan/prima/WCNSS_cfg.dat \
|
||||
$(TOPDIR)kernel/xiaomi/msm8937/drivers/staging/prima/firmware_bin/WCNSS_qcom_cfg.ini:system/etc/wifi/WCNSS_qcom_cfg.ini
|
||||
|
|
24
wifi/fstman.ini
Normal file
24
wifi/fstman.ini
Normal file
|
@ -0,0 +1,24 @@
|
|||
[fst_manager]
|
||||
ctrl_iface=/data/misc/wifi/hostapd/global
|
||||
groups=bond0
|
||||
|
||||
[bond0]
|
||||
interfaces=wlan0,wlan1
|
||||
mux_type=bonding
|
||||
mux_ifname=bond0
|
||||
mux_managed=1
|
||||
mac_address_by=wlan0
|
||||
rate_upgrade_master=wlan0
|
||||
txqueuelen=100
|
||||
rate_upgrade_acl_file=/data/misc/wifi/fst_rate_upgrade.accept
|
||||
|
||||
[wlan0]
|
||||
priority=100
|
||||
default_llt=3600
|
||||
|
||||
[wlan1]
|
||||
priority=110
|
||||
wpa_group=GCMP
|
||||
wpa_pairwise=GCMP
|
||||
hw_mode=ad
|
||||
channel=2
|
3
wifi/hostapd.accept
Normal file
3
wifi/hostapd.accept
Normal file
|
@ -0,0 +1,3 @@
|
|||
# List of MAC addresses that are allowed to authenticate (IEEE 802.11)
|
||||
# with the AP. Optional VLAN ID can be assigned for clients based on the
|
||||
# MAC address if dynamic VLANs (hostapd.conf dynamic_vlan option) are used.
|
2
wifi/hostapd.deny
Normal file
2
wifi/hostapd.deny
Normal file
|
@ -0,0 +1,2 @@
|
|||
# List of MAC addresses that are not allowed to authenticate (IEEE 802.11)
|
||||
# with the AP.
|
1043
wifi/hostapd_default.conf
Normal file
1043
wifi/hostapd_default.conf
Normal file
File diff suppressed because it is too large
Load diff
2
wifi/p2p_supplicant_overlay.conf
Normal file
2
wifi/p2p_supplicant_overlay.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
disable_scan_offload=1
|
||||
p2p_no_group_iface=1
|
2
wifi/wpa_supplicant_overlay.conf
Normal file
2
wifi/wpa_supplicant_overlay.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
disable_scan_offload=1
|
||||
p2p_disabled=1
|
Loading…
Reference in a new issue