Commit Graph

5148 Commits

Author SHA1 Message Date
Nishank Aggarwal
778bf5d3c0 qcacld-3.0: Fix kernel checkpatch warnings in csr_api_scan.c
Fix kernel checkpatch warnings in csr_api_scan.c

Change-Id: I6fc38c58d174e0e5737039a6cd1f3189c3e0f434
CRs-Fixed: 2025503
2017-04-28 02:53:52 -07:00
snandini
999189cede Release 5.2.0.24Q
Release 5.2.0.24Q

Change-Id: Ic107f0a0b370b3730b024bf7c34abb6061e413ed
CRs-Fixed: 774533
2017-04-28 01:19:02 -07:00
Ajit Pal Singh
90a45a4f92 qcacld-3.0: Reject connect if Do_Not_Switch_Channel set
In a case when a STA interface is existing and AP/GO comes up as the second
interface, it might happen that the 'scan list' of the existing STA
interface has not been refreshed yet.
It might be displaying a third-party-AP which is on a different
channel than our AP/GO-interface.
If the STA tries to connect to the third-party-AP, then the connection
is rejected if
1) Do_Not_Switch_Channel is set for the AP/GO vdev
 AND
2) The third-party-AP channel is on the same band but is different from the
AP/GO-interface channel.

If the third-party-AP and our AP/GO-interface channels are same OR in
different bands, then the connection is allowed to go through.

Change-Id: I940665ac38864cc8a16912c714412dd4c8d819d6
CRs-Fixed: 2036903
2017-04-28 01:19:02 -07:00
Ajit Pal Singh
7983af6459 qcacld-3.0: Reject STA assoc on non-AP chan if DNSC enabled
It might happen that the STA-interface is in the process of
associating and before association is complete,
"Do_Not_Switch_Channel" is enabled on the AP-interface.
Reject STA association if "Do_Not_Switch_Channel" is enabled.
A check is performed in hdd_association_completion_handler() for
"Do_Not_Switch_Channel" in AP/GO vdev and STA association is
rejected accordingly.

Change-Id: I3f319a9e14c28add68f9809eeb86e782e58e72de
CRs-Fixed: 2036942
2017-04-28 01:19:00 -07:00
snandini
c8fb5ff450 Release 5.2.0.24P
Release 5.2.0.24P

Change-Id: I1159ac864d5b53b7cf24c4a0a1c09e0e0df42f10
CRs-Fixed: 774533
2017-04-27 23:59:28 -07:00
Tushnim Bhattacharyya
5cc9edc3ac qcacld-3.0: Add missing ini configurations to policy manager
Add missing ini configurations to be used in policy manager.

Change-Id: Id348968d5a6df7bf5a32e8d86b980b9a41af3dd7
CRs-Fixed: 2009818
2017-04-27 23:59:28 -07:00
snandini
20ccd52eb3 Release 5.2.0.24O
Release 5.2.0.24O

Change-Id: Ie4884bf1fe50a41f10d1b714938542032181af45
CRs-Fixed: 774533
2017-04-27 23:11:32 -07:00
Arif Hussain
4e9afac0cf qcacld-3.0: Use dfs api to convert chan to freq
center frequency of 40/80/160 are not valid frequency
for regulatory component, so regulatory api's may not
covert freq to channel or chan to freq. use dfs api’s
to covert the same.

Change-Id: I3bb7d4997d0dbcbd757537fe3fee9ad5f7f97904
CRs-Fixed: 2017481
2017-04-27 23:11:27 -07:00
snandini
6b569d978e Release 5.2.0.24N
Release 5.2.0.24N

Change-Id: If26aa7c6d8cbb0c81a7e6b4b7d2ee0fb0822b4bc
CRs-Fixed: 774533
2017-04-27 13:21:16 -07:00
Dustin Brown
e2206fb9d6 qcacld-3.0: Break wake event handler into pieces
wma_wow_wakeup_host_event is a large monolithic function with many
responsibilities. Break this function up into smaller pieces for each
of those responsibilities to make moving this logic to the component
model easier.

Change-Id: I5583aad21280a6fbf97c7634c9c9763be61fedc3
CRs-Fixed: 2038488
2017-04-27 13:21:15 -07:00
snandini
b428ae78b0 Release 5.2.0.24M
Release 5.2.0.24M

Change-Id: I1fe280eb6ef82e79cfb7207622a49f5e8619de0c
CRs-Fixed: 774533
2017-04-27 12:39:57 -07:00
Sravan Kumar Kairam
27296783b7 qcacld-3.0: Add runtime suspend and resume support in PMO
As part of UMAC componentization add runtime suspend and resume
support in PMO.

Change-Id: I120044bb5638ca75e6ac46b22bb194520da22fea
CRs-Fixed: 2030194
2017-04-27 12:39:56 -07:00
snandini
2eb3df786e Release 5.2.0.24L
Release 5.2.0.24L

Change-Id: I48afc494efb944cd8c75aae00892fd79d2fdb5b0
CRs-Fixed: 774533
2017-04-27 11:55:56 -07:00
Vidyullatha Kanchanapally
53241c46d5 qcacld-3.0: Fix logging signed integer cfg item
A signed integer cfg item if less that 32 bits is logged
improperly i.e. the sign of the cfg item is being lost.
Fix this by preserving the sign.

Change-Id: I6eaba2bfa06d763bcdf197de0a4182c12c74d1af
CRs-Fixed: 2033298
2017-04-27 11:55:55 -07:00
snandini
f36e060318 Release 5.2.0.24K
Release 5.2.0.24K

Change-Id: I7b582384bbcbf50da2431258c6b4c349edde4f30
CRs-Fixed: 774533
2017-04-27 07:02:06 -07:00
Nishank Aggarwal
9ca3255643 qcacld-3.0: Fix kernel checkpatch warnings in csr_util.c
Fix kernel checkpatch warnings in csr_util.c

Change-Id: I8ccd01cac54bc87ae2fc466719dc853ebe35b9b6
CRs-Fixed: 2025503
2017-04-27 17:38:15 +05:30
Nishank Aggarwal
9eeedc9e99 qcacld-3.0: Fix kernel checkpatch warnings in csr_cmd_process.c
Fix kernel checkpatch warnings in csr_cmd_process.c

Change-Id: I2aed989a97ef5147001afd83858a384de2d9c431
CRs-Fixed: 2025503
2017-04-27 17:32:44 +05:30
Nishank Aggarwal
4413fc3467 qcacld-3.0: Fix kernel checkpatch warnings in csr_host_scan_roam.c
Fix kernel checkpatch warnings in csr_host_scan_roam.c

Change-Id: Icc9197e9df869f4b94fc4b9d06a5dca976523089
CRs-Fixed: 2025503
2017-04-27 17:31:13 +05:30
Nishank Aggarwal
8356335b53 qcacld-3.0: Fix kernel checkpatch warnings in csr_neighbor_roam.c
Fix kernel checkpatch warnings in csr_neighbor_roam.c

Change-Id: Ib8bfe0e72404bc6a805c4fe56d25ef873c4e33c5
CRs-Fixed: 2025503
2017-04-27 17:23:19 +05:30
Nishank Aggarwal
1b1f63e1e4 qcacld-3.0: Fix kernel checkpatch warnings in csr_roam_preauth.c
Fix kernel checkpatch warnings in csr_roam_preauth.c

Change-Id: I3758aee4cc407d9dfa743cf63f1054604c6ab7d8
CRs-Fixed: 2025503
2017-04-27 16:43:16 +05:30
snandini
33739ddff7 Release 5.2.0.24J
Release 5.2.0.24J

Change-Id: Iddf296f0bf5e839aceaf60dd8047a892739b5f72
CRs-Fixed: 774533
2017-04-27 01:22:04 -07:00
Zhang Qian
73c348a749 qcacld-3.0: Add MAC counter WMI interface
qcacld-2.0 to qcacld-3.0 propagation

When MAC counter offload is enabled, FW will indicate following
statistics periodically or as host's settings.
- RSSI and SNR per antenna/RF chain
- RSSI, SNR and MCS code (Tx and Rx) per peer
- 11h, 11k radio measurements on current channel, CSMA/CA parameters,
  channel interference estimations
- Tx/Rx statistics(data rate, aggregation size, etc)
New WMI interface is introduced by this change:
- set threshold using WMI_PDEV_SET_STATS_THRESHOLD_CMDID
- process WMI_REPORT_STATS_EVENTID and send all mac counters
  to HDD_CFG80211

Change-Id: I6d679bbf331baf187cccc882216eecc239bf298c
CRs-Fixed: 1080673
2017-04-27 01:22:03 -07:00
snandini
1e3de00bfc Release 5.2.0.24I
Release 5.2.0.24I

Change-Id: I5ed26779434c0a87fed8a05e7a4b441ce4be3bfc
CRs-Fixed: 774533
2017-04-27 00:40:26 -07:00
Nitesh Shah
e50711f2bb qcacld-3.0: Update user_configured_nss while initializing driver
While initializing the driver, user_configured_nss is not
updated. Thus, user_configured_nss was getting value as 0.
If nss=1 is configured for TDLS, then updating the vht mcs
rates, nss was getting value 0, which is invalid. Thus,
the rates were not getting updated properly.

The fix is to update user_configured_nss while initializing
the driver.

Change-Id: I41a4e9aaa82a45f9612c05869c7212820019e0bb
CRs-Fixed: 2031151
2017-04-27 00:40:25 -07:00
snandini
157f9d9c44 Release 5.2.0.24H
Release 5.2.0.24H

Change-Id: I7fba913a947b3f7b563c4296a67804cc3318d701
CRs-Fixed: 774533
2017-04-26 23:53:55 -07:00
Himanshu Agarwal
7c8ab88620 qcacld-3.0: Fill rate and bw info for HT/VHT frames in monitor mode
In monitor mode, while filling the radiotap header, rate and bw
info for HT and VHT frames was not filled correctly due to which
packets in tcpdump are showing incorrect rates and bw for HT/VHT
frames.

Fill rate and bw info for HT/VHT frames correctly in monitor mode.

Change-Id: If15708101ac123fbdba141b04aad881d988e6b43
CRs-Fixed: 2034455
2017-04-26 23:53:54 -07:00
Himanshu Agarwal
bda5f28213 qcacld-3.0: Adding vdev id based sanity check for tx desc
Adding vdev id based sanity check while checking if tx desc
is already freed or not in ol_tx_free_descs_inuse().

Change-Id: Icfc66ccac6829f922a76c35a3309094f374fd022
CRs-Fixed: 2035470
2017-04-26 23:53:52 -07:00
snandini
f4ef7ad115 Release 5.2.0.24G
Release 5.2.0.24G

Change-Id: I5b8bfef2c8bd465ee4570e9053673f066cc6b946
CRs-Fixed: 774533
2017-04-26 17:56:48 -07:00
Krishna Kumaar Natarajan
9b4a5b0600 qcacld-3.0: Update HE MCS mask to be sent to FW
Update HE MCS mask to be sent to FW.

Change-Id: Ie08bf0bf2c3282167dec5ac52a8a7af2daa6fe53
CRs-Fixed: 1073481
2017-04-26 16:28:21 -07:00
Krishna Kumaar Natarajan
81ade5946a qcacld-3.0: Update HE capabilities based on supported bands
Update HE capabilities based on supported bands.

Change-Id: If62dfb83686a43465227ec0a0fe4c67f01e3b774
CRs-Fixed: 1073481
2017-04-26 16:27:57 -07:00
Krishna Kumaar Natarajan
6e36a44550 qcacld-3.0: Revert the deleted PPE threshold changes
Ic1b670e23f637f11b494422ad9954c1d7515e833 removed changes introduced
as part of Ib4329363a196a89eed4668292d4b8f09f6023e62.
Bring back the changes deleted unexpectedly.

Change-Id: Ibd68b4bd58f60bf753267c328c0400f71bf46750
CRs-Fixed: 1073481
2017-04-26 16:26:21 -07:00
snandini
ec1e92fb39 Release 5.2.0.24F
Release 5.2.0.24F

Change-Id: I78539e2b9078e7e3e9b9c68191ec45d1a924d4cc
CRs-Fixed: 774533
2017-04-26 12:33:31 -07:00
yeshwanth sriram guntuka
08e995bdd0 qcacld-3.0: Fix assert due to invalid vdev id in LL stats req
Assert in firmware due to invalid vdev id in link layer stats
req.

Fix is to check for invalid vdev id before link layer stats
req is sent to firmware.

Change-Id: I4b1a9de451bc54387a1da4338720ff44ec4bfd32
CRs-Fixed: 2038308
2017-04-26 12:33:31 -07:00
snandini
c93c866fb7 Release 5.2.0.24E
Release 5.2.0.24E

Change-Id: I03c47f2fa213bb2657b54f1ab1d2771e3381acae
CRs-Fixed: 774533
2017-04-26 09:01:42 -07:00
Nishank Aggarwal
c32eea0059 qcacld-3.0: Fix kernel checkpatch warnings in csr_api_roam.c
Fix kernel checkpatch warnings in csr_api_roam.c

Change-Id: I25504d803b1d96f3081df04044446aed50cdec1d
CRs-Fixed: 2025503
2017-04-26 20:40:41 +05:30
Nishank Aggarwal
e30a90db5d qcacld-3.0: Fix kernel checkpatch warnings in sme_rrm.c
Fix kernel checkpatch warnings in sme_rrm.c

Change-Id: I2da3f73b09048fe700592ff540317e61931931d6
CRs-Fixed: 2025503
2017-04-26 18:43:37 +05:30
snandini
b7bd2148b3 Release 5.2.0.24D
Release 5.2.0.24D

Change-Id: Ief2695384fb981865276b50136438980e2d41e2b
CRs-Fixed: 774533
2017-04-26 04:46:55 -07:00
Srinivas Girigowda
fab25264ac qcacld-3.0: Remove log_dbg/debug() & obsolete file log_api.c
Remove log_dbg/debug() & obsolete file log_api.c.

Change-Id: I66cc59cd9c95dc019d9cf6032d3a3da772464d22
CRs-Fixed: 1093093
2017-04-26 15:50:08 +05:30
Srinivas Girigowda
b102a2a2c8 qcacld-3.0: Remove obsolete PELOG* logging macros
Remove obsolete PELOG* logging macros.

Change-Id: I018088db456871ed46c60957c4ef5d5af85d0457
CRs-Fixed: 1093093
2017-04-26 15:47:53 +05:30
Srinivas Girigowda
28fb012372 qcacld-3.0: Remove obsolete file lim_debug.c
Replace lim_log() with pe_* log levels and
Remove lim_log() and obsolete file lim_debug.c.

Change-Id: I6b39737890d186adb6f0cdcb4a116863e328b07e
CRs-Fixed: 1093093
2017-04-26 15:46:37 +05:30
Srinivas Girigowda
2c26335073 qcacld-3.0: Remove sms_log() & obsolete file 'sms_debug.h'
Remove sms_log() and obsolete file 'sms_debug.h'.

Change-Id: Ibdb25674c1efa6b53262f3aaaf3ff7c8744f28b8
CRs-Fixed: 2020798
2017-04-26 15:17:56 +05:30
Srinivas Girigowda
5557a396fa qcacld-3.0: Revert non-logging changes
Revert the non-logging changes brought by
Change-Id I1ae4f366f359fd90856743b4c2689ad9aad3417b.

Change-Id: Ib69b403f644734545bfb0a56959a490778910188
CRs-Fixed: 2014745
2017-04-26 14:54:38 +05:30
Srinivas Girigowda
3ad735a4d6 qcacld-3.0: Reduce the log spam in wma_main.c
Move the logs to appropriate log levels to reduce
the log spam in wma_main.c

Change-Id: Iec3959a1cb4b63601b2a586c0cc264b589dd5b8e
CRs-Fixed: 2014745
2017-04-26 14:49:47 +05:30
Srinivas Girigowda
67044ad2fb qcacld-3.0: Map hdd_info() log level to QDF_TRACE_LEVEL_INFO
Map hdd_info() log level to QDF_TRACE_LEVEL_INFO.

Change-Id: Ifc23dafd59a7cf59e2ec1c33b4b61fcb74f9c5d2
CRs-Fixed: 2014745
2017-04-26 14:43:01 +05:30
Srinivas Girigowda
2d43f36768 qcacld-3.0: Replace sms_log() with sme_* log levels in sme_rrm.c
Replace sms_log() with sme_* appropriate log levels in sme_rrm.c.

Change-Id: I692b4fd47321a511735c2834e102e94e5fcf7d7e
CRs-Fixed: 2020798
2017-04-26 14:39:42 +05:30
snandini
0fe3a6cdea Release 5.2.0.24C
Release 5.2.0.24C

Change-Id: Ie07a20dbea66097d27cfcc1dff77c63d8e636a5a
CRs-Fixed: 774533
2017-04-26 01:54:49 -07:00
Nishank Aggarwal
c2be3d120c qcacld-3.0: Replace lim_log() with pe_* log levels in lim_sta_hash_api.c
Replace lim_log() with pe_* appropriate log levels in lim_sta_hash_api.c

Change-Id: I6868cd1d5c70d05477e48727267ad1f36df8f54a
CRs-Fixed: 1093093
2017-04-26 11:59:43 +05:30
Nishank Aggarwal
2dfc519b86 qcacld-3.0: Replace lim_log() with pe_* log levels in lim_process_auth_frame.c
Replace lim_log() with pe_* appropriate log levels in lim_process_auth_frame.c

Change-Id: I689e0e2ca0f8299f44fe32f345466104e976f15b
CRs-Fixed: 1093093
2017-04-26 11:58:15 +05:30
Nishank Aggarwal
c7c659229c qcacld-3.0: Replace lim_log() with pe_* log levels in lim_session.c
Replace lim_log() with pe_* appropriate log levels in lim_session.c

Change-Id: Ie035ded5406801cbe5526b4059187a3496c50b06
CRs-Fixed: 1093093
2017-04-26 11:51:54 +05:30
Nishank Aggarwal
2abedf32ee qcacld-3.0: Replace lim_log() with pe_* log levels in lim_p2p.c
Replace lim_log() with pe_* appropriate log levels in lim_p2p.c

Change-Id: I57cba2ebe3f3aafa29225434187877fcb9b92d55
CRs-Fixed: 1093093
2017-04-26 11:48:05 +05:30