wlan: Mocha Low Power Heart Beat Enhancement

Pronto FW has 2 data path mode "on-data path", "off-data path".
To handle LPHB TCP/UDP frame within FW properly,
Mocha application should know FW state properly.
And to generate TCP LPHB frame within FW, FW should know TCP SN.
Mocha app should update TCP SN to FW.

Change-Id: Id1666791b7c5088c0f04cc92d0d975fc7249b986
CRs-fixed: 550741
wlan: WD Thread loops infinitely causing SSR failure

wmmContextList is not initialized in SoftAP case when it is created through
wext interface which causing WD thread to loop on this indefinitely causing
SSR to timeout. To resolve this initialize wmmContextList in SoftAP case.

Change-Id: I729e09b5ad07b413b1beea54c82733756939968d
CRs-Fixed: 550524
wlan: Fix for WLAN L2 Reordering issue

Do not pass the packet with the older sequence number on the BA ack timeout

CRs-Fixed: 489442
Change-Id: I80823f64050f47fd82383b31908affd187248b68
wlan: Convert DFS channel to active when beacon is received.

Conversion for DFS channel to active channel should be happen
when any beaocn is recived.

CRs-Fixed: 550234
Change-Id: I09c829bc931670f7f2fa5dda0ef57fccf8153e0d
wlan:Missed 'Fixed' field while parsing TSPEC Response

While converting the dot11f tspec parameter to
MAC TSPEC structure 'fixed/variable' field in
Nominal MSDU size is ignored.As part of this change
appended the fixed field to the nominal MSDU
size parameter.

Change-Id: I1e97cd1817abdefc5361e565736917dc8fc941f3
CRs-Fixed: 541871
wlan: Fix for watchdog bark due to excessive logging.

Reduce the log level from ERROR to INFO in function
wlan_hdd_hard_start_xmit to avoid watchdog bark due
to excessive logging.

Change-Id: I14714422842c3b72ff6c3c6b67775b1a8fb2fea1
CRs-Fixed: 542091
wlan: wmm: Reflect service intervals dynamically configured over ini

With the existing support, STA is not reflecting the service intervals
dynamically configured irrespective of ACM enabled. And when service
interval is 0, UAPSD per AC is not properly being set. Changes are made
to address these gaps.

Change-Id: If866ca7cd897b96361ae39071725130687862641
CRs-fixed: 548591
wlan: Fix for issues with ARP resolution in IBSS mode

This can happen when the network stack pushes data packets when
there are no peers. Adding the checks to make sure IBSS state is
proper before delivering the packets down to TL. The HDD also
traps the failure code while indicating pending packet to TL and
returns appropriate status code to kernel stack.

Change-Id: Id3a9a1a6bacbd830474f32f18f885557e92d90c0
CRs-Fixed: 548885
Fix for crash while running rmmod of wlan driver in IBSS mode

During unloading wlan driver, pAdapter is not extracted for IBSS
mode and hence referring pAdapter pointer causes crash.

CRs-Fixed: 549029

Change-Id: I64d51df010aad89154d5b878712d39ef50dc112f
wlan: Do not check for mcbc flag to resume.

On a host resume driver sends resume request to the firmware
to terminate the requisite offload functionality (PNO) as well
as disables few offload requisite explicitly, and this is
done only when MCBC filter flag is set. That said ,it would
lead to failed behavior if disable and resume request are
not issued to the firmware.
Address this by sending the resume request and disabling
offloads irrespective of the MCBC filters state.

CRs-fixed: 543098
Change-Id: I0a2192c50ba6e20d7cd7aaa98fe4cb26d050c943
wlan: Synchronize country code HDD ioctl

HDD device ioctl for the country code should only return once it
updates the wiphy data structure.

Change-Id: I594b81786d5443444cdfafdb12de79e2080d869a
CRs-Fixed: 530587
wlan: Allow builds to work in releases beyond JB

The current prima Android.mk selects the DLKM directory by testing
whether or not this is a JELLY_BEAN build.  Unfortunately this logic
will not work on releases that follow JELLY_BEAN, therefore modify the
logic to test the PLATFORM_SDK_VERSION instead.

CRs-fixed: 548121
Change-Id: I4b936c37d7709238b204196e52070d75e567dd1f
wlan: Setting Max Tx Power Limit for specific band (2.4GHz, 5GHz)

Added two commands to set Max Tx Power for a specific band

CRs-Fixed: 517289
Change-Id: Ie27cf9ed42b75d64de471f5779cfa9cb671abc2b
Changes to set/reset uapsd after association through iwpriv command.

enhance the existing addtspec ioctl to specify the APSD bit which will
be used to turn uapsd on/off on the fly after association.
the 4th argument of addtspec is used to specify APSD bit.

Change-Id: I29da9426b840cfe3980226e33bcd8c524ac53537
CRs-fixed: 548590
wlan: Increase remain On channel timer to cover Rx frame.

2230.051767: GO Negotiation Request ---> OTA
2230.166786: Tx Mgmt Frame Subtype: 13
2230.521644: txCompleteSuccess is 1
Here firmware is taking more time then expetected to
return tx status.
2230.629352: GO Negotiation Response <--- OTA
2230.639008: GO Negotiation Confirmation ---> OTA
2230.694273: limSendP2PActionFrame: 981: Failed to Send Action frame
Timer for 500msec is already expired. There is a need to increase
remain on channel timer to cover Rx Frame.

CRs-Fixed: 542885
Change-Id: Ic38d9208857c09cd769e4f01302ffa9378a59bc6
Wlan: Revision 3.2.3.183

Revision 3.2.3.183