Sravan Kumar Kairam
3d5c118ec6
qcacld-3.0: At TSO segment free set owner TX desc to NULL
...
Currently at TSO segment free it's debug information is not
cleared. TSO segment TX descriptor owner is part of the debug
information. As a result even after segment free still its
point to stale TX descriptor as it's owner. In this change at
TSO segment free set TX desc owner to NULL.
Change-Id: I09f927d78c7b3aa4691aa69acbd4cef5002cf11d
CRs-Fixed: 2063433
2017-07-11 03:51:58 -07:00
Deepak Dhamdhere
be72e80caa
qcacld-3.0: Fix error handling in peer creation
...
Return error instead of QDF_BUG(0) in ol_txrx_peer_attach() when it
times out on duplicate peer detection. Peer unmap events from firmware
may take more than 500 ms timeout observed by this routine.
wma_create_peer() should return error status on failure to create peer.
CRs-Fixed: 2004665
Change-Id: I8368c6320139f97584bd1647f1806a695d4a5929
2017-07-05 11:50:53 -07:00
jge
35cba62d45
qcacld-3.0: Correct NULL check when using ol_tx_dest_addr_find
...
Fix static analyze issues. add NULL pointer check.
Change-Id: Icc80211b945d1eaabfb6015ba93e0c3114f2c589
CRs-Fixed: 2059683
2017-07-04 04:29:56 -07:00
Rakesh Pillai
7fb7a1f850
qcacld-3.0: Fix CLANG warnings in Data path
...
implicit conversion from enumeration type 'QDF_STATUS' to different enumeration type 'A_STATUS'
implicit conversion from enumeration type 'A_STATUS' to different enumeration type 'QDF_STATUS'
CRs-Fixed: 2063339
Change-Id: Ib96a49f40ea581127405560087354e7fa9bf46ec
2017-06-30 22:50:40 -07:00
Kapil Gupta
53d9b575c5
qcacld-3.0: Remove unwanted error msgs
...
Add changes to remove unwanted error messages from peer create/
delete events.
Change-Id: Ic511b1799db36d1da4bda491792889db881de233
CRs-Fixed: 2040800
2017-06-30 04:50:24 -07:00
Abhishek Singh
217d978511
qcacld-3.0: Wait for all peer unmap events
...
Currently even though all peer unmaps events of last associated peer are
not received, driver still goes ahead for new connection with a diffrent peer.
Now if firmware uses same peer id for new peer also this causes synchronization
issue of peer ref counts and will eventually lead of kernel panic.
Add changes to wait for last peer's all unmap events before proceeding with
new connection
CRs-Fixed: 2040627
Change-Id: I30e74d9bebe66fec55d7682d3cec581a078f5e75
2017-06-30 04:50:23 -07:00
jge
9bd51dd66b
qcacld-3.0: Correct NULL check in ol_tx_bad_peer_update_tx_limit
...
Fix static analyze issues. add NULL pointer check.
Change-Id: If1380a23a87a50d50458d10f87a512fa87613b27
CRs-Fixed: 2059753
2017-06-29 20:30:39 -07:00
Varun Reddy Yeturu
dd51e8d67b
qcacld-3.0: Fix logging levels - Part 2
...
Move the log messages to appropriate log levels so that
the console does not get a huge spam of unnecessary logs
Change-Id: Ie58b45078ad8b4732d7b84bfb77261396bd5862a
CRs-Fixed: 2043741
2017-06-29 20:30:36 -07:00
hqu
c7f560cb21
qcacld-3.0: Translate the AC enums defined in htt
...
The AC values used by htt and txrx module are mismatch. Assertion
is also added to confirm that the values are matching.
The change is also to sync with CLD2.0.
Change-Id: I011a6f2b78a6954863c99f9d3875b2c88d2b78b1
CRs-Fixed: 2065390
2017-06-29 03:44:37 -07:00
hqu
fd227fe3f8
qcacld-3.0: Initialize mapping from TIDs to category table
...
Add initialization for mapping from TIDs including extension TIDs
to category table.
The change is also to sync with CLD2.0.
Change-Id: Ie79e5420cc22f4cb3e34ceeb020f3fde8f170d4d
CRs-Fixed: 2065379
2017-06-29 01:49:50 -07:00
Deepak Dhamdhere
d42ab7c3dc
qcacld-3.0: Ignore peer_unmap_timer_handler during recovery
...
If the driver recovery is in progress, unmap events may not come
from firmware. Ignore the peer_unmap timeout in such case.
CRs-Fixed: 2033452
Change-Id: I284c57530a477953247ad325dfaddff72767aecf
2017-06-18 16:11:04 -07:00
Deepak Dhamdhere
2b283c6543
qcacld-3.0: Use qdf_timer_sync_cancel to stop peer_unmap_timer
...
Peer may get deleted between the time peer_unmap_timer fires and
the handler gets executed in mc thread context, causing memory
access error. Use qdf_timer_sync_cancel() to wait for the handler
to finish its job before freeing the peer object.
CRs-Fixed: 2026393
Change-Id: Ie60b5c300be529d529f7e836adc0e3be917fe2e8
2017-06-18 16:11:03 -07:00
Deepak Dhamdhere
fe55836608
qcacld-3.0: Initialize peer_unmap_timer during peer attach
...
Initialize peer_unmap_timer during peer attach instead of at the
time of peer detach. Then ol_txrx_unref_delete can destroy
the timer without peer detach getting called earlier.
CRs-Fixed: 2014183
Change-Id: Icebec27d5562350871a89b5cf71ae99f096feee8
2017-06-18 16:11:01 -07:00
Deepak Dhamdhere
e1c2e21a3d
qcacld-3.0: Add peer unmap timeout handler
...
Add a timeout handler that fires off 6000 ms after peer detach
operation is initiated. Used for debugging the scenario of missing
peer unmap events after deleting a STA type peer.
CRs-Fixed: 1109867
Change-Id: Iad18f374ba3c1458c5214befd1d5c1517a7bdedf
2017-06-18 16:10:59 -07:00
Yun Park
641304c513
qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_txrx_internal.h
...
Fix Datapath kernel checkpatch warnings in ol_txrx_internal.h
Change-Id: I4be2823e6179322bcbf26f1c2f1120a238434c06
CRs-Fixed: 2032874
2017-06-14 08:25:24 -07:00
Yun Park
4a2be57d53
qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_txrx_types.h
...
Fix Datapath kernel checkpatch warnings in ol_txrx_types.h
Change-Id: Ia18c899500f5162ad4a6e283db161350d5faea16
CRs-Fixed: 2032874
2017-06-14 08:25:23 -07:00
Yun Park
eaea863f3f
qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_txrx.c
...
Fix Datapath kernel checkpatch warnings in ol_txrx.c
Change-Id: I9a11c8a61524e91d9df6357cf0994b261dcc3d04
CRs-Fixed: 2032874
2017-06-14 08:25:21 -07:00
Yun Park
ba9b617e9c
qcacld-3.0: Fix Datapath kernel checkpatch warnings in ipv6_defs.h
...
Fix Datapath kernel checkpatch warnings in ipv6_defs.h
Change-Id: Id64667f9b7d80104187f715a8ede6095ee69ef88
CRs-Fixed: 2032874
2017-06-14 08:25:19 -07:00
Yun Park
0b3741c555
qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_rx_fwd.h
...
Fix Datapath kernel checkpatch warnings in ol_rx_fwd.h
Change-Id: I50e2a892ae70143a393bdefe409d9bfbc2d48e79
CRs-Fixed: 2032874
2017-06-14 08:25:17 -07:00
Yun Park
f9677156d7
qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_tx_send.c
...
Fix Datapath kernel checkpatch warnings in ol_tx_send.c
Change-Id: I94b3e093eac8d51524a689151028ef296cc4da82
CRs-Fixed: 2032874
2017-06-14 08:25:15 -07:00
Yun Park
34adb051ad
qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_rx.h
...
Fix Datapath kernel checkpatch warnings in ol_rx.h
Change-Id: I3a83d4ed95a004fee57af674c385c8eb2d519d23
CRs-Fixed: 2032874
2017-06-14 08:25:13 -07:00
Yun Park
a13ef65af1
qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_rx_reorder.h
...
Fix Datapath kernel checkpatch warnings in ol_rx_reorder.h
Change-Id: I0a7b214a2a81c3f8d4db7efa8c47d8ab97878db6
CRs-Fixed: 2032874
2017-06-14 08:25:12 -07:00
Yun Park
02355f4da8
qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_rx.c
...
Fix Datapath kernel checkpatch warnings in ol_rx.c
Change-Id: I75477a2ed36394fd0d1cbdc6b6cbbd96e044a9b3
CRs-Fixed: 2032874
2017-06-14 08:25:10 -07:00
Yun Park
512f3a145d
qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_txrx_peer_find.c
...
Fix Datapath kernel checkpatch warnings in ol_txrx_peer_find.c
Change-Id: Ie0416390bfd4c1f6a50c70747a9fc5b87daa7959
CRs-Fixed: 2032874
2017-06-14 08:25:09 -07:00
Yun Park
863014df56
qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_txrx.h
...
Fix Datapath kernel checkpatch warnings in ol_txrx.h
Change-Id: I8123dc787b9e26882fbe01aada3b9dcc698d86ed
CRs-Fixed: 2032874
2017-06-14 08:25:06 -07:00
Yun Park
a7217756a3
qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_txrx_peer_find.h
...
Fix Datapath kernel checkpatch warnings in ol_txrx_peer_find.h
Change-Id: Ia21408c855a8cc729a9075b36eed4ce753f8cece
CRs-Fixed: 2032874
2017-06-14 08:25:05 -07:00
Yun Park
28e92985a9
qcacld-3.0: Fix Datapath kernel checkpatch warnings in wdi_event_api.h
...
Fix Datapath kernel checkpatch warnings in wdi_event_api.h
Change-Id: Iec1119b62d0aa9efbc55121b84afc7e93ad98ee1
CRs-Fixed: 2032874
2017-06-14 08:25:03 -07:00
Yun Park
577335799a
qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_tx_queue.c
...
Fix Datapath kernel checkpatch warnings in ol_tx_queue.c
Change-Id: Icc186d67922d810b84ca11049a6282ad952c5da8
CRs-Fixed: 2032874
2017-06-14 08:25:02 -07:00
Yun Park
1239b22f93
qcacld-3.0: Fix Datapath kernel checkpatch warnings in txrx.h
...
Fix Datapath kernel checkpatch warnings in txrx.h
Change-Id: Ia58e1014120fcdf314927d0d3680ca27d16621f3
CRs-Fixed: 2032874
2017-06-14 08:25:00 -07:00
Yun Park
196641d7b9
qcacld-3.0: Fix Datapath kernel checkpatch warnings in wdi_event.h
...
Fix Datapath kernel checkpatch warnings in wdi_event.h
Change-Id: I15295af3c6711b5b477739ec5741ba2b4e36b6d3
CRs-Fixed: 2032874
2017-06-14 08:24:59 -07:00
Yun Park
cb0bb18ba3
qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_tx_desc.h
...
Fix Datapath kernel checkpatch warnings in ol_tx_desc.h
Change-Id: I00647231116da840dd3e49e54fee6c1c5826982d
CRs-Fixed: 2032874
2017-06-14 08:24:57 -07:00
Yun Park
d79331a15f
qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_tx_queue.h
...
Fix Datapath kernel checkpatch warnings in ol_tx_queue.h
Change-Id: I2b44744e7021b877554dd08d9f5a01e611ff457d
CRs-Fixed: 2032874
2017-06-14 08:24:55 -07:00
Yun Park
89f62d6c3a
qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_txrx_encap.c
...
Fix Datapath kernel checkpatch warnings in ol_txrx_encap.c
Change-Id: Ib1af9f38ab4fb13fa11b1fcc8c21d1b6bb8a614d
CRs-Fixed: 2032874
2017-06-14 08:24:54 -07:00
Yun Park
b539ea38bf
qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_rx_pn.c
...
Fix Datapath kernel checkpatch warnings in ol_rx_pn.c
Change-Id: I68d52e0dfcf2521b34e4a396528b9bfb8a0058fb
CRs-Fixed: 2032874
2017-06-14 08:24:52 -07:00
Yun Park
63018127e4
qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_rx_defrag.c
...
Fix Datapath kernel checkpatch warnings in ol_rx_defrag.c
Change-Id: Iacf91e53cedf7908daa4d86525acc4d4f80969b0
CRs-Fixed: 2032874
2017-06-14 08:24:51 -07:00
Yun Park
5cc476218b
qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_rx_defrag.h
...
Fix Datapath kernel checkpatch warnings in ol_rx_defrag.h.
Change-Id: Iea74ad576793b34fbf8bbdbafa9b2f831b1f108d
CRs-Fixed: 2032874
2017-06-14 08:24:48 -07:00
Yun Park
07be5536d0
qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_rx_reorder_timeout.h
...
Fix Datapath kernel checkpatch warnings in ol_rx_reorder_timeout.h
Change-Id: I878b51abc716768e9c52ab58b4e0387c6544f368
CRs-Fixed: 2032874
2017-06-14 08:24:47 -07:00
Yun Park
42e0bef5fe
qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_rx_reorder_timeout.c
...
Fix Datapath kernel checkpatch warnings in ol_rx_reorder_timeout.c
Change-Id: Ia8fc0a14b34876eb648d1c22a0e96e733cc317c4
CRs-Fixed: 2032874
2017-06-14 08:24:45 -07:00
Yun Park
3453282718
qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_tx.c
...
Fix Datapath kernel checkpatch warnings in ol_tx.c
Change-Id: I538bf59ab717dfac6cd5d88273dc938b1f76b6d2
CRs-Fixed: 2032874
2017-06-14 08:24:44 -07:00
Yun Park
4afce45d11
qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_tx_desc.c
...
Fix Datapath kernel checkpatch warnings in ol_tx_desc.c
Change-Id: Iec012ad960057d27ccf063ff35607fecefe74cc3
CRs-Fixed: 2032874
2017-06-14 08:24:42 -07:00
Yun Park
d541465b3b
qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_tx_send.h
...
Fix Datapath kernel checkpatch warnings in ol_tx_send.h
Change-Id: I4a4abea0913eaba7bab8b50faa6330f930f1981a
CRs-Fixed: 2032874
2017-06-14 08:24:41 -07:00
Yun Park
57b82634ee
qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_tx_sched.h
...
Fix Datapath kernel checkpatch warnings in ol_tx_sched.h
Change-Id: I123d2197294be6ae19174a4a40d02dd8047091e1
CRs-Fixed: 2032874
2017-06-14 08:24:39 -07:00
Yun Park
d1b045edcf
qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_cfg.c
...
Fix Datapath kernel checkpatch warnings in ol_cfg.c
Change-Id: I42f9d34fb38ec1f990988d434965673401236ef4
CRs-Fixed: 2032874
2017-06-14 08:24:38 -07:00
Yun Park
1edc871c44
qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_rx_fwd.c
...
Fix Datapath kernel checkpatch warnings in ol_rx_fwd.c
Change-Id: Iaf14e45dac4fd3d7293379798976162d92ae58fb
CRs-Fixed: 2032874
2017-06-14 08:24:36 -07:00
Yun Park
04097e8e92
qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_tx_classify.c
...
Fix Datapath kernel checkpatch warnings in ol_tx_classify.c
Change-Id: Ic409ee871bff01669c6f042e44c6d71ce6e63a65
CRs-Fixed: 2032874
2017-06-14 08:24:35 -07:00
Yun Park
202403b5db
qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_tx_sched.c
...
Fix Datapath kernel checkpatch warnings in ol_tx_sched.c
Change-Id: I1ea7dd958cee18b00bfee7dbac962fcd7cbf3e06
CRs-Fixed: 2032874
2017-06-14 08:24:33 -07:00
Yun Park
e459ea9fe5
qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_txrx_event.c
...
Fix Datapath kernel checkpatch warnings in ol_txrx_event.c
Change-Id: Id116f007d12eebf8e207bc1ff89de8d3e27ec65c
CRs-Fixed: 2032874
2017-06-14 08:24:32 -07:00
Yun Park
28390e3ad5
qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_rx_reorder.c
...
Fix Datapath kernel checkpatch warnings in ol_rx_reorder.c
Change-Id: I61d4486c56cd1a5c53566d5c40bfe35da6eba598
CRs-Fixed: 2032874
2017-06-14 08:24:30 -07:00
Yun Park
719aaea2ad
qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_tx.h
...
Fix Datapath kernel checkpatch warnings in ol_tx.h
Change-Id: I187da81eb6edbcbede2bf6600d24002a04e610a4
CRs-Fixed: 2032874
2017-06-14 08:24:29 -07:00
Yun Park
502780fdb4
qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_rx_pn.h
...
Fix Datapath kernel checkpatch warnings in ol_rx_pn.h
Change-Id: Ic7edeb53ffed6672ad0bf8aedb34ce7371fc450a
CRs-Fixed: 2032874
2017-06-14 08:24:27 -07:00