Commit Graph

11431 Commits

Author SHA1 Message Date
nshrivas
ba4125e5e8 Release 5.2.0.90X
Release 5.2.0.90X

Change-Id: I5b6c292e1c9def88b7dca81b9ba98ef0685fc987
CRs-Fixed: 774533
2018-08-02 15:00:24 -07:00
Yeshwanth Sriram Guntuka
25fa2c0792 qcacld-3.0: Don't fill any WMA request if target is not ready
If any WMA request is queued in wma hold req/vdev resp queue after fw
has crashed and sent the corresponding uevent to HOST, request will
timeout and if at the same time, SSR is also going on, it may lead to
various issues and crashes.

Check whether target is ready or not before queuing any request
in wma hold req/vdev resp queue.

Change-Id: I26b5746e9ba4f57f46b3a5a486bd85ef150d0ee7
CRs-Fixed: 2289004
2018-08-02 15:00:23 -07:00
Kiran Kumar Lokere
eac7fe9f27 qcacld-3.0: Fix issue with 256 BA buff size setting
Change the BA buffer size attribute value to 16-bit to set
the 256 BA buffer size. Define the max supported BA buffer
size and advertise the max supported buffer size if the
user configures the value greater than supported.

Change-Id: I5efdee60517e02572386e9751706722987f44261
CRs-Fixed: 2284461
2018-08-02 15:00:20 -07:00
nshrivas
2ce4b8a8a8 Release 5.2.0.90W
Release 5.2.0.90W

Change-Id: I0e4e68982b6e9eb3e1a2df2ee3daeb9eb264bc13
CRs-Fixed: 774533
2018-08-02 02:48:39 -07:00
Krunal Soni
d2136c7666 qcacld-3.0: Block Ack state machine enhancement
Add state machine changes to Addba request handling
in order to include IN_PROGRESS state until addba
response tx is not successfully completed. If response
tx is successful, move tid to ACTIVE state.

CRs-Fixed: 2254887
Change-Id: I09f9d8aa09bbb3fb98e0873657d1b8072371f0d8
2018-08-02 02:48:36 -07:00
nshrivas
8cd2124789 Release 5.2.0.90V
Release 5.2.0.90V

Change-Id: Id274361e24ad73acac138f5d9639bb1e22abec14
CRs-Fixed: 774533
2018-08-01 20:37:24 -07:00
Kiran Kumar Lokere
86e855955c qcacld-3.0: Set the TxBF CBF frame rate with NSTS setting
Set the TxBF CBF frame rates to FW with user NSTS configuration
setting.

Change-Id: I553c253bddb695f5c61d889cd7ef57694d00954f
CRs-Fixed: 2281265
2018-08-01 20:37:24 -07:00
Venkata Sharath Chandra Manchala
43cb55c5cf qcacld-3.0: Enable Per Peer REO stats
Add a command: iwpriv <interface> txrx_stats 28 <mac_id>
for printing REO Queue statistics.

Change-Id: Ic5001706a6682bec3e8170c1e96825161fb5fc9d
CRs-Fixed: 2217833
2018-08-01 20:37:20 -07:00
nshrivas
9ef11955d2 Release 5.2.0.90U
Release 5.2.0.90U

Change-Id: I74cd0ad5b75f08d2f9e2368bcf1ad37a06cb87df
CRs-Fixed: 774533
2018-08-01 02:15:11 -07:00
Jianmin Zhu
2f708f250d qcacld-3.0: Avoid buffer overflow when process SA query action frame
No frame length check when extract 11w transaction id from SA
query request and response action frame, if frame length is
shorter than expected,  buffer overflow will happen
Change-Id: Iddefa809023da244564cfd227ccfe8c2de5717c0
CRs-Fixed: 2263320
2018-08-01 02:15:11 -07:00
nshrivas
0e98185f04 Release 5.2.0.90T
Release 5.2.0.90T

Change-Id: I1d2fa01819dd62afb0077b1fa3ce033c589e944f
CRs-Fixed: 774533
2018-07-31 19:01:19 -07:00
Dustin Brown
7e761c71eb qcacld-3.0: Reduce hdd/ipa info logs
A number of HDD and IPA logs are generally unnecessary and have been
identified as contributing to log spam. Reduce these log messages to the
debug level.

Change-Id: I2f92bb4caec5adc65fdad0146298aa5f88b43def
CRs-Fixed: 2288430
2018-07-31 19:01:18 -07:00
nshrivas
bc7d718715 Release 5.2.0.90S
Release 5.2.0.90S

Change-Id: I42e9a0cd71eb68a8507289a05e248f07e2f5bff0
CRs-Fixed: 774533
2018-07-31 15:25:42 -07:00
Dustin Brown
aeb556490f qcacld-3.0: Reduce logging for hdd netdev notifier
Reduce error logs in __hdd_netdev_notifier_call which do not alway
indicate an error.

Change-Id: I7386cb26993877ed86802b60240cd04b85dd4e8b
CRs-Fixed: 2287681
2018-07-31 15:25:41 -07:00
Abhishek Singh
53791fa58b qcacld-3.0: Remove dead code related to driver acs
Support of ini to control driver acs is removed, therefore remove
related code which is no longer used.

Change-Id: I3d279de67ee5f36b785e4516edd9f14484311f5c
CRs-Fixed: 2284253
2018-07-31 15:25:37 -07:00
nshrivas
842e48f930 Release 5.2.0.90R
Release 5.2.0.90R

Change-Id: I2a7b91810ae680066f79e3b76cf50a7ec3fc1aa2
CRs-Fixed: 774533
2018-07-31 12:58:50 -07:00
Jeff Johnson
fcc29d4133 qcacld-3.0: Add SARV1 to SARV2 feature flag
Add SARV1 to SARV2 feature flag.

CRs-Fixed: 2282071
Change-Id: Iaaf449a222bf999a1d9227bde030a30cc84d18e0
2018-07-31 12:58:49 -07:00
Jeff Johnson
354c20bce8 qcacld-3.0: Implement WLAN_FEATURE_SARV1_TO_SARV2
SARv1 to SARv2 upgrade can have the following problem:
1) Userspace application was written to use SARv1 BDF entries
2) Product is configured with SAR V2 BDF entries

So introduce WLAN_FEATURE_SARV1_TO_SARV2 which has the logic:
If this feature is enabled, and if the firmware is configured with SAR
V2 support, and if the incoming request is to enable a SAR V1 BDF
entry, then the WMI command is generated to actually configure a SAR
V2 BDF entry.

CRs-Fixed: 2282071
Change-Id: I1f4c65d0315b56af6646ca1d5491eaa9c1f732a5
2018-07-31 12:58:46 -07:00
Jeff Johnson
f917638b7d qcacld-3.0: Save sar version in the HDD context
SAR version information is now being populated in struct wma_tgt_cfg.
Keep a copy of the information in the HDD context for local reference.

Change-Id: I7bc943fc71b651baeb56e4966d97efca2cccbf4e
CRs-Fixed: 2282071
2018-07-31 12:58:42 -07:00
Jeff Johnson
0918f242d1 qcacld-3.0: Add SAR version to struct wma_tgt_cfg
HDD needs to know the SAR version running in firmware so add that
information to struct wma_tgt_cfg.

Change-Id: Idcb79921cb417a923ced8b6cfed2672bee03eaf1
CRs-Fixed: 2282071
2018-07-31 12:58:39 -07:00
nshrivas
0ad44e9bec Release 5.2.0.90Q
Release 5.2.0.90Q

Change-Id: I08897469513a656cbcf56afe7969e9d695e7087b
CRs-Fixed: 774533
2018-07-31 10:39:37 -07:00
Dustin Brown
b0b240a984 qcacld-3.0: Reset txrx handles during STA deinit
HDD currently reset various txrx handles during the deinit of an access
point (AP) interface, but fails to do so for station interfaces. This
can lead to a user-after-free while changing the interface mode from
station to something else. Reset the txrx handles during deinit for
station interfaces.

Change-Id: I189089fabefb9c430da493c0c99473179d02b5cd
CRs-Fixed: 2283532
2018-07-31 10:39:36 -07:00
nshrivas
f0a4e5796a Release 5.2.0.90P
Release 5.2.0.90P

Change-Id: I9ca768973b2e08fed434799272b15c181f90ece2
CRs-Fixed: 774533
2018-07-31 06:10:27 -07:00
Paul Zhang
7d1d5361c5 qcacld-3.0: update rx nss per num_rf_chains
The host will update the rx nss after it gets the
rx nss info from the operating mode notification
IE. Currently, it does not check the num rf chains
of the dut. It causes the difference between
software and hardware.

Change-Id: I5d6852f8e2928cc99fc88ccface3bc4abe97f273
CRs-Fixed: 2280003
2018-07-31 06:10:27 -07:00
nshrivas
f7253dc8f2 Release 5.2.0.90O
Release 5.2.0.90O

Change-Id: I85ad29bcef6feabd4f90413c6dc23606329fbd6b
CRs-Fixed: 774533
2018-07-31 00:46:37 -07:00
Dustin Brown
3cfe0d47d0 qcacld-3.0: Check peers in hdd_check_for_leaks
Before checking for other kinds of resources leaks, check to ensure all
objmgr peers have been properly freed.

Change-Id: Ifb1016be456c26e140f324fc3c858bd4a5fa6a27
CRs-Fixed: 2285186
2018-07-31 00:46:36 -07:00
Mohit Khanna
b8b6e58eb4 qcacld-3.0: Remove peer AST entries on peer delete
During peer removal, call cdp_peer_teardown to
make sure all the peer AST entries are removed.
This also marks the peer->delete_in_progress flag.

Change-Id: Ibe4a0244cadc2b8073e4e71a925a615447d00933
CRs-Fixed: 2287663
2018-07-31 00:46:33 -07:00
nshrivas
213ce15a42 Release 5.2.0.90N
Release 5.2.0.90N

Change-Id: I050df516a62c132e5d255c5555177cfecf3c05aa
CRs-Fixed: 774533
2018-07-30 18:26:25 -07:00
Pragaspathi Thilagaraj
7dba4a7af8 qcacld-3.0: Remove csr_release_command_roam call in csr_roam_issue_connect
In the function csr_queue_sme_command, we memset the memory for
the roam command to 0 in case of failure and release the memory
to the global command pool. But in csr_roam_issue_connect,
csr_release_command_roam is called again in case of failure,
and this can lead to memset of memory to 0 that is released to
global command pool.

Remove the redundant csr_release_command_roam in the function
csr_roam_issue_connect and the call to csr_reinit_preauth_cmd in
csr_roam_enqueue_preauth.

Change-Id: Ifab3551dd3b2dbb2d135b5488f7b09f422648abb
CRs-Fixed: 2280904
2018-07-30 18:26:24 -07:00
nshrivas
45530e7ce9 Release 5.2.0.90M
Release 5.2.0.90M

Change-Id: Ide69bd005ae7c81426010f0a12503508d3719006
CRs-Fixed: 774533
2018-07-30 16:34:07 -07:00
Jun Wang
92cd83692b qcacld-3.0: remove time-consuming debug log
print format "pS" in module will call module_address_lookup in
kernel, which will disable preempt. This could result in some
performance issues, like block rt task vsync_retire_work and
then cause janks.

Change-Id: I524b03315df7b1f6464912d2c9ce74b8dc33ea1a
CRs-Fixed: 2267779
2018-07-30 16:34:06 -07:00
nshrivas
1c1d573ae6 Release 5.2.0.90L
Release 5.2.0.90L

Change-Id: Ibba84e234674417a474d24f6a6fc917c1934fe3b
CRs-Fixed: 774533
2018-07-30 14:08:30 -07:00
Liangwei Dong
4bfffb4487 qcacld-3.0: Fix SAP 11g no ht protection failure
1.Scan entry uses MGMT_SUBTYPE_BEACON to specify
the frame type. Correct lim_handle_sap_beacon
to use MGMT_SUBTYPE_BEACON to check frame type.

2.lim_allocate_and_get_bcn return corrected
pkt and pkt info.

Change-Id: I607be66a376f5121d100db52a55faf32c088a94a
CRs-Fixed: 2282274
2018-07-30 14:08:29 -07:00
nshrivas
407ed04a41 Release 5.2.0.90K
Release 5.2.0.90K

Change-Id: If8c9e4e2c8f0bf954a9600c37e298905b4997e23
CRs-Fixed: 774533
2018-07-30 09:53:13 -07:00
Vignesh Viswanathan
cbbc358095 qcacld-3.0: Modify Default value for Switch to 11n OUI ini
Currently defined default value for gActionOUISwitchTo11nMode leads
to vendor APs which don't require the WAR also to be identified
for forcing 11n connection.

Fix the default value to limit the WAR to only the required vendor
AP.

Change-Id: Icecd5a3a92a35eb4d0a7eb4ae156aed7dcfbfb86
CRs-Fixed: 2276057
2018-07-30 09:53:13 -07:00
Jianmin Zhu
a0d8e00d02 qcacld-3.0: Fix double free in csr_roaming_state_config_cnf_processor
The beacon ie of AP to connect in sme cmd may be freed and set to
NULL in csr_roam if csr_roam_issue_join failed,
scan_result->Result.pvIes may be different in start and end of
csr_roaming_state_config_cnf_processor.

Fixed by using a local bool val to mark whether beacon ie is new
malloced and need free.

Change-Id: I04ec952273a28a3b8a215dd6812bba213ff5309a
CRs-Fixed: 2284311
2018-07-30 09:53:10 -07:00
nshrivas
5d54cb1ba4 Release 5.2.0.90J
Release 5.2.0.90J

Change-Id: If4bf0838f82fb5bec7eafe3999d57504f8aabf66
CRs-Fixed: 774533
2018-07-30 02:53:32 -07:00
Dundi Raviteja
e232cf1691 qcacld-3.0: Use request manager framework for LL stats response event
We are transitioning the usage of LL stats response event
to request manager framework.

Change-Id: Ice8b3d53beb47b345ed569f2b4bf790e9f5ce506
CRs-Fixed: 2274933
2018-07-30 02:53:31 -07:00
nshrivas
afb27b7d6c Release 5.2.0.90I
Release 5.2.0.90I

Change-Id: Ifad7bd6264088058521f817f7ab2a00f916fa579
CRs-Fixed: 774533
2018-07-30 00:49:03 -07:00
Ashish Kumar Dhanotiya
2853ba04f7 qcacld-3.0: Implement GET_DISABLE_CHANNEL_LIST driver command
Propagation from prima to qcacld-3.0

Implement GET_DISABLE_CHANNEL_LIST driver command to get disable
channel list programed by SET_DISABLE_CHANNEL_LIST driver command.

Change-Id: Ib741e1cd23cef105314325aaec86feb50f36a181
CRs-Fixed: 2206336
2018-07-29 10:11:51 -07:00
nshrivas
41dbf327c7 Release 5.2.0.90H
Release 5.2.0.90H

Change-Id: I276414694d189b280ddaf89343ffe4a24aecae8d
CRs-Fixed: 774533
2018-07-27 12:35:00 -07:00
Dundi Raviteja
cc95c56e15 qcacld-3.0: Remove hdd context validation in wlan_hdd_disconnect
If driver is removing while STA is in connected state, disconnect
is not happening because hdd context validation will not be success
while driver unload is in progress.

To address this issue, remove validation of hdd context in
wlan_hdd_disconnect to allow disconnection while driver unload
is in progress.

Change-Id: Ia10aa9237a30490f3085458ab38ce27c4eeebaf0
CRs-Fixed: 2284198
2018-07-27 12:35:00 -07:00
Ajit Pal Singh
8184e939b6 qcacld-3.0: Init tx_mutex in pdev_attach
Initialise spinlock: tx_mutex in pdev_attach instead of
pdev_post_attach as it may be accessed
in ol_tx_flow_ct_unpause_os_q() just after FW download.

Change-Id: I9de2eacd573420d23bc3a71a52dfb27bc1cfdab5
CRs-Fixed: 2285503
2018-07-27 12:34:57 -07:00
nshrivas
1449648511 Release 5.2.0.90G
Release 5.2.0.90G

Change-Id: I73d219578f50ed8109899b35b0cf0d120273ce77
CRs-Fixed: 774533
2018-07-27 09:09:43 -07:00
Nirav Shah
790d943594 qcacld-3.0: Add per module logging macros without function/line info
Add per module logging macros without function/line info
to avoid adding function/line info where it is not required.

Change-Id: Id808fef623b82cec38fc31071ef384f3ff0c92da
CRs-Fixed: 2278874
2018-07-27 09:09:42 -07:00
Ashish Kumar Dhanotiya
3f78e68b92 qcacld-3.0: Add support to disable channel list
Propagation from prima to qcacld-3.0

Add support to disable channel list received with command
"SET_DISABLE_CHANNEL_LIST".

As part of this command, number of channels and list
of that many channels should be given. When SAP comes up, disable
the channels received in the command. If any of the interface
is up on any of the channel from the list, first disconnect
the interface and start the interface on the new channel.

Change-Id: I3c7810bfde78878a3e60570a13bf2741e1da599b
CRs-Fixed: 2205305
2018-07-27 09:09:37 -07:00
nshrivas
dbd9972463 Release 5.2.0.90F
Release 5.2.0.90F

Change-Id: I9ffa1f0e531f6354cb016a3fcecdcc493a09b82e
CRs-Fixed: 774533
2018-07-27 06:42:10 -07:00
Ashish Kumar Dhanotiya
7e345d04dd qcacld-3.0: Add data validation for avoid frequency command
Currently in avoid frequency vendor command, data validation
is not being done, since this data comes from userspace driver
should not be using this data pointer without validation.

To address this issue add validation for data pointer and data
length received in driver.

Change-Id: I7b56e2ddcbcb5e98dd93d152033db48063e772d3
CRs-Fixed: 2252793
2018-07-27 06:42:10 -07:00
nshrivas
b256327523 Release 5.2.0.90E
Release 5.2.0.90E

Change-Id: I8e051111deb91d4db8fb86d3933c2697791a7e31
CRs-Fixed: 774533
2018-07-26 15:36:53 -07:00
Pragaspathi Thilagaraj
b37dad385f qcacld-3.0: Serialize the command eSmeCommandDelStaSession
The command eSmeCommandDelStaSession issues vdev delete to
firmware. As this command eSmeCommandDelStaSession is not
serialized, this may issue delete vdev before the peers for the
vdev are deleted, resulting in fw assert. Serialization should
be brought in for this command, so that first eSmeCommandRoam
command will do vdev_stop-->remove_peer-->vdev_down and then
eSmeCommandDelStaSession will be processed which will send vdev
delete.

Post the command eSmeCommandDelStaSession to the serialization
module and WMA_DEL_STA_SELF_REQ will be posted from the sme
eSmeCommandDelStaSession handler.

Change-Id: I60fcbf622b961162c647db3638b5e019c5231971
CRs-Fixed: 2270982
2018-07-26 15:36:53 -07:00