wireless: bcmdhd: import bcmdhd from I-9100 (GSII) Update 4

-hide 'bcm4330' if CFG80211, and hide bcmdhd if not CFG80211
wireless: bcmdhd: import wlan_gpio from bcm4330, remove OOB_INTR_ONLY and
                  add RDWR_MACADDR (to BCM4330)

-reference teamhacksung (mauimauer)
-reference bcm4330, samsung
wireless: change to eth for MACH_SAMSUNG_VARIATION_TEGRA
wireless: Protect regdomain change by mutex

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
net: wireless: Add CFG80211_ALLOW_RECONNECT option

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
netfilter: ipv6: fix crash caused by ipv6_find_hdr()

(backport from android-3.0
commit: 4f3824a38cc706de1b3b18ff9b83cfca0ce5f49b)

When calling:
    ipv6_find_hdr(skb, &thoff, -1, NULL)
on a fragmented packet, thoff would be left with a random
value causing callers to read random memory offsets with:
    skb_header_pointer(skb, thoff, ...)

Now we force ipv6_find_hdr() to return a failure in this case.
Calling:
  ipv6_find_hdr(skb, &thoff, -1, &fragoff)
will set fragoff as expected, and not return a failure.

Change-Id: Ib474e8a4267dd2b300feca325811330329684a88
Signed-off-by: JP Abgrall <jpa@google.com>
net: wireless: Fix CFG80211_ALLOW_RECONNECT option for disconnect

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
net: wireless: Skip connect warning for CONFIG_CFG80211_ALLOW_RECONNECT

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
net: backport wireless from moto's 2.6.39

-use https://github.com/kcrudup/Xoom-OC-CP (ics-2.6.39)

-reference mauimauer's backport against 2.6.36
 retain include/linux/netdevice.h and net/core/net-sysfs.c from his backport
Netfilter: enabled data limit function
Bluetooth: bnep: Fix bad ether addresses

According to the Ethernet spec, the least significant bit of the
most significant byte identifies whether an address is multicast
or unicast. In other words, on a NIC, the 6th byte must always
be even.

Copying the address from hci0 to bnep0 was resulting in odd
6th-byte assignments, which were rejected by both the local
ethernet layer and remote hosts. So before validating the address,
make sure this particular problem doesn't exist.
video: tegra-ics: backport/sync with nvidia's 3.1

-nvmap:
 revert:
  http://nv-tegra.nvidia.com/gitweb/?p=linux-2.6.git;a=commitdiff;h=82d503cee7af4bad948cf4cb8fa16d798e7a2c8c
  http://nv-tegra.nvidia.com/gitweb/?p=linux-2.6.git;a=commitdiff;h=fc8a4a14fda67747fa0ec308866531114758e23c
  http://nv-tegra.nvidia.com/gitweb/?p=linux-2.6.git;a=commitdiff;h=65e8c13a3b1c0259b80a36afbefc9b2d443216b4

-update iovmm
 remove static declarations for tegra_iovmm_suspend and tegra_iovmm_resume

-add syscore

-also merge (partial; 2.6.39):
 http://nv-tegra.nvidia.com/gitweb/?p=linux-2.6.git;a=commitdiff;h=69c76b526e9a2f0ef4b5f5c645e9c878dbb26574#patch9

-fix compile for OVERLAY
Revert "video: tegra-ics: backport/sync with nvidia's 3.1"

This reverts commit fface249741311281301467504a7d7694e3c8ead.
media: video: avp-ics: backport/sync with nvidia's 3.1

-revert:
 http://nv-tegra.nvidia.com/gitweb/?p=linux-2.6.git;a=commitdiff;h=593a0cf345d0cab76c7303b71f0d944d3f7f8da3
 http://nv-tegra.nvidia.com/gitweb/?p=linux-2.6.git;a=commitdiff;h=13d38d2e94137f331606055f144d301d858cdd22
media: fix corner case in tegra_mediaserver

Reviewed-on: http://git-master/r/77465

Change-Id: I653afbb6f766493e5d458b2ba4babb8e400c30c1
Signed-off-by: Colin Patrick McCabe <cmccabe@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/78016
Reviewed-by: Automatic_Commit_Validation_User
arm: tegra (partial): fix numerous warnings
defconfig: ics: enable CFG80211

-reference solarnz (certain CFG80211 options)
cfg80211: Add nl80211 event for deletion of a station entry

Indicate an NL80211_CMD_DEL_STATION event when a station entry in
mac80211 is deleted to match with the NL80211_CMD_NEW_STATION event
that is used when the entry was added. This is needed, e.g., to allow
user space to remove a peer from RSN IBSS Authenticator state machine
to avoid re-authentication and re-keying delays when the peer is not
reachable anymore.

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
cfg80211/nl80211: Send AssocReq IEs to user space in AP mode

When user space SME/MLME (e.g., hostapd) is not used in AP mode, the
IEs from the (Re)Association Request frame that was processed in
firmware need to be made available for user space (e.g., RSN IE for
hostapd). Allow this to be done with cfg80211_new_sta().

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
nl80211/cfg80211: Make addition of new sinfo fields safer

Add a comment pointing out the use of enum station_info_flags for
all new struct station_info fields. In addition, memset the sinfo
buffer to zero before use on all paths in the current tree to avoid
leaving uninitialized pointers in the data.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>