Commit Graph

4132 次程式碼提交

作者 SHA1 備註 提交日期
Jeff Johnson
cb6b3bbe7e qcacld-3.0: Fix wlan_hdd_driver_ops kernel-doc
Currently not all of the wlan_hdd_driver_ops public APIs have their
documentation in the interface (header) file. Update the files so that
the public interface, not the implementation, is documented.

Change-Id: I68a809c9bc2a844232a0f5d07086f924f8ce1ace
CRs-Fixed: 2024274
2017-04-03 12:40:53 -07:00
Jeff Johnson
10251bc9d1 qcacld-3.0: Fix checkpatch issues in wlan_hdd_driver_ops
The kernel checkpatch script has detected some issues in
wlan_hdd_driver_ops.h and wlan_hdd_driver_ops.c, so fix them.

Change-Id: I1b08d9dd5147eeebeba2f545d7530bdff6867a5e
CRs-Fixed: 2024274
2017-04-03 12:40:51 -07:00
Sandeep Puligilla
8004facf8f Release 5.2.0.18Y
Release 5.2.0.18Y

Change-Id: I4b510a594ad1f5c63cc1f2c419709672a99dbd79
CRs-Fixed: 774533
2017-04-03 00:58:41 -07:00
yeshwanth sriram guntuka
8fa6fa3042 qcacld-3.0: Remove addts and delts command on roam sync ind
When DUT receives roam sync ind, addts and delts commands
needs to be removed as part of csr_roam_sync_callback,
Otherwise these commands will be active SME commands forever
as PE wont send resp as older PE session is deleted as part
of RSI indication.

Fix is to remove addts and delts command on roam sync ind.

Change-Id: I1df8416a76dff3899c146823bec04595877788f7
CRs-Fixed: 2023723
2017-04-03 00:58:40 -07:00
Sandeep Puligilla
8907355fd4 Release 5.2.0.18X
Release 5.2.0.18X

Change-Id: I7c629886a28c4bbc26d5da11e86ce9120cef9bcf
CRs-Fixed: 774533
2017-03-31 23:57:45 -07:00
Srinivas Girigowda
051a9b4885 qcacld-3.0: Fix user space accesses
This is a qcacld-2.0 to qcacld-3.0 propagation.

Don't access user space memory directly in
drv_cmd_get_ibss_peer_info_all.

Change-Id: I36a706e2e91d1ed2a43897ac2eef9d81b2de7335
CRs-Fixed: 2022841
2017-03-31 23:57:44 -07:00
Srinivas Girigowda
f10a42e811 qcacld-3.0: Fix the variable uninitialized compile error
This is a qcacld-2.0 to qcacld-3.0 propagation.

Fix the variable uninitialized compile error.

Change-Id: I941d76a75a52b4cc6bd3de831b04f960f506f802
CRs-Fixed: 2022835
2017-03-31 23:57:41 -07:00
Srinivas Girigowda
d1b925870d qcacld-3.0: Do range check only if ini value is set from the file
For some of the configurations, the default is not one of the
in-range values because we want to detect if the value has been
set or not.

Hence, do the range check when a value is present in the cfg.ini.

Change-Id: I4db722ed5053e2248dc23c7417d192fe6093ee46
CRs-Fixed: 2014145
2017-03-31 23:57:39 -07:00
Srinivas Girigowda
70e169a798 qcacld-3.0: Add cfg.ini support to override ARP Access category
This is a qcacld-2.0 to qcacld-3.0 propagation.

Firmware currently sets the default access category to ARP packets
as voice traffic id and host does not have a way to override this.

As a part of this change, add the cfg.ini support to override this
default access category.

Change-Id: I268cb9c0254d14f143615790c570ac5a255b359d
CRs-Fixed: 1111993
2017-03-31 23:57:36 -07:00
Srinivas Girigowda
28c776bad9 qcacld-3.0: Add counter for number of times scan was rejected due to -EBUSY
This is a qcacld-2.0 to qcacld-3.0 propagation.

The counter is incremented and logged for each -EBUSY and reset when
scan request is successfully accepted.
It should help us debug cases where the recovery timeout logic
isn't working well or is too slow to react.

Change-Id: I9dd4384cec2a6aefb56e97c1d871c2d2a4819bf6
CRs-Fixed: 1113120
2017-03-31 23:57:33 -07:00
SaidiReddy Yenuga
c3a74ba015 qcacld-3.0: Acquire lock to protect hdd_ctx in hdd_driver_memdump_read()
qcacld-2.0 to qcacld-3.0 propagation.

Two threads accessing the procfs entry might end up in race condition and
lead to use-after-free for hdd_ctx->driver_dump_mem.

Hence, acquire a lock to protect hdd_ctx.

Change-Id: If871f4ceadf650978e16b4a336f688a0dae1c494
CRs-Fixed: 2005832
2017-03-31 23:57:30 -07:00
Sandeep Puligilla
0a5bc614f9 Release 5.2.0.18W
Release 5.2.0.18W

Change-Id: I2ba963c9c0e1868ac6daf359791e6165a4380ce1
CRs-Fixed: 774533
2017-03-31 23:18:23 -07:00
Abhishek Singh
e9068f1690 qcacld-3.0: Fix psoc's use after psoc destroy
psoc is allocated during start module and destroy in stop modules.
due to this if psoc is used after stop modules it cause crash.
psoc should be the first thing to get allocated and last thing
to get destroyed.

Fix it by calling psoc destroy at the ned of the wlan exit and
allocating in wlan start.

Change-Id: I969a5688751ddfad9ab9c3152e6af0680d2be605
CRs-Fixed: 2027351
2017-03-31 23:18:23 -07:00
Sandeep Puligilla
752281eef7 Release 5.2.0.18V
Release 5.2.0.18V

Change-Id: Iebf68f71ec7da3db1d795117ba240452bf144c5b
CRs-Fixed: 774533
2017-03-31 22:37:22 -07:00
Krishna Kumaar Natarajan
d1cd56e731 qcacld-3.0: [11AX] Add support to update HE MCS
Add support to update HE MCS. lim_populate_he_mcs_set() is added to
take care of populating the rates and MCS values.

Change-Id: I12c0ab95cc566c906f1707010dfb2ef3ec4fa681
CRs-Fixed: 1073481
2017-03-31 22:37:21 -07:00
Sandeep Puligilla
e21b131573 Release 5.2.0.18U
Release 5.2.0.18U

Change-Id: I875fdcfbddb1db53172f85da351c00b6d96121a7
CRs-Fixed: 774533
2017-03-31 21:57:55 -07:00
Srinivas Girigowda
e6b465b3c2 qcacld-3.0: Add zero to the end of the buffer
when wlan_mac.bin doesn’t end with ‘\0’,
get_next_line() can access the unexpected area.

Fix this by adding 0 to the end of the buffer.

Change-Id: I01971aa5ad9679338a19e837f73969367d5b08f8
CRs-Fixed: 2026925
2017-03-31 21:57:55 -07:00
Sandeep Puligilla
0c1b59479d Release 5.2.0.18T
Release 5.2.0.18T

Change-Id: I490e4dae3fc59ac905d41c45954e09d8344461fa
CRs-Fixed: 774533
2017-03-31 21:18:13 -07:00
Yue Ma
b14663f00a qcacld-3.0: Fix compilation errors for runtime PM feature
Fix compilation errors in order to enable to compile runtime PM
feature.

Change-Id: Ie15fa5ae1ef06c27658e5b38af0e832076e3d920
CRs-fixed: 2023358
2017-03-31 21:18:11 -07:00
Sandeep Puligilla
4710ac391e Release 5.2.0.18S
Release 5.2.0.18S

Change-Id: I7ec4320ca5926737b6f9a50bf76c440c7b30bc8d
CRs-Fixed: 774533
2017-03-31 20:39:41 -07:00
Archana Ramachandran
c1a03a099f qcacld-3.0: Fix incorrect TX status reported to supplicant for p2p action frames
During p2p negotiation/invitation if the TX status for the actions frames
are reported success when they actually failed, the supplicant will
not retransmit the failed frames. It will move on to the next action
frame in the protocol. This would lead to GO Negotiation failure.

CRs-Fixed: 1112657
Change-Id: I9b462524793d8ced5ae86de75e085458070e6513
2017-03-31 20:39:40 -07:00
Sandeep Puligilla
547824cf71 Release 5.2.0.18R
Release 5.2.0.18R

Change-Id: I32fc6ae9565321fe1a3c7e5c4d753c4e57abe12f
CRs-Fixed: 774533
2017-03-31 16:07:58 -07:00
Krishna Kumaar Natarajan
fa482f5e8b qcacld-3.0: Update correct check while unpacking PPE threshold
Update correct check while unpacking PPE threshold. Incorrect
placement of parentheses may lead to unexpected behavor.

Change-Id: If1af2ab7a0601e4a25183cb8fbaf0dfd99e9bf58
CRs-Fixed: 1073481
2017-03-31 16:07:57 -07:00
Krishna Kumaar Natarajan
b3a8f6289e qcacld-3.0: Update HE ops correctly in vdev start request
Update HE ops correctly in vdev start request. Currently the update
is done in a local copy and is not updating the vdev start request.
Fix is to copy the local he ops value into vdev start request.

Change-Id: Ife5b40a8df3d6a47c2f170efdb7aae009bb8be95
CRs-Fixed: 1073481
2017-03-31 16:07:55 -07:00
Sandeep Puligilla
9a6e885a1b Release 5.2.0.18Q
Release 5.2.0.18Q

Change-Id: Ia1a60977dfec225bdebd6c31b7c3d323095dcea9
CRs-Fixed: 774533
2017-03-31 10:01:58 -07:00
Himanshu Agarwal
df9c8ac2d7 qcacld-3.0: Decrement peer ref cnt incremented while getting peer
Decrement the peer ref cnt incremented while getting peer through
wlan_objmgr_get_peer() to pass it to wlan_mgmt_txrx_mgmt_frame_tx().

Change-Id: I2791075d63610d76fa1c70d3efe76df2b2618b01
CRs-Fixed: 2025052
2017-03-31 10:01:57 -07:00
Sandeep Puligilla
8e1bae1852 Release 5.2.0.18P
Release 5.2.0.18P

Change-Id: I7cb1d6884c2d6051bdd371827f6d010e2015d7b0
CRs-Fixed: 774533
2017-03-31 05:16:05 -07:00
Nitesh Shah
0bf768fe16 qcacld-3.0: Unlock tdls mutex properly in few instances
TDLS mutex is not unlocked properly in few error instances.
Thus, the thread gets stuck.

The fix is to unlock mutex properly before returning.

Change-Id: Ic16015e568dd91af17b3bb1ba9b19722cb0f82d9
CRs-Fixed: 2026737
2017-03-31 15:33:38 +05:30
Sandeep Puligilla
696f16eaba Release 5.2.0.18O
Release 5.2.0.18O

Change-Id: I2325422739ff4dc8b6d101d5a5de4fd97d8b58d4
CRs-Fixed: 774533
2017-03-30 16:27:05 -07:00
Archana Ramachandran
62886cea31 qcacld-3.0: Update fixes in restructured legacy code for policy manager
Update fixes in restructured legacy code for policy manager:
1.Handle disconnect requests during LFR3 roaming

CRs-Fixed: 2009818
Change-Id: I2d9cbe0478090d56f22447478b33ca0de22f47c4
2017-03-30 16:27:04 -07:00
Archana Ramachandran
2eb7a61aeb qcacld-3.0: Register legacy callbacks with Policy Manager part 2
Register legacy callbacks with Policy Manager part 2.

Change-Id: Ia2d2999d75866bf1f9ca5984ae49cbbe7c5a3192
CRs-Fixed: 2009818
2017-03-30 16:27:02 -07:00
Tushnim Bhattacharyya
7e546692f3 qcacld-3.0: Add 2x2 chain configuration in policy manager
Add 2x2 chain configuration in policy manager that is coming from
user space.

Change-Id: I0cdb7e45b7fea508a3f2f933798435311397d664
CRs-Fixed: 2009818
2017-03-30 16:27:00 -07:00
Tushnim Bhattacharyya
9fb2e42e0b qcacld-3.0: Add a HDD callback to get the type of adapter
Add a HDD callback to get the type of a non connected vdev
needed by policy manager.

Change-Id: I9e0666217f7f4fef3d754534a83295f5e47b0ab9
CRs-Fixed: 2009818
2017-03-30 16:26:58 -07:00
Tushnim Bhattacharyya
ba8ee932ba qcacld-3.0: Set user configurations to policy manager
Set user configurations to policy manager.

Change-Id: I8fb2a80464c4fdd014be475a5ffffdc5a2bbd61f
CRs-Fixed: 2009818
2017-03-30 16:26:55 -07:00
Archana Ramachandran
ea34c4fb2c qcacld-3.0: Implement HDD callbacks for Policy Manager
Implement HDD callbacks for Policy Manager

Change-Id: I6ff6d194c09d0301c606b218740a6bf7152e0752
CRs-Fixed: 2019994
2017-03-30 16:26:53 -07:00
Archana Ramachandran
b8c04f9bb6 qcacld-3.0: Moving back non policy manager functionality to HDD
Functionality to send the P2P QUOTA and MCC LATENCY values to FW
is moved back to HDD since the policy manager is not using them.

Change-Id: Ia084035a27056dab6ed8d66cab2687c2f697fb4c
CRs-Fixed: 2019994
2017-03-30 16:26:50 -07:00
Tushnim Bhattacharyya
0669771031 qcacld-3.0: HDD TDLS change for policy manager restructuring
Move back TDLS logic from policy manager to HDD-TDLS.

Change-Id: Id163c7c6876fff4de1adb34d8e29c108a816c6ae
CRs-Fixed: 2009818
2017-03-30 16:26:48 -07:00
Tushnim Bhattacharyya
9104963b0d qcacld-3.0: Register legacy callbacks with Policy Manager
Register legacy callbacks with Policy Manager.

Change-Id: I8cb60890ba41f8735f342cf20916dc53d268d609
CRs-Fixed: 2009818
2017-03-30 16:26:46 -07:00
Tushnim Bhattacharyya
45ed04f74c qcacld-3.0: Add correct header files in legacy code
After removing legacy policy manager header file had to add
correct header files from host common to allow the compilation
to happen successfully.

Change-Id: I566b8f09776520e8a43eb48cc944ce627dc0c5cf
CRs-Fixed: 2009818
2017-03-30 16:26:43 -07:00
Tushnim Bhattacharyya
ff6260d114 qcacld-3.0: Remove reference to legacy policy manager API
Remove reference to legacy policy manager API to cope with
the policy manager moving to host common.

Change-Id: I5d2d4f497b02a4c701cd83e319d533c328be48cd
CRs-Fixed: 2009818
2017-03-30 16:26:41 -07:00
Tushnim Bhattacharyya
51258a79c2 qcacld-3.0: change wma code for policy manager restructuring
Modify wma code to cope with the policy manager moving to host
common.

Change-Id: Ie75b3da1291fcf1126a9e269f7b3b7974f9992a1
CRs-Fixed: 2009818
2017-03-30 16:26:39 -07:00
Tushnim Bhattacharyya
12b4874f33 qcacld-3.0: Replace policy manager header file included in data path
Replace policy manager header file include as part of policy manager
moving to host common.

Change-Id: Ie1f9d6675cc373c3325c9e76514f48299932cdda
CRs-Fixed: 2009818
2017-03-30 16:26:36 -07:00
Tushnim Bhattacharyya
e2ee70a6b6 qcacld-3.0: Remove legacy code for policy manager restructuring
Remove legacy policy manager code as part of policy manager moving to host
common.

Change-Id: I6cb9fe12bee3702556c9b52e7ccb7c69c762d8de
CRs-Fixed: 2009818
2017-03-30 16:26:34 -07:00
Tushnim Bhattacharyya
0c4ad2d08a qcacld-3.0: change sme code for policy manager restructuring
Modify sme code to cope with the policy manager moving to host
common.

Change-Id: I3a78736ea63f5e79644a9e0a3db790a1fcd286bd
CRs-Fixed: 2009818
2017-03-30 16:26:32 -07:00
Tushnim Bhattacharyya
66348bd6ba qcacld-3.0: change mac for policy manager restructuring
Modify mac code to cope with the policy manager moving to host
common.

Change-Id: I2fa5f7ed1a597b4fa5cea6aa87f5ed9f849a1cd7
CRs-Fixed: 2009818
2017-03-30 16:26:29 -07:00
Tushnim Bhattacharyya
de1070d516 qcacld-3.0: HDD change for policy manager restructuring part 3
Modify HDD code to cope with the policy manager moving to host
common.

Change-Id: I21fe97b9ba924ede1040a4bcc56313f1101b59f2
CRs-Fixed: 2009818
2017-03-30 16:26:27 -07:00
Tushnim Bhattacharyya
9028cc7246 qcacld-3.0: HDD change for policy manager restructuring part 2
Modify HDD code to cope with the policy manager moving to host
common.

Change-Id: I9f15fad9edba92aa95a062fe187b084de8e0d419
CRs-Fixed: 2009818
2017-03-30 16:26:25 -07:00
Tushnim Bhattacharyya
8716158e35 qcacld-3.0: HDD change for policy manager restructuring part 1
Modify HDD code to cope with the policy manager moving to host
common.

CRs-Fixed: 2009818
Change-Id: I6972216f56abdaa28c012449926f640074d4acb5
2017-03-30 16:26:23 -07:00
Tushnim Bhattacharyya
9e81b4ca94 qcacld-3.0: legacy code change for policy manager restructuring
Modify legacy code to cope with the policy manager moving to host
common

CRs-Fixed: 2009818
Change-Id: Ifa27ecdf1e37eda6f929f89da603bc356e9cb7fd
2017-03-30 16:26:20 -07:00
Sandeep Puligilla
96dcf134ee Release 5.2.0.18N
Release 5.2.0.18N

Change-Id: I10c468efd3db0279c928f38f4a0e6f801770539d
CRs-Fixed: 774533
2017-03-30 15:39:10 -07:00