Commit Graph

5447 Commits

Author SHA1 Message Date
Yun Park
ed827b466b qcacld-3.0: Handle ipa_tx_desc is NULL case in hdd_ipa_cleanup
In the hdd_ipa_forward, we are not populating pm_tx_cb->ipa_tx_desc
field. So, during hdd_ipa_cleanup, call ipa_free_skb only when
ipa_tx_desc is not NULL.

Change-Id: Ib15cd3eb0c7b10a205993db27960fa2e7775b335
CRs-Fixed: 2046901
2017-06-02 23:27:56 -07:00
snandini
5a1bd18b2a Release 5.2.0.27Y
Release 5.2.0.27Y

Change-Id: I9b48578f2d021099447ce7d40efe70e024315c9f
CRs-Fixed: 774533
2017-06-02 20:38:58 -07:00
Yue Ma
2be1287daa qcacld-3.0: Prints all objects when SSR shutdown is done
This can help to check which objects are leaked during SSR.

Change-Id: I43c4f381a8d07fc05a0238081d4de7ff18682a0b
CRs-fixed: 2055755
2017-06-02 20:38:57 -07:00
Sreelakshmi Konamki
c931b377ba qcacld-3.0: Fix compilation issues
Observing compilation errors when FEATURE_WLAN_LFR_METRICS
flag is enabled.

Add changes to fix the compilation errors

Change-Id: I9272cf26e590879f327629e21c76b991d077ad5c
CRs-Fixed: 2053760
2017-06-02 20:38:56 -07:00
Kiran Kumar Lokere
dda6077ba4 qcacld-3.0: Disable vendor VHT IE support if 2G 11ac disabled
Disable vendor VHT IE support if 11ac is disabled in 2.4G by
user configuration

Change-Id: I8920fae5352fa1a4c7356918bce3b27e2c4a3345
CRs-Fixed: 2052059
2017-06-02 20:38:54 -07:00
snandini
b885ea9e4d Release 5.2.0.27X
Release 5.2.0.27X

Change-Id: Idf8a64e78c7bd052db9fcdd3a583104e9bea123d
CRs-Fixed: 774533
2017-06-02 18:50:44 -07:00
Sandeep Puligilla
75992053b9 qcacld-3.0: Add more debug logs in vendor scan
Add more debug logs in vendor scan complete
callback API.

Change-Id: Id6240b17df76413ae95ae06df5511ffa9d1ada9e
CRs-Fixed: 2020143
2017-06-02 18:50:43 -07:00
Kiran Kumar Lokere
5be8fc8860 qcacld-3.0: Do not disable TxBFee with VHT caps in vendor IE
Do not disable the TxBfee feature if the VHT caps are in vendor
specific IE.

Change-Id: Ie1c8e15a908d74d9d30b550207225f8b0480035b
CRs-Fixed: 2035404
2017-06-02 18:50:42 -07:00
snandini
0c398ea1b2 Release 5.2.0.27W
Release 5.2.0.27W

Change-Id: I67a9ecb1add02668fe72acd7c14a2eb6583a2742
CRs-Fixed: 774533
2017-06-02 17:59:47 -07:00
Sandeep Puligilla
f0b3058d6a qcacld-3.0: Remove BSS from scan cache after disconnect
P2P connection is failed because host driver is updating
stale BSS entry of P2P go to NL.

Remove BSS entry from scan cache irrespective of reason
code.

Change-Id: I99eb1fd953037bbbd9c1af1147d3656f6ca246c3
CRs-Fixed: 1110752
2017-06-02 17:59:46 -07:00
Yuanyuan Liu
889167d4bf qcacld-3.0: Fix compilation error
Fix compilation error of "sessionId may be used uninitialized in
this function" by initializing sessionId to CSR_SESSION_ID_INVALID.

CRs-Fixed: 2055208
Change-Id: Id2da1f3ee028d85b1e0c1dfc4f65af5a54dd4479
2017-06-02 17:59:44 -07:00
snandini
293c5e2340 Release 5.2.0.27V
Release 5.2.0.27V

Change-Id: I068050fa9c4ded18b22a84f4819d137432b11480
CRs-Fixed: 774533
2017-06-02 17:25:16 -07:00
Manjunathappa Prakash
4a7b1dc764 qcacld-3.0: revert back ol_rx_add_mpdu_to_list to macro
Changes done to head pointer in ol_rx_add_mpdu_to_list() is not
returned back to caller as arguments are sent as pass by value

Change-Id: Ie8c98af2ea4e03b0678df243aa0c832165494168
CRs-Fixed: 2046362
2017-06-02 17:25:15 -07:00
snandini
1254a7bcbc Release 5.2.0.27U
Release 5.2.0.27U

Change-Id: I7682116e9b2ed60761fae2550171165a905b663f
CRs-Fixed: 774533
2017-06-02 14:47:44 -07:00
Krunal Soni
364e087691 qcacld-3.0: Defer power-save for certain APs during initial connection
Few APs create interoperability issues when STA goes to power-save mode
right after initial connection.

In order to resolve these issues, defer the power-save for few seconds
when connected to those APs.

Change-Id: I3f6b642fb4e481dcb8e14f6da141f4cfa9d6b167
CRs-Fixed: 2046014
2017-06-02 14:47:43 -07:00
Manjunathappa Prakash
2754f65563 qcacld-3.0: Fix nbuf tracking in ol_rx_fwd_check(), ol_rx_defrag_decap_recombine()
In ol_rx_fwd_check, do not remove nbuf Rx packet in case intra-bss
forwarded traffic. Regular Tx completion will take care to free the nbuf
and its tracking.

In ol_rx_defrag_decap_recombine(), it is callers responsibilty to free the
source nbuf if concatinate succeeds.

Change-Id: Iaf83524924e312bf819483de38603241f45170a5
CRs-Fixed: 2047377
2017-06-02 14:47:41 -07:00
Arif Hussain
957b20873a qcacld-3.0: Fix isCacEndNotified flag init to fix issues across ssr
If SAP operating in DFS channel and CAC was done, isCacEndNotified
flag was set to true. If ssr triggers, SAP will restart and does cac
wait, and isCacEndNotified flag remains set which will prevent sending
vdev up to firmware to start beacon after cac done.

Change-Id: I02b9c1dbcd1f37df1de134ce54233c2061bf7cec
CRs-Fixed: 2049957
2017-06-02 14:47:38 -07:00
snandini
8c10e02d05 Release 5.2.0.27T
Release 5.2.0.27T

Change-Id: I01f43f34d7faae8278917730604819cf65cb07ea
CRs-Fixed: 774533
2017-06-02 13:41:18 -07:00
Arif Hussain
e478b4d0be qcacld-3.0: reset dfs_cac_block_tx as soon after start bss event received
Make sure to first reset dfs_cac_block_tx (if operating channel is not
dfs) as soon as start bss event received. It is observed that in some
cases further processing of start bss event in hdd_hostapd_sap_event_cb
is failed and dfs_cac_block_tx flag remain set, because of this all the
tx packets from network layer are blocked. SAP continue to beacon but
peer stations failed to connect as SAP is blocked to transmit dhcp or
other data packets from network stack.

Change-Id: I045e38d6b826d2de64520fe9063e6123bc6650e6
CRs-Fixed: 2026958
2017-06-02 13:41:17 -07:00
snandini
cfa0054117 Release 5.2.0.27S
Release 5.2.0.27S

Change-Id: Ibc767ddb68989e7d128010e596aaf08c6f2be307
CRs-Fixed: 774533
2017-06-01 21:21:22 -07:00
Arif Hussain
43354e663f qcacld-3.0: Handle user-space roaming failure case
Supplicant uses connect command to send roam request and
also starts auth timer. On failing to receive assoc success
from driver, supplicant will send disconnect indication to
the driver after auth timeout which is 10 sec.

So, currently supplicant does not allow to stay with current AP
if roam invoke fails.

On roam invoke failure, indicate this failure to supplicant
and send death to current AP for driver and firmware cleanup,
So that we can avoid 10sec auth-timer delay.

Change-Id: Ie010a55b9b7a6563c817b17815d004f7b8bfa2fa
CRs-Fixed: 2044156
2017-06-01 21:21:21 -07:00
Arif Hussain
72edc5955a qcacld-3.0: Fix cac duration issue with weather channel
Make sure to update cac duration correctly if any of the
bonded channel is weather channel.

Change-Id: If96654427abd32757a592a1e89113c185127f221
CRs-Fixed: 2034640
2017-06-01 21:21:20 -07:00
Arif Hussain
b7eb4aff37 qcacld-3.0: Fix memory leak in mac_open
Make sure to free cfg resource in allocated during
cfg_init when case of pe_open failure happen.

Change-Id: I651585dabec344253fb3015d974f9f4685d24304
CRs-Fixed: 2027588
2017-06-01 21:21:19 -07:00
Arif Hussain
ae99ff0b8a qcacld-3.0: Cleanup in mac_open to avoid freeing p_mac
In “Change-Id: I3638b576b76c26181cb180d8b37e195ba3b0ecad”
replaced dynamic allocation of p_mac to used memory from
.bss segment, So do not free p_mac.

Change-Id: I2aab77871b8b96de65d7732a001934586df635d0
CRs-Fixed: 2026241
2017-06-01 21:21:17 -07:00
Arif Hussain
7168379ca5 qcacld-3.0: Change dynamic memory to static from .bss segment for p_mac
Size of global context handler p_mac is too big to allocate memory
and more possibility of failing memory allocation of this big size.

So use mac global context from .bss segment by using global static
variable.

Change-Id: I3638b576b76c26181cb180d8b37e195ba3b0ecad
CRs-Fixed: 2011049
2017-06-01 21:21:16 -07:00
snandini
8dbf8bd4ab Release 5.2.0.27R
Release 5.2.0.27R

Change-Id: Ifc70a1028e295baf4ad367cb34d2c5be5f3138a6
CRs-Fixed: 774533
2017-06-01 19:55:34 -07:00
Paul Zhang
d2315479ae qcacld-3.0: Set burst duration when using short BI
qcacld-2.0 to qcacld-3.0 propagation

When the DUT connects to an AP whose BI is short, for
example 25ms. Per the fw scan schedule mechanism, the
TBTT scan has high priority. Then the scan issued by
host will be timeout.

To mitigate this issue, enable the burst scan feature
by setting the burst scan duration.

Change-Id: Id28e9d1ec242c205481fb3b7242134b0dae78834
CRs-Fixed: 1109279
2017-06-01 19:55:33 -07:00
snandini
b9b95af516 Release 5.2.0.27Q
Release 5.2.0.27Q

Change-Id: I0d12fa89c6f946b785a7cecefa8fa07256a12dcb
CRs-Fixed: 774533
2017-06-01 16:01:10 -07:00
Manikandan Mohan
39accff49b qcacld-3.0: Add INI item for 11AX HE params and configure on BSS start
Add INI params for 11AX HE OBSS_PD. Update code to set
these params on BSS start on station connection and SAP start.

Change-Id: I60ae2cae936558668dfb1059744a6e3891aaebd1
CRs-fixed: 2045431
2017-06-01 16:01:09 -07:00
snandini
5822f22e66 Release 5.2.0.27P
Release 5.2.0.27P

Change-Id: I84e9b2e8e7ef5ce3980ac0def65b483c7696c496
CRs-Fixed: 774533
2017-06-01 12:32:30 -07:00
Varun Reddy Yeturu
e5476a908c qcacld-3.0: Fix the invalid SNR value in Host
Propagation from cld3.0-1.1 to cld3.0-2.0

Firmware sends a value of 0x127 or -1 to represent
an invalid SNR to the host. Handle it in the host
for both the values

Change-Id: I374c626566cd5b7d67aaca43167f9fe4bd4b85a2
CRs-Fixed: 1105132
2017-06-01 12:32:29 -07:00
Dustin Brown
2078eddc00 qcacld-3.0: Change gHwFilterMode default to 1
gHwFilterMode was mistakenly defaulted to 0. Change the default value
for gHwFilterMode to 1, to match the previous non-arp-bcast-filter
semantics.

Change-Id: I2b22c253fae52ef500290dea63699633da82fd06
CRs-Fixed: 2044102
2017-06-01 12:32:28 -07:00
Dustin Brown
1224e21a8f qcacld-3.0: Add gHwFilterMode ini item
Add a 'gHwFilterMode' ini item to control the DTIM mode hardware
filter. This ini item supersedes 'g_enable_non_arp_bc_hw_filter.'

	# disable feature (default)
	gHwFilterMode=0
	# drop all broadcast frames, except ARP
	gHwFilterMode=1
	# drop all multicast frames, except ICMPv6
	gHwFilterMode=2
	# drop all broadcast and multicast frames, except ARP and ICMPv6
	gHwFilterMode=3

Change-Id: I6bc8ac7585ffd0a62ab1c57558a798df9b63f2ce
CRs-Fixed: 2040420
2017-06-01 12:32:27 -07:00
snandini
2d2eefb3c4 Release 5.2.0.27O
Release 5.2.0.27O

Change-Id: I46fcab22fa808e552d5c88ad3e6ea4676606af83
CRs-Fixed: 774533
2017-06-01 07:21:48 -07:00
Himanshu Agarwal
8e89ce70f0 qcacld-3.0: Record ol rx indication events
Record ol rx indication events in a global ol rx indication record
buffer to have history of msdus received, no. of buffers replenished,
etc. in rx indication messages.

Change-Id: I96cf27a209c81208c6f6566b5e57116b2cf233e8
CRs-Fixed: 2012485
2017-06-01 07:21:48 -07:00
snandini
0e3fb46900 Release 5.2.0.27N
Release 5.2.0.27N

Change-Id: I8f4343e45c8c185470a84340d4920836dac3202b
CRs-Fixed: 774533
2017-06-01 06:06:49 -07:00
yeshwanth sriram guntuka
4c9a66989c qcacld-3.0: Remove unused concurrency ini parameters
Remove unused concurrency ini parameters used to
configure number of channels combined for each split
scan operation.

Change-Id: I913b6e769f282a0f5a0ddb40e54d294ae07deb55
CRs-Fixed: 2013444
2017-06-01 06:06:49 -07:00
Sandeep Puligilla
1e6da364dc qcacld-3.0: Don't allow change iface during ACS
Change iface is trying to open session before
closing the previous session when ACS is in progress.
This is causing assert in firmware due to duplicate
vdev with same mac address.

Send failure response to userspace when ACS is in
progress.

Change-Id: Ib49931c60935723c503b60334b7f299caf98f5b0
CRs-Fixed: 2030851
2017-06-01 06:06:47 -07:00
Sandeep Puligilla
68726b6c73 qcacld-3.0: Fix memory corruption in CSR
Freed scan list is accessed in CSR.

Don't free the memory when the scan list contains
zero entries.

Change-Id: Ia3bd1193288781ea15a2eab2e0a0ffd24b4d03f7
CRs-Fixed: 2052399
2017-06-01 06:06:46 -07:00
snandini
89f7e39781 Release 5.2.0.27M
Release 5.2.0.27M

Change-Id: I14e53361a9665d7a4c9eae542e2291c4ada58243
CRs-Fixed: 774533
2017-05-31 23:38:14 -07:00
Govind Singh
9785416998 qcacld-3.0: Handle HTT DATA2/DATA3 connect service failure
Handle error case if DATA2/DATA3 htt service connection
with fw fails.
DATA2/DATA3 connect service is done after FW ready indication.
Hence it's safe to handle the error scenarios.

Change-Id: If6f07f3c29cbc5f1486231a7897d1223ad1c24bb
CRs-Fixed: 2034843
2017-05-31 23:38:13 -07:00
Abhishek Singh
3df7661cc1 qcacld-3.0: Dont send add peer before peer is deleted in firmware
When IBSS peer is deleted, host send peer delete to firmware
and continue with delete in host. In this case we may hit the
situation that peer is not deleted in firmware and host tries to
add the peer again.

To fix this wait for peer delete resp before proceeding with host
cleanup

Change-Id: I500e4c4a840156295aa00125643f87e23b5168b8
CRs-Fixed: 2047244
2017-05-31 23:38:12 -07:00
Sandeep Puligilla
1954af2dea qcacld-3.0: Increase SSID array size
- Increase SSID variable array size while
handling scan for ssid.
- Cleanup scan for ssid API. Remove
legacy scan code.

Change-Id: Ia3a1a9dfc61e3453c1277742155d4572f28fb1a5
CRs-Fixed: 2054232
2017-05-31 23:38:11 -07:00
Paul Zhang
42dade0dd8 qcacld-3.0: Associate in 1x1 when connected to a certain Vendor AP
When connected to a certain Vendor AP that cannot handle SMPS frame, only
connect in 1x1.

Change-Id: Ieae25191df8340a582e81dc716b9a1aee6a71921
CRs-Fixed: 2047347
2017-05-31 23:38:09 -07:00
Naveen Rawat
b2fc41317f qcacld-3.0: Introduce ini param for forcing 1x1 for certain peer
For a certain Vendor OUI this ini param allows STA connection in 1x1
only. This is needed to resolve IOT issue.

Change-Id: If4ff4ece3c4bd1c4b85ebfd5c4870b27efbbe475
CRs-Fixed: 2047347
2017-05-31 23:38:08 -07:00
snandini
2c13e6b5f5 Release 5.2.0.27L
Release 5.2.0.27L

Change-Id: I97af5eb43af16b3b598450e0a0dfc67d1bb7785d
CRs-Fixed: 774533
2017-05-31 18:41:15 -07:00
Yue Ma
d5b4b9f267 qcacld-3.0: Delete peers during SSR for STA and P2P client modes
Peers have to be deleted to avoid leaking for STA and P2P client modes
during SSR.

Change-Id: I4ac88cc64f4ff36e0441f92affee6fdb674e3a6e
CRs-fixed: 2021415
2017-05-31 18:41:14 -07:00
snandini
26cb30f9a3 Release 5.2.0.27K
Release 5.2.0.27K

Change-Id: I5e057806d3193f417ce25e56dbe661f973450d4a
CRs-Fixed: 774533
2017-05-31 17:57:13 -07:00
Padma, Santhosh Kumar
9397bc1c24 qcacld-3.0: Avoid switch channel during preauth
qcacld-2.0 to qcacld-3.0 propagation

Currently data tx is suspended and later checked for preauth
in limProcessChannelSwitchTimeout. This can result in a condition
that data tx to be always in suspend case if roaming triggers at
the same time.

Fix is to add a check for preauth during channel switch.

Change-Id: I0ac3d63a5db000beed7de34b13e5926c7dc3ce48
CRs-Fixed: 2035031
2017-05-31 17:57:12 -07:00
Padma, Santhosh Kumar
19f5765793 qcacld-3.0: Update dot11mode properly for roamable AP
qcacld-2.0 to qcacld-3.0 propagation

Currently dot11mode is not updated properly for roamable AP. This can
result in incorrect data rates. Update dot11mode to fix this.

Change-Id: I644f685fc2c0e041b308017ed3206d56c9c57fe9
CRs-Fixed: 2053478
2017-05-31 17:57:10 -07:00