mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-01 07:50:47 +00:00
wahoo: Move PixelWifiOverlay2017 here am: 6ceeef381d
Change-Id: Ia29903e6a00cf16b7ed23b71bf93c77763dae810
This commit is contained in:
@@ -493,7 +493,8 @@ endif
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.wifi@1.0-service \
|
||||
wificond \
|
||||
libwpa_client
|
||||
libwpa_client \
|
||||
WifiOverlay
|
||||
|
||||
LIB_NL := libnl_2
|
||||
PRODUCT_PACKAGES += $(LIB_NL)
|
||||
|
||||
7
rro_overlays/WifiOverlay/Android.bp
Normal file
7
rro_overlays/WifiOverlay/Android.bp
Normal file
@@ -0,0 +1,7 @@
|
||||
runtime_resource_overlay {
|
||||
name: "WifiOverlay",
|
||||
theme: "WifiOverlay",
|
||||
certificate: "platform",
|
||||
sdk_version: "current",
|
||||
product_specific: true
|
||||
}
|
||||
27
rro_overlays/WifiOverlay/AndroidManifest.xml
Normal file
27
rro_overlays/WifiOverlay/AndroidManifest.xml
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2019 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<!-- Pixel specific wifi overlays -->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.wifi.resources.pixel"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0">
|
||||
<application android:hasCode="false" />
|
||||
<overlay
|
||||
android:targetPackage="com.android.wifi.resources"
|
||||
android:targetName="WifiCustomization"
|
||||
android:isStatic="true"
|
||||
android:priority="0"/>
|
||||
</manifest>
|
||||
5
rro_overlays/WifiOverlay/OWNERS
Normal file
5
rro_overlays/WifiOverlay/OWNERS
Normal file
@@ -0,0 +1,5 @@
|
||||
# People who can approve changes for submission
|
||||
etancohen@google.com
|
||||
kumaranand@google.com
|
||||
kumachang@google.com
|
||||
satk@google.com
|
||||
88
rro_overlays/WifiOverlay/res/values/config.xml
Normal file
88
rro_overlays/WifiOverlay/res/values/config.xml
Normal file
@@ -0,0 +1,88 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
* Copyright (C) 2019 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
-->
|
||||
<resources>
|
||||
<!-- Boolean indicating whether the wifi chipset has 5GHz frequency band support -->
|
||||
<bool translatable="false" name="config_wifi5ghzSupport">true</bool>
|
||||
|
||||
<!-- Boolean indicating whether 802.11r Fast BSS Transition is enabled on this platform -->
|
||||
<bool translatable="false" name="config_wifi_fast_bss_transition_enabled">true</bool>
|
||||
|
||||
<!-- Boolean indicating whether the wifi chipset has background scan support -->
|
||||
<bool translatable="false" name="config_wifi_background_scan_support">true</bool>
|
||||
|
||||
<!-- Integer thresholds, do not connect to APs with RSSI lower than these values -->
|
||||
<integer translatable="false" name="config_wifi_framework_wifi_score_entry_rssi_threshold_5GHz">-77</integer>
|
||||
<integer translatable="false" name="config_wifi_framework_wifi_score_entry_rssi_threshold_24GHz">-80</integer>
|
||||
<!-- Integer thresholds for low network score, should be somewhat less than the entry thresholds -->
|
||||
<integer translatable="false" name="config_wifi_framework_wifi_score_bad_rssi_threshold_5GHz">-80</integer>
|
||||
<integer translatable="false" name="config_wifi_framework_wifi_score_bad_rssi_threshold_24GHz">-83</integer>
|
||||
|
||||
<!-- Boolean indicating whether or not to revert to default country code when cellular
|
||||
radio is unable to find any MCC information to infer wifi country code from -->
|
||||
<bool translatable="false" name="config_wifi_revert_country_code_on_cellular_loss">false</bool>
|
||||
|
||||
<!-- Boolean indicating whether or not wifi should turn off when emergency call is made -->
|
||||
<bool translatable="false" name="config_wifi_turn_off_during_emergency_call">true</bool>
|
||||
|
||||
<!-- Configure wifi tcp buffersizes in the form:
|
||||
rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max -->
|
||||
<string name="config_wifi_tcp_buffers" translatable="false">524288,2097152,8388608,262144,524288,4194304</string>
|
||||
|
||||
<!-- Enable ACS (auto channel selection) for Wifi hotspot (SAP) -->
|
||||
<bool translatable="false" name="config_wifi_softap_acs_supported">true</bool>
|
||||
|
||||
<!-- Enable 802.11ac for Wifi hotspot (SAP) -->
|
||||
<bool translatable="false" name="config_wifi_softap_ieee80211ac_supported">true</bool>
|
||||
|
||||
<!-- True if the firmware supports connected MAC randomization -->
|
||||
<bool name="config_wifi_connected_mac_randomization_supported">true</bool>
|
||||
|
||||
<!-- True if the firmware supports p2p MAC randomization -->
|
||||
<bool name="config_wifi_p2p_mac_randomization_supported">true</bool>
|
||||
|
||||
<!-- True if the firmware supports ap MAC randomization -->
|
||||
<bool name="config_wifi_ap_mac_randomization_supported">true</bool>
|
||||
|
||||
<!-- True if the firmware supports Wi-Fi link probing -->
|
||||
<bool name="config_wifi_link_probing_supported">true</bool>
|
||||
|
||||
<!-- Idle Receive current for wifi radio. 0 by default-->
|
||||
<integer translatable="false" name="config_wifi_idle_receive_cur_ma">1</integer>
|
||||
|
||||
<!-- Rx current for wifi radio. 0 by default-->
|
||||
<integer translatable="false" name="config_wifi_active_rx_cur_ma">100</integer>
|
||||
|
||||
<!-- Tx current for wifi radio. 0 by default-->
|
||||
<integer translatable="false" name="config_wifi_tx_cur_ma">250</integer>
|
||||
|
||||
<!-- Operating volatage for wifi radio. 0 by default-->
|
||||
<integer translatable="false" name="config_wifi_operating_voltage_mv">3800</integer>
|
||||
|
||||
<!-- Indicates that a full bugreport should be triggered when wifi diagnostics detects an error on non-user (i.e debug) builds -->
|
||||
<bool translatable="false" name="config_wifi_diagnostics_bugreport_enabled">true</bool>
|
||||
|
||||
<!-- Default access point SSID used for tethering -->
|
||||
<string name="wifi_tether_configure_ssid_default" translatable="false">Pixel</string>
|
||||
|
||||
<!-- Integer indicating maximum hardware supported client number of soft ap -->
|
||||
<integer translatable="false" name="config_wifiHardwareSoftapMaxClientCount">32</integer>
|
||||
<!-- Boolean indicating whether framework needs to set the tx power limit for meeting SAR
|
||||
requirements -->
|
||||
<bool translatable="false" name="config_wifi_framework_enable_sar_tx_power_limit">true</bool>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user