net: wireless: bcmdhd: Update to Version 1.28-23

- Add locale support via NL80211_CMD_REQ_SET_REG
- Fix P2P and VSDB
- Move setting for KEEP_ALIVE and PNO_LOCK into Makefile as
  CUSTOM_PNO_EVENT_LOCK_xTIME and CUSTOM_KEEP_ALIVE_SETTING

Change-Id: I4d2e7c1c72f1109cc9ca3c79b07ad76aea1fd513
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

DM: Need more work in sync Channels functions
More updates will be added soon.
WIFI Driver Updates PART II (1.28.23)
Revert "WIFI Driver Updates PART II (1.28.23)"

This reverts commit 7f3011f3028b4bc6e94878a311e317bb04c07e4a.
Revert " net: wireless: bcmdhd: Update to Version 1.28-23"

This reverts commit d0869afd8ce3acce58475ab5ffbae1cbc0f37fc1.
net: wireless: bcmdhd: Full Update to Version 1.28.23

- Add locale support via NL80211_CMD_REQ_SET_REG
- Fix P2P and VSDB
- Move setting for KEEP_ALIVE and PNO_LOCK into Makefile as
  CUSTOM_PNO_EVENT_LOCK_xTIME and CUSTOM_KEEP_ALIVE_SETTING

Addapted to Android needs by Dorimanx.

this is update from 1.28.19.4 to 1.28.23

Change-Id: I4d2e7c1c72f1109cc9ca3c79b07ad76aea1fd513
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Drivers: WIFI: tuned and did sync with more functions that left.
After tests i was able to sync more functions from full 1.28.23
driver. some added need to mod android functions,

So far driver works great, but hotspot on CM10.1 ROM still broken!

I will have to see what i can sync from old CM driver to fix that.
netfilter: qtaguid: Don't BUG_ON if create_if_tag_stat fails

If create_if_tag_stat fails to allocate memory (GFP_ATOMIC) the
following will happen:

qtaguid: iface_stat: tag stat alloc failed
...
kernel BUG at xt_qtaguid.c:1482!

Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com>
netfilter: xt_qtaguid: remove AID_* dependency for access control

qtaguid limits what can be done with /ctrl and /stats based on group
membership.
This changes removes AID_NET_BW_STATS and AID_NET_BW_ACCT, and picks
up the groups from the gid of the matching proc entry files.

Signed-off-by: JP Abgrall <jpa@google.com>
Change-Id: I42e477adde78a12ed5eb58fbc0b277cdaadb6f94
netfilter: xt_qtaguid: extend iface stat to report protocols

In the past the iface_stat_fmt would only show global bytes/packets
for the skb-based numbers.
For stall detection in userspace, distinguishing tcp vs other protocols
makes it easier.
Now we report
  ifname total_skb_rx_bytes total_skb_rx_packets total_skb_tx_bytes
  total_skb_tx_packets {rx,tx}_{tcp,udp,ohter}_{bytes,packets}

Bug: 6818637
Signed-off-by: JP Abgrall <jpa@google.com>
Change-Id: I179c5ebf2fe822acec0bce4973b4bbb5e7d5076d
Drivers: WIFI: Code Cleanup + Debug Remove + Firmware Patch Fix
and time out tune.
NET/RCU Config Changes + small wifi code restore.
Added +25mV to freqs from 500 to 650Mhz to add more stability.
Hope that this will help with SODS that some people have.
"ARM: net: JIT compiler for packet filters"
based of Matt Evans's PPC64 implementation.
https://github.com/Snuzzo/vigor_aosp_kernel/commit/423e14d436d0d1a4620b70b76a4c77c7946433cd

Ported by VOKU!
https://github.com/voku/siyahkernel3/commit/afbb078f901db391cd92d4164aebddb6ce823f2b
"dm-cache: block level disk cache target for device mapper"
https://github.com/Keff/samsung-kernel-msm7x30/commit/6159d757989854169c6621220bbee1bcea2d6358

Ported by VOKU
https://github.com/voku/siyahkernel3/commit/bfe00258e0a4cec58ae51c608c7e577152a375e6
+ "staging: android: lowmemorykiller: Don't count reserved free memory" - https://github.com/halaszk/siyahkernel-sgs3/commit/4ace3c34bbfcad7522870d897d9ca55d2631bc7c

The amount of reserved memory varies between devices. Subtract it
here to reduce the amount of devices specific tuning needed for the
minfree values.

Change-Id: I466ae8b18f5972f6f6d8b5a7d8c4ae69660de53a
Signed-off-by: Arve Hjønnevåg <arve@android.com>
adapted from Linux 3.4 Android Kernel Common

Signed-off-by: faux123 <reioux@gmail.com>
block: row: Dispatch requests according to their io-priority

This patch implements "application-hints" which is a way the issuing
application can notify the scheduler on the priority of its request.
This is done by setting the io-priority of the request.
This patch reuses an already existing mechanism of io-priorities developed
for CFQ. Please refer to kernel/Documentation/block/ioprio.txt for
usage example and explanations.

Change-Id: I228ec8e52161b424242bb7bb133418dc8b73925a
Signed-off-by: Tatyana Brokhman <tlinder@codeaurora.org>
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>

Conflicts:
	block/row-iosched.c

+ ...
block: row: Idling mechanism re-factoring

At the moment idling in ROW is implemented by delayed work that uses
jiffies granularity which is not very accurate. This patch replaces
current idling mechanism implementation with hrtime API, which gives
nanosecond resolution (instead of jiffies).

Change-Id: I86c7b1776d035e1d81571894b300228c8b8f2d92
Signed-off-by: Tatyana Brokhman <tlinder@codeaurora.org>
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Cleaned CPU Code and corrected all descriptions we have 1600Mhz MAX!
N.Gov. some little adjustments...
Drivers: NEW MALI: Update from JB-Kernel. effect only JB CM + AOKP ROMS.