コミットグラフ

1842 コミット

作成者 SHA1 メッセージ 日付
Venkateswara Swamy Bandaru
bfbef4f48d qcacmn: Add rawmode simulation support in cdp interface
Added rx simulation decap function interface to do simulation decap.

Change-Id: I8ae3fceeec0f6ca08d7d2857c2d017dbbdafbb85
2017-01-19 15:07:43 -08:00
qcabuildsw
3e65134751 Release 5.1.1.8N
Release 5.1.1.8N

Change-Id: I1a74efb5d52cd570deef8d96003d8abcfb64d147
CRs-Fixed: 688141
2017-01-19 12:46:38 -08:00
Karunakar Dasineni
e8380bbece qcacmn: REO descriptor changes
Disable CHK_2K_MODE and OOR_MODE in REO descriptor. Also set RTY bit for non-BA TID queues as temporary WAR for duplicate detection issue.

Change-Id: Ifa51c20ffbfe31c807d4e7f99014cb76f411e066
2017-01-19 12:46:37 -08:00
Ishank Jain
2fab33dcd4 qcacmn: Fix to make ping work on Hawkeye emulation(64 bit)
Change RXDMA_BUF_RING_SIZE to 2048
Change RXDMA_MONITOR_BUF_RING_SIZE to 2048

Change-Id: I1dee076e8e92259ffa43d2625a2dce0a94eb3164
CRs-Fixed: 1108439
2017-01-19 12:46:36 -08:00
qcabuildsw
73967c5c90 Release 5.1.1.8M
Release 5.1.1.8M

Change-Id: I747d847c516519264686ec5853acdf82e8151ac7
CRs-Fixed: 688141
2017-01-18 20:05:35 -08:00
Venkata Sharath Chandra Manchala
837d323bfb qcacmn: Attach CE SRNG SERVICES selectively
Selectively attach to ce_services_srng only when
Lithium family chipsets are enabled/disabled during
CE configuration by HIF i.e. if QCA_WIFI_QCA8074 or
QCA_WIFI_QCA6290 is defined.

Change-Id: I3c25e17160d78a3f359e5cdfe48ad05b295d0bfd
CRs-Fixed: 1103135
2017-01-18 20:05:34 -08:00
Venkata Sharath Chandra Manchala
8e8d8f1e82 qcacmn: Fix for compilation issues in REO management
Added suitable typecasting for qdf_set_bit and
qdf_clear_bit functions

Change-Id: I90fc0f441a6eae8dfdea43705373fced81b26b48
CRs-Fixed: 1105853
2017-01-18 20:05:32 -08:00
Dhanashri Atre
a98e024f86 qcacmn: Change due to R102 hardware headers for QCA6290
Changes needed to support the new definitions introduced
in the R102 hardware header files for QCA6290.

Change-Id: I4e3c27dfdc48b4d6a44f0f50f3e4a907be20e53d
CRs-Fixed: 1105853
2017-01-18 20:05:31 -08:00
Karunakar Dasineni
a0f09eae1d qcacmn: REO management changes
Changes to use REO HW command/status interface to update/delete REO queues.

Change-Id: I3500d45db021ef314b4d03fa878314d407ddfe65
2017-01-18 20:05:29 -08:00
Manoj Ekbote
4f0c6b1732 qcacmn: REO command access APIs
Implementation of APIs for Lithium REO command/status rings

Change-Id: Ib428dd995bd597f7fbfbfc458dade6e7e258000c
2017-01-18 20:05:28 -08:00
qcabuildsw
d6445c874c Release 5.1.1.8L
Release 5.1.1.8L

Change-Id: I7751731aabb7b8bfec5000c9e37ff781eebf99ae
CRs-Fixed: 688141
2017-01-18 09:40:11 -08:00
Jeff Johnson
8a4fd9bec1 qcacmn: Fix -Wmissing-prototypes in dp_rx_err.c
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code in dp_rx_err.c that is generating warnings.
Fix these warnings by making the following functions static:
	dp_rx_frag_handle()
	dp_rx_pn_error_handle()
	dp_rx_2k_jump_handle()
	dp_rx_null_q_desc_handle()

Change-Id: I45108fff8f69194b28391eebb5e079149ae5cc5a
CRs-Fixed: 1108176
2017-01-18 09:40:10 -08:00
qcabuildsw
e67e82c484 Release 5.1.1.8K
Release 5.1.1.8K

Change-Id: Iddab7d1714f491554853f8950e40d531fe607503
CRs-Fixed: 688141
2017-01-17 18:58:39 -08:00
Orhan K AKYILDIZ
547ec52872 qcacmn: fix a potential access after free
Once the wmi command is send to the FW, a sequence of events
(deletion of peer and sending of unmap messages to host) happens
on FW. This could potentially make a subsequent access to peer_addr
an access after the object is freed. Indeed a crash instance of
such a case has been reported.
Fix this by moving the print command before the actual wmi command
send.

Change-Id: I5a0d19b9b4a09687d5513acc52139a73b8490512
CRs-Fixed: 1108700
2017-01-17 18:58:38 -08:00
qcabuildsw
f50019f8b2 Release 5.1.1.8J
Release 5.1.1.8J

Change-Id: I719ef840161430cc24bbd28ab886df5ea9f06345
CRs-Fixed: 688141
2017-01-17 16:30:00 -08:00
Sandeep Puligilla
45c0daed19 qcacmn: Move defination of WMI_DBG_PARAM to host wmi file
Defination of enum WMI_DBG_PARAM is used only in host
so moved to host private wmi file.

Change-Id: I42a529b343e4e6e81b570c505385cfc8dbf9f017
CRs-Fixed: 1107600
2017-01-17 16:29:59 -08:00
qcabuildsw
434e47dab1 Release 5.1.1.8I
Release 5.1.1.8I

Change-Id: I600b437378b40e07ca226c9781fb94ff50eb5370
CRs-Fixed: 688141
2017-01-17 10:38:16 -08:00
Pratik Gandhi
7af44280a7 qcacmn: Convert wireless modes to host internal values
Convert the wireless_modes HALPHY capability from FW defined REGDMN_MODE
values to host internal WMI_HOST_REGDMN_MODE values. This will help make
host code independent of target specific definitions.

Change-Id: I6d325f76959b35a3f854ade680f4d058c9d4bfcb
CRs-Fixed: 1061096
2017-01-17 10:38:14 -08:00
qcabuildsw
db59c09b51 Release 5.1.1.8H
Release 5.1.1.8H

Change-Id: I0cdf8a8b0581ba3bab8041c14407ff3ee2671305
CRs-Fixed: 688141
2017-01-17 00:40:12 -08:00
Poddar, Siddarth
028f0696be qcacmn: Add cookie to tso seg structure to debug double mem free
Add a field in qdf_tso_seg_t. This cookie helps to check in case of
double memory free case. When double mem free hits, it will result into
qdf_assert.

Change-Id: I3c60f2603bce23b47224ae9a5d88881c2fbb8e01
CRs-Fixed: 1102423
2017-01-17 00:40:11 -08:00
qcabuildsw
da35fb5c91 Release 5.1.1.8G
Release 5.1.1.8G

Change-Id: Ib247e866ea8d2e07d0341d122aeff6dd04f49059
CRs-Fixed: 688141
2017-01-16 23:57:27 -08:00
Debasis Das
4411a492ae qcacmn: Use relative path for internal header files
The internal header file included by mgmt_txrx
dispatcher files can be included through relative
path.The kbuild need not have an entry for this
in the inclusion path.

Change-Id: Ie47351c8f69d8dbd08d665282e7827dc9c98458e
CR's Fixed:1110532
2017-01-16 23:57:26 -08:00
qcabuildsw
ea08d11a9f Release 5.1.1.8F
Release 5.1.1.8F

Change-Id: I683cc4ca5e33b894bbe9d4ae1634fde8abbe0289
CRs-Fixed: 688141
2017-01-16 18:36:41 -08:00
Yuanyuan Liu
58cac671f3 qcacmn: decrement scheduler qidx count during deregister
Decrement scheduler qidx count during deregister.

Change-Id: Idabb59628aa9f493f17cfdc72aca1699e1b71e4d
CRs-Fixed: 1111374
2017-01-16 18:36:40 -08:00
qcabuildsw
512f26c08c Release 5.1.1.8E
Release 5.1.1.8E

Change-Id: I5a1dbe98e845ca582baa746d700410104cc8088c
CRs-Fixed: 688141
2017-01-16 12:57:33 -08:00
Pratik Gandhi
6d2e13bb26 qcacmn: Fix for write operations in wmi_recording
Change incorrect extraction of wmi_handle from file handler
reference during write operations, performed on debugfs files
in wmi_recording/wmi logging.

IR-Fixed: 189093
CRs-Fixed: 1111722

Change-Id: I0603efe8f8e2530950f845f9ef9419b6784c626f
2017-01-16 12:57:32 -08:00
qcabuildsw
3d8019a02f Release 5.1.1.8D
Release 5.1.1.8D

Change-Id: Iacf32ee4000efd140e5b83ad6ded44b0b1b05e4d
CRs-Fixed: 688141
2017-01-16 01:15:00 -08:00
Arunk Khandavalli
cae132b6a9 qcacmn: Get monotonic boottime from kernel in nano sec
qcacld-2.0 to qca-wifi-host-cmn propogation

Add support to get the boot time from kernel in nano seconds.

Change-Id: Iaa512248a5e56d77cff39da562e0c9ee4eaeeefd
CRs-Fixed: 1107219
2017-01-16 01:14:59 -08:00
qcabuildsw
9b18ff1e56 Release 5.1.1.8C
Release 5.1.1.8C

Change-Id: I30e0a63b3cdfddf7af0e7bf109d4c54d40693431
CRs-Fixed: 688141
2017-01-12 07:12:01 -08:00
Jeff Johnson
0771857b80 qcacmn: Add WAR for dp_soc_attach_wifi3 -Wmissing-prototypes
Currently dp_main.c generates warnings when compiled with the GCC
-Wmissing-prototypes switch because it does not include a header file
which exports a prototype for dp_soc_attach_wifi3(). Currently the "dp
soc attach" APIs are defined in a strange manner, and there is not a
prototype which dp_main.c can include. So as a WAR define the
prototype internal to dp_main.c itself.

Of course the whole point of -Wmissing-prototypes is to prevent
mismatches between callers of an interface and the implementation of
an interface, and this WAR explicitly bypasses that protection. This
WAR should be superceded in the future by a proper registration
mechanism where the architecture-specific DP implementation attaches
to the Converged Data Path (CDP).

Change-Id: I1858ac4ec9f53c28cde622a43a3adb8643328916
CRs-Fixed: 1110197
2017-01-12 07:12:00 -08:00
Jeff Johnson
f135257ccb qcacmn: Fix -Wmissing-prototypes in dp_main.c
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code in dp_main.c that is generating warnings.  Fix
these warnings by making all functions static that are only referenced
internally to dp_main.c.

Change-Id: If22f66ecdc3dbf4e91dbd32bb0e994a281d729e9
CRs-Fixed: 1110193
2017-01-12 07:11:58 -08:00
Jeff Johnson
416168bfaf qcacmn: Fix -Wmissing-prototypes in dp_peer.c
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code in dp_peer.c that is generating warnings.  Fix
these warnings by making the following functions static:
	dp_peer_find_hash_find()
	dp_rx_tid_update_wifi3()
	dp_rx_tid_delete_cb()
	dp_rx_tid_delete_wifi3()

And by exporting a public prototype for:
	dp_peer_find_hash_erase()

Change-Id: I5c945f27c0334a4d88da6136de8aacae2ba840a7
CRs-Fixed: 1108459
2017-01-12 07:11:56 -08:00
qcabuildsw
a0346265d4 Release 5.1.1.8B
Release 5.1.1.8B

Change-Id: I0f1ecf2c4e35bce362f3d1ab35935006c4fe7330
CRs-Fixed: 688141
2017-01-12 05:26:12 -08:00
Sarada Prasanna Garnayak
6249b4350a qcacmn: Runtime PM packets tagging after wow suspend
qcacld-2.0 to qcacmn propagation.

Don't Tag Non-WoW packets as Runtime PM packets after
wow suspend. Some WMI Commands can be send in Runtime
PM context and MC thread context. Packets coming via
MC Thread Context can be tagged as Runtime PM packets
when runtime pm in progress.

Packets should be tagged in the same caller context to
avoid any race condition. Being stability issue, addressing
this issue by not tagging any non-wow commands as runtime pm
after wow suspend. This will ensure all the non-wow packets
coming after wow_suspend flag is set as non runtime pm packets
and will trigger a runtime resume.

Git-commit: 4a396d80c5cc2ded75098c61426521b9b2762c17
Git-commit: 2ee4bf4791cc5db30ec03eceaf591367deffe39a

CRs-Fixed: 1106496
Change-Id: I4e55733ad8403581aca0b49ce9442fc5591335c0
2017-01-12 05:26:11 -08:00
qcabuildsw
1f7a4b28bf Release 5.1.1.8A
Release 5.1.1.8A

Change-Id: Ib555558e290d1b84fb9e1bcd0518a9d6901707a0
CRs-Fixed: 688141
2017-01-12 02:34:18 -08:00
Srinivas Pitla
7c2f97528e qcacmn: Public APIs to get/set members of objects
1) inline APIs to get/set peer state from peer object
2) inline API to get pdev os private pointer
3) inline API to get vdev os private pointer
4) inline API to set/get max vdev count of pdev
5) Changed internal header files inclusions
6) Moved psoc_obj_attach() prototypes to gloabl_obj_i.h

Change-Id: I088d6d24dd60982af8e42b0bed0ccfaf45e219bd
CRs-Fixed: 1107371
2017-01-12 02:34:16 -08:00
Srinivas Pitla
eb76bcde26 qcacmn: API to find peer with mac address and bssid
Multiple peers can have same mac address in QWRAP, in those scenarios BSSID
should also match to get the peer. This API takes mac address and BSSID as
input params

Change-Id: I741dd78c7662a63106685f53cc51041f320e2d56
CRs-Fixed: 1107371
2017-01-12 02:34:15 -08:00
qcabuildsw
4821268f7a Release 5.1.1.8
Release 5.1.1.8

Change-Id: If9f3bd3292c20d0813635b5cf06fd73e8d5fd49d
CRs-Fixed: 688141
2017-01-11 22:15:20 -08:00
Yingying Tang
8040436e3a qcacmn: Add new HW version for QCA9379
Propagate from qcacld-2.0 to qcacmn

Currently there is no QCA9379 1.1 infomation in wlan device id table.
Add QCA9379 version 1.1 in device id table.

CRs-Fixed: 1048598
Change-Id: Ie4b7d3e31db2f2b3cad116bb0e993f9f55a7d322
2017-01-11 22:15:19 -08:00
qcabuildsw
8bfa68369c Release 5.1.1.7Z
Release 5.1.1.7Z

Change-Id: I9f32ab93de6502a2bc8c15b6699aff5c1d1fb964
CRs-Fixed: 688141
2017-01-11 03:04:09 -08:00
Selvaraj, Sridhar
fe23c57ef1 qcacmn: Export symbols of dispatcher public API's
Export symbols of the following dispatcher public API's.
1) dispatcher_init/deinit
2) dispatcher_psoc_open/close
3) dispatcher_psoc_enable/disable

Change-Id: I90c79a8c455f117b8805c0557eca6167b30286c3
CRs-Fixed: 1109029
2017-01-11 03:04:07 -08:00
qcabuildsw
8e5520e89c Release 5.1.1.7Y
Release 5.1.1.7Y

Change-Id: If81e39ad386a6404de7b1f1720c8daa186f30b13
CRs-Fixed: 688141
2017-01-10 18:20:25 -08:00
Rajeev Kumar
73c05a8087 qcacmn: Add changes to detect if scheduler thread is stuck
Scheduler thread can get stuck because of many reasons like
mutex deadlock, resource starvation etc. Add changes to detect
if scheduler thread is stuck.

Change-Id: Ib9d4e3b240077464b3a51ab6be6af728cb845bfe
CRs-Fixed: 1107636
2017-01-10 18:20:24 -08:00
qcabuildsw
4bc9248c74 Release 5.1.1.7X
Release 5.1.1.7X

Change-Id: I106329c42e05d4ebc29f5ab641b573d59548b5ec
CRs-Fixed: 688141
2017-01-10 11:47:44 -08:00
Tallapragada Kalyan
603c594e45 qcacmn: DP RX optimization changes
Added a separate loop to dequeue the rx pkts and relinquish
REO and rx-Refill ring faster. Additionl rx processing is
moved to a different per vdev loop.

CRs-Fixed: 1098453
Change-Id: I43b1fa302cf7e7c77f6114ea491306c0b724e365
2017-01-10 11:47:43 -08:00
qcabuildsw
2844c30d9a Release 5.1.1.7W
Release 5.1.1.7W

Change-Id: If320672a834167deb92a04f55c199d0014ddc02c
CRs-Fixed: 688141
2017-01-10 03:05:48 -08:00
Himanshu Agarwal
56d8a79a89 qcacmn: Call mgmt txrx init and deinit from dispatcher APIs
Call mgmt txrx init and deinit from dispatcher APIs.

Change-Id: I5a20ae1ce663b3ee271daebe67659193154df5c8
CRs-Fixed: 1103247
2017-01-10 03:05:47 -08:00
Himanshu Agarwal
ca307114d1 qcacmn: Add logic to handle reg/dereg of multiple rx callbacks
Add logic to handle registration and deregistration of rx callbacks
for multiple frames in a single call of corresponding func.

Change-Id: I09479988f0c55f6d358ef503417dcfb46f2a0565
CRs-Fixed: 1103247
2017-01-10 03:05:46 -08:00
qcabuildsw
66d177febf Release 5.1.1.7V
Release 5.1.1.7V

Change-Id: I5571dbc182572306c3ec33108ec17700cdb7a16c
CRs-Fixed: 688141
2017-01-09 14:13:15 -08:00
Soumya Bhat
ff3cac3135 qcacmn: Return from lmac_if_open appropriately
Add change in wlan_lmac_if_open() to return success
if device type is valid, else return invalid and handle
failure appropriately in caller.

Change-Id: I77a0620d4d64b18e28ce2cef7b5fb3dc7fb844ba
CRs-Fixed: 1096016
2017-01-09 14:13:14 -08:00