Commit Graph

332 Commits

Author SHA1 Message Date
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
Yun Park
29747c3af0 qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_txrx_flow_control.c
Fix Datapath kernel checkpatch warnings in ol_txrx_flow_control.c

Change-Id: I240c2faf402fd0a2da51454598c041772c6ff2ab
CRs-Fixed: 2032874
2017-06-14 08:24:25 -07:00
Yun Park
3a65721b7a qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_params.h
Fix Datapath kernel checkpatch warnings in ol_params.h

Change-Id: I66ed8f3345e8c3664d7c17e6ce8d5f3cd3a28d22
CRs-Fixed: 2032874
2017-06-14 08:24:24 -07:00
Yun Park
73fbcf5a90 qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_cfg.h
Fix Datapath kernel checkpatch warnings in ol_cfg.h

Change-Id: I61ee5d467f75f47b6b0ee97e76b9400fa08c4961
CRs-Fixed: 2032874
2017-06-14 08:24:22 -07:00
Yun Park
38d2eae0da qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_htt_api.h
Fix Datapath kernel checkpatch warnings in ol_htt_api.h

Change-Id: Ia8f2c0d2e93d0e394ee14b8ea78df8089edc6908
CRs-Fixed: 2032874
2017-06-14 08:24:21 -07:00
Yun Park
2b664bba3e qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_htt_rx_api.h
Fix Datapath kernel checkpatch warnings in ol_htt_rx_api.h

Change-Id: I1dd5783bc8e5eacb57b969282224e8f9d85510f5
CRs-Fixed: 2032874
2017-06-14 08:24:19 -07:00
Yun Park
50e8ab43c8 qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_txrx_htt_api.h
Fix Datapath kernel checkpatch warnings in ol_txrx_htt_api.h

Change-Id: I48eebe427f88eda7a8baa9a0695a82c5aef35e76
CRs-Fixed: 2032874
2017-06-14 08:24:17 -07:00
Yun Park
01f6cc2d39 qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_txrx_ctrl_api.h
Fix Datapath kernel checkpatch warnings in ol_txrx_ctrl_api.h

Change-Id: I90db6c51b5b78f61fa3a7067c6ca8964fbb613a2
CRs-Fixed: 2032874
2017-06-14 08:24:15 -07:00
Yun Park
cd97ea6a1d qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_txrx_dbg.h
Fix Datapath kernel checkpatch warnings in ol_txrx_dbg.h

Change-Id: I8cf0ca442bf84d0a57d656b285e09f2f4026aae7
CRs-Fixed: 2032874
2017-06-14 08:24:14 -07:00
Yun Park
9cb1c66e72 qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_txrx_stats.h
Fix Datapath kernel checkpatch warnings in ol_txrx_stats.h

Change-Id: I162dd1de404847d58d1bf9c9dd7f9b2185b7aa8f
CRs-Fixed: 2032874
2017-06-14 08:24:12 -07:00
Yun Park
8ace0a1547 qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_htt_tx_api.h
Fix Datapath kernel checkpatch warnings in ol_htt_tx_api.h

Change-Id: I3bb790287222915e8ccb404c0284429ca1f59512
CRs-Fixed: 2032874
2017-06-14 08:24:11 -07:00
Yun Park
4afce84bee qcacld-3.0: Fix Datapath kernel checkpatch warnings in htt_internal.h
Fix Datapath kernel checkpatch warnings in htt_internal.h

Change-Id: Ided3e682646abd68909b9af7ba62e59f541fe892
CRs-Fixed: 2032874
2017-06-14 08:24:09 -07:00
Yun Park
56e32d9063 qcacld-3.0: Fix Datapath kernel checkpatch warnings in htt.c
Fix Datapath kernel checkpatch warnings in htt.c

Change-Id: I65db694e92a3194a15c6ce5c0e928b4957e6357a
CRs-Fixed: 2032874
2017-06-14 08:24:08 -07:00
Yun Park
39ea12aec5 qcacld-3.0: Fix Datapath kernel checkpatch warnings in htt_types.h
Fix Datapath kernel checkpatch warnings in htt_types.h

Change-Id: Id94b240612fcde52e6a4f3d5534b411e24fdc92d
CRs-Fixed: 2032874
2017-06-14 08:24:06 -07:00
Yun Park
a9319801ae qcacld-3.0: Fix Datapath kernel checkpatch warnings in htt_t2h.c
Fix Datapath kernel checkpatch warnings in htt_t2h.c

Change-Id: Ib8d870309ff534c2c658006df3598e559eb5fa41
CRs-Fixed: 2032874
2017-06-14 08:24:04 -07:00
Yun Park
f387e617ca qcacld-3.0: Fix Datapath kernel checkpatch warnings in htt_fw_stats.c
Fix Datapath kernel checkpatch warnings in htt_fw_stats.c

Change-Id: Ia6b62719abe9186af2e0a581d7d9a26552b7bba1
CRs-Fixed: 2032874
2017-06-14 08:24:03 -07:00
Yun Park
a63df43b92 qcacld-3.0: Fix Datapath kernel checkpatch warnings in htt_h2t.c
Fix Datapath kernel checkpatch warnings in htt_h2t.c

Change-Id: If590589ca3fdd0dde238ee540dc3435042665fce
CRs-Fixed: 2032874
2017-06-14 08:24:01 -07:00
Yun Park
bd259aec9c qcacld-3.0: Fix Datapath kernel checkpatch warnings in htt_tx.c
Fix Datapath kernel checkpatch warnings in htt_tx.c

Change-Id: I8c1b967feb742ce3a1acec437822720421e1b333
CRs-Fixed: 2032874
2017-06-14 08:24:00 -07:00
Yun Park
16cf32a688 qcacld-3.0: Fix Datapath kernel checkpatch warnings in htt_rx.c
Fix Datapath kernel checkpatch warnings in htt_rx.c

Change-Id: I922f58728c5b28afa147d6f6781356f4f5f37dc4
CRs-Fixed: 2032874
2017-06-14 08:23:58 -07:00
Himanshu Agarwal
7b54106e8f qcacld-3.0: Reduce log level of some prints in ol_tx_data()
Reduce log level of some prints in ol_tx_data() from WARN
to DEBUG.

Change-Id: I1a8d3fb5e1f99be6f243c9287b814373d6b121c0
CRs-Fixed: 2052590
2017-06-14 00:58:36 -07:00
Sandeep Puligilla
aa61e43ade qcacld-3.0: Initiate self recovery in unmap timeout handler
Initiate self recovery when firmware failed to send the unmap
event within unmap timeout OL_TXRX_PEER_UNMAP_TIMEOUT value.

Change-Id: I053e34682cb610cb258c7dabdb3f84a4b59525f1
CRs-Fixed: 2023387
2017-06-14 00:20:48 -07:00
Nachiket Kukade
8003d257b9 qcacld-3.0: Add and use API to check FW Down indication bit during probe
When commands to Firmware fail during probe due to Firmware being down, in
most cases QDF_BUGs are hit, not allowing re-probing to take place. A new
API is defined to check if the failure is due to Firmware being down or not.
If so, return error gracefully allowing re-probing to take place

Change-Id: Ib2f21a6f1ced1c16e9d2bdbda810b160ff63e2c6
CRs-fixed: 2027444
2017-06-12 17:19:28 -07:00
Himanshu Agarwal
5f5e16692d qcacld-3.0: Fix buf replenish logic and handle error pkts
Fix replenishing logic by taking care of fragments as well
in monitor mode. Also drop the packets with mpdu_length_err
bit set in rx attention desc and don't send those packets to
upper layers.

Change-Id: Iaeeb0e40e4988ca5a2d4c5e7c98ed3f82dfca533
CRs-Fixed: 2037633
2017-06-10 23:30:56 -07:00
Dustin Brown
7ff24dd43c qcacld-3.0: Use modified datapath bus suspend callbacks
A recent datapath bus suspend/resume change modified the API for the
corresponding callbacks. Update callsites to use the new APIs.

Change-Id: I8efc62ecab311e5ded3a393c11a436ce9204e72d
CRs-Fixed: 2047509
2017-06-08 13:47:01 -07:00
Venkata Sharath Chandra Manchala
1676defe7e qcacld-3.0: Enable TSO
Add FEATURE_TSO flag in Kbuild to enable the
TSO feature for Lithium based chipsets

Change-Id: Ie26b2b9a191828b3ce833000a7abbb09dd492713
CRs-Fixed: 2042950
2017-06-07 12:14:46 -07:00
Venkata Sharath Chandra Manchala
0b9fc63dd1 qcacld-3.0: Support for DPTRACE
1. Add an extra parameter pdev id to
   qdf_trace signatures to avoid compilation break.
2. This variable allows to collect records per pdev
   for Lithium based chipsets.
3. Set this variable to a default value QDF_TRACE_DEFAULT_PDEV_ID
   for older chipsets.

Change-Id: I2f4c2e3525ac0d1d53f1af3db7e43acadf6ab835
CRs-Fixed: 2049412
2017-06-05 22:52:39 -07:00
hqu
1a44d38c89 qcacld-3.0: Fix watchdog bark issue when do traffic on HL card
When data traffic is running on HL card, it will hit watchdog
bark issue. It's caused by wrong pointer usage in ol_tx_queue.c.

Add fix to sync with qcacld-2.0.

Change-Id: I7869ef86839e69e515ccd70795b3909abc09d46c
CRs-Fixed: 2053632
2017-06-05 17:23:51 -07:00
Manjunathappa Prakash
4a7b1dc764 qcacld-3.0: revert back ol_rx_add_mpdu_to_list to macro
Changes done to head pointer in ol_rx_add_mpdu_to_list() is not
returned back to caller as arguments are sent as pass by value

Change-Id: Ie8c98af2ea4e03b0678df243aa0c832165494168
CRs-Fixed: 2046362
2017-06-02 17:25:15 -07:00
Manjunathappa Prakash
2754f65563 qcacld-3.0: Fix nbuf tracking in ol_rx_fwd_check(), ol_rx_defrag_decap_recombine()
In ol_rx_fwd_check, do not remove nbuf Rx packet in case intra-bss
forwarded traffic. Regular Tx completion will take care to free the nbuf
and its tracking.

In ol_rx_defrag_decap_recombine(), it is callers responsibilty to free the
source nbuf if concatinate succeeds.

Change-Id: Iaf83524924e312bf819483de38603241f45170a5
CRs-Fixed: 2047377
2017-06-02 14:47:41 -07:00
Himanshu Agarwal
8e89ce70f0 qcacld-3.0: Record ol rx indication events
Record ol rx indication events in a global ol rx indication record
buffer to have history of msdus received, no. of buffers replenished,
etc. in rx indication messages.

Change-Id: I96cf27a209c81208c6f6566b5e57116b2cf233e8
CRs-Fixed: 2012485
2017-06-01 07:21:48 -07:00
Govind Singh
9785416998 qcacld-3.0: Handle HTT DATA2/DATA3 connect service failure
Handle error case if DATA2/DATA3 htt service connection
with fw fails.
DATA2/DATA3 connect service is done after FW ready indication.
Hence it's safe to handle the error scenarios.

Change-Id: If6f07f3c29cbc5f1486231a7897d1223ad1c24bb
CRs-Fixed: 2034843
2017-05-31 23:38:13 -07:00
Dhanashri Atre
1a6a4ce139 qcacld-3.0: Modify legacy LRO implementation to use QDF
Modify the legacy LRO implementation which is in HDD to
use the implementation in QDF instead. This is to avoid
code duplication and to unify the LRO implementations for
Napier and Helium.

Change-Id: Ie9d3bb6d3dcda5a7d1d5fda6e7cbdef92be30461
CRs-Fixed: 2042812
2017-05-26 16:11:27 -07:00
Manjunathappa Prakash
bab70f024f qcacld-3.0: Reduce failure log level of OL_TX_SEND
Reduce the excessive failure logging of OL_TX_SEND. Make it as debug log
so that it will not hog the console. OL layer tx flow control stats will
catch the dropped packets.

Change-Id: I57feee9b4eeb7bf6c6c0c239c2a30041936fa758
CRs-Fixed: 2047953
2017-05-19 14:50:38 -07:00
Dhanashri Atre
e08ba71363 qcacld-3.0: Do not typecast physical address to 32 bits
Do not typecast the physical address passed to hash list to
32 bits. The physical address maybe greater than 32 bits which
will lead to a mismatch during look-up.

Change-Id: I095e1e63c59da74bc8a2507273e7c6487d0b19e7
CRs-Fixed: 2044161
2017-05-08 15:41:34 -07:00