Commit Graph

5546 Commits

Author SHA1 Message Date
snandini
4099f0858c Release 5.2.0.32E
Release 5.2.0.32E

Change-Id: Ie43963e6248f2eb66523c4abed24b5c8d96fa4b4
CRs-Fixed: 774533
2017-06-29 01:49:51 -07:00
hqu
fd227fe3f8 qcacld-3.0: Initialize mapping from TIDs to category table
Add initialization for mapping from TIDs including extension TIDs
to category table.

The change is also to sync with CLD2.0.

Change-Id: Ie79e5420cc22f4cb3e34ceeb020f3fde8f170d4d
CRs-Fixed: 2065379
2017-06-29 01:49:50 -07:00
snandini
cf484c81fc Release 5.2.0.32D
Release 5.2.0.32D

Change-Id: I589f3f8498738bde601cc168c8b4927e24f76ace
CRs-Fixed: 774533
2017-06-28 19:28:10 -07:00
Naveen Rawat
e7e7899b29 qcacld-3.0: Initialize NDI with no protection
After VDEV_START set WMI_VDEV_PARAM_PROTECTION_MODE param to no
protection: IEEE80211_PROT_NONE. Currently NAN spec and firmware
implementation does not have a mechanism to identify when protection
is needed.

Change-Id: I5906097f44d2059e26e440d2435568ef661160bc
CRs-Fixed: 2033348
2017-06-28 19:28:09 -07:00
Naveen Rawat
4b1aab96e1 qcacld-3.0: Free gpLimRemainOnChanReq in lim_cleanup
In case remain on channel response is pending when wlan unloads, this
memory will leak. Free gpLimRemainOnChanReq memory when lim_cleanup is
called to avoid leak.

Change-Id: Ibf47bbc4b7eb5ce9509998cd40d0c3ce54e4da62
CRs-Fixed: 2051164
2017-06-28 19:28:08 -07:00
Naveen Rawat
746a90b284 qcacld-3.0: Initialize NSS to vdev_nss in roam_sync propagation
In roam sync propagation, initialise pe_session NSS to vdev_nss, which
will then later be updated as per ASSOC response frame received from
firmware. This allows roaming from 1x1 to 2x2.

Change-Id: I5260425c7bfdfaa09bac908ea7d8a89d5caa3f69
CRs-Fixed: 2058560
2017-06-28 19:28:07 -07:00
snandini
a8afd840f1 Release 5.2.0.32C
Release 5.2.0.32C

Change-Id: I5d8f848446389af75026ab2dddffe0c49d831d28
CRs-Fixed: 774533
2017-06-28 18:19:07 -07:00
Dustin Brown
732ab9c2c8 qcacld-3.0: add gEnableCckTxFirOverride ini item
When operating in an 802.11b mode, CCK TX FIR Override forces a 2x2
radio configuration into 1x for Tx and 2x for Rx (ie 1x2) for
regulatory compliance reasons. Add gEnableCckTxFirOverride to allow
this firmware feature to be enabled/disabled via ini configuration.

Change-Id: I359fc908fa27113e2500a28c343cf90dea518212
CRs-Fixed: 2062111
2017-06-28 18:19:06 -07:00
snandini
9ab8bb99a6 Release 5.2.0.32B
Release 5.2.0.32B

Change-Id: I7ec9d53a60bc23ff8fe6d2d34fad5b8c2e861610
CRs-Fixed: 774533
2017-06-28 17:33:37 -07:00
Tushnim Bhattacharyya
3d17def041 qcacld-3.0: Modify logic to associate with HT clients
Add the following rules when HT client is associating with SAP,
1.2G-AS platform: SAP associates with HT (11n) clients as 2x1 in 2G
and 2X2 in 5G.
2.Non-2G-AS platform: SAP associates with HT (11n) clients as 2X2
in 2G and 5G and async DBS scan is disabled.
3.5G-AS platform: SAP associates with HT (11n) clients as 2X2 in 2G
and 5G and async DBS scan is disabled.

Change-Id: Ia472e786cf3ffcb420aa8142a543b56f508c6b4a
CRs-Fixed: 2063482
2017-06-28 17:33:37 -07:00
snandini
6462ab8f88 Release 5.2.0.32A
Release 5.2.0.32A

Change-Id: Iab09a510e1939f51d777e8fa4e148e5e6f11f269
CRs-Fixed: 774533
2017-06-28 03:53:42 -07:00
Abhishek Singh
7eaf0e8528 qcacld-3.0: Use vht operation or opmode to change the VHT channel width
Even if vht operation or Opmode IE is present in beacon, HT info IE is used to
detect the channel width and set to firmware and then again vht operation or
opmode IE is used to detect and set new channel width to firmware.

So if vht operation or Opmode IE are present, use them to detect and set
new channel width.

Change-Id: Ibbb5a2c55a5f79536fe269e0b6c0f5ff2c369309
CRs-Fixed: 2067727
2017-06-28 03:53:42 -07:00
snandini
22de29ac46 Release 5.2.0.32
Release 5.2.0.32

Change-Id: I21c885a4c08174e5cad9c86f5e0d049d700818d0
CRs-Fixed: 774533
2017-06-28 01:48:47 -07:00
Ashish Kumar Dhanotiya
81e2acc6c8 qcacld-3.0: Fix out of bound read issue in get link properties
Propagatin from qcacld-2.0 to qcacld-3.0

Length of the MAC address is not checked which may cause out of bound
read issue.

To resolve this add a check for MAC address length.

CRs-Fixed: 2063980
Change-Id: I58454b84c28b157cef35984d612a9bc6fdd9ec56
2017-06-28 01:48:47 -07:00
snandini
dbf0be537d Release 5.2.0.31Z
Release 5.2.0.31Z

Change-Id: I326e6137f731e1fb25de30411eb8df1a102743d6
CRs-Fixed: 774533
2017-06-27 22:13:10 -07:00
Ravi Kumar Bokka
05c14e5c50 qcacld-3.0: Auto Detect SoC Power Collapse Failure changes
Add host support for detecting SOC power collapse failures in FW and
communicating the same to framework.

Change-Id: Icee39c896802c4d7136e0b8ef442a33feeb4799c
CRs-Fixed: 1112979
2017-06-27 22:13:09 -07:00
snandini
6bd6193be7 Release 5.2.0.31Y
Release 5.2.0.31Y

Change-Id: Ifb4ede70eaef1388082ff9fdc44792066e47d41a
CRs-Fixed: 774533
2017-06-27 05:34:17 -07:00
Nachiket Kukade
c9045fedd0 qcacld-3.0: Ignore address change requests when interface is down
In some cases kernel incorrectly forwards the address change request
down to the driver even when interface is down. Driver tries to get
the session pointer from mac context and ends up crashing due to NULL
pointer dereference.
Ignore address change requests when interface is down.

CRs-Fixed: 2060889
Change-Id: I2b572c517b335856cdf2ae04433b4a48a9598572
2017-06-27 05:34:16 -07:00
snandini
17c152af70 Release 5.2.0.31X
Release 5.2.0.31X

Change-Id: Iaa901fc8bc17304ea07a47a54fcaf485d87f57d4
CRs-Fixed: 774533
2017-06-27 01:40:21 -07:00
bings
75be2d0a45 qcacld-3.0: Fix crash caused by sdio ramdump allocation
For TF sdio chip with platform driver, ramdump is
configured in platform driver. Driver can get the
virtual memory, but it can't call ioremap again.

If there is a platform driver, ramdump should be
allocated in platform driver, and if there is no
platform driver, ramdump should be allocated in
driver.

CRs-Fixed: 2066529
Change-Id: Ia2a32a4895f354e365522a30bbfac949ccb7a391
2017-06-27 01:40:21 -07:00
snandini
d2eee305f4 Release 5.2.0.31W
Release 5.2.0.31W

Change-Id: I6876e41e668be3d4a97396dfa9fd69a968b19f6f
CRs-Fixed: 774533
2017-06-26 22:12:49 -07:00
Abhishek Singh
7889a7e84e qcacld-3.0: Do not change channel BW if channel is 0 in HT info
Do not change channel BW if channel is 0 in HT info, As this will
cause invalid channel and phymode sent to firmware and result into
crash.

Change-Id: Ia629314b9ced299afa5d89092d0a9fc5c7cb6b4c
CRs-Fixed: 2065143
2017-06-26 22:12:49 -07:00
snandini
d64296923d Release 5.2.0.31V
Release 5.2.0.31V

Change-Id: I5e35f76b085fd879c3191005c5e9499835af5610
CRs-Fixed: 774533
2017-06-26 18:24:08 -07:00
Zhu Jianmin
ded9d2dc57 qcacld-3.0: Prevent memory issue with more check
Add session_id range check etc

Change-Id: I749076a5f060873702b42ac4908e3220e805c349
CRs-Fixed: 2061117
2017-06-26 18:24:08 -07:00
snandini
70ac723588 Release 5.2.0.31U
Release 5.2.0.31U

Change-Id: Ibb265ab3bfbdfdab88308ba1e4857631dab453b0
CRs-Fixed: 774533
2017-06-26 11:58:01 -07:00
Deepak Dhamdhere
828f189328 qcacld-3.0: Add support for PMKID modes of PMK caching and OKC
Convert the boolean variables used for tracking okc_enable into
separate bit flags for OKC and PMK caching. Firmware will also
add support for bitwise enablement of OKC and PMK caching in 802.11i
configuration part of RSO command.

CRs-Fixed: 2004963
Change-Id: Ib2fcdc6318adb488eca5cf47b2b59541020e6009
2017-06-26 11:58:01 -07:00
snandini
5ccd060f25 Release 5.2.0.31T
Release 5.2.0.31T

Change-Id: I79435778f2ea0618b906ed63a98dc113a2e16e42
CRs-Fixed: 774533
2017-06-23 17:48:03 -07:00
Nachiket Kukade
4bea8b4d2b qcacld-3.0: Check on IE length to avoid buffer over-read
An incorrect IE length can overflow the remaining length variable
and make IE parsing logic perform a buffer over-read.
Check on IE length to avoid buffer over-read.

Change-Id: I20ef6a0136c7a5b602ad15a2fb725f20807b81d0
CRs-Fixed: 2052804
2017-06-23 17:48:02 -07:00
Nachiket Kukade
2f6509fce7 qcacld-3.0: Add maximum bound check on WPA RSN IE length
WPA RSN IE is copied from source without a check on the given IE length.
A malicious IE length can cause buffer overflow.
Add maximum bound check on WPA RSN IE length.

Change-Id: Id159d307e8f9c1de720d4553a7c29f23cbd28571
CRs-Fixed: 2052791
2017-06-23 17:48:01 -07:00
snandini
f1edc1a78d Release 5.2.0.31S
Release 5.2.0.31S

Change-Id: Ic22970f56649ffec2263de8324c413480a71912b
CRs-Fixed: 774533
2017-06-23 13:42:17 -07:00
lifeng
66831666b4 qcacld-3.0: Add vendor attr to get rx aggregation statistics
qcacld-2.0 to qcacld-3.0 propagation

By setting the corresponding parameters: reorder timeout and window size
to FW, the host will deliver information about aggregation of the packets
on RX to upper layer.

Change-Id: I404d56d8d9ca3e90f8d1dee28abd80d784924901
CRs-fixed: 1078111
2017-06-23 13:42:16 -07:00
snandini
1c41c55ca2 Release 5.2.0.31R
Release 5.2.0.31R

Change-Id: Ie600f63aa1860748c47d338bfe243c4b25439086
CRs-Fixed: 774533
2017-06-23 07:42:06 -07:00
Nachiket Kukade
142e996a65 qcacld-3.0: Feed retry count value to the correct category
During .set_phy_params operation, retry value for short retry
is incorrectly fed to the long retry parameter.
Only feed retry value for long retry into the long retry parameter.

Change-Id: I3e8838b9b0c21d3cbaafa3a1785dd3f793b5b372
CRs-Fixed: 2062561
2017-06-23 07:42:05 -07:00
snandini
2a41e3668e Release 5.2.0.31Q
Release 5.2.0.31Q

Change-Id: Ic2cae56551028bd41c7ea6906829ee2c69bc94d4
CRs-Fixed: 774533
2017-06-23 04:03:29 -07:00
Krunal Soni
4bfecf6e23 qcacld-3.0: Resolve compilation by protecting LFR3 feature
Few LFR3 related code checks are not protected which creates the
compilation issue on some of the platform.

Fix the compilation issue by moving LFR3 related code checks to
WLAN_FEATURE_ROAM_OFFLOAD macro.

CRs-Fixed: 2055018
Change-Id: I1ca4000c3bb15e33c2fc85f9117aa4f1ca2aeed4
2017-06-23 04:03:28 -07:00
Padma, Santhosh Kumar
03c3ad8e75 qcacld-3.0: Update dot11mode as per LFR version
Currently driver calculates dot11mode in CSR for LFR-2.0, saves in
global variable pFTPreAuthReq of PE context and later uses that in
lim. But for LFR-3.0, pFTPreAuthReq of PE context is NULL which
can result in NULL pointer access. Add a check for pFTPreAuthReq
to fix this issue.

Change-Id: Ia5cfbca912f9870b9ec7b33a015f4925022f448a
CRs-Fixed: 2055018
2017-06-23 04:03:27 -07:00
snandini
af4ea2a0bc Release 5.2.0.31P
Release 5.2.0.31P

Change-Id: I5d91b4afb430d46b31ef45592937cbeacd08bd9f
CRs-Fixed: 774533
2017-06-23 02:12:35 -07:00
Sravan Kumar Kairam
76ab2662f5 qcacld-3.0: Free allocated memory before return
Currently in function ol_copy_ramdump dynamically allocated memory
is not freed before return in error condition. In this change free
memory before return.

Change-Id: Ie75d69a1716c3598e0123064a6ee522076748f7d
CRs-Fixed: 2044460
2017-06-23 02:12:34 -07:00
snandini
f821fbaa81 Release 5.2.0.31O
Release 5.2.0.31O

Change-Id: Ie0085c4c8f93799f5a721482e8a8c71366c350ba
CRs-Fixed: 774533
2017-06-22 20:07:47 -07:00
Manjunathappa Prakash
dab74fa881 qcacld-3.0: add ini option to enable orphan Tx packets
Add INI config option to enable orphaning of Tx packets.
Default is to disable orphaning.

Change-Id: Ib855d7ebf56fd3def1a2674091a188e8ecd729f2
CRs-Fixed: 2064079
2017-06-22 16:53:19 -07:00
snandini
44e17bcccd Release 5.2.0.31N
Release 5.2.0.31N

Change-Id: I3b0a6809809fce735d0d1ad5ce06f3f4e0558fa7
CRs-Fixed: 774533
2017-06-22 13:38:00 -07:00
Naveen Rawat
90ecd2cf3c qcacld-3.0: Set NSS for STA as intersection of self and AP
Host send self nss capability in start Vdev and thus firmware
start SMPS frames during DBS even if peer is 1x1 capable.

To fix set NSS for STA as intersection of self and AP.

Change-Id: I38eeade0456f65f27b335f4ee14db0472507feb0
CRs-Fixed: 2056290
2017-06-22 13:37:59 -07:00
Srinivas Girigowda
811c8d58a2 qcacld-3.0: Fix Kbuild to enable packet log
Currently, the CONFIG_FEATURE_PKTLOG is not enabled for
statically loaded driver.
The reason for that is enabling of this macro is conditionally
done under KERNEL_BUILD=0.

This commit enables the macro conditionally for
all values of KERNEL_BUILD

Change-Id: I6adc090545589df1a6a91ecc12246daeedec2ebd
CRs-Fixed: 2058745
2017-06-22 13:37:58 -07:00
Srinivas Girigowda
af0173e171 qcacld-3.0: Fix compile warnings and reduce log levels
Fix compile warnings and reduce log levels.

Change-Id: Ic4ed8c3f46da2ae1514e2bd6792638b62f7f2397
CRs-Fixed: 2024274
2017-06-22 13:37:56 -07:00
Naveen Rawat
c921c7b2cc qcacld-3.0: Add check for set_ft_ies buffer length
Add check for buffer length in function sme_set_ft_ies.

Change-Id: I7adc56e23316c0ceb193a5bdf8c4c0b5f4fbd20a
CRs-Fixed: 2055659
2017-06-22 13:37:55 -07:00
snandini
d6f9ed18a0 Release 5.2.0.31M
Release 5.2.0.31M

Change-Id: I26b394d981cbffb7c0837e24b81db8d081bb0075
CRs-Fixed: 774533
2017-06-22 11:47:53 -07:00
Krishna Kumaar Natarajan
fc8c36309a qcacld-3.0: Fix memory leak due to WMA_SET_LINK_STATE
Fix memory leak due to WMA_SET_LINK_STATE. There are potential memory leak
on lim_set_link_state() failure and vdev target request message cleanup.

Change-Id: I873693f9d51f3702e01aec0d9df5c218bdb70f05
CRs-Fixed: 2051977
2017-06-22 11:47:53 -07:00
Varun Reddy Yeturu
9c1f0dc053 qcacld-3.0: Fix the return type in __wlan_hdd_cfg80211_ll_stats_get
Fix the return data type in __wlan_hdd_cfg80211_ll_stats_get from
unsigned long to int type.

Change-Id: Ia51056adbf09fe6a2cb0d33337b4d9107c4f146d
CRs-Fixed: 2051378
2017-06-22 11:47:52 -07:00
Varun Reddy Yeturu
7d47259cff qcacld-3.0: Change return status from unsigned to signed
Change the return status type as the expected value could
be either a negative or Zero based on failure or success
respectively in the routine wlan_hdd_ll_stats_get()

Change-Id: Ieaff1928f081fe28060b2c40f7e546c51d03a7bc
CRs-Fixed: 2036663
2017-06-22 11:47:50 -07:00
Krishna Kumaar Natarajan
c7e2bb7c83 qcacld-3.0: Add support to read link layer stats via debugfs
Add support to read link layer stats via debugfs. This change set
will issue get_req and store the received stats response is debugfs
entry.

Change-Id: If3af9f0a37283583ff011e35c7275a329a6e175d
CRs-Fixed: 2018087
2017-06-22 11:47:49 -07:00