Commit grafiek

20 Commits

Auteur SHA1 Bericht Datum
Jeff Johnson
ae1b3de378 qcacmn: Fix typo "sucess"
Replace typo "sucess" with correct spelling "success"

Change-Id: Ieacb299890210d67848268a389a57168e2a2badd
CRs-Fixed: 2238309
2018-05-17 00:46:44 -07:00
Dustin Brown
490d818d1d qcacmn: Replace QDF_MAC_ADDRESS_STR
QDF_MAC_ADDRESS_STR has been depreciated in favor of
QDF_MAC_ADDR_STR. Replace all usages with the new macro.

Change-Id: I534923783a32288f7861caf9ae52ca3aac965809
CRs-Fixed: 2179126
2018-01-25 23:39:30 -08:00
Naveen Rawat
68805125fd qcacmn: Avoid WMI TLV structures in NAN target_if
Refactor NAN target_if to make it wmi-type agnostic. Specifically
do not access wmi structures in NAN target_if. All the access to
wmi structures should happen in tlv and non-tlv specific wmi files.

Change-Id: I944b678fc501723d7cd26c9b21c4cc6ddb7fda4e
CRs-Fixed: 2159876
2018-01-09 06:12:48 -08:00
Naveen Rawat
7b5cffe84f qcacmn: Avoid null pointer dereference and OOB access
Avoid possible null pointer dereferece and out of bound access
in NAN component.

Change-Id: I40ba4e340e34e8975c782c0a6329322e3c151326
CRs-Fixed: 2160751
2018-01-04 15:34:36 -08:00
Naveen Rawat
92e3c10b45 qcacmn: Fix nan_release_cmd
Fix nan_release_cmd to take serialization command type.

Change-Id: I1f8ba74b4630c03dacda3bf294526a0f066d3c32
CRs-Fixed: 2137432
2017-11-08 21:57:34 -08:00
Naveen Rawat
2171e391a8 qcacmn: Enable support for multiple NAN Data Interfaces
Enable support for multiple nan data interfaces. The usespace
may need to create multiple NDIs depending on whether it
requires IP isolation or not.

Change-Id: I4391f2efdc6bdede52a73915531d39dd7798c39d
CRs-Fixed: 2072501
2017-07-25 13:33:53 -07:00
Naveen Rawat
7b62aff6c7 qcacmn: Add Passphrase and Service Name parameter to NDP cmds
Add Passphrase and Service Name to NDP initiator request and NDP
responder request.

Change-Id: I6a189747760a15393fcbac9dc382847fef789ab1
CRs-Fixed: 2072498
2017-07-08 01:45:00 -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
Naveen Rawat
52e9bb6d6f qcacmn: NDP_END_REQ implementation
Add implementation of NDP_END_REQ.

Change-Id: Ifa0bdcdee09c15c68bb12c63ba1157c71650c5bc
CRs-Fixed: 2014795
2017-04-11 11:04:24 -07:00
Naveen Rawat
f2bc82eb18 qcacmn: NDP_RESPONDER_REQ implementation
Add implementation for NDP_RESPONDER_REQ.

Change-Id: I27029eae88e0bc545c8444adf1342b2ec95f4d60
CRs-Fixed: 2014795
2017-04-11 11:04:23 -07:00
Naveen Rawat
06a5eb5071 qcacmn: NDP_INITIATOR_REQ implementation
Add implementation for NDP_INITIATOR_REQ.

Change-Id: Ieb4cb79d500fd75b23b4a3f8bfa414d14eb6fe18
CRs-Fixed: 2014795
2017-04-11 11:04:22 -07:00
Naveen Rawat
e830e98bcf qcacmn: Add implementation for NDI Create/Delete
Implement NDI create and NDI delete commands.

Change-Id: Icd4c745f4d25c0f10f12271fd4fcd7720ad85860
CRs-Fixed: 2014795
2017-04-11 11:04:21 -07:00
Naveen Rawat
7358d18e39 qcacmn: Add framework for NDP cmd execution
Add NDP command execution framework:
1) Define UCFG apis, that will be called from OS_IF layer
2) Define request proccessing functions to post to scheduler and callback.
3) Define request proccessing functions to post to serializer and callback.
4) Define functions handling activated, cancelled and timed out NDP req.

Change-Id: Ibc6fe32c65f8de0c24e0537f2eb538f806cf5284
CRs-Fixed: 2014795
2017-04-11 11:04:20 -07:00
Naveen Rawat
5b37936bf8 qcacmn: Add interface with LMAC for NAN Component
Add interface with LMAC for NAN Component.

Change-Id: Idbcdaa19a7a2b83d5a2d125419a7bc6cbe72033d
CRs-Fixed: 2014795
2017-04-11 11:04:13 -07:00
Naveen Rawat
e92475bb19 qcacmn: Implement NAN component init deinit
Implement framework for NAN component and NAN init/deint.

Change-Id: Ice8a7269dc646daa97014ac9667e6f07748fdfba
CRs-Fixed: 2014795
2017-04-11 11:04:12 -07:00
Naveen Rawat
207fb4ead9 qcacmn: Define NAN components's get/set and utility APIs
Define set/get and utility APIs to be used by NAN and other UMAC
components.

Change-Id: Ib3c3c9711ab823dfdf538099d30078b703566fe1
CRs-Fixed: 2014795
2017-04-11 11:04:11 -07:00
Naveen Rawat
5b3602a617 qcacmn: Define NDP structures and enums and private obj
1) Define NDP structures and enum.
2) Define PSOC and VDEV private object

Change-Id: I3cb3c0e357f8b4598a0e4ec8abbd5b69e5de5180
CRs-Fixed: 2014795
2017-04-11 11:04:10 -07:00
Naveen Rawat
2a294f3483 qcacmn: Rename nan_utils_i.h to nan_main_i.h
Rename nan_utils_i.h to nan_main_i.h, because it is supposed to contain
few internal structures along with apis

Change-Id: I77e44c362f2a36c5b17bcaa62cb2f2124abf0245
CRs-Fixed: 2014795
2017-03-31 10:37:01 -07:00
Naveen Rawat
2a1033ce7d qcacmn: Add new files for new NAN component
Add new files for new NAN component.

Change-Id: I817723e518d53e9348d817746fc8318171d6ddf3
CRs-Fixed: 2014795
2017-03-23 00:49:33 -07:00