diff options
| author | Mister Oyster <oysterized@gmail.com> | 2017-12-07 21:01:52 +0100 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-12-07 21:01:52 +0100 |
| commit | c7bf9e070edadceb32076e8566a4f1e34977941c (patch) | |
| tree | e9bc009020290e06dac37f59816ee061e88ee245 | |
| parent | c67c7795610f565152676e6069616dde32bd463a (diff) | |
configs: add wpa_supplicant configs here
| -rw-r--r-- | board/conn.mk | 5 | ||||
| -rw-r--r-- | configs/wifi/p2p_supplicant_overlay.conf | 4 | ||||
| -rw-r--r-- | configs/wifi/wpa_supplicant.conf | 12 | ||||
| -rw-r--r-- | configs/wifi/wpa_supplicant_overlay.conf | 3 |
4 files changed, 24 insertions, 0 deletions
diff --git a/board/conn.mk b/board/conn.mk index 2fe3c74..b2a75ea 100644 --- a/board/conn.mk +++ b/board/conn.mk @@ -19,6 +19,11 @@ PRODUCT_COPY_FILES += \ $(DEVICE_PATH)/configs/bluetooth/bt_stack.conf.sqc:system/etc/bluetooth/bt_stack.conf.sqc # Wifi +PRODUCT_COPY_FILES += \ + $(DEVICE_PATH)/configs/wifi/p2p_supplicant_overlay.conf:system/etc/wifi/p2p_supplicant_overlay.conf \ + $(DEVICE_PATH)/configs/wifi/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf \ + $(DEVICE_PATH)/configs/wifi/wpa_supplicant_overlay.conf:system/etc/wifi/wpa_supplicant_overlay.conf + WPA_SUPPLICANT_VERSION := VER_0_8_X BOARD_HOSTAPD_DRIVER := NL80211 BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_mt66xx diff --git a/configs/wifi/p2p_supplicant_overlay.conf b/configs/wifi/p2p_supplicant_overlay.conf new file mode 100644 index 0000000..d95766d --- /dev/null +++ b/configs/wifi/p2p_supplicant_overlay.conf @@ -0,0 +1,4 @@ +p2p_no_group_iface=1 +driver_param=use_p2p_group_interface=1 +bss_expiration_scan_count=1 +wowlan_triggers=disconnect diff --git a/configs/wifi/wpa_supplicant.conf b/configs/wifi/wpa_supplicant.conf new file mode 100644 index 0000000..ef8a8af --- /dev/null +++ b/configs/wifi/wpa_supplicant.conf @@ -0,0 +1,12 @@ +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 diff --git a/configs/wifi/wpa_supplicant_overlay.conf b/configs/wifi/wpa_supplicant_overlay.conf new file mode 100644 index 0000000..f6b7121 --- /dev/null +++ b/configs/wifi/wpa_supplicant_overlay.conf @@ -0,0 +1,3 @@ +p2p_no_group_iface=1 +driver_param=use_p2p_group_interface=1 +wowlan_triggers=disconnect |
