Commit Graph

4559 Commits

Author SHA1 Message Date
Srinivas Girigowda
df41e12969 qcacld-3.0: Reduce the log spam in wlan_hdd_scan.c
Move the logs to appropriate log levels to reduce
the log spam in wlan_hdd_scan.c

Change-Id: I0210c57968d26819de5e15bbe00193cd3e65703a
CRs-Fixed: 2014745
2017-04-07 20:28:50 -07:00
Srinivas Girigowda
af2bfa43dc qcacld-3.0: Reduce the log spam in wlan_hdd_wext.c
Move the logs to appropriate log levels to reduce
the log spam in wlan_hdd_wext.c

Change-Id: Ice75a9a3acd5c9fff07082eb2963c24aec42e1c2
CRs-Fixed: 2014745
2017-04-07 20:28:49 -07:00
Srinivas Girigowda
d1a07a5aa6 qcacld-3.0: Reduce the log spam in wma_utils.c
Move the logs to appropriate log levels to reduce
the log spam in wma_utils.c

Change-Id: Ic69df76b9a24513c70a30de2bed4a8d61315161c
CRs-Fixed: 2014745
2017-04-07 20:28:47 -07:00
Srinivas Girigowda
11daf2abe5 qcacld-3.0: Reduce the log spam in wlan_hdd_stats.c
Move the logs to appropriate log levels to reduce
the log spam in wlan_hdd_stats.c

Change-Id: I0c953ce53c061e93b74b190c1bd31de7b9c045c3
CRs-Fixed: 2014745
2017-04-07 20:28:46 -07:00
Srinivas Girigowda
da0e8488be qcacld-3.0: Reduce the log spam in wma_dev_if.c
Move the logs to appropriate log levels to reduce
the log spam in wma_dev_if.c

Change-Id: I830cd785471dd3b8791bf5c3e1789ca536eff6a7
CRs-Fixed: 2014745
2017-04-07 20:28:45 -07:00
Sandeep Puligilla
811825b81a Release 5.2.0.20F
Release 5.2.0.20F

Change-Id: If105e21fd814e5daff198245f1f518c0c79a62e1
CRs-Fixed: 774533
2017-04-07 19:52:35 -07:00
Venkata Sharath Chandra Manchala
71032b649b qcacld-3.0: Fix for supporting dump statistics
1. Avoid breaking compilation on legacy code
2. Rename dump stats macro options to CDP macros
   appropriately

Change-Id: If8594fad2145f29cb8f8f9f6bc3cd34633d0e9a4
CRs-Fixed: 2023386
2017-04-07 19:52:34 -07:00
Sandeep Puligilla
9ad6611140 Release 5.2.0.20E
Release 5.2.0.20E

Change-Id: I49c2cb7785c89353d61dd82ec68ddcdcf6b3198b
CRs-Fixed: 774533
2017-04-07 19:11:53 -07:00
Manjunathappa Prakash
adb7023ad7 qcacld-3.0: reduce logging level in ol_rx_pkt_dump_call()
Reduce the logging level to info so to reduce the spamming of kmsg and
avoid watchdog bite due to this.

Change-Id: I26ef04f7a82fc2e2a59da67a28dba2cf152ca251
CRs-Fixed: 2024738
2017-04-07 19:11:53 -07:00
Sandeep Puligilla
fd719d9b21 Release 5.2.0.20D
Release 5.2.0.20D

Change-Id: I84804620b9b256c38da36f4019a480398d8908f5
CRs-Fixed: 774533
2017-04-07 18:33:35 -07:00
Amar Singhal
966397f285 qcacld-3.0: Move dispatcher_psoc_close to beginning
So that wmi handle is still available, move dispatcher_psoc_close to
beginning of cds_close

CRs-Fixed: 2030449
Change-Id: I834c8994cbda4b413288921c3142984014621d65
2017-04-07 18:33:35 -07:00
Sandeep Puligilla
d4c531f95e Release 5.2.0.20C
Release 5.2.0.20C

Change-Id: Ib9c54db6bd280c0fb834a3765d67f881759c1a45
CRs-Fixed: 774533
2017-04-07 17:59:07 -07:00
Srinivas Girigowda
9785237e0f qcacld-3.0: Reduce the log spam in wlan_hdd_ipa.c
Move the logs to appropriate log levels to reduce
the log spam in wlan_hdd_ipa.c

Change-Id: Ibb9c60d9a70065716fee026ed93ac09256f42e1f
CRs-Fixed: 2014745
2017-04-07 17:59:07 -07:00
Srinivas Girigowda
5575688a3d qcacld-3.0: Reduce the log spam in wlan_hdd_hostapd.c
Move the logs to appropriate log levels to reduce
the log spam in wlan_hdd_hostapd.c

Change-Id: I5d923e5ada1a9acf22c8fdecf3e1b2416a10745c
CRs-Fixed: 2014745
2017-04-07 17:59:05 -07:00
Srinivas Girigowda
f8926d9e80 qcacld-3.0: Reduce the log spam in wlan_hdd_green_ap.c
Move the logs to appropriate log levels to reduce
the log spam in wlan_hdd_green_ap.c

Change-Id: I008b44fb64f9b476e17160f401b6dc47844fb004
CRs-Fixed: 2014745
2017-04-07 17:59:04 -07:00
Srinivas Girigowda
650e7ba52a qcacld-3.0: Reduce the log spam in wlan_hdd_ftm.c
Move the logs to appropriate log levels to reduce
the log spam in wlan_hdd_ftm.c

Change-Id: I9e16494bb950779a5617e7bfac3821d1548b7192
CRs-Fixed: 2014745
2017-04-07 17:59:02 -07:00
Srinivas Girigowda
5736c5c8f8 qcacld-3.0: Reduce the log spam in wlan_hdd_ext_scan.c
Move the logs to appropriate log levels to reduce
the log spam in wlan_hdd_ext_scan.c

Change-Id: I13bb9afc7bb372edc2a30ff216b8fdff43b68247
CRs-Fixed: 2014745
2017-04-07 17:58:59 -07:00
Srinivas Girigowda
852c254495 qcacld-3.0: Reduce the log spam in wlan_hdd_driver_ops.c
Move the logs to appropriate log levels to reduce
the log spam in wlan_hdd_driver_ops.c

Change-Id: I5e57ac3a9af43cbe16b56a34fd33eaf570ced16e
CRs-Fixed: 2014745
2017-04-07 17:58:58 -07:00
Srinivas Girigowda
21534c73fa qcacld-3.0: Reduce the log spam in wlan_hdd_disa.c
Move the logs to appropriate log levels to reduce
the log spam in wlan_hdd_disa.c

Change-Id: I8c29331562a3eacc8891e52f5eaa5c7b73e7cf15
CRs-Fixed: 2014745
2017-04-07 17:58:57 -07:00
Srinivas Girigowda
73bfe25d6f qcacld-3.0: Reduce the log spam in wlan_hdd_debugfs.c
Move the logs to appropriate log levels to reduce
the log spam in wlan_hdd_debugfs.c

Change-Id: I03b0bbaaff808ac6597ae3d05b4da090feeb7220
CRs-Fixed: 2014745
2017-04-07 17:58:55 -07:00
Srinivas Girigowda
9e4462e688 qcacld-3.0: UMAC: Introduce LOGD log level
Introduce LOGD log level.

Change-Id: I55f4f8e6a2a4ab22503b85921ad97652fe2219bb
CRs-Fixed: 2014745
2017-04-07 17:58:54 -07:00
Sandeep Puligilla
d8a0cd0493 Release 5.2.0.20B
Release 5.2.0.20B

Change-Id: I0459637d6fa3c424b1fcf653585f875eb1e1848b
CRs-Fixed: 774533
2017-04-07 15:41:16 -07:00
Pramod Simha
707a356054 qcacld-3.0: Adding flag for LFR enablement
Adding a define for DP_LFR flag to compile the LFR changes.

Change-Id: I2ae9ccc3f9b12125fd1ab274087ee75bf7f2eb60
CRs-Fixed: 2023446
2017-04-07 14:41:47 -07:00
Sandeep Puligilla
03a677a67b Release 5.2.0.20A
Release 5.2.0.20A

Change-Id: I21c5fbd412245931498cd312e9d15300e1802613
CRs-Fixed: 774533
2017-04-07 13:12:17 -07:00
Manjunathappa Prakash
c4dc9386a2 qcacld-3.0: Fail monitor mode set channel if it is invalid channel for country
Monitor mode channel set operation derives invalid channel width if
we try to set not allowed channel for country code, make sure to return
failure instead of going ahead with invalid channel width.

Change-Id: I498555a9c90497ef225f536c904b8e7ea8f8d4a2
CRs-Fixed: 2016185
2017-04-07 13:12:17 -07:00
Sandeep Puligilla
ed48efb329 Release 5.2.0.20
Release 5.2.0.20

Change-Id: I7e827ac0cd25bd6ce004b262d5175345936fe22a
CRs-Fixed: 774533
2017-04-07 11:58:47 -07:00
Naveen Rawat
3cb5981972 qcacld-3.0: Enable NAN component from Kbuild
This change enables compilation of NAN component.

Change-Id: I095e8715ef836171974f93cc07951c28cd20a22d
CRs-Fixed: 2014795
2017-04-07 11:58:46 -07:00
Naveen Rawat
f2b0dbd81f qcacld-3.0: Introduce ini knob for nan logging
Add ini param qdf_trace_enable_nan to control NAN logging
level from config.ini

Change-Id: I4c6fe18efd16344c303429904b12affc9c6c0528
CRs-Fixed: 2014795
2017-04-07 11:58:44 -07:00
Naveen Rawat
b3143ea845 qcacld-3.0: Implement NDP_END_REQ
Add MCL changes for NDP_END_REQ.

Change-Id: I55262f58149654e9bd1ee8c9a121e361f8d94d11
CRs-Fixed: 2014795
2017-04-07 11:58:43 -07:00
Naveen Rawat
37f62c8796 qcacld-3.0: Implement NDP_INITIATOR_REQ
Add MCL changes for NDP_INITIATOR_REQ.

Change-Id: Idcf9df354dc24f7cf82a818833ff3c2c5e2da1e8
CRs-Fixed: 2014795
2017-04-07 11:58:41 -07:00
Naveen Rawat
cb5c540e7f qcacld-3.0: Implementation of NDI Create/Delete
Add MCL changes for NDI create and NDI delete commands.

Change-Id: I270cd213d89224f73ff2ce9fad784cec3e0f8fa3
CRs-Fixed: 2014795
2017-04-07 11:58:39 -07:00
Sandeep Puligilla
490df437eb Release 5.2.0.19Z
Release 5.2.0.19Z

Change-Id: I93895e94d53b822c4b483356d07657b4f8c58aa2
CRs-Fixed: 774533
2017-04-07 08:41:31 -07:00
Rajeev Kumar
7414c8ce79 qcacld-3.0: Enhance log message in sme_open_session
Log session id in sme_open_session to know what session id
is allocated by object manager.

Change-Id: I1842d772916d5a6bd251aead727d3448a46d9e41
CRs-Fixed: 2030327
2017-04-07 08:41:30 -07:00
Sandeep Puligilla
56c6ee1ade Release 5.2.0.19Y
Release 5.2.0.19Y

Change-Id: Ic01c4c1eb3e84550c3f5d37759bcee44917ae091
CRs-Fixed: 774533
2017-04-07 07:12:19 -07:00
Poddar, Siddarth
16264472d9 qcacld-3.0: HTT: Reduce the log spam in Kmsg
Move the logs to appropriate log levels to reduce
the log spam in kmsg.

CRs-Fixed: 2019261
Change-Id: I7e7d8c6f90f8f9feefbfb72217886fcd812cf39c
2017-04-07 07:12:18 -07:00
Sandeep Puligilla
c685435961 Release 5.2.0.19X
Release 5.2.0.19X

Change-Id: I287ee468d9f620d1ede89fa515fb28957655da27
CRs-Fixed: 774533
2017-04-07 06:37:37 -07:00
Srinivas Girigowda
b8ecec2fb3 qcacld-3.0: TXRX: Reduce the log spam in kmsg
Move the logs to appropriate log levels to reduce
the log spam in kmsg.

Change-Id: Ic22302a2f042f693d4bcc1f0efe647d580be33ed
CRs-Fixed: 2014745
2017-04-07 06:37:37 -07:00
Sandeep Puligilla
dd63c68aa5 Release 5.2.0.19W
Release 5.2.0.19W

Change-Id: I71711b71037d9b75dc461a6e7103ecd1860b7ad1
CRs-Fixed: 774533
2017-04-07 06:02:08 -07:00
Srinivas Girigowda
35e65f8322 qcacld-3.0: HTT: Reduce the log spam in kmsg
Move the logs to appropriate log levels to reduce
the log spam in kmsg.

Change-Id: I6572cb109ff752eba764f671770d9754024a4b31
CRs-Fixed: 2014745
2017-04-07 06:02:08 -07:00
Sandeep Puligilla
508b0fa93c Release 5.2.0.19V
Release 5.2.0.19V

Change-Id: Ie55b3c40de76ee804c82b80a9ca1a8b949edbe7c
CRs-Fixed: 774533
2017-04-07 04:23:13 -07:00
Abhishek Singh
b20db96d64 qcacld-3.0: Add PNO changes for converged scan
Adds PNO related changes for converged scan.

Change-Id: Ie7194d15d2d6ad5e4327e3aadbb4e39a5bf576a8
CRs-Fixed: 2013212
2017-04-07 04:23:13 -07:00
Sandeep Puligilla
9ccc145b90 Release 5.2.0.19U
Release 5.2.0.19U

Change-Id: Ic61b6356b90abc17477a2790a8ef9bd2b877d51d
CRs-Fixed: 774533
2017-04-07 02:35:58 -07:00
Mohit Khanna
ebf4ca31c0 qcacld-3.0: change hdd_skb_orphan to static inline
hdd_skb_orphan is currently a static function. If not used, it may cause
compilation error.
Make the function static inline.

Change-Id: I5d78f597f2f694d370dbe7631be0a7ebc8572b0d
CRs-Fixed: 2020167
2017-04-07 02:35:58 -07:00
Mohit Khanna
d0b63f5e47 qcacld-3.0: Improve TX throughput for UDP apps with small buffers
Currently, in case the application send buffer size is very small (< 64k),
the application TX throughput is limited by its send buffer
(sk->sk_sndbuf). Once the send buffer is full (sk->sk_wmem_alloc
becomes greater or equal to sk->sk_sndbuf), the application can send
more data only when TX completions have arrived for some of the buffers
in the send buffer and some space is created.

Allow application(s) to send as much data over the wlan interface as
they may have, limited by the capability of the driver. Since the
driver has a limited number of TX descriptors, the maximum amount of
outstanding TX buffers are limited by the maximum number of TX
descriptors for that interface. For example, if the number of TX
descriptors for wlan0 are 1200, there can be at max 1200 (MSDU sized) TX packets.

Change-Id: I75eca2f4e10ecde1a5b347a305e896ac17d4ef7c
CRs-Fixed: 2016357
2017-04-07 02:35:49 -07:00
Mohit Khanna
f9f659735a qcacld-3.0: Fix TSO seg cookie init crash
In one of the recent fixes, we are setting the TSO seg contents to zero
when the segment is added back to the free list. The segment cookie is
not re-initalized at this point. Hence, when this segment is
re-allocated, it fails the cookie check and there is a system crash.

Fix the issue by reinitializing the segment cookie after zero-ing out
its contents.

Change-Id: I7947e3ce4f80f1b19ebf5ef73ff75dee19ec7364
CRs-Fixed: 2011786
2017-04-07 02:35:47 -07:00
Mohit Khanna
c3b069bca5 qcacld-3.0: Debug logs to detect TSO seg double free
On stability test bed a double free of TSO segment is reported via the
TX completion path. Made following changes -
 - Check for duplicate TX completions before freeing TSO segments.
 - Add debug logs to check if TX descriptors are being freed from the
   control path.

Change-Id: I30178de90cd0161001ded70adc26066adc9cbcb3
CRs-Fixed: 2006868
2017-04-07 02:35:45 -07:00
Mohit Khanna
c3da706c60 qcacld-3.0: Fix Rx throughput level calculation
Currently the rx throughput level is getting set to TP_NONE immediately
after it goes high. This will send incorrect values for
tcp_adv_win_scaling to cnss-daemon.
Fix the RX throuhgput level by making next_rx_level a static variable.
Now if next_rx_level is calculated to be HIGH, it will stay HIGH until
RX throughput falls below the threshold

Change-Id: Iaa36e4ff6d846e29b3beadd998a3d6fd334c1a5b
CRs-Fixed: 2004944
2017-04-07 02:35:42 -07:00
Mohit Khanna
b1dd1e8749 qcacld-3.0: Calculate HDD TX stats correctly for TSO packets
Currently the number of TX packets sent is simply calculated by the
number of times hard_xmit_function is called. We use the number of TX
(and Rx) packets in a 100ms interval, to tweak the system for high
bandwidth scenarios.
For, TSO jumbo packets, in high throughput scenarios, the number of TX
packets received in 100ms interval remains low because of aggregation.
This causes the driver to incorrectly detect the throughput mode(low).

Calculate total TX packet (in 100 ms interval) based on the size of the TSO
jumbo packet. This will allow the driver to trigger high throughput mode
and tweak system parameters correctly.

Change-Id: I3c7a3c3992b41d3a00ff903e6317a62394c1c0fe
CRs-Fixed: 2002971
2017-04-07 02:35:39 -07:00
Mohit Khanna
67fe5288d4 qcacld-3.0: modify NAPI blacklist mechanism
The existing HIF NAPI blacklist feature uses irq_blacklist_on(off) APIs
which make a call to the userspace irq_balancer.

Replace these APIs with kernel API irq_modify_status to mark (or
unmark) the individual interrupts with IRQ_NO_BALANCING flag.
Once marked, the msm-irq-balancer will not be able to move the
CE interrupts around

Change-Id: I55b3302b11e6b3a380228d637f20def920760af1
CRs-Fixed: 1114161
2017-04-07 02:35:36 -07:00
Mohit Khanna
afff9fb2cf qcacld-3.0: Make interrupt blacklisting robust
Interrupt blacklisting in kernel 4.4 happens through a user-space
entity. The kernel APIs irq_blacklist_on(off) essentially send
a message to the user space service(irq balancer) and
therefore are not synchronous and do not guarantee that blacklisting
has actually taken effect. It will be granted with some latency
(userspace entity's processing delay).

Make blacklisting more robust by:
a) move irq (if it has been moved around after blacklist_on call
   has been made and not yet honored) to the designated CPU
   on IRQ reception
b) stop cpu_isolation in blacklisting mode boost API
c) modify NAPI stats to indicate blacklisting mode

CRs-Fixed: 1093770
Change-Id: I410768d3e0215e510924859d678c66ad7d87b1ec
2017-04-07 02:35:34 -07:00