نمودار کامیت

128 کامیت‌ها

مولف SHA1 پیام تاریخ
Rohan Dutta
192f5be008 qcacmn: Add WPA/RSN IE from driver
Add WPA/RSN IE from Driver, when app/daemon does not program it.

Change-Id: I095ff9b46f243fa942cadf305e40cf1c207c13d0
CRs-Fixed: 2133228
2017-11-21 03:20:51 -08:00
Nandha Kishore Easwaran
434838f5d0 qcacmn: Handle athkey getkey in open authmode
Athkey getkey should not give error message in open authmode

Change-Id: I6cd33b4fafe5a43d966ef320dae398622ce8f6fb
CRs-Fixed: 2124650
2017-11-15 09:42:39 -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
Rohan Dutta
bec3ab7f30 qcacmn: Fix for wapi ping with x86 sta
The change adds support to fix ping issue for wapi with x86 sta
We add the txiv field to wlan_crypto_req_key structure, this will
be filled for wapi security only

Change-Id: Ic80ecf3aaf4440ba5f56bb9c243bfbca5be574e3
CRs-Fixed: 2098697
2017-10-14 03:51:05 -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
Gurumoorthi Gnanasambandhan
527d2b2994 qcacmn: Aggregation failure in PMF
Mismatch between structure ieee80211_cipher definition and initialize
order.miclen is taken as 0 instead of 8 because of wrong order.

CR Fixed: 2096266

Change-Id: Iadcdb971d3b09abee5b189e9882b2f5055d93b6c
2017-09-19 08:16:18 -07:00
Rohan Dutta
44a78ca333 qcacmn: Fix Null Pointer Kernel Panic on wlan_crypto_setkey
Fixing the Null pointer derefence in wlan_crypto_setkey.

Change-Id: I4853d9603be7f6b7d4f9e2c253dd9d2074bf4f68
CRs-Fixed: 2107331
2017-09-12 14:58:55 -07:00
Rohan Dutta
3844c6009c qcacmn: Set the TX_Usage in key Flags for EAP-TLS
The TX_usage is set for EAT-TLS with WEP as cipher.

CRs-Fixed: 2095158
Change-Id: I4f2f61c5cbc266a1c27b3b74e59065fc1d9aa4c2
2017-09-06 20:56:02 -07:00
Ashok Ponnaiah
b696221fd3 qcacmn: Fix wep-shared in sta mode
Add selfpeer setting in obj manager
moved handling peer wep keys during peer obj creation
addressed wep encap issue, added trailer bits.
Wep key length check fixed

CRs-Fixed: 2090497
Change-Id: I0a409e12941270dd65fcffabcbee2d5d06cc1f06
2017-08-16 22:46:20 -07:00
Gurumoorthi Gnanasambandhan
2373e37ffa qcacmn: Allocate additional 8 bytes for MIC in PMF case
Last 8 bytes for MIC are allocated in host for Hawkeye.

Change-Id: Iab375fdf3115334dba6e1f0b18c31356b8f4ed09
2017-07-30 00:39:57 -07:00
Nandha Kishore Easwaran
e9f8070cee qcacmn: For STA mode, set ucast key for bsspeer macaddr in crypto
setkey

Change-Id: Idffa8bce38bb73d35c23678267a08f3b20be0e56
2017-07-24 07:52:44 -07:00
Ashok Ponnaiah
26e6be4b76 qcacmn: Add WAPI support in crypto convergence
Added WAPI support in crypto convergence.
Included WAPI IE parsing and adding WAPI IE.

CRs-Fixed: 2073813

Change-Id: I23cecb45d0a2282fffba5c2e95ad8592801c0818
2017-07-18 23:35:08 -07:00
Ashok Ponnaiah
4db9b8ff28 qcacmn: Set default key bit only for default key
Set default key bit only for default key. For rest of the peer
keys don't set default bit

Change-Id: If8b608d60eddea1a04202ff322de7b09d471b40e
2017-07-18 23:35:07 -07:00
Linux Build Service Account
43e9c64f30 Merge "qcacmn: Fix PMF in crypto convergence" 2017-07-16 15:52:24 -07:00
Nandha Kishore Easwaran
786c9550d6 qcacmn: Fix wlan_crypto_setkey to set ucast key for correct macaddr
Ucast key was not being set for correct peer macaddr.
Changed key flags for bcast to include WLAN_CRYPTO_KEY_GROUP
and set keys for correct peer.

Change-Id: I6859dc837ee6678dc11f9aadbb2a6bc0d0e9885f
2017-07-15 10:05:32 -07:00
Ashok Ponnaiah
2a3df50dea qcacmn: Fix PMF in crypto convergence
changed the parameters in qdf_mem_zero
fixed issues in MMIE calculation.

CRs-fixed: 2073813
Change-Id: I01baa30fa1f51bb50116458d7c563c894ed44ec5
2017-07-14 10:34:09 +05:30
Ashok Ponnaiah
150a294b8a qcacmn: Check keyidx in wlan_crypto_getkey for validity
Check keyidx in wlan_crypto_getkey for validity.

Change-Id: I6bac8e8382e8850b0736ba6d4b9722672001d969
2017-07-11 23:48:15 -07:00
Nandha Kishore Easwaran
f6ddc0cd3e qcacmn: Change keyix in wlan_crypto_getkey for athkey tool
wlan_crypto_getkey only gets key data for default index.
Athkey get with idx 0 retrieves default key else, it will
retrieve custom key data.

Change-Id: I3d1d412f7f024b4ed40590be9b74c6a7fcec0303
2017-07-04 04:29:52 -07:00
Vivek
8fe2d7704c qcacmn: Clean up unwanted prints or change to appropriate log levels
Remove unwanted prints from the dirver and also change tha log levels
from some of the prints which could be useful in debug pruposes only.

Change-Id: I2b4e0c94fcf1571b332fc005b34bc4b7bcb4b7c5
2017-06-27 18:12:57 -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
Sathish Kumar
c6cd8dc07d qcacmn: Add API to check if HT rates is allowed
Add API to check if HT rates are allowed based on the cipher and mode

Change-Id: I7a24dcaf82f92abf9e9d6c7d7bbd3818e955c330
CRs-Fixed: 2053603
2017-06-05 11:41:41 -07:00
Ashok Ponnaiah
d3bf53a660 qcacmn: Remove unwanted vdev lock
Remove unwanted vdev lock before peer search.

Change-Id: I1ce7a38570cf41ea2155be350f1df0ff5ac56807
2017-05-16 22:08:02 -07:00
Ashok Ponnaiah
c204940877 qcacmn: Remove unwanted vdev_unlock
Removed unwanted vdev_unlock, which doesn't have
respective lock function.

Change-Id: I625d25c55dce382cf549590d88e11487b965b5bf
2017-05-16 22:08:01 -07:00
Ashok Ponnaiah
f8c3145190 qcacmn: move crypto init from umac to cmn code
move crypto init from umac to cmn code

Move wlan_crypto_main.h file from src folder to
include folder

Change #if to #ifdef

Change-Id: I363d4b2e7b2c2fc3291f1dd5ef8a6f3837a82df5
2017-03-24 11:09:15 -07:00
Ashok Ponnaiah
439d7b515d qcacmn: Fix setkey issue in sta mode
Fix ketkey issue in sta mode
When setting group key for station address passed was
address of the sta node. corrected it to pass bssid.

Change-Id: I2eb98ec07029283df5b40c0440438857ac66cd22
2017-03-24 11:09:14 -07:00
Ashok Ponnaiah
13e9f9bb19 qcacmn: Integrate crypto service and sw files
Integrate crypto service and crypto sw files from hostapd

Change-Id: I1e461269a603beffd9d05e304817418e5d0e4f1c
2017-03-24 11:09:12 -07:00
Ashok Ponnaiah
c365d5fbb5 qcacmn: Add hostapd crypto files
Add hostapd crypto files to be used in this
crypto service.

Change-Id: Id469ac0a9a1e9528723d61966f2312bf6149615f
2017-03-24 11:09:10 -07:00
Ashok Ponnaiah
89d288129e qcacmn: Add crypto service files
Add crypto service files

Change-Id: I6efa8e633ca414a819c0ede05c44e89aebde8ad3
2017-03-24 11:09:09 -07:00