Commit graph

22 commits

Author SHA1 Message Date
LuK1337
d017491c15
sdm710-common: wifi: Enable DFS channel scanning in P2P search
* Fixes P2P when connected to 5GHz access point.

Change-Id: Ie94aa06e9b6be9345688a1e10caa9a62b180eb30
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Signed-off-by: PainKiller3 <ninadpatil100@gmail.com>
2023-06-17 17:04:02 +03:00
Jyoti Kumari
4d77bfd791
sdm710-common: wifi: Remove TDLS INI from ini file
Remove gEnableTDLSSupport and gEnableTDLSImplicitTrigger
from ini file

Enable this ini from driver header file

Change-Id: I6e4337615e75b5f5288bdf4e50a94f2c7ec3e0d6
CRs-Fixed: 2775227
Signed-off-by: kaderbava <ksbava7325@gmail.com>
2023-06-17 17:03:58 +03:00
Srinivas Dasari
980dba4c5a
sdm710-common: wifi: Disable ini param nan_separate_iface_support
* sdm710 doesn't support separate vdev for NAN. So disable this ini and NAN shall be enabled in legacy way(on wlan0).
2023-06-17 17:03:58 +03:00
Alex Naidis
82d705e583
sdm710-common: wifi: Smarter decisions on whether to use a 2 or 5Ghz AP
Implement a smarter system on whether to connect
to the provided 2Ghz or 5Ghz network.

Change-Id: Idd41e3d9a5e2bde3ea9b4873dffc4274d1530324
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
2023-06-17 17:03:56 +03:00
UtsavBalar1231
6215927695 sdm710-common: WifiOverlay/wcnss: Relax RSSI thresholds
* Fixes random WIFI crashes
E/WifiVendorHal(1633): stopRssiMonitoring(l.2100) failed {.code = ERROR_NOT_AVAILABLE, .description = }
V/WifiClientModeImpl(1633): stopIpClient IpClientWithPreConnection: false
V/WifiClientModeImpl(1633): java.lang.Throwable
V/WifiClientModeImpl(1633): 	at com.android.server.wifi.ClientModeImpl.stopIpClient(ClientModeImpl.java:1068)
V/WifiClientModeImpl(1633): 	at com.android.server.wifi.ClientModeImpl.stopDhcpSetup(ClientModeImpl.java:1083)
V/WifiClientModeImpl(1633): 	at com.android.server.wifi.ClientModeImpl.handleNetworkDisconnect(ClientModeImpl.java:2760)
V/WifiClientModeImpl(1633): 	at com.android.server.wifi.ClientModeImpl.access$5600(ClientModeImpl.java:163)
V/WifiClientModeImpl(1633): 	at com.android.server.wifi.ClientModeImpl$ConnectModeState.processMessage(ClientModeImpl.java:4284)
V/WifiClientModeImpl(1633): 	at com.android.wifi.x.com.android.internal.util.StateMachine$SmHandler.processMsg(StateMachine.java:992)
V/WifiClientModeImpl(1633): 	at com.android.wifi.x.com.android.internal.util.StateMachine$SmHandler.handleMessage(StateMachine.java:809)
V/WifiClientModeImpl(1633): 	at android.os.Handler.dispatchMessage(Handler.java:106)
V/WifiClientModeImpl(1633): 	at android.os.Looper.loop(Looper.java:223)
V/WifiClientModeImpl(1633): 	at android.os.HandlerThread.run(HandlerThread.java:67)
D/DhcpClient(2452): doQuit
D/QCNEJ/WlanStaInfoRelay(2529): Received action: android.net.wifi.STATE_CHANGE
D/QCNEJ/WlanStaInfoRelay(2529): reset CountryCodeRetriever
D/ApfFilter(2452): (wlan0): shutting down
I/WifiClientModeImpl(1633): disconnectedstate enter
E/WifiScoringParams(1633): Invalid frequency(-1), using 5G as default rssi array
D/WifiNetworkAgent(1633): NetworkAgent: NetworkAgent channel lost
I/GnssNetworkConnectivityHandler(1633): Network connection lost. Available networks count: 0
I/GnssNetworkConnectivityHandler(1633): updateNetworkState, state=CLOSED, connected=false, network=100, capabilities=[ Transports: WIFI Capabilities: NOT_METERED&INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&VALIDATED&NOT_ROAMING&FOREGROUND&NOT_CONGESTED&NOT_SUSPENDED LinkUpBandwidth>=65000Kbps LinkDnBandwidth>=65000Kbps SignalStrength: -71 AdministratorUids: [] SSID: "Skymedia_19" RequestorUid: -1 RequestorPackageName: null], apn: , availableNetworkCount: 0
I/LocSvc__AGnssRilInterface(823): ===> updateNetworkState_2_0 line 110
D/QCNEJ/DefaultNetworkInfoRelay(2529): Default network lost: 100
D/QCNEJ/NativeHalConnector(2529): -> SND notifyDefaultNetworkChanged(1)
D/QCNEJ/WlanStaInfoRelay(2529): network lost: 100
D/QNEJ/WlanStaInfoRelay(2529): onLost: unbind the process to WIFI
D/AppCenter(10415): Network 100 is lost.

Change-Id: I385391f278086520530cc9215ca6fdae55c40b73
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Signed-off-by: raghavt20 <raghavtandon2000@gmail.com>
2021-08-12 00:22:38 +03:00
Sunil Ravi
438c054c19
kunlun2: wifi: Disable TDLS offchannel.
TDLS off-channel feature is needed only for
certification. Disable the feature in production
builds.

Bug: 161320896
Test: Basic wifi sanity test.
Change-Id: I99e34efdc1137e10d31de985771e84b8b1aa3d86
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-17 18:45:01 +02:00
Alex Naidis
24a8008375
wifi: enable QPower and Deep sleep at the same time
* This enables Deep Sleep mode, additionally to QPower
* With this configuration, QPower manages the new Deep sleep mode
 -> Leads to amazing power savings

Signed-off-by: Alex Naidis <alex.naidis@linux.com>
Signed-off-by: Henrique Pereira <hlcpereira@pixelexperience.org>
Signed-off-by: DennySPb <dennyspb@gmail.com>
Change-Id: I052498f312b3b3f7c6d843c9b69a9aca9aecb72a
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 18:44:07 +02:00
SamarV-121
4c34733e0f sdm710-common: wifi: Remove nonexistent configs 2020-05-24 13:55:37 +02:00
Dede Dindin Qudsy
2bfee9cd7e sdm710-common: wifi: Disable SAE support
* based on kerneltoast/android_kernel_google_wahoo@4219bf1

Signed-off-by: Dede Dindin Qudsy <xtrymind@gmail.com>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-24 13:55:37 +02:00
Ashish Kumar Dhanotiya
86705bd156 sdm710-common: Add ini ignore_fw_reg_offload_ind
Add ini "ignore_fw_reg_offload_ind" to ignore regulatory
offload indicatin from fw.

Change-Id: Ie45bc35455efb4b3fd3512bafe140d4ae9580c4b
CRs-Fixed: 2542055
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-24 13:55:37 +02:00
Ashish Kumar Dhanotiya
c5ea77de75 sdm710-common: wifi: Remove TxPower2g and 5g from config file
Ini config values TxPower2g and TxPower5g are not
getting used anymore.
Remove TxPower2g and TxPower5g from WCNSS_qcom_cfg.ini
for all the targets.

Change-Id: Id85bec3e4ae3bb8012e13844bb0afa682a593fee
CRs-Fixed: 2607679
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-24 13:55:37 +02:00
Arun Kumar Khandavalli
6243e72c42 sdm710-common: wlan: Enable LPRX by default
LPRX was disabled previously on request because of some power issues.
Now that all the power issues is resolved enable the LPRX by default.

Change-Id: Ie3655bacfd06d47598b04e8c2c89233a000307ce
CRs-Fixed: 2459952
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-24 13:55:37 +02:00
GiaSen
6357d10828 kunlun2: copy wcnss config from stock
This reverts commit 9b215d2e09.
2020-05-24 13:55:27 +02:00
GiaSen
9b215d2e09 kunlun2: nuke wcnss config 2020-05-07 12:53:27 +02:00
Sᴀᴍᴀʀ Vɪꜱᴘᴜᴛᴇ
bf9d5cbe3a kunlun2: Update WCNSS config from stock 2020-04-11 19:35:58 +05:30
Ashish Kumar Dhanotiya
311fea04b5 sdm710-common: Add ini ignore_fw_reg_offload_ind
Add ini "ignore_fw_reg_offload_ind" to ignore regulatory
offload indicatin from fw.

Change-Id: Ie45bc35455efb4b3fd3512bafe140d4ae9580c4b
CRs-Fixed: 2542055
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-04-09 16:13:29 +00:00
Ashish Kumar Dhanotiya
5b3695e94e sdm710-common: wifi: Remove TxPower2g and 5g from config file
Ini config values TxPower2g and TxPower5g are not
getting used anymore.
Remove TxPower2g and TxPower5g from WCNSS_qcom_cfg.ini
for all the targets.

Change-Id: Id85bec3e4ae3bb8012e13844bb0afa682a593fee
CRs-Fixed: 2607679
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-04-09 16:10:43 +00:00
Arun Kumar Khandavalli
758f4e181c sdm710-common: wlan: Enable LPRX by default
LPRX was disabled previously on request because of some power issues.
Now that all the power issues is resolved enable the LPRX by default.

Change-Id: Ie3655bacfd06d47598b04e8c2c89233a000307ce
CRs-Fixed: 2459952
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-04-09 16:09:55 +00:00
SamarV-121
c8b4b91fe2 sdm710-common: Update configs from stock Q
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-12 20:06:43 +05:30
Subhrajyoti Sen
6a551f5c0f sdm710-common: wifi: reduce battery drain
Change-Id: Ic4ab888b17c8c818f0bd6a2ef2cff1f6a7fa2740
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-02-14 09:12:04 +05:30
Kalpaj Chaudhari
a53de2df80 sdm710-common: wifi: Enable etsi13_srd_chan_in_master_mode
Change-Id: I41ca8a4c326ab35a98d1a53a9c1e8df8775ed9d7
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-02-14 09:12:02 +05:30
SamarV-121
082d309c9c sdm710-common: Import and bind mount stock WCNSS_qcom_cfg.ini
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-02-14 09:12:02 +05:30