Commit Graph

5130 Commits

Author SHA1 Message Date
Dustin Brown
f13b8c35e5 qcacld-3.0: Ensure adapter is up before ip change work
Currently, the host driver blindly configures ARP/NS offloads and other
work when it receives an IP address change notification from the kernel.
Ensure the specificed adapter is still up before processing IP address
change notification changes from the kernel to prevent extra work and
invalid access.

Change-Id: I087b72a9ffd735a0482d1c4ff9ad62cb8beb036b
CRs-Fixed: 2049976
2017-05-23 18:00:31 -07:00
snandini
83625088ff Release 5.2.0.26L
Release 5.2.0.26L

Change-Id: I289194e1d257c563063b1409534305a9d499c6b3
CRs-Fixed: 774533
2017-05-23 17:20:10 -07:00
Selvaraj, Sridhar
94be8ba8a9 qcacld-3.0: Properly update Power cap IE to FW for LFR3 roaming
Currently, driver updates FW assoc IE's to be used for LFR3 roaming
and is not checking the supported max tx power before updating the
same to FW resulting in different max tx power values in reasssoc
and assoc requests.

For Power cap IE, check and set the max tx power properly if halphy
provided max tx power exceeds the supported value, while updating
the same to FW for LFR3 roaming.

Change-Id: Idec518245963a92da8ee2ba8c509c7248a298901
CRs-Fixed: 2042674
2017-05-23 17:20:09 -07:00
Selvaraj, Sridhar
3810183ae2 qcacld-3.0: Avoid overwrite channel list in RSO command preparation
Currently, while sending RSO command, channel list is overwritten
with valid channel list from mac context even though it is already
properly updated from current channel list info (or) INI.

Avoid overwrite channel list in RSO command if it is already
updated properly.

Change-Id: Iee1875e378270530b29540b379d68b2b0fd7ac2d
CRs-Fixed: 2045067
2017-05-23 17:20:08 -07:00
Selvaraj, Sridhar
1c48756d78 qcacld-3.0: Reset roaming_in_progress flag after SSR
After SSR, scan request is dropped at HDD if roaming_in_progress
flag is set. roaming_in_progress is set when host receives ROAM_START
from fw and reset when as part of ROAM_SYNCH_COMPLETE event. If SSR
happens between these two events, roaming_in_progress is not reset
which leads scan request drop in HDD after SSR.

Reset roaming_in_progress flag after SSR

Change-Id: I25516c288034a1de23ebc5417a4b5bb483216ebc
CRs-Fixed: 2035411
2017-05-23 17:20:07 -07:00
snandini
c49be7c4ce Release 5.2.0.26K
Release 5.2.0.26K

Change-Id: Ib362dda45d13e2572ce8b0de9effbcc21a44625c
CRs-Fixed: 774533
2017-05-22 16:20:40 -07:00
Dustin Brown
9a9437f4ee qcacld-3.0: Adjust default EGAP ini values
Adjust the default EGAP ini values.

Change-Id: I53eecf0b09864c82396197511ec20a7ac0dc9a55
CRs-Fixed: 2048773
2017-05-22 16:20:40 -07:00
snandini
3794c40059 Release 5.2.0.26J
Release 5.2.0.26J

Change-Id: I5098792487118f9a72c1a6ce9503e7071f911989
CRs-Fixed: 774533
2017-05-21 23:55:49 -07:00
yeshwanth sriram guntuka
7f4cb34431 qcacld-3.0: Fix connect failure due to scan stuck
Peer sta kickout ind was received from fw nine times
which resulted in queuing nine scan commands as part
of csr_scan_request_lost_link1 without checking for
max allowed scans. The ninth scan cmd is not released
as fw did not send completion event resulting in
subsequent connect to fail.

Fix is to
1) check for max allowed scans before
queuing scan command.
2) check for lim sme state to avoid invoking tear
down link with ap multiple times on receiving
multiple peer sta kickout ind from fw.
3) don't invoke csr_scan_request_lost_link1 as part
of csr_roam_lost_link as supplicant will issue scan
after successful disconnection.

Change-Id: I850fd336fc73e4b2c2362dfd11db433b68ccd1fb
CRs-Fixed: 2031342
2017-05-21 23:55:48 -07:00
snandini
1e83ab9856 Release 5.2.0.26I
Release 5.2.0.26I

Change-Id: I26f624b14076743259bc2355960b66bf9d671258
CRs-Fixed: 774533
2017-05-19 23:58:27 -07:00
Sandeep Puligilla
f4810705cf qcacld-3.0: Don't process disassoc in disconnecting state
-If disconnection is in progress then don't process the
new disassoc frame.
-Limit the number of logs message related to disassoc
frame dropping.

Change-Id: Ia4d612ec67d4a6b80991a6e0e6393bc59ba76617
CRs-Fixed: 2035813
2017-05-19 23:58:26 -07:00
snandini
352ce8358e Release 5.2.0.26H
Release 5.2.0.26H

Change-Id: I7f795df345f7752ac1e6dda28f789915d0f3f37d
CRs-Fixed: 774533
2017-05-19 15:57:48 -07:00
Krunal Soni
b7f2043b99 qcacld-3.0: Handle bss color change IE coming from AP
If AP changes its color code for 11AX mode then it will announce
through bss color change IE. Connected STA needs to honor that IE
and update its internal table.
Along with color change IE, he ops can also be changed by AP.
STA needs to honor that as well.

CRs-Fixed: 2039284
Change-Id: I4f6767d0a6a814f56448dc6d647e045c852e2750
2017-05-19 15:57:47 -07:00
Peng Xu
6363ec64ef qcacld-3.0: Add support for 11AX BSS color change
Add support for handling BSS color collision and select new BSS
color. Update beacon template and set new BSS color to FW.

Change-Id: If441990916753bdcf4daaded031e16f0460a0e8f
CRs-Fixed: 2039284
2017-05-19 15:57:45 -07:00
Krishna Kumaar Natarajan
0baebf8813 qcacld-3.0: Add new IEs related to 11ax
Add new IEs related to 11ax. Following IEs are added as part of
this MU EDCA Parameter Set and BSS Color Change Announcement.

Change-Id: I5b31f026e3a9625a89bda027599493248fee760a
CRs-Fixed: 2039284
2017-05-19 15:57:43 -07:00
Dustin Brown
36e2e5ce73 qcacld-3.0: Use qdf_print_set_category_verbose()
qdf_trace_set_value() is depreciated. Use
qdf_print_set_category_verbose() instead.

Change-Id: I37a2af5c0e08bfd8e8c6e0ce0e503889e6e0c782
CRs-Fixed: 2048109
2017-05-19 15:57:39 -07:00
snandini
f46d772f5a Release 5.2.0.26G
Release 5.2.0.26G

Change-Id: Iad9a8b7dd22a46ff7f0e384ef3b58d4dca894b60
CRs-Fixed: 774533
2017-05-19 14:50:38 -07:00
Manjunathappa Prakash
bab70f024f qcacld-3.0: Reduce failure log level of OL_TX_SEND
Reduce the excessive failure logging of OL_TX_SEND. Make it as debug log
so that it will not hog the console. OL layer tx flow control stats will
catch the dropped packets.

Change-Id: I57feee9b4eeb7bf6c6c0c239c2a30041936fa758
CRs-Fixed: 2047953
2017-05-19 14:50:38 -07:00
snandini
ca05437d9a Release 5.2.0.26F
Release 5.2.0.26F

Change-Id: I595c714e2d71baa86a4594fa690e82a661b70062
CRs-Fixed: 774533
2017-05-19 13:51:49 -07:00
Selvaraj, Sridhar
4c7411ea7e qcacld-3.0: Update proper status for disable roam cmd
Currently, for disable roam from supplicant, if STA is in
not connected state, driver wont send any commands to FW
as it is unnecessary. However, for this case, driver updates
fail status to supplicant.

Update success status for disable roam cmd when STA is in
not connected state.

Change-Id: I076d1b5389868b5d136e5adce730f6b3ec41e6f8
CRs-Fixed: 2042596
2017-05-19 13:51:48 -07:00
Selvaraj, Sridhar
5b5a06598f qcacld-3.0: Update ignore_assoc_disallowed while creating PE session
For MBO[Multi-Band Operations], supplicant configures driver to ignore
assocition disallowed even if assoc disallowed attribute is present
in MBO IE of target BSS. Currently driver is updating this config
in PE session and fails if PE session doesnot exist at the instance.

Save ignore_assoc_disallowed config to mac context and update the same
to PE session while creating it.

Change-Id: I0379c756f6150533723ba4306f9780e345c3f61f
CRs-Fixed: 2042550
2017-05-19 13:51:46 -07:00
snandini
62ba9bf960 Release 5.2.0.26E
Release 5.2.0.26E

Change-Id: Ia30bae4d02fcd787169088bb63ac6fcc3d50010b
CRs-Fixed: 774533
2017-05-19 11:51:09 -07:00
Dhanashri Atre
f067b5887a qcacld-3.0: Hardware Header File Update for Napier (E6)
Compilation change to include the E6 hardware header files.

CRs-Fixed: 2033542
Change-Id: I8ef090873a9e41a7309dacade7bce635a303dc2c
2017-05-19 11:51:08 -07:00
snandini
324eaed6c3 Release 5.2.0.26D
Release 5.2.0.26D

Change-Id: Icb241b161d79c7d5d96eed87f3d0b196d2d203ac
CRs-Fixed: 774533
2017-05-19 11:06:35 -07:00
Naveen Rawat
8021e459e1 qcacld-3.0: Fix memory leak in restart bss path
Function sapconvert_to_csr_profile is allocating memory for
pRSNReqIE without checking if it is already populated. This
will leak memory if this function is getting called for sap
restart. Fix this by first freeing memory if already allocated.

Change-Id: I562b1dabb330057b4f1b934b0edad692330aab70
CRs-Fixed: 2046608
2017-05-19 11:06:34 -07:00
snandini
0c0ae02833 Release 5.2.0.26C
Release 5.2.0.26C

Change-Id: I4bf54618ea918375886d6734390a0a8d11399405
CRs-Fixed: 774533
2017-05-19 06:32:04 -07:00
Naveen Rawat
2b6e3c9d51 qcacld-3.0: ini param support for disconnect threshold
This is qcacld-2.0 to qcacld-3.0 propagation.

This patch adds ini support for WMI_VDEV_PARAM_DISCONNECT_TH
which represents number of dropped packets before FW sends out
kickout event for that peer to host.

Change-Id: I4c82bd1b5d1bc5d8265e3b0e5e58c82cdcab7f50
CRs-Fixed: 862686
2017-05-19 06:32:03 -07:00
snandini
989ea669cb Release 5.2.0.26B
Release 5.2.0.26B

Change-Id: I55681e2f687e1170e6df3fafe52a58ea7b68090a
CRs-Fixed: 774533
2017-05-19 05:27:29 -07:00
Nitesh Shah
50a3de1447 qcacld-3.0: Add ini item used in DBS Scan selection policy
Add ini item gdbs_scan_selection for DBS Scan selection policy.

Change-Id: If71df05afac7139d4ceccd190e8196c7476445b5
CRs-Fixed: 2028112
2017-05-19 05:27:29 -07:00
Krunal Soni
d3676732ef qcacld-3.0: Remove serialization from set key req and rsp messages
Serialization is not required to deliver the set key request coming
from upper layer as well as set key response coming from lower layer.

Take the set key request coming through IOCTL thread, and directly
post the request to protocol layer. Similarly take the set key response
coming through worker thread, and post the request to protocol layer.

Change-Id: Idcd0047f6e323d982e3159f7ef376e6eeb201395
CRs-Fixed: 2046036
2017-05-19 05:27:27 -07:00
Abhishek Singh
d7bc91391a qcacld-3.0: Fix PMF regression for SAP
In PMF SAP case iface->rmfEnabled is not set and thus even
unprotected frames are received by driver and processed.

To fix this set iface->rmfEnabled while adding station.

Change-Id: I3cbe5d7d64ee0d38f64f9cf256ce338163edd302
CRs-Fixed: 2048364
2017-05-19 05:27:25 -07:00
Dustin Brown
edce4a571e qcacld-3.0: Fix WoW Pattern mem leak on unload
WoW patterns are maintained in an internal cache that is not cleaned
when the WLAN module is unloaded. Free the WoW pattern cache as part
of the WLAN module unload.

Change-Id: I1ebd1876555d01551542f7029f53a72af6773dbc
CRs-Fixed: 2044774
2017-05-19 05:27:23 -07:00
snandini
8e354f029d Release 5.2.0.26A
Release 5.2.0.26A

Change-Id: I76b3d75b06f0251d0ee095f976195c8bb1e3fcc4
CRs-Fixed: 774533
2017-05-18 13:42:33 -07:00
Yue Ma
6dbbb183a9 qcacld-3.0: Add PLD APIs to support athdiag read/write
Add PLD APIs to support athdiag read/write though QMI messages.

Change-Id: I4887065fa390c7e3374a7297103bd93d3d35c429
CRs-fixed: 2043584
2017-05-18 13:42:32 -07:00
Amar Singhal
6f8592b71c qcacld-3.0: Propagate dynamic channel list
When channel list changes dynamically; it needs to be
propagated to kernel and firmware. Do the propagation in
the callback registered by hdd.

Change-Id: I2c9fb92a9abf1c26a8c57ee8be65bd5556bb84a1
CRs-Fixed: 2012415
2017-05-18 13:42:31 -07:00
Kiran Kumar Lokere
b1d412e15d qcacld-3.0: Add support for regulatory component ucfg apis
Add support for regulatory component ucfg apis to provide user
configuration

Change-Id: I994e53b17788472de979df9dce9e18c6f68de850
CRs-Fixed: 2012415
2017-05-18 13:42:29 -07:00
snandini
90289d4a4d Release 5.2.0.26
Release 5.2.0.26

Change-Id: I407444f7b1aea0e7d547170aa2bf3215d72e7d97
CRs-Fixed: 774533
2017-05-18 13:01:30 -07:00
Tushnim Bhattacharyya
85bedb9349 qcacld-3.0: Fix compilation issue in sme
Add check for variable initialization in csr_get_snr.

Change-Id: Id2742c95187923153aeb691455030199c65dbc62
CRs-Fixed: 2049172
2017-05-18 13:01:29 -07:00
snandini
13a6734684 Release 5.2.0.25Z
Release 5.2.0.25Z

Change-Id: Ib06e7cb822bf51ed49808e6f247430e416e8caca
CRs-Fixed: 774533
2017-05-18 07:29:17 -07:00
Ganesh Kondabattini
ae1c6a21cd qcacld-3.0: Update session id for set hw mode command
e_sme_command_set_hw_mode is always requested on session id 0 even
though it is supposed to go on different session id. This is due to
not updating session id when posting e_sme_command_set_hw_mode
command to SME.

Update session id in e_sme_command_set_hw_mode command.

CRs-Fixed: 2041453
Change-Id: I211f8b4cda3ef4ce216c1957eeea812e0eec5dc7
2017-05-18 07:29:17 -07:00
Ganesh Kondabattini
1c6365ca44 qcacld-3.0: Validate roc_ctx before accessing
Check for NULL pointer before accessing the roc_ctx in function
"wlan_hdd_cancel_pending_roc".

Change-Id: Ic01f2776567f6fc7d9fc89523b78fc697fb625a8
CRs-Fixed: 2045861
2017-05-18 07:29:15 -07:00
snandini
97070ae8e9 Release 5.2.0.25Y
Release 5.2.0.25Y

Change-Id: I6d646d22ef3aad8b82c2333264cd723680b88db3
CRs-Fixed: 774533
2017-05-18 06:37:00 -07:00
Amar Singhal
cab1b4f7d9 qcacld-3.0: Initialize hal_reg_capabilities extension
In case the service ready extension event is not available from
firmware, the hal_reg_capabilities in psoc structure do not get filled
up. But pdev channel list depends on hal_reg_capabilities extension
having proper range values values for channels. Since MCL has only
single pdev, unconditionally fill up the values in psoc service ready
ext data structures..

Change-Id: Idb2c8525d5789078654c1cba8d841dea03841ae8
CRs-Fixed: 2048054
2017-05-18 06:37:00 -07:00
snandini
a1370d90a8 Release 5.2.0.25X
Release 5.2.0.25X

Change-Id: Ib71c2c975a03a1d5235fe47f209e43b21027850b
CRs-Fixed: 774533
2017-05-17 21:07:37 -07:00
Kabilan Kannan
e8602fd411 qcacld-3.0: Fix TDLS set state cmd sequence for roaming
Firmware expects TDLS set state cmd before vdev stop, but
the cmd is going out of sequence during roaming and induce
crash in the system.
Send the TDLS set state cmd with correct sequence.

Change-Id: Ie106b8a8cebaa7f107c9eff67dda924b231162da
CRs-Fixed: 2045961
2017-05-17 21:07:37 -07:00
snandini
5a1f09d11b Release 5.2.0.25W
Release 5.2.0.25W

Change-Id: I373df7dc5062582cb37979cf58e6a9b9f57a523d
CRs-Fixed: 774533
2017-05-17 18:36:56 -07:00
Sandeep Puligilla
80038def4d qcacld-3.0: Update scan channels for emulation
Update default scan channels list with following channels
2.4G: 1, 6, 11
5G active: 36,40 passive: 52, 56, 140

Change-Id: Ib08f5242a285ff391a1cd2e17e5c26154b32e31b
CRs-Fixed: 2043613
2017-05-17 18:36:55 -07:00
snandini
dc3346576c Release 5.2.0.25V
Release 5.2.0.25V

Change-Id: If45e9b25a00492b9dbcf4e14e99a73a36802f6e1
CRs-Fixed: 774533
2017-05-16 01:23:40 -07:00
Will Huang
be32c2f5eb qcacld-3.0: Reject AssocReq without cipher IE to security SAP
When client send AssocReq without any cipher suite IE to DUT's SAP
which has security configure, driver/hostapd will not reject/delete
this client, this client will associate but eapol process will not
happen, so this client tlSTAState will not change to
OL_TXRX_PEER_STATE_AUTH state, and it blocks DUT's STA scan because
cds_is_connection_in_progress check this state.

This change is to reject it from driver when AssocReq without any
cipher suite IE received from DUT's SAP which has security configure.

Change-Id: Ia9a3b0791ac36c3ee6d48cf6df97f47a3752bd16
CRs-Fixed: 2033663
2017-05-16 01:23:40 -07:00
snandini
0564873ab6 Release 5.2.0.25U
Release 5.2.0.25U

Change-Id: Id52b89ee37dd115fe1e35f3b7faabd76c450bec3
CRs-Fixed: 774533
2017-05-16 00:46:26 -07:00