Commit Graph

29 Commits

Author SHA1 Message Date
Jimmy Chen
546ad1520b sdm845-common: Move supplicant service init to wpa_supplicant
Bug: 138790309
Test: boot and wifi function is ok
Change-Id: I35cf3e03566443e20799623045eacd423fd7f5c4
2020-10-09 16:17:34 +01:00
Bruno Martins
02d143d1ca sdm845-common: wifi: Pick config edits from Xiaomi for Q
The ETSI SRD channels enablement in particular fixes 5GHz tethering.

Change-Id: Ib9314ccca9fe5171ca7eba793e308eeac5628ac8
2020-03-10 23:08:32 +00:00
Ashish Kumar Dhanotiya
a7342a2063 sdm845-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
2020-03-10 23:08:32 +00:00
Bruno Martins
63fe59da83 sdm845-common: Bring in custom WiFi configs from Xiaomi
Configs imported from MIUI 9.10.10 beta

Change-Id: Iec50a263c8015dba798c574b4969d3d37b0004bc
2019-11-25 23:54:44 +00:00
Ashish Kumar Dhanotiya
a3613c905c sdm845-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
2019-11-25 23:29:03 +00:00
Arun Kumar Khandavalli
6485bdfe87 sdm845-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
2019-11-25 23:29:03 +00:00
sheenam monga
537239f88c sdm845-common: WCNSS ini file changes for Android Q upgrade
Default ini values for enable_twt,RoamRssiDiff,
gEnableEarlyStopScan,pcl_weightage and gcmp_enabled, need to
change in SDM845.LA.2.0.1 for Android Q upgrade.
Fix is to keep enable_twt disable by default, enable

gEnableEarlyStopScan, set zero for pcl_weightage and
disable gcmp_enabled.

Change-Id: I855553a019aac00c4b7a69d39ae187bc4e861d1b
CRs-fixed: 2437736
2019-11-25 23:29:03 +00:00
Hu Wang
9eef515f19 sdm845-common: Remove duplicated ht_capab from hostapd.conf
Duplicated ht_capab creates issue for build enabled qsap, as qsap
can only set the first ht_capab (no matter commented or not), hence
second ht_capab will never change.

CRs-Fixed: 2300202
Change-Id: I16c8de0a0c6ee9ab9ea1729a98804bcdbbe667ad
2019-11-25 23:29:03 +00:00
Naveen Rawat
78d688e22e sdm845-common: Add ini param for rtt mac randomization
Add ini param to enable/disable rtt mac randomization.

Change-Id: I92e101b6d933a5ed37069185eacf75cc9a672e9d
CRs-Fixed: 2210299
2019-11-25 23:29:03 +00:00
Purushottam Kushwaha
bfb61926f6 sdm845-common: Add secondary interface using gEnableConcurrentSTA=wlan1
gEnableConcurrentSTA=wlan1 will create wlan1 while insmod driver.

Change-Id: Ia7ce00bbc9cb030320bc3bd84f8795c3583ef8b1
CRs-Fixed: 2258995
2019-11-25 23:29:03 +00:00
Rajeev Kumar Sirasanagandla
a7edb6c444 sdm845-common: Add default values to action OUI inis
Add default string to gActionOUIConnect1x1 and gActionOUIITOExtension.

Change-Id: I8e1808751c33bcb6b77b3765fe64c2fef1ab0175
CRs-Fixed: 2132485
2019-11-25 23:29:03 +00:00
Kiran Kumar Lokere
29e7b663a1 sdm845-common: Reset RSSI threshold offset for 2G to 5G roam
Reset RSSI threshold offset for 2G to 5G roam

Change-Id: I1075340fc7aa3ca79ce5c16de87a0a2f2d435061
CRs-Fixed: 2151953
2019-11-25 23:29:03 +00:00
Manjunathappa Prakash
6849fc795b sdm845-common: wifi: ini: Enable rx_mode=5, napi+rx_thread
Enable rx_mode=5(napi+rx_thread) mode of Rx processing

Change-Id: Ide77d500688f828b65e3188a079e7425751d18bb
CRs-Fixed: 2136811
2019-11-25 23:29:03 +00:00
Mohit Khanna
25c83cc1b2 sdm845-common: Change NAPI and CE params to avoid audio glitches
Change ce_service_max_yield_time=500 , ce_service_max_rx_ind_flush=1,
maxMSDUsPerRxInd=8. Changing these params has shown to help keep
rx SOFT_IRQ processing time to be under 1ms, which is needed to avoid
audio glitches.

Change-Id: I5a47a0e7fef8e25cb6b2b97ceff3f7d904d10270
CRs-Fixed: 2136811
2019-11-25 23:29:03 +00:00
Sandeep Puligilla
3101f3ed09 sdm845-common: Remove gNeighborScanTimerPeriod from ini
Remove the gNeighborScanTimerPeriod entry from ini
file.

Default/preferred value is set to 100 in drivers so
no need of duplicate entry in the ini file.

Change-Id: Ide24ac0776fd63e306ddf30bc3edf420ed9ca7ba
CRs-Fixed: 2130980
2019-11-25 23:29:03 +00:00
Mahesh Kumar Kalikot Veetil
973f3d2ce3 sdm845-common: Remove McastBcastFilter parameter from ini
Remove McastBcastFilter parameter from default ini file,
because this parameter is not used.

Change-Id: I0ab4a4ee2e9ad3cc1883a59c5efae533bc978df1
CRs-Fixed: 2019757
2019-11-25 23:29:03 +00:00
Anurag Das
7996ff8ba1 sdm845-common: hostapd: Update hostapd.conf with latest opensource version
This hostapd.conf is now updated to be in sync with the
upstream.

Change-Id: I4da5aaadab77417cc18ca3e13ddb7a32eb34413e
CRs-Fixed: 2104104
2019-11-25 23:29:03 +00:00
Manjunathappa Prakash
c7355d7a8b sdm845-common: wifi: ini: Enable GRO support
To enable GRO set GROEnable=1, LRO INI config is disabled by default.
LRO is not supported on sdm845 kernel version(4.9).
LROEnable=1 on sdm845 will disable LRO and GRO support.

Change-Id: I9a72bc5020b929d1c3eeb67c9ee1a7dc23f36725
CRs-Fixed: 2098785
2019-11-25 23:29:03 +00:00
Rajiv Ranjan
657086213a sdm845-common: Enable Mac address spoofing by default
Enable MAC address spoofing by setting
gEnableMacAddrSpoof value to 1.

Change-Id: I82c5f41fb8ef6253a0189007199bde4c83f7f11e
CRs-Fixed: 2087595
2019-11-25 23:29:03 +00:00
Tushnim Bhattacharyya
1864290e68 sdm845-common: Disable DTIM Synth
Disable DTIM Synth/LPRx from ini.

Change-Id: I875f0257bb1a8337a70e8fa4e0495ca9245af012
CRs-Fixed: 2082423
2019-11-25 23:29:03 +00:00
Ravi Joshi
b31436cfee sdm845-common: Enable NAN data path support
NAN data path support is enabled through INI configuration.

Change-Id: If45dd041108daaa9e28df2e2991f7cff165c5fcd
CRs-Fixed: 2085813
2019-11-25 23:29:03 +00:00
Purushottam Kushwaha
694897a6ac sdm845-common: Modify hostapd.conf template file.
This commit modifies hostapd.conf which is copied to device as a
template:
ctrl_interface=/data/vendor/wifi/hostapd/ctrl
channel=0
wowlan_triggers=any

CRs-Fixed: 2080929
Change-Id: I626a15c04e2a3761b786bb2efcd7501ea5b15617
2019-11-25 23:29:03 +00:00
Peng Xu
ae7ee02d6f sdm845-common: Increase maximum number of BSS in memory
Set bss_max_count to 400 to accomodate more BSSes in scan results.

Change-Id: I51a71eec0c333e2ab41785f10e5115a4ad34a314
CRs-fixed: 2063197
2019-11-25 23:29:03 +00:00
Rajiv Ranjan
3782818396 sdm845-common: Enable p2p and tdls default configurations
Set persistent_reconnect, tdls_external_control
and p2p_no_group_iface parameter by default.

CRs-Fixed: 2073699 2082755
Change-Id: I67fc490d458589a92c1dd1929176b6e80a8d674b
2019-11-25 23:29:03 +00:00
Dustin Brown
9b0d9b1929 sdm845-common: Add wowlan_triggers to wpa_supplicant conf
Add 'wowlan_triggers=magic_pkt' to wpa_supplicant_overlay.conf. With
this, wpa_supplicant will tell the linux kernel that the wifi driver
is wowlan capable, and will wakeup the host when a magic packet is
received. Most importantly, the kernel will no longer disconnect wifi
connections before suspending wifi.

Change-Id: I3226943940046ad98e4ab410897d4fdcb457ee5a
CRs-Fixed: 2076216
2019-11-25 23:29:03 +00:00
Tushnim Bhattacharyya
9cbe361774 sdm845-common: Make the force SCC option default for gWlanMccToSccSwitchMode
Set gWlanMccToSccSwitchMode ini parameter to 3 by default to enforce SCC.

Change-Id: I5d393a21301f3fa838f7cf38620fb1d57ae1d57a
CRs-Fixed: 2079851
2019-11-25 23:10:42 +00:00
Yuanyuan Liu
a3c59c8dba sdm845-common: Enable IMPS/BMPS for WLAN
Enable IMPS/BMPS for WLAN.

Change-Id: Iac6e8d0e7a1aae3a72d0c17850027e02078d9c9e
CRs-Fixed: 2053926
2019-11-25 23:10:42 +00:00
Yuanyuan Liu
e4b35fb3bd sdm845-common: Update INI configuration file for WLAN
Update WLAN INI configuration file. This is a snapshot of the
WCNSS_qcom_cfg.ini as of msm8998 commit:
commit 871f079aacde ("msm8998: Remove default keepalive setting from ini").

CRs-Fixed: 2035958
Change-Id: I8c9b26408b9f492e26449da21993be8379342340
2019-11-25 23:10:42 +00:00
Sandeep Singh
43d6862507 sdm845-common: wifi: Add target specific wifi configuration files
This commit imports initial skunk wifi configuration files.

Change-Id: I5aa01eb778bf24cf50421c093c9ebca4dd541ae0
Signed-off-by: Sandeep Singh <sandsing@codeaurora.org>
2019-11-25 23:10:39 +00:00