Pronto WLAN: merge with kernel tree

Signed-off-by: Paul Reioux <reioux@gmail.com>
Fix for 11g Only UDP/TCP UL Tput is less

the extended data rates in 11g mode are not populated due to check
against wrong macro.correct the macro.

Change-Id: Ic64c94acd5382b7b7241afe3a77a62681faa30db
CRs-fixed: 548945
(cherry picked from commit 68d828aacb068fa282d582eae8df097891f3f0a9)
Signed-off-by: Paul Reioux <reioux@gmail.com>
Fix for Extended Data rates not populated to firmware

for 11n and 11a modes the extended rates from beacon are not
populated from host to firmware.this commit populates the extended
rates to fimware

Change-Id: Iebfaaaeee7e67ce22a4daab196d16fef5e287f5c
CRs-fixed: 553952
(cherry picked from commit 133c5e6320bed1ec85233276fe9f1c699697c35a)
Signed-off-by: Paul Reioux <reioux@gmail.com>
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
(cherry picked from commit 3d15fbfab6729058614c4de4d05d7af246d23217)
Signed-off-by: Paul Reioux <reioux@gmail.com>
wlan: reload WLAN driver if cannot recover from RX low resource

If WLAN host driver could not recover Out of RX buffer problem,
Trigger re-load host driver to recover from dead end

Change-Id: I04895f56892cc0b25fcee341829eb7eb91ab1553
CRs-fixed: 500022
Signed-off-by: Paul Reioux <reioux@gmail.com>
wlan: adding check for ts_info.up.

'params' is user controlled, and 'ts_info.up' could be defined to be
greater than maximum sme_QosWmmUpType enum, resulting in hddWmmUpToAcMap
being indexed out of bounds.
Validated 0 < ts_info.up < SME_QOS_WMM_UP_MAX.

Change-Id: Ia1966db2a6c8ce8d3a9422f0dd9d91a59573c783
CRs-Fixed: 567234
Signed-off-by: Paul Reioux <reioux@gmail.com>