mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_rosemary
synced 2026-01-27 18:07:31 +00:00
rosemary: Import WiFi configs from stock
Signed-off-by: bengris32 <bengris32@protonmail.ch>
This commit is contained in:
committed by
Matsvei Niaverau
parent
b0b7d6c53e
commit
5ee1e425f4
5
configs/wifi/p2p_supplicant_overlay.conf
Normal file
5
configs/wifi/p2p_supplicant_overlay.conf
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
p2p_no_group_iface=1
|
||||||
|
driver_param=use_p2p_group_interface=1
|
||||||
|
bss_expiration_scan_count=1
|
||||||
|
wowlan_triggers=disconnect
|
||||||
|
p2p_search_delay=50
|
||||||
14
configs/wifi/wpa_supplicant.conf
Normal file
14
configs/wifi/wpa_supplicant.conf
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
ctrl_interface=wlan0
|
||||||
|
update_config=1
|
||||||
|
manufacturer=MediaTek Inc.
|
||||||
|
device_name=Wireless Client
|
||||||
|
model_name=MTK Wireless Model
|
||||||
|
model_number=1.0
|
||||||
|
serial_number=2.0
|
||||||
|
device_type=10-0050F204-5
|
||||||
|
os_version=01020300
|
||||||
|
config_methods=display push_button keypad
|
||||||
|
p2p_no_group_iface=1
|
||||||
|
driver_param=use_p2p_group_interface=1
|
||||||
|
hs20=1
|
||||||
|
pmf=1
|
||||||
5
configs/wifi/wpa_supplicant_overlay.conf
Normal file
5
configs/wifi/wpa_supplicant_overlay.conf
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
p2p_no_group_iface=1
|
||||||
|
driver_param=use_p2p_group_interface=1
|
||||||
|
wowlan_triggers=disconnect
|
||||||
|
p2p_disabled=1
|
||||||
|
bss_no_flush_when_down=1
|
||||||
@@ -317,5 +317,10 @@ PRODUCT_PACKAGES += \
|
|||||||
libkeystore-wifi-hidl \
|
libkeystore-wifi-hidl \
|
||||||
libkeystore-engine-wifi-hidl
|
libkeystore-engine-wifi-hidl
|
||||||
|
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
$(LOCAL_PATH)/configs/wifi/p2p_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant_overlay.conf \
|
||||||
|
$(LOCAL_PATH)/configs/wifi/wpa_supplicant.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant.conf \
|
||||||
|
$(LOCAL_PATH)/configs/wifi/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf
|
||||||
|
|
||||||
# Inherit the proprietary files
|
# Inherit the proprietary files
|
||||||
$(call inherit-product, vendor/xiaomi/rosemary/rosemary-vendor.mk)
|
$(call inherit-product, vendor/xiaomi/rosemary/rosemary-vendor.mk)
|
||||||
|
|||||||
Reference in New Issue
Block a user