Commit Graph

12146 Commits

Author SHA1 Message Date
nshrivas
ae647272e5 Release 5.2.0.100L
Release 5.2.0.100L

Change-Id: I18e85fe76106a1dbc6a9007c5deac238d2f8c678
CRs-Fixed: 774533
2018-10-08 18:02:34 -07:00
Krunal Soni
2f5e3dd670 qcacld-3.0: Exclude length field size from max beacon payload size
Don't account length field size while comparing against max
beacon size.

Current driver starts from (ptr+4 bytes) then tries to copy
512 bytes from that point which creates to copy extra 4 bytes
beyond the array's boundary.

Instead copy only 508 bytes if driver starts copying from
(ptr+ 4bytes).

 ptr
  ^
  |
  |
  +---------------+--------------------------------+
  |               |                                |
  |  Length       |   Max Beacon payload           |
  |               |                                |
  +---------------+--------------------------------+

  |<-- 4 bytes -->|<-------- 508 bytes ----------->|

  |<-------------  512 bytes --------------------->|

CRs-Fixed: 2327052
Change-Id: I2646986ec424f7da31107ad01f673588734eaa52
2018-10-08 18:02:33 -07:00
nshrivas
ac580f44fa Release 5.2.0.100K
Release 5.2.0.100K

Change-Id: I5fd7548837b54ce4decc9591dea9c5bef6739d42
CRs-Fixed: 774533
2018-10-08 12:08:03 -07:00
Dustin Brown
39e01d0812 qcacld-3.0: Add operation timeout detection to DSC
In order to catch and debug long running or stuck operations, add a
watchdog timer to Driver Synchronization Core (DSC) operation start/stop
call pairs. If the timer expires, panic the driver for offline
debugging.

Change-Id: If93914178622b993fb09c7330fded2e9bc1c25d1
CRs-Fixed: 2328591
2018-10-08 12:08:02 -07:00
nshrivas
88b4ea45c6 Release 5.2.0.100J
Release 5.2.0.100J

Change-Id: I3295faf44da5128356c264a767737ebc2e82c944
CRs-Fixed: 774533
2018-10-08 05:26:36 -07:00
Karthik Kantamneni
e3bbd7fbb4 qcacld-3.0: Add MLME CFG items of rates [PART 2]
Add MLME CFG items of rates based on converged cfg component

Change-Id: If823a2b19e4b828a3f079d2b032067dd5b5ca196
CRs-Fixed: 2322410
2018-10-08 05:26:35 -07:00
nshrivas
26efc97ff4 Release 5.2.0.100I
Release 5.2.0.100I

Change-Id: I46c5dd09a8a3efa6e6048d66110a606c91fc1829
CRs-Fixed: 774533
2018-10-08 03:36:12 -07:00
Yu Ouyang
57c2553835 qcacld-3.0: Fix commnd eSmeCommandRoam stuck issue
qcacld-2.0 to qcacld-3.0 propagation.

AP and P2P GO mode, user issue DEAUTHENTICATE command with reason 6,
driver will change deauth reason code to eSIR_MAC_UNSPEC_FAILURE_REASON.
It should be only for station or p2p client mode. Otherwise,
'eSmeCommandRoam' will be stuck in 'smeCmdActiveList'. It will
trigger recover.

Change-Id: I126c0b682dbee12e6da903040e058ca370228c5f
CRs-Fixed: 2311077
2018-10-08 03:36:11 -07:00
nshrivas
b3401cf5ed Release 5.2.0.100H
Release 5.2.0.100H

Change-Id: I5959afaf141b2cf36cb3d4ead9f5ef5a9c9359ad
CRs-Fixed: 774533
2018-10-07 13:58:55 -07:00
Abhinav Kumar
b074f2f7fc qcacld-3.0: Refactor MLME CFG items and APIs for VHT
VHT Part3: Add the basic infra for MLME CFG items and the APIs
to be used from other components for VHT.

Change-Id: I8cd30439d7ac3de7b550aa5042353cf30e04cbda
CRs-Fixed: 2322304
2018-10-07 13:58:54 -07:00
nshrivas
7780a005cd Release 5.2.0.100G
Release 5.2.0.100G

Change-Id: Iccd1b10473a9bdaed11160264d469ff0234840f7
CRs-Fixed: 774533
2018-10-07 07:49:25 -07:00
Pragaspathi Thilagaraj
fffde56f75 qcacld-3.0: Send the del sta session command with low priority
When the userspace disconnect is issued, as a part of wlan exit,
HDD sent below commands to sme:
1) Disconnect Req (DelBSS /Del Sta)
2) Close Session ( DelSelfSta ) in the following path:
hdd_stop_adapter() -> hdd_stop_adapter_ext() -> hdd_vdev_destroy
-> sme_close_session() -> csr_roam_close_session.
e_sme_command_del_sta_session is sent from csr_roam_close_session
with high priority. This causes vdev delete to be sent before
peer delete .
As HDD has already freed all the commands in
csr_roam_close_session, now sme should process the cmd only in
the pending queue order. Hence we should not send DEL_SELF_STA
as high priority cmd.

Send the e_sme_command_del_sta_session with normal priority.

Change-Id: Ic874ca792f84235c70b8257a232c02f0bd050618
CRs-Fixed: 2328462
2018-10-07 07:49:24 -07:00
nshrivas
31ea671970 Release 5.2.0.100F
Release 5.2.0.100F

Change-Id: I91a93c73e936628d73d2da38baca44b1adcce1bc
CRs-Fixed: 774533
2018-10-06 00:01:23 -07:00
Vignesh Viswanathan
edc7ba6297 qcacld-3.0: Handle each frame in Roam Frame Event independently
Currently the wmi_roam_synch_frame_event_id is sent from the FW before
the roam_synch event if the size of the beacon/probe, reassoc request
and reassoc response frames exceeds the max WMA message size.

In such scenarios, the FW sends two wmi_roam_synch_frame_event_id events
with the first event containing beacon/probe and reassoc response frames
and the second event with reassoc request frame.

However, driver is dropping the first event with beacon/probe and reassoc
response frame as the reassoc request is not present in that event.
This is expected in the first frame and the driver should handle each
frame independenly in the wma_roam_synch_frame_event_handler.

Remove the check for beacon/probe and reassoc request frame while
handling reassoc response frame in wma_roam_synch_frame_event_handler.

Change-Id: Ic66dd7f93da0de32715cf36be520128d2a1efc8e
CRs-Fixed: 2325217
2018-10-06 00:01:22 -07:00
nshrivas
af3ebb12a8 Release 5.2.0.100E
Release 5.2.0.100E

Change-Id: Ib7eabd9e90bd22a7f17d1575f77b37040c1a327c
CRs-Fixed: 774533
2018-10-05 22:09:56 -07:00
Sourav Mohapatra
5ba8da3645 qcacld-3.0: Send roam preauth retry_count and no_ack_timeout ini to FW
Create and send user configurable ini for max number of roam preauth
retries and roam preauth no-ack timeout to the firmware.

Change-Id: I66808b33f421f56cd7c007cdde1db19c8e7ca5f9
CRs-Fixed: 2279049
2018-10-05 22:09:55 -07:00
nshrivas
56b84da35c Release 5.2.0.100D
Release 5.2.0.100D

Change-Id: I6ea465ef0fcf409d2250ebd1467400b33ecc4da6
CRs-Fixed: 774533
2018-10-05 19:58:00 -07:00
jitiphil
4c256a34d6 qcacld-3.0: Add IPA CFG items and APIs
Add IPA related INI config to IPA component.

Change-Id: I5bea63b83ddac62504ef38019aa4034c4e18bca7
CRs-Fixed: 2320921
2018-10-05 19:58:00 -07:00
jitiphil
869b9f73d9 qcacld-3.0: Relocate HDD DP ini items
Relocate below HDD DP ini items as per converged infrastructure.

1. TxFlowLowWaterMark
2. TxFlowHighWaterMarkOffset
3. TxFlowMaxQueueDepth
4. TxLbwFlowLowWaterMark
5. TxLbwFlowHighWaterMarkOffset
6. TxLbwFlowMaxQueueDepth
7. TxHbwFlowLowWaterMark
8. TxHbwFlowHighWaterMarkOffset
9. TxHbwFlowMaxQueueDepth
10. gBusBandwidthHighThreshold
11. gBusBandwidthMediumThreshold
12. gBusBandwidthLowThreshold
13. gBusBandwidthComputeInterval
14. gTcpLimitOutputEnable
15. gTcpAdvWinScaleEnable
16. gTcpDelAckEnable
17. gTcpDelAckThresholdHigh
18. gTcpDelAckThresholdLow
19. gTcpDelAckTimerCount
20. gTcpTxHighTputThreshold
21. gEnableTxOrphan
22. rpsRxQueueCpuMapList
23. RX_THREAD_CPU_AFFINITY_MASK
24. NAPI_CPU_AFFINITY_MASK
25. rx_mode

Change-Id: Ib7309fc78842af4bae4d8f705edecce4499a17df
CRs-Fixed: 2323191
2018-10-05 19:57:56 -07:00
nshrivas
809d09797c Release 5.2.0.100C
Release 5.2.0.100C

Change-Id: I192ef0c0b1a58766f68b10e5862b6201b681b0ec
CRs-Fixed: 774533
2018-10-05 17:39:35 -07:00
gaurank kathpalia
ae52c982e4 qcacld-3.0: Fix bss scoring params
Currently the driver calculates the nss score
based upon the max capability of the AP, and not the
hw_mde config which would be there after connection
for example, the driver calculates the score for a
2x2 11n AP, and 1x1 VHT (11ac) AP, it connects to the
11n AP in 1x1 mode, if a concurrent connection is
present, which affects throughput

Fix is to check whether the current AP channel results
in DBS or not, if yes then change the NSS to 1 instead of
2

Change-Id: I902393be5ea9cf88def9da6b3458bb6048655ce7
CRs-Fixed: 2288362
2018-10-05 17:39:34 -07:00
Dundi Raviteja
9ab4e7b4f1 qcacld-3.0: Relocate gProbeReqOUIs ini to FW offload component
Relocate gProbeReqOUIs ini parameter to FW offload component.

Change-Id: Ie3764cfaf3625911a14cc43fb7eaab415f54ece1
CRs-Fixed: 2324746
2018-10-05 11:37:40 +05:30
nshrivas
bea6e712ef Release 5.2.0.100B
Release 5.2.0.100B

Change-Id: I340cc319a01fc6655837e0c1c481905980c4e6c7
CRs-Fixed: 774533
2018-10-04 22:52:52 -07:00
Arif Hussain
88d1fddd0b qcacld-3.0: Refactor CFG_ENABLE_DFS_MASTER_CAPABILITY cfg
Refactor CFG_ENABLE_DFS_MASTER_CAPABILITY cfg item.

Change-Id: I19b52c6848bd04feca4213aad64138d5c55b9a1f
CRs-Fixed: 2327917
2018-10-04 22:52:51 -07:00
Dundi Raviteja
c5a9556365 qcacld-3.0: Get schedule scan params using cfg_get
Get schedule scan param values using cfg_get

Change-Id: I62543f87dceeb1698f912a7bb65d1850fc3d541e
CRs-Fixed: 2324157
2018-10-04 22:52:47 -07:00
Dundi Raviteja
8e33828530 qcacld-3.0: Relocate HDD ini items
Relocate below HDD ini items as per converged infrastructure.
1. private_wext_control
2. gInterfaceChangeWait
3. gTimerMultiplier
4. g_bug_on_reinit_failure
5. gEnableDumpCollect
6. gMulticastHostFwMsgs
7. wlanLoggingEnable
8. wlanLoggingToConsole
9. gWlanAutoShutdown
10. gEnablefwprint
11. gEnablefwlog
12. gEnablePacketLog

Change-Id: I913bbbcfd94eba609836afdcc134c3ccd7a8f46b
CRs-Fixed: 2322112
2018-10-04 22:52:43 -07:00
CNSS_WLAN Service
c37fd415c2 Merge "Release 5.2.0.100A" into wlan-cld3.driver.lnx.2.0 2018-10-04 21:10:53 -07:00
CNSS_WLAN Service
991c3fff9d Merge "qcacld-3.0: move wlan_mac.bin to /mnt/vendor/persist" into wlan-cld3.driver.lnx.2.0 2018-10-04 21:10:51 -07:00
CNSS_WLAN Service
e508b7e820 Merge "Release 5.2.0.100" into wlan-cld3.driver.lnx.2.0 2018-10-04 21:10:50 -07:00
CNSS_WLAN Service
8159bf6865 Merge "qcacld-3.0: Adjust calling ucfg_reg_program_default_cc" into wlan-cld3.driver.lnx.2.0 2018-10-04 21:10:47 -07:00
CNSS_WLAN Service
0b0e3d5f13 Merge "Release 5.2.0.99Z" into wlan-cld3.driver.lnx.2.0 2018-10-04 21:10:45 -07:00
CNSS_WLAN Service
5f1f667da2 Merge "qcacld-3.0: Add MLME CFG items and APIs for VHT" into wlan-cld3.driver.lnx.2.0 2018-10-04 21:10:43 -07:00
CNSS_WLAN Service
e8b1143884 Merge "Release 5.2.0.99Y" into wlan-cld3.driver.lnx.2.0 2018-10-04 21:10:42 -07:00
CNSS_WLAN Service
8a72cafe37 Merge "qcacld-3.0: Check for null before taking the DSC lock" into wlan-cld3.driver.lnx.2.0 2018-10-04 21:10:40 -07:00
CNSS_WLAN Service
19c739130e Merge "qcacld-3.0: Call close_adapter from close_all_adapters" into wlan-cld3.driver.lnx.2.0 2018-10-04 21:10:38 -07:00
nshrivas
ba50e85caa Release 5.2.0.100A
Release 5.2.0.100A

Change-Id: I9296539a0fc5c3b4ab7b6fa7b6b3d0f1659b0a60
CRs-Fixed: 774533
2018-10-04 20:12:46 -07:00
Yuanyuan Liu
1ee6cd32ff qcacld-3.0: move wlan_mac.bin to /mnt/vendor/persist
Move wlan_mac.bin symlink from /persist to /mnt/vendor/persist as
/persist doesn't exist in the filesystem anymore.

Change-Id: Ibb4b7f133222bf5431f754ef5fbf3b3db1ef8729
CRs-Fixed: 2327274
2018-10-04 20:12:46 -07:00
nshrivas
22ddbe7fd9 Release 5.2.0.100
Release 5.2.0.100

Change-Id: Id2206cdea862072ae67b768d43d19f9763054415
CRs-Fixed: 774533
2018-10-04 18:21:32 -07:00
Paul Zhang
02526cd6ce qcacld-3.0: Adjust calling ucfg_reg_program_default_cc
With commit I4ec1268eb491fec04a78b90e51c6e616d95e019e,
the function wlan_reg_get_channel_list_with_power sets
num20MHzChannelsFound to 0 because the current channel
list has not initialized yet for regulatory non-offload
case.

Change-Id: I6a055534f2b9a763a8cbba8fef3062ed6ea424cd
CRs-Fixed: 2319332
2018-10-04 18:21:31 -07:00
nshrivas
c294ed04c9 Release 5.2.0.99Z
Release 5.2.0.99Z

Change-Id: I48cfdd23cfa37b2b261a10b500f10ace4aa49dd1
CRs-Fixed: 774533
2018-10-04 15:52:41 -07:00
Abhinav Kumar
988be080ce qcacld-3.0: Add MLME CFG items and APIs for VHT
Add the basic infra for MLME CFG items and the APIs to be used from
other components for VHT - Part-2

Change-Id: I8f9c8286861c5a7b17d0261cad6c51b431e86f4a
CRs-Fixed: 2322302
2018-10-04 15:52:41 -07:00
nshrivas
101794c271 Release 5.2.0.99Y
Release 5.2.0.99Y

Change-Id: I5984edab7e5867ddae74ffe299e58da84339a9f7
CRs-Fixed: 774533
2018-10-04 14:05:32 -07:00
Dustin Brown
627c43b823 qcacld-3.0: Check for null before taking the DSC lock
Ic3121092c71d5c46e8521a775281ad2c45e3fe7d changed the driver-level DSC
context allocation method from static to dynamic. As a side effect, the
DSC driver lock needed a driver instance pointer instead of grabbing the
global context. However, many of the lock calls were updated to use the
input context pointer before it was validated.

Ensure the input context pointers are validated before using them to
grab the DSC driver lock.

Change-Id: Ifce2d603f3e9b7b7c0869a40f8632988a9509809
CRs-Fixed: 2327110
2018-10-04 14:05:31 -07:00
Dustin Brown
728d65a2de qcacld-3.0: Call close_adapter from close_all_adapters
hdd_close_all_adapters() does not call hdd_close_adapter(), which has
lead to a divergence between the logic contained within. Update
hdd_close_all_adapters() and hdd_close_adapter() to leverage shared
logic to bring them back in sync, and prevent them from diverging again
in the future.

Change-Id: Ic2fe0908a48927a6fc403ca0f4c21275659908b3
CRs-Fixed: 2326433
2018-10-04 14:05:28 -07:00
Sravan Kumar Kairam
eab90a0de5 qcacld-3.0: Mem zero ipa wdi initialization structures
At ipa wdi initialization host needs to fill structure
ipa_wdi_init_in_params and pass to IPA driver. Currently
host is filling the local stack structure with out zeroing
out the memory and passed to IPA driver. This will lead to
invalid assignment of struct variables to IPA driver copy
for which host did not fill. So before using the ipa wdi
initialization structure mem zero it.

Change-Id: If054c2175741e6f23ebbf2165761aee8e2f8e2f0
CRs-Fixed: 2322734
2018-10-04 09:56:31 -07:00
nshrivas
ee17177cbc Release 5.2.0.99X
Release 5.2.0.99X

Change-Id: Icf9eaa331e634606c7f3676eeee895b6230f2867
CRs-Fixed: 774533
2018-10-04 08:13:13 -07:00
Dundi Raviteja
f99ce0933b qcacld-3.0: Relocate gEnableDebugLog ini to mlme component
Relocate gEnableDebugLog ini parameter to mlme component.

Change-Id: I5e021095c0acd65af47fb0dd3325200054888412
CRs-Fixed: 2324488
2018-10-04 08:13:13 -07:00
jitiphil
0e3b592aed qcacld-3.0: Handle FW rejuvenate scenario
Upon driver reinitialize after a FW rejuvenate,
data packets are not going through IPA path.

Check for FW rejuvenate scenario during driver
recovery and send appropriate message to IPA
driver.

Change-Id: I8c1d7ba78227684cd5653a5927aa4d4c2ce5d354
Crs-Fixed: 2287293
2018-10-04 08:13:09 -07:00
nshrivas
c52f4733a9 Release 5.2.0.99W
Release 5.2.0.99W

Change-Id: I64cadd381e63ef73b00f59e228d722d28550151f
CRs-Fixed: 774533
2018-10-04 06:19:29 -07:00
Vignesh Viswanathan
a851d75505 qcacld-3.0: Update multiple generic INI items using MLME CFG [Part 1]
Replace usage of the below INI Items using MLME CFG instead of HDD config.

gPreventLinkDown
gSelect5GHzMargin
gEnableMemDeepSleep
gEnableCckTxFirOverride
gEnableForceTargetAssert
gEnableLpassSupport

Change-Id: Ib89272c7898db8d0c70a60640e00ca9364a9db74
CRs-Fixed: 2327025
2018-10-04 06:19:29 -07:00