No description
  • C 98.2%
  • Assembly 1%
  • Makefile 0.3%
  • Shell 0.2%
  • Python 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Mohit Khanna 9ee4b9e84a qcacmn: Use sched_clock instead of jiffies to calc yield time
The current implementation uses jiffies to calculate the yield time and
yields after 2 jiffies. The problem with this is that we end up yielding
anywhere between 1 - 2 jiffies as each jiffies are incremented by 10 ms
intervals. Sometimes we are taking more than 2 jiffies to yield. This
prevents the update of deferrable_timer if its being done at the same
CPU where hif_napi_poll is executing. This may result in the CPU
frequencies not being updated resulting in some fluctuations.

Use sched_clock kernel API to calculate the precise yield time.
Reduce the yield time to 10ms.

Some stats here
- How many times did we have to yield because of time
	(%)0.670391061
	Total Number of completes	1790
	Total Number of complete 0	12
- When we yielded, how much did we exceed the time limit(10ms) by (ms)
	Average	1.327444
	Max	3.381667
	Min	0.037709
- How many HTT Messages did we process when we had to yield
	Average	22.41667
	Max	33
	Min	18
- How much time did we take when we had to yield 10ms + delta above

- How much time did we take when we did not yield (ms)
	Average	0.907641
	Max	8.649
	Min	0
- How many HTT Messages did we process when we did not have to yield
	Average	2.193476
	Max	24
	Min	1

Change-Id: I0d42c716ab8941b1de22a456447797c9ba5475c8
CRs-Fixed: 1089902
2017-04-11 11:04:28 -07:00
dp qcacmn: Add NAPI statistics to dumpstats 2017-04-11 11:04:27 -07:00
global_lmac_if
hal/wifi3.0
hif qcacmn: Use sched_clock instead of jiffies to calc yield time 2017-04-11 11:04:28 -07:00
htc qcacmn: Implement WMI/Credit History log print APIs 2017-04-11 11:04:24 -07:00
init_deinit/dispatcher
os_if/linux qcacmn: NDP_END_REQ implementation 2017-04-11 11:04:24 -07:00
pld_stub/inc
power_management_offloads
qdf qcacmn: Implement WMI/Credit History log print APIs 2017-04-11 11:04:24 -07:00
scheduler
target_if qcacmn: NDP_END_REQ implementation 2017-04-11 11:04:24 -07:00
umac qcacmn: In serialization timeout timer avoid double free 2017-04-11 11:04:26 -07:00
utils qcacmn: Replace wlanLoggingFEToConsole to wlanLoggingToConsole 2017-04-11 11:04:27 -07:00
wlan_cfg
wmi qcacmn: Implement WMI/Credit History log print APIs 2017-04-11 11:04:24 -07:00
README.txt
VERSION.txt

This is CNSS WLAN Host Driver for products starting from iHelium