wcnss: Configure WLAN MAC addr through user control interface

wcnss userspace service will use user control interface to configure
certain parameters required by wcnss driver. This interface is required
to configure the WLAN MAC address. These parameter was earlier written
thru module parameters from wcnss service, however that required the
wcnss userspace daemon to have the root permission.

Change-Id: I6e928a44c7f1f9ba7ab193c882bad102d8c2bd5a
CRs-fixed: 636953
Signed-off-by: Hardik Kantilal Patel <hkpatel@codeaurora.org>
wcnss: Add MCU debug registers to the register dump list

When firmware crashes happen, add the support to log MCU registers for
debugging purpose.

CRs-fixed: 613889
Change-Id: I8f1d4f9a26912151de2594f41ac8e09648650ff2
Signed-off-by: Yue Ma <yuem@codeaurora.org>
wcnss: Increse the log level for WCNSS register dump

WCNSS register dump is only performed during WCNSS fatal errors such as
WDI timeout leading to SSR or WDOG bite scenarios. So these register
dumps should always be logged to provide the only information available
to debug these fatal errors.

CRs-Fixed: 586351
Change-Id: Id380327b23aa9caa43befa1953ee96c06ee83282
Signed-off-by: Sameer Thalappil <sameert@codeaurora.org>
msm: wcnss: Add the support to access IRIS registers using bit-bang

During cold boot, if firmware watchdog bite happens, WCNSS platform driver
will try to log Pronto registers, but in some cases it cannot access them
since there is no clock on Pronto. Add the support to log IRIS registers
using bit-bang in order to debug this issue.

CRs-fixed: 616588
Change-Id: I9315c295d33d131224605adddca26796de25e1fb
Signed-off-by: Yue Ma <yuem@codeaurora.org>
msm_bam_rmnet: Fix packet corruption due to QoS

Remove the QoS header added at the beginning of the
SKB (If QoS is enabled) in case of a failure to send
a packet to bam_dmux in order to avoid a possible loop
that adds QoS headers on each failure which will cause
a packet corruption.

CRs-Fixed: 599456
Change-Id: I5cda4db1f49638b37998d2502ff07b1e82518db1
Acked-by: David Arinzon <darinzon@qti.qualcomm.com>
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
net: do not pretend FRAGLIST support

[ Upstream commit 28e24c62ab3062e965ef1b3bcc244d50aee7fa85 ]

Few network drivers really supports frag_list : virtual drivers.

Some drivers wrongly advertise NETIF_F_FRAGLIST feature.

If skb with a frag_list is given to them, packet on the wire will be
corrupt.

Remove this flag, as core networking stack will make sure to
provide packets that can be sent without corruption.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com>
Cc: Anirudha Sarangi <anirudh@xilinx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Revert "msm: wcnss: Add the support to access IRIS registers using bit-bang"

This reverts commit 99064d80a050359ef9e1b85811340318653d50a4.
Revert "net: do not pretend FRAGLIST support"

This reverts commit ad1be89f07743488c8ec0e971b6a33a437d2383f.
Revert "msm_bam_rmnet: Fix packet corruption due to QoS"

This reverts commit 7b1f545158c5d5e3d1db51e7566b0b26dd684492.
Revert "wcnss: Increse the log level for WCNSS register dump"

This reverts commit 9bd7cdc0aa598bfe05948c945368607026fdf5c2.
Revert "wcnss: Add MCU debug registers to the register dump list"

This reverts commit 2bb1893c2d0b69f53494732ed5b2ad60195e61eb.
Revert "wcnss: Configure WLAN MAC addr through user control interface"

This reverts commit 70911b332a6a147089e0f0f6ddfea5e31f71dc91.
Revert "msm: subsystem_restart: Add notification to indicate powerup failure"

This reverts commit 4afd4bc696cfc15809ec1b9909fbb9c2871a421b.
Revert "wcnss: add API to check if wcnss is undergoing an SSR"

This reverts commit 1963a23e527d523126d00e74c80310929120cc53.
Revert "wcnss: Log debug registers when receives certain notification"

This reverts commit 5c85bf0f7f25a9064edb94df8369333748ab7af6.
Revert "Prima: Update to LNX.LA.3.5.2.2.1_rb1"

This reverts commit 11065afaa40f1f205b7674e26124a4d93da7c81e.
Revert "Propagate (CR) - WLAN: Add interface specific filter configuration"

This reverts commit c6af39d083ee7101812bdd9d1390546f8d1275a4.

Change-Id: Ifa5385481f06d499eec1789216c094d561ab6b25
Revert "Implement new IPV6 filter logic"

This partially reverts commit 891965f79cf914bf0cc632077ddc15669fafed00.

Change-Id: Ie9078a829d6027f8a82d5761bccf62f07151504d
Wlan: remove TDLS and linux reg config