Графік комітів

36 Коміти

Автор SHA1 Повідомлення Дата
Kiran Kumar Lokere
91ad019921 qcacmn: Correct the log level for debug messages
Correct the log level for debug messages

Change-Id: I847d606ea28b382c1dd449221f72822cf37f2be8
CRs-Fixed: 2160779
2017-12-19 14:15:07 -08:00
Kabilan Kannan
529d3e8a7c qcacmn: Fix the TDLS command process map
TDLS command processing incorrectly fall through
to the wrong command, and it causes the crash
in the system.
Fix the mapping in TDLS process command
function

Change-Id: I296e10f92e283a813259e1f33143d09bcf3ab39b
CRs-Fixed: 2159351
2017-12-18 17:37:14 -08:00
Yun Park
11d46e0476 qcacmn: Optimize data path logging
Remove or lower log level to reduce log from data path which affects
to TPUT.

Change-Id: I7d4344c80cefb4a9539644ef50ff2074d80d6548
CRs-Fixed: 2143250
2017-12-07 22:34:10 -08:00
Frank Liu
283a2f4221 qcacmn: Dynamic antenna switch in TDLS operation
Support dynamic antenna switch in TDLS:
1. If TDLS NSS is configured to be 1x1, TDLS connections not teardown;
2. When antenna mode switched from 2x2 to 1x1, TDLS connections teared
down and EAGAIN returned; When antenna mode switched from 1x1 to 2x2,
TDLS connections is still teardown, but success in one trial.

Change-Id: I1877002122a96dc8f40c796f8a1b938199d3b67a
CRs-Fixed: 2080461
2017-12-04 23:39:02 -08:00
Kabilan Kannan
70113f22aa qcacmn: Add TDLS user command getTDLSPeers
Add TDLS user command getTDLSPeers for TDLS functional verification

Change-Id: Ia02461a364ca604672d728f7dad7c3537e78f067
CRs-Fixed: 2146626
2017-11-20 16:27:00 -08:00
Kabilan Kannan
7f6b374855 qcacmn: Fix memory leak issue in tdls peer delete operation
In TDLS peer delete function memory is not freed in error
handling path and it causes leak for every error
operation.
Free the memory in error handling path.

Change-Id: Idb4725ec7a4c1b9614ecad1f685ffdeb8f795e72
CRs-Fixed: 2139570
2017-11-15 02:29:56 -08:00
Arif Hussain
01b680df04 qcacmn: tdls: Replace instances of unadorned %p
Replace instances of unadorned %p in tdls.

Change-Id: Ife7db6d669d04c7e2d8e1a6fec5b442e180a34bb
CRs-Fixed: 2133327
2017-11-10 05:58:46 -08:00
Jeff Johnson
a4262320ce qcacmn: Use enum QDF_OPMODE
Change "qcacmn: Rename enum tQDF_ADAPTER_MODE" (qca-wifi-host-cmn
Change-Id I20f1b6d1a0ab4b8fe6a85cefdff96a49e2f4652c) renamed enum
tQDF_ADAPTER_MODE to QDF_OPMODE. Update all references to use the
new name.

Change-Id: Ic6f663dac11a100f168b2626c7c0fbcaccbfca4f
CRs-Fixed: 2141061
2017-11-09 23:42:58 -08:00
Kabilan Kannan
1caffee64c qcacmn: Fix the invalid memory access issue in TDLS
Additional IE's in the TDLS management request is not
populated correctly and it causes invalid memory
access and system crash.
Populate the additional TDLS IE's in correct
order.

Change-Id: I1c65f04c3b0e134dc4854e3f16022c887e8ce7c0
CRs-Fixed: 2136739
2017-11-09 10:46:52 -08:00
Frank Liu
f54299ee6f qcacmn: 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: 2119433
2017-10-24 15:38:24 -07:00
Kabilan Kannan
52a3a3ad05 qcacmn: 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: Idd315d544c46bcf063881bff5be70cb5d9ad0ea2
CRs-Fixed: 2123838
2017-10-23 08:06:24 -07:00
Kabilan Kannan
60e3b3062d qcacmn: Add host data path functions for TDLS
Add and enable host data path functions for Napier
TDLS.

Change-Id: I228c2dcf4e8d797d173007a3306d112aca5ba52f
CRs-Fixed: 2114813
2017-10-05 19:59:55 -07:00
Jeff Johnson
878533e29b qcacmn: umac: Replace instances of unadorned %p
Replace instances of unadorned %p in umac.

Change-Id: I7ae33c51405b31df24670dee3c98b6b4f1da9ab4
CRs-Fixed: 2111274
2017-10-03 16:02:30 -07:00
Kabilan Kannan
ce76a35340 qcacmn: Fix TDLS peer capability initialization
In tdls_set_peer_caps(), is_buffer_sta and is_off_channel_supported are declared,
but are not initialized. This will create unpredictable problem in TDLS
operations.
Initialize all the variables with default values in peer capability.

Change-Id: I469d7a56e1222944f3cd76efb76544aba7d8dff6
CRs-Fixed: 2092034
2017-09-22 03:57:41 -07:00
Varun Reddy Yeturu
eea59a38ac qcacmn: Add vdev as argument to wlan_serialization_comp_info_cb
Add an additional argument to wlan_serialization_comp_info_cb to pass
the vdev information while filling the information required to apply the
rules.

Change-Id: I44dadc01108e746fd2ce6353a90cdf9401dd6d06
CRs-Fixed: 2090987
2017-08-13 16:16:06 -07:00
Kabilan Kannan
298329e692 qcacmn: Restructure TDLS function to fix the compilation issue
When TDLS disabled at the build level, it triggers
build failures in some of the projects, which does
not support TDLS feature.
Restructure the TDLS function to avoid build
failures, when TDLS is not enabled.

Change-Id: I3b63546f22d0187fb42d400fd7e15ff7a3d64653
CRs-Fixed: 2056022
2017-08-08 16:05:06 -07:00
Vivek
b02a649f89 qcacmn: Remove vdev/peer locks for trivial APIs
Remove vdev/peer locks from trivial API's. This follows the changes from
which the lock requirement from few simple APIs are removed.

Change-Id: I9972d51dfd1a42bdedbfd0fd4e67af03d030a1f5
CRs-Fixed: 2060880
2017-06-26 23:32:22 -07:00
Vivek
5ec0bd3636 qcacmn: Remove psoc/pdev locks for trivial APIs
Remove psoc/pdev locks from trivial API's. This follows the changes from
which the lock requirement from few simple APIs are removed.

Change-Id: Ib5769c2234c8d57f485c0eef5a4e3c61fa170508
CRs-Fixed: 2060880
2017-06-26 23:32:19 -07:00
Kabilan Kannan
ac7731fc62 qcacmn: Fix TDLS set state cmd sequence for roaming
Firmware expects TDLS set state cmd before vdev stop, but
the cmd is going out of sequence during roaming and induce
crash in the system.
Send the TDLS set state cmd with correct sequence.

Change-Id: Ie106b8a8cebaa7f107c9eff67dda924b231162da
CRs-Fixed: 2048036
2017-05-17 21:07:33 -07:00
Kabilan Kannan
56bfd8fdb3 qcacmn: Update address search flags for TDLS
Add support to set address search flags in WLAN Tx Descriptor
for TDLS operation

Change-Id: Iafb15fb1efd84a4bef436062368401a5496e4468
CRs-Fixed: 2041759
2017-05-05 00:27:20 -07:00
Kabilan Kannan
9e5be67bab qcacmn: Fix excessive logging problem in TDLS
TDLS registered for optional action frames to print the
information about unknown peer commands. This causes
problem in the system with too many logs.
Remove the optional action frames registration from
the TDLS component.

Change-Id: Iec2ee86ae1b3139858f6a1ff5b96477bc6dae169
CRs-Fixed: 2037911
2017-04-24 20:45:36 -07:00
Kabilan Kannan
021a75a82b qcacmn: Fix TDLS UMAC memory init issues
scheduler message structure needs to be initialised to zero
before populating it contents.
Init scheduler msg structure to zero during the structure
declaration.

Change-Id: Ib6281b7d3b0a103be5adf65d12c20a28f48065f5
CRs-Fixed: 2034220
2017-04-20 16:26:00 -07:00
Kabilan Kannan
7e189c3436 qcacmn: Add TDLS off channel changes for TDLS UMAC
Add TDLS offchannel and related osif changes in TDLS
UMAC component.

Change-Id: Ic562709eb8a6361322860c4f7333633a7894af99
CRs-Fixed: 2034220
2017-04-20 00:04:56 -07:00
Kabilan Kannan
e81cb8eac8 qcacmn: Add os_if changes for tdls management
Add os interface changes to send tdls management
frames to tdls component

Change-Id: Ib675e4b089a88ad618f918d9992a777c7221b34c
CRs-Fixed: 2034220
2017-04-20 00:04:54 -07:00
Kabilan Kannan
8398292c6d qcacmn: Add scan related events for TDLS component
Add Scan start and complete events for TDLS component

Change-Id: Ibb452d2823115ec16a7c6e9f88c9ad6cac48930c
CRs-Fixed: 2034220
2017-04-20 00:04:53 -07:00
Kabilan Kannan
791f7aa23b qcacmn: Add TDLS ucfg changes for sta connect/disconnect
Add TDLS ucfg interface changes for sta connect, sta
disconnect and tx/rx data sample

Change-Id: Ic57a91b70fe462ee031dc0cf54112601aae0dfc4
CRs-Fixed: 2034220
2017-04-20 00:04:50 -07:00
Kabilan Kannan
3e4752133a qcacmn: Add sta connect/disconnect in TDLS UMAC component
Add sta connection and disconnection event related
methods into TDLS component

Change-Id: I1309792cf68df87b1ecf5a7686ac645ac21d1c7c
CRs-Fixed: 2034220
2017-04-20 00:04:49 -07:00
Kabilan Kannan
97bc1c725a qcacmn: Add TDLS management frames
Add TDLS management frames implementaion in TDLS
umac component

Change-Id: I46943f7df119894e0d54df2c6edb08ed4546a389
CRs-Fixed: 2034220
2017-04-20 00:04:48 -07:00
Kabilan Kannan
ee01ebfc20 qcacmn: Add connection tracker to TDLS UMAC
Add connection tracker support in TDLS UMAC
component

Change-Id: I725b579ab9f393d5247651bfe53df6b4a3f53649
CRs-Fixed: 2034220
2017-04-20 00:04:47 -07:00
Kabilan Kannan
a477d5e3bc qcacmn: Add tdls timers function in tdls component
Add tdls timers implemenation for discovery, idle and
connection tracker.

Change-Id: I7ccd5ec6c1d396a0fd25e6f28a258986a646c800
CRs-Fixed: 2034220
2017-04-20 00:04:46 -07:00
Frank Liu
cda0961ecc qcacmn: Enable TDLS component
Enable TDLS module in dispatcher

Change-Id: I4b1fe09278115a90eb6b19ed6ce8fef57143a910
CRs-Fixed: 2011330
2017-04-20 00:04:44 -07:00
Frank Liu
f0f46ac045 qcacmn: TDLS component: handle TDLS firmware event
Handle TDLS related firmware event: tear down, discovery,
disconnect, and send correspond indication to upper layer

Change-Id: I6cff95904d06408f9458132ab5ce69f1a129e993
CRs-Fixed: 2011330
2017-04-20 00:04:41 -07:00
Frank Liu
f2768cc42d qcacmn: TDLS component: core tdls_oper operations
Implement TDLS oper fucntions

Change-Id: Ibdd1fa30ef5b72fbbe8316f88d8c4b9deab1a5a7
CRs-Fixed: 2011330
2017-04-20 00:04:39 -07:00
Frank Liu
9dd3c3e9cb qcacmn: TDLS component: south interface
Add lmac_if layer changes for TDLS

Change-Id: Ic842857ce7ebc83d2a22a8a8e23c60df1c3dbfc8
CRs-Fixed: 2011330
2017-04-20 00:04:38 -07:00
Frank Liu
d4b12dbff6 qcacmn: TDLS component: core peer operations
TDLS peer operations: add, delete and update TDLS peer

Change-Id: I7dba1a4b2b3b8597935db811da68ee5ba630bf4d
CRs-Fixed: 2011330
2017-04-20 00:04:35 -07:00
Frank Liu
73ce0d0216 qcacmn: tdls module init and deinit
tdls module init and deinit

Change-Id: I751a948a46ac4e5148e35aa509fdbff25b6c5f3c
CRs-Fixed: 2011330
2017-03-17 02:32:10 -07:00