Commit Graph

7136 Commits

Author SHA1 Message Date
Jeff Johnson
e7672e7c5f qcacld-3.0: Rename hdd_wlan_set_ht2040_mode() params
Per the Linux coding style "mixed-case names are frowned upon" so
rename parameters to hdd_wlan_set_ht2040_mode() which currently use
mixed-case names.

Change-Id: I7759dcfb0e37c86a953d029a7ecf96082f565bbc
CRs-Fixed: 2131090
2017-10-24 16:40:34 -07:00
Jeff Johnson
65fda1155b qcacld-3.0: Rename hdd_station_info isQosEnabled field
Per the Linux coding style "mixed-case names are frowned upon" so
rename field isQosEnabled in struct hdd_station_info.

Change-Id: I0e8ba829be981faa339c7ad6ccebdb7f8194ae17
CRs-Fixed: 2131089
2017-10-24 16:40:31 -07:00
Jeff Johnson
9a5863f4d3 qcacld-3.0: Rename hdd_station_info tlSTAState field
Per the Linux coding style "mixed-case names are frowned upon" so
rename field tlSTAState in struct hdd_station_info.

Change-Id: I8742b42144ed455213eef92426356c54b08e2038
CRs-Fixed: 2131087
2017-10-24 16:40:29 -07:00
Jeff Johnson
e4f5d93019 qcacld-3.0: Rename hdd_station_info isDeauthInProgress field
Per the Linux coding style "mixed-case names are frowned upon" so
rename field isDeauthInProgress in struct hdd_station_info.

Change-Id: I8e30bb8b91e8eddd32e3122902543b44a8cdd170
CRs-Fixed: 2131086
2017-10-24 16:40:27 -07:00
Jeff Johnson
b105d05c8d qcacld-3.0: Rename hdd_station_info isUsed field
Per the Linux coding style "mixed-case names are frowned upon" so
rename field isUsed in struct hdd_station_info.

Change-Id: I60265fd3b6ac5bb8d98aa916b87ebf73a6c231f6
CRs-Fixed: 2131085
2017-10-24 16:40:25 -07:00
Jeff Johnson
dc179f4e86 qcacld-3.0: Fix camelCase issues with struct hdd_pmf_stats
Both fields within struct hdd_pmf_stats are currently defined with
camelCase. Rename these to align with the Linux coding style which
states "mixed-case names are frowned upon."

Change-Id: Ib701404a07c3c42fdecbe56f8baafece849fa616
CRs-Fixed: 2130440
2017-10-24 16:40:23 -07:00
snandini
6dfd31528a Release 5.2.0.50T
Release 5.2.0.50T

Change-Id: I43aca7cfe357bdb9c445e4e1ea1ada46eada8797
CRs-Fixed: 774533
2017-10-24 15:38:32 -07:00
Ganesh Kondabattini
dd72652f3a qcacld-3.0: Send TDLS frames with lower AC
If ACM enabled and access is not granted for AC_VI, then send
TDLS frames with lower access category instead of dropping them.

Change-Id: I2201536dc4475764f33eebce1faa0a7df0b2c454
CRs-Fixed: 2045241
2017-10-24 15:38:31 -07:00
snandini
1cefc91e0c Release 5.2.0.50S
Release 5.2.0.50S

Change-Id: I261b4dbebc78c8deae11d7661bb0b138063b8431
CRs-Fixed: 774533
2017-10-24 05:39:24 -07:00
Wu Gao
80c5f8a0af qcacld-3.0: Remove variables about roc
Remove lock, flag and delay work about roc in HDD layer.

Change-Id: I13316995d0754b078433862a29637e9f220aa420
CRs-Fixed: 2130530
2017-10-24 05:39:24 -07:00
snandini
1e730015e0 Release 5.2.0.50R
Release 5.2.0.50R

Change-Id: I0a0d83c615f1a7aba0903745f4b2c76e36309769
CRs-Fixed: 774533
2017-10-24 04:51:54 -07:00
Govind Singh
e793db4b07 qcacld-3.0: Add cold boot calibration enum in pld driver mode
Add support for cold boot calibration driver mode in pld
layer.

CRs-Fixed: 2117666
Change-Id: If1db00262ab6068681b01734eb1edbdae967e4db
2017-10-24 04:51:53 -07:00
snandini
8b4bdf1e50 Release 5.2.0.50Q
Release 5.2.0.50Q

Change-Id: I37f16e29fe05d0acc03da75a9463cdc9a4821750
CRs-Fixed: 774533
2017-10-24 02:33:25 -07:00
Yun Park
ff6a16ae6f qcacld-3.0: Enable RPS dynamically for SAP mode
SAP Rx TPUT is bounded by host network stack, which is running in the
context of IPA work-queue, when IPA offload data path enabled.
However RPS shouldn't enabled for legacy Rx data path, where NAPI is
enabled. So, we dynamically enable RPS for SAP interface when the vdev
comes up and IPA was enabled only.
Send RPS enable indication to CNSS daemon to enable RPS only when SAP
interface comes up and disable RPS when SAP interface is closed.

Change-Id: Ia669b2c3ae814d0577f5226d8acbf026740ad760
CRs-Fixed: 1113202
2017-10-24 02:33:25 -07:00
snandini
ce52fbd513 Release 5.2.0.50P
Release 5.2.0.50P

Change-Id: I47742f11277bef19bee6f1150cf66dcda7e14a2b
CRs-Fixed: 774533
2017-10-24 00:49:48 -07:00
Dustin Brown
46a15a39bc qcacld-3.0: Call cds_sched_close in cds_open error path
When cds_open fails after calling cds_sched_open, cleanup is attempted.
However, cds_sched_close is currently protected by a faulty
conditional. Remove the conditional so the scheduler context can be
cleaned up appropriately for all cds_open failure modes.

Change-Id: I709e8d2af06ffdf1a2910d81d23fa3a33ffbe074
CRs-Fixed: 2129677
2017-10-24 00:49:47 -07:00
Manjunathappa Prakash
81ca3a55b2 qcacld-3.0: Disable TCP delayed ack if LRO is enabled
Coexistence of TCP delayed ack and LRO could be detrimental with a smaller
window size. So disable TCP delayed ack dynamically if LRO is enabled.

Change-Id: I0660e78269da548bc3a5ad0ed6b8f3865046b8b4
CRs-Fixed: 1114687
2017-10-24 00:49:45 -07:00
Manjunathappa Prakash
7b6cb00b26 qcacld-3.0: Disable LRO capability during concurrency
LRO rx jumbo packets cannot be forwarded to other vdev and kernel drops
them with warning message:
"skbuff: wlan0: received packets cannot be forwarded while LRO is enabled"
So disable LRO capability during concurrency.

Change-Id: Ib35e1ee5f9c18a846e21ce1eb293e12e17761fa8
CRs-Fixed: 1092193
2017-10-24 00:49:43 -07:00
Govind Singh
a1f6dacf0c qcacld-3.0: Add fw ready uevent to update driver state
FW ready state guarantees the completion of 2nd stage power on
reset sequence of wcn3990 target.

Add fw ready uevent to update driver state, which is required
to check if target registers are accessible or not, while
recovery is in progress.

Change-Id: I78d56644d4d4ac3a0371be625a2debed8ac7cebf
CRs-Fixed: 2058451
2017-10-24 00:49:41 -07:00
snandini
69696fb954 Release 5.2.0.50O
Release 5.2.0.50O

Change-Id: Ib11b8c4bed45df764a244a1794bf0365af352610
CRs-Fixed: 774533
2017-10-23 22:08:35 -07:00
Yun Park
0dad10099d qcacld-3.0: Enable WDI3.0 IPA offload
Enable CONFIG_IPA

Change-Id: I20c6ce30034dd1c66bae32a2b7a891aa04bfa0f4
CRs-Fixed: 2085753
2017-10-23 22:08:34 -07:00
snandini
fd3cf1d3e1 Release 5.2.0.50N
Release 5.2.0.50N

Change-Id: I9670ef0f94a6db4ac5b4f9d038c7fc2411e1abf9
CRs-Fixed: 774533
2017-10-23 20:24:02 -07:00
Vignesh Viswanathan
c56e657507 qcacld-3.0: Filter channels based on gRoamIntraBand in driver
Currently if ini parameter gRoamIntraBand is enabled in driver
sta should roam within the band 5G to 5G or 2.4G to 2.4G only,
but sta is able to roam from 5G to 2.4G and vice versa because
host sends channels of all bands to fw.

Fix is to filter channels based on gRoamIntraBand in driver
before sending channel list to fw.

Change-Id: I54407954dbf44fdc1779ce864767318e24db5757
CRs-Fixed: 2043309
2017-10-23 20:24:02 -07:00
Yun Park
edec48d555 qcacld-3.0: Change to include FW interface file wdi_ipa.h
For WLAN FW-host interface file automation, need to pull in WDI IPA
interface definition file wdi_ipa.h, into WLAN host driver.
This change is to match host dirver MACRO names with wdi_ipa.h.
Enable back CONFIG_IPA_OFFLOAD flag in Kbuild.

Change-Id: I9cd0c3b942c0a7b5e98f589090ae51cc0acf67c2
CRs-Fixed: 2085741
2017-10-23 20:24:00 -07:00
Yun Park
657c7d7a02 qcacld-3.0: WLAN host changes for SDM845
1. To allow WLAN IPA module built for Napali msm-4.9, add to set
   CONFIG_IPA_OFFLOAD build flag 1 when CONFIG_IPA3 is defined
2. Reduce HDD_IPA_MAX_IFACE to 2
3. Rename WDI structure variable num_bam_int_in_non_running_state,
   which is corrected in msm-4.9

Change-Id: I0a58ada19177ab4127e0b4f2e14240c683613192
CRs-Fixed: 2057936
2017-10-23 20:23:58 -07:00
Dustin Brown
d0a7656c2b qcacld-3.0: Converge on recommended wake lock duration
Over time, many arbitrary wake lock durations were chosen with very
little observational evidence to support them. Converge on a standard
recommended wake lock duration, which can serve as a starting point for
finding an appropriate wake lock duration.

Change-Id: Ie54c415870c96117d72ead4d677c4bfb2aad3ae4
CRs-Fixed: 2126685
2017-10-23 20:23:56 -07:00
Yun Park
3b7152b061 qcacld-3.0: Set ipa_pipes_down TRUE after IPA pipes are disabled
Set ipa_pipes_down flag TRUE only when IPA pipes are successfully
suspended and disabled.
This will force IPA pipes to be disabled when SAP closed.

Change-Id: Ieb3b3d5440c2d279648b08d238d1472613800fea
CRs-Fixed: 2096338
2017-10-23 20:23:54 -07:00
snandini
c0ca1fc4de Release 5.2.0.50M
Release 5.2.0.50M

Change-Id: I5419e6381bd86f9fcac4c4ded099078cdbdb56a6
CRs-Fixed: 774533
2017-10-23 16:30:22 -07:00
Venkata Sharath Chandra Manchala
4aaae0f586 qcacld-3.0: Propagate config parameters to datapath
Provide an interface to propagate the feature
specific config parameters to Lithium datapath.

Change-Id: Iec6f2205a87a02806933abf7538a95bddd82d5a0
CRs-Fixed: 2097229
2017-10-23 16:30:21 -07:00
snandini
ea122362d9 Release 5.2.0.50L
Release 5.2.0.50L

Change-Id: If0bfbd2125dc191cea859024aee641b5d3902b7f
CRs-Fixed: 774533
2017-10-23 10:05:45 -07:00
Vignesh Viswanathan
ca67e368a2 qcacld-3.0: Add sanity check for total_peer_len in wma_get_ll_stats_ext_buf
Add additional sanity checks for total_peer_len in wma_get_ll_stats_ext_buf.
Missing changes for CLD3.2 from I2689873c2c5e63c83e5059563662c0c69dc659fc

Change-Id: I6f82c9ef251e0290f9cf68e9fcd2d8868a5a302c
CRs-Fixed: 2121194
2017-10-23 10:05:45 -07:00
snandini
98cf0758de Release 5.2.0.50K
Release 5.2.0.50K

Change-Id: I0dc0d3ecd56ed2ebc7f248805154d1513440648d
CRs-Fixed: 774533
2017-10-23 08:06:33 -07:00
Kabilan Kannan
b6153b1bcb qcacld-3.0: Fix TDLS set state cmd sequence in concurrent TDLS connections
TDLS set state cmd to firmware is going out of sequence, if STA
is disconnected, when concurrent TDLS connections are active.
This out of sequence causes crash in the firmware.
Fix the out of sequence issue, by grouping all the TDLS delete
peer commands into one single command.

Change-Id: Ie4fe5888587755719b5540fd328022fa4f966c40
CRs-Fixed: 2073506
2017-10-23 08:06:33 -07:00
snandini
4016d0a1c1 Release 5.2.0.50J
Release 5.2.0.50J

Change-Id: I7c21811a9e66280334e5e303031d38c4a77c9f7d
CRs-Fixed: 774533
2017-10-23 06:13:01 -07:00
Jayachandran Sreekumaran
9575dec599 qcacld-3.0: Allow MCC in exceptional cases
In AP + STA case allow MCC if the STA's channel
is DFS or passive or part of LTE avaoidance channel list

Change-Id: Iece69bf5d70d5e2ed9f9505a72c7a40f35d11b75
CRs-Fixed: 2127091
2017-10-23 06:13:00 -07:00
Jayachandran Sreekumaran
5c7cd97ec7 qcacld-3.0: ACS updates for 3port concurrency
ACS updates for 3 port concurrency

Change-Id: I1d1f2facd3062c9af475448d0284381212d98d84
CRs-Fixed: 2127091
2017-10-23 06:12:58 -07:00
Jayachandran Sreekumaran
8ab186575d qcacld-3.0: Updated the max value for CFG_WLAN_MCC_TO_SCC_SWITCH_MODE
Updated the CFG_WLAN_MCC_TO_SCC_SWITCH_MODE_MAX to support
the new value QDF_MCC_TO_SCC_SWITCH_FORCE_PREFERRED_WITHOUT_DISCONNECTION

Change-Id: I69f535e6d0e591b3b5ea9e93cf4ecfd1e31f31a9
CRs-Fixed: 2127091
2017-10-23 06:12:56 -07:00
Jayachandran Sreekumaran
922477bbb0 qcacld-3.0: MCC to SCC switch for SAP+SAP and SAP+GO
MCC to SCC switch for second beaconing interface,
SAP+SAP and SAP+GO

Change-Id: I1b8e897ffc719b63a4de92f5fe02a2820bc29e4f
CRs-Fixed: 2127091
2017-10-23 06:12:52 -07:00
Rachit Kankane
11ac4bc61c qcacld-3.0: Update for 3port channel overlap
Update to find channel overlap in case of 3-port concurrency.
The changes are made as mentioned below:
1. Find active session on same band channel
2. If found, then set same channel to achieve SCC

Change-Id: I87ba2121608c789814b1213dc807fed82fd0f882
CRs-Fixed: 2127091
2017-10-23 06:12:50 -07:00
Abhishek Singh
e9706cc3bf qcacld-3.0: Wait for discon to complete, even if dicon req isn't queued
If SME is in disconnecting state disconnect from supplicant will not
get queued. Thus supplicant can start a connect req as soon
as HDD returns from disconnect req. If this connect req is processed
by HDD before the SME disconnect is indicated to HDD, it will cause
HDD/supplicant and SME out of sync.

This results into scan allowed even when SME is waiting for key.
SME will not allow scan until set key is completed, which may not
happened as HDD has indicated disconnect to supplicant after connect
was received by HDD. This will eventually lead to HDD scan inactivity
timer to expire.

To fix this wait for WLAN_WAIT_DISCONNECT_ALREADY_IN_PROGRESS time
in HDD for SME disconnect to get processed before returning.

Change-Id: I21f2c2e2f9b97fc50f9ac43bc5bbb5fd5188f3b7
CRs-Fixed: 2125636
2017-10-23 06:12:48 -07:00
snandini
3e203a6726 Release 5.2.0.50I
Release 5.2.0.50I

Change-Id: Id24ee374a3d31972936c7d81352cdc11f221d97e
CRs-Fixed: 774533
2017-10-23 03:42:59 -07:00
Sandeep Puligilla
24b7aa71fe qcacld-3.0: vendor support to block scans
Add vendor command support to block all the
scans triggered from host

Change-Id: I7860408f3ea3f0531e923e0613d555e2cdff5e5e
CRs-Fixed: 2080146
2017-10-23 03:42:58 -07:00
Abhishek Singh
caebce0d72 qcacld-3.0: Add support to enable/disable scans
Add support to enable/disable scan for psoc.

Change-Id: If4cc980e0575d9880e317bb8afe3467136d7864c
CRs-Fixed: 2124783
2017-10-23 03:42:56 -07:00
snandini
3a75eca0e0 Release 5.2.0.50H
Release 5.2.0.50H

Change-Id: Ic55de584aa35b593c5250b7375355e56c73a32e9
CRs-Fixed: 774533
2017-10-21 16:09:51 -07:00
Naveen Rawat
b6eeed2347 qcacld-3.0: Check ie_len against 255 in function get_container_ies_len
In function get_container_ies_len, output parameter pnConsumed is
uint8_t and poses a risk of integer overflow. Check value against 255
before assigning to output parameter.

Change-Id: I6e02037952ced13de45a6c030cc5a1e85070f5cd
CRs-Fixed: 2125781
2017-10-21 16:09:51 -07:00
Naveen Rawat
9c13ac506e Revert "qcacld-3.0: Fix potential infinite loop in get_container_ies_len"
This reverts Change-Id: Ia5770b4becf7dd1cf7cb97ec2e0d94f3c5f4ed54

Change-Id: I48b5f9079decd0f07b01b96bf14ac244788b7dc1
CRs-Fixed: 2123411
2017-10-21 16:09:49 -07:00
snandini
e3f8ea4dd4 Release 5.2.0.50G
Release 5.2.0.50G

Change-Id: Iae7154626f3b4679940da7f3c1867fd6df8d967d
CRs-Fixed: 774533
2017-10-21 12:09:58 -07:00
Jeff Johnson
0c2bb09ca8 qcacld-3.0: Remove obsolete genIE from hdd_wext_state
The genIE field in struct hdd_wext_state is no longer being used, so
remove it.

Change-Id: I09d753d72d27cee53cb9c690924d62a1676abe05
CRs-Fixed: 2130211
2017-10-21 12:09:58 -07:00
snandini
7c9b2427bb Release 5.2.0.50F
Release 5.2.0.50F

Change-Id: I1424fc5d00d8df68c75872115a0c5b2823dfc808
CRs-Fixed: 774533
2017-10-21 06:20:41 -07:00
Deepak Dhamdhere
ca7315c8ae qcacld-3.0: Use active scan during connection to AP
If AP candidate is not found in scan cache during processing of
cfg80211_connect request, it calls csr_scan_for_ssid() to find it.
However default scan type is passive and dwell time is not enough
to capture a beacon. Convert it to active scan.

CRs-Fixed: 2130197
Change-Id: I11880473cce9089520c57542659e1b892417fc72
2017-10-21 06:20:40 -07:00