Commit Graph

15860 Commits

Author SHA1 Message Date
nshrivas
524129c2f8 Release 5.2.0.133U
Release 5.2.0.133U

Change-Id: If56894350cf03d945e4f1ccf0a4708cd86188b7e
CRs-Fixed: 774533
2019-05-20 13:40:37 -07:00
Bala Venkatesh
444588c41e qcacld-3.0: Enable TDLS in case of STA association failure
TDLS is disabled if second connection comes up.
If that second connection fails then enable
the TDLS again.

Change-Id: Id5df1df81c94bcf3a0616bbfb4b33f3e4d81dcbe
CRs-Fixed: 2445831
2019-05-20 13:40:37 -07:00
Will Huang
f108e02f54 qcacld-3.0: Allocate memory from heap to wma_set_stakey
This change I29209576622bc2495a7ce3064e82efca2e70d19a was to fix a
memory leak, but ibss creating peer pass a pointer on stack to
wma_set_stakey API, it makes a regression.

Fix it by passing all pointer from heap to wma_set_stakey API.

Change-Id: I178e4b6a15aa24faae78d9846427b3292d11a1a4
CRs-Fixed: 2455529
2019-05-20 13:40:33 -07:00
Jeff Johnson
c7fa3546e1 qcacld-3.0: Conditionally apply WAR for BT coex issue
Change I9d29c141106db479039789d67c45a455e96a118b introduced a WAR for
a BT coex issue. Now that an updated version of HW is available that
does not need the WAR, only apply the WAR if the hardware version
requires it.

Change-Id: Id204163e81a802d16f1a9ffc78bbfcf2549c7dfb
CRs-Fixed: 2437433
2019-05-20 13:40:29 -07:00
nshrivas
43db7f7c48 Release 5.2.0.133T
Release 5.2.0.133T

Change-Id: I9839f52bec80cdb04fb66ce608e8e2a152ed356a
CRs-Fixed: 774533
2019-05-20 11:22:09 -07:00
Rajeev Kumar Sirasanagandla
31fe28ff55 qcacld-3.0: Fix incorrect type and range for LFR ini
Currently LFR band specific ini attributes 5g_rssi_boost_threshold
and 5g_rssi_penalize_threshold programmed with wrong type and range.
This can lead to ignore user-input and always use default value.

To fix this, correct min and max ini values for 5Ghz network RSSI
boost/penalty preference.

Change-Id: If89c09fb1343a68dfaa7241b5ec14b046d1bb758
CRs-Fixed: 2452128
2019-05-20 11:22:09 -07:00
nshrivas
5fe8e70b1e Release 5.2.0.133S
Release 5.2.0.133S

Change-Id: I2babca0873b0be4934838bc256b57f1aa070ab4b
CRs-Fixed: 774533
2019-05-17 20:41:56 -07:00
gaurank kathpalia
a92bb13dfc qcacld-3.0: Filter SAP based upon ACS channel list
Scenario:
1. Start SAP on any potential LTE-COEX channel.
2. SAP would restart when it gets the event of unsafe channel.

Observation:
SAP restarts on a channel not in ACS channel list.

Expectation:
SAP should restart in channels given by the user
space only which are configured by hostapd.

Issue with driver:
Currently in wlansap_filter_ch_based_acs, the driver
eliminates the channels based upon the ACS start, and
end channel, and not the channel list, which can lead
to almost all the channels being picked, and none eliminated
if the start channel was 1, and end channel was 165, even
when only two channels, say 1 and 165 only were present
in ACS channel list.

Fix:
Fix is to eliminate all the candidate channels which were
not part of the ACS channel list, and pick only those channels
that were part of initial do_acs request.

Change-Id: Ib3b0b0a77c07b423b66e99feb085a370ed01f2de
CRs-Fixed: 2454270
2019-05-17 20:41:56 -07:00
Abhinav Kumar
7123a69f72 qcacld-3.0: Remove redundant error message
Remove redundant error message while processing beacon.

Change-Id: Icd29c8973beb363bd38d311f27293575fb169421
CRs-Fixed: 2453864
2019-05-17 20:41:52 -07:00
gaurank kathpalia
a3856b84d6 qcacld-3.0: Add BSSID to reject rssi list in assoc reject
Scenario:
1. Turn on STA and try connect with a PMF capable AP.
2. Configure te AP to reject assoc everytime, with status
   code as ASSOC TRY AGAIN.

Issue with DUT:
STA would try again after the time t, which the AP has
specified in the assoc rsp frame, and if the AP sends
the assoc rsp fail continuosly with reason code try again,
then the active command timeout may happen as the
active command to connect would be stuck.

Observation:
Active command timeout happens, because the AP sends
the assoc rsp with the reason code try again and time
after every attempt.

Expectation:
The AP should be added to RSSI reject list, keeping RSSI
as 0, and retry delay as the time specified by AP, which would
result in connection attempt to that AP after the timeout, also
the STA would then continue with the other candidates.

Fix:
Fill the retry delay as the timeout value AP has given, RSSI as
0, and add the BSSID to the reject list, and continue connect
with other BSSIDs

Change-Id: If6155906a586539b3edef3e25bcad4f1e77159c3
CRs-Fixed: 2453875
2019-05-17 20:41:47 -07:00
Srinivas Girigowda
8e7ecabe16 qcacld-3.0: Replace IE_EID_VENDOR with WLAN_ELEMID_VENDOR
Replace IE_EID_VENDOR with converged macro WLAN_ELEMID_VENDOR.

Change-Id: I7f3109f8e2413d4ad091bebbd377739ff5c1e74d
CRs-Fixed: 2454262
2019-05-17 20:41:42 -07:00
nshrivas
3a974c16aa Release 5.2.0.133R
Release 5.2.0.133R

Change-Id: Ieb64f52300601e60d69fc6f717e2a7c58cf77711
CRs-Fixed: 774533
2019-05-17 16:21:49 -07:00
Abhishek Ambure
7acc2c1609 qcacld-3.0: Cleanup VDEV_SM legacy code
Legacy code of VDEV SM is no more used, hence this cleanup is done.

Change-Id: I8dc649639c4c1afb4ae206a046fe530e172bced9
CRs-Fixed: 2454039
2019-05-17 16:21:48 -07:00
nshrivas
512d6f05ae Release 5.2.0.133Q
Release 5.2.0.133Q

Change-Id: Iabcfbb29bc5525a84a65fe1487a6235ec30aabdb
CRs-Fixed: 774533
2019-05-17 00:49:11 -07:00
Sourav Mohapatra
9793868536 qcacld-3.0: Change static declaration to dynamic allocation
In function hdd_hostapd_sap_event_cb() there are variables that are
defined in the stack. This can cause stack overflow in certain cases.

Change the declaration of the variables to dynamic memory allocation.

Change-Id: Ic8dca63c57110a92f19a438b2ea9c7ab9936af97
CRs-Fixed: 2446590
2019-05-17 00:49:10 -07:00
nshrivas
0b135d1c9f Release 5.2.0.133P
Release 5.2.0.133P

Change-Id: Ia3fa7d8ebe8e6f20bdb6cf7e18308b5aa0bd9c3d
CRs-Fixed: 774533
2019-05-16 18:06:46 -07:00
Abhinav Kumar
c4a6c30750 qcacld-3.0: Fix race between vdev_stop and update_11k_offload
Currently, host sends 11k offload command to FW as part of RSO Start
and 11k offload disables to FW during RSO Stop. In case of STA+STA
concurrency, Host sends vdev_stop before 11k_deconfig for
currently enabled STA results to assert in FW.

In order to configure 11k for second STA without assertion, Driver
should de-config 11k for currently enabled STA before vdev stop/delete.

Fix is to configure 11k while start roaming and de-configure 11k
while stop roaming irrespective of the reason for roaming STOP.

Change-Id: I0915d8a0141194c331eb59ba0f2dfa9c8995628a
CRs-Fixed: 2449431
2019-05-16 18:06:40 -07:00
nshrivas
ac263d00d4 Release 5.2.0.133O
Release 5.2.0.133O

Change-Id: Ie4549fef68e47d418e972c72fb5d237a5a26acda
CRs-Fixed: 774533
2019-05-16 14:46:06 -07:00
Pragaspathi Thilagaraj
0f81a6a4b3 qcacld-3.0: Fix compilation issue with CONFIG_QCACLD_WLAN_LFR2 disabled
With feature flag for LFR2 disabled, there is compilation
failure in the wlan host driver.

Fix the compilation issues.

Change-Id: Ic21ccd0b313c6690c72a6546eba30c1ecb306cb0
CRs-Fixed: 2453298
2019-05-16 14:46:06 -07:00
Will Huang
aaa2a05e74 qcacld-3.0: Fix possible memory leak when set station key
If calling lim_send_set_sta_key_req with sendRsp==false, it didn't free
the tpSetStaKeyParams memory allocated in this function. This scenario
is possible hit when station key update during roaming before new bss
adding.

Change-Id: I29209576622bc2495a7ce3064e82efca2e70d19a
CRs-Fixed: 2452108
2019-05-16 14:45:57 -07:00
Abhishek Singh
62e574550b qcacld-3.0: Move legacy serialization flush cmds to common api
Move legacy serialization flush cmds to common api

Change-Id: If54b7241217618f9fd977b9a604bd1059f8a32ce
CRs-Fixed: 2452517
2019-05-16 14:45:43 -07:00
hqu
f2c3099c2b qcacld-3.0: Fix wrong MBSSID information for VDEV UP command
VDEV UP command doesn't include right MBSSID information, it will
cause data stall issue and so on.

Fix is to provide right MBSSID information with VDEV UP command.

Change-Id: I0201722c14dee1b01b8dacc7e3095301fb02fd3a
CRs-Fixed: 2434405
2019-05-16 14:45:39 -07:00
nshrivas
aae9dae0a8 Release 5.2.0.133N
Release 5.2.0.133N

Change-Id: I47e3579c69c8dab366ba506db2dd8243636d4122
CRs-Fixed: 774533
2019-05-16 12:43:07 -07:00
Rajeev Kumar Sirasanagandla
01d49efc8a qcacld-3.0: Fix missing gActionOUIConnect1x1 entry
Action OUI entry in gActionOUIConnect1x1 which was added as a part of
Idc0f3238e3521bb20c592b44de77216125e69504 was missed in the ini
convergence I6984096719a5abd7fa4f0a4f6641a17d29348332.

To fix this, add action_oui entry "001018 06 02FF009C0000 BC 25 48"
in gActionOUIConnect1x1.

Change-Id: Id8dcf2a21409bedbaecd0ab72ecca8d44a622c86
CRs-Fixed: 2452506
2019-05-16 12:43:06 -07:00
nshrivas
7a4e99353a Release 5.2.0.133M
Release 5.2.0.133M

Change-Id: Icfdbd59dace8a2b191fb357d4f8c82d018f390ec
CRs-Fixed: 774533
2019-05-16 10:12:18 -07:00
jiad
dd2c64da50 qcacld-3.0: Move IPA RX DPTRACE before eth_type_trans
For RX DPTRACE, we assume skb->data points to start of ethernet
header. In IPA RX exception path, DPTRACE is put after
eth_type_trans and eth_type_trans removes ethernet header from
skb->data. Thus move IPA RX DPTRACE before eth_type_trans.

Change-Id: I4d1a60292db43964fe08f591f0ee4b14e55ca4d3
CRs-Fixed: 2451155
2019-05-16 10:12:17 -07:00
nshrivas
529791fc3c Release 5.2.0.133L
Release 5.2.0.133L

Change-Id: Ibc135874a97bb029e332a94e9f9ec6ab8a7d07c1
CRs-Fixed: 774533
2019-05-16 07:45:39 -07:00
Srinivas Girigowda
851a6c0cb1 qcacld-3.0: Remove obsolete macros
Remove obsolete (unused) macros.

Change-Id: I969d6a0e4fd65ced65839b62e40506b9ce3df529
CRs-Fixed: 2453510
2019-05-16 07:45:38 -07:00
nshrivas
c21a9c2660 Release 5.2.0.133K
Release 5.2.0.133K

Change-Id: Ice79af9eb71d8b8ec76afeac369631928d08ea90
CRs-Fixed: 774533
2019-05-16 05:57:23 -07:00
Bala Venkatesh
9b0925f60b qcacld-3:0: Do not issue tdls del sta for bss peer
Currently, TDLS connection can be attempted with
any peer if the stats are more than configured threshold.
If the connection is attempted with connected AP then
add sta will be failed and TDLS disable link is given
by upper layer to cleanup the add sta failure.
TDLS component sends del sta request to lim.
As peer type check was not present del sta request will
be sent to firmware for connected BSS. In the resp path
as there is a check for TDLS peer type, TDLS component
was not notified of the resp and serialization cmd
timeout will happen.

Fix is to check the peer type for tdls peer del sta.

Change-Id: Ibe59256d7f7ba75116e234481569863259f921be
CRs-Fixed: 2453027
2019-05-16 05:57:22 -07:00
sheenam monga
6e49e5c314 qcacld-3.0: Add roam_reason in roam auth event
Currently, there is no information for roam reason
in hdd.

Fix, Handle roam reason recived from csr, print roam
reason and add roam reason in roam auth event.

Change-Id: Ib9188cb443fa81307fe23d73cce09f7c23bc7a41
CRs-Fixed: 2425910
2019-05-16 05:57:17 -07:00
Yue Ma
0631a756fb qcacld-3.0: Add PLD API to check DRV connection
Add PLD API in order to check if DRV (Direct Resource Vote) subsystem
is connected or not.

Change-Id: I3b600b0760e27c7111320088034c555aee4ff773
CRs-fixed: 2452039
2019-05-16 05:57:13 -07:00
nshrivas
e30731dc75 Release 5.2.0.133J
Release 5.2.0.133J

Change-Id: Iaeadfa53a1964c18556008f42839e9599b6d2919
CRs-Fixed: 774533
2019-05-16 02:28:24 -07:00
Yue Ma
b4ebd87f7b qcacld-3.0: Add WLAN device version to SOC info API
Populate WLAN device version related info along with other SOC info
in pld_get_soc_info() API.

Change-Id: Ie0e862c6755d10fbc80b11fbf39d004fafcfd9af
CRs-fixed: 2437413
2019-05-16 02:28:23 -07:00
Yue Ma
9f7d35c752 qcacld-3.0: Add comments for a PMO API
Any new param_id added to target_if_pmo_send_vdev_update_param_req
should be added to wmi_tag_vdev_set_cmd to be tagged for runtime PM
feature so that it will not invoke runtime PM get which may result
resume right after suspend (WOW_ENABLE).

Change-Id: Ifa154b38ec91599023e30a37b7fcfef88f5f0491
CRs-fixed: 2451994
2019-05-16 02:28:19 -07:00
Yue Ma
80fb30c778 qcacld-3.0: Remove PSOC sync protection for runtime PM resume
Unlike runtime PM suspend, resume may need happen synchronously
during driver shutdown or idle shutdown, hence remove PSOC sync
protection for runtime PM resume.

Change-Id: I4112215d3415dbe6da225d8feb2af7207d88753a
CRs-fixed: 2451994
2019-05-16 02:28:14 -07:00
nshrivas
77d8f3daf8 Release 5.2.0.133I
Release 5.2.0.133I

Change-Id: I6008dc7e0b48353d0b13795d53f498e39fb589e0
CRs-Fixed: 774533
2019-05-15 21:34:10 -07:00
nakul kachhwaha
5913f35b27 qcacld-3.0: Check neighbor roam state before issuing disconnect
wlan_hdd_try_disconnect should wait for LFR 2.0 based roaming
sequence to complete before triggering disconnect to avoid
potential race conditions.

Change-Id: Ib5ee542350fb8c375bb3629f5437bc37cc79dbb7
CRs-Fixed: 2434842
2019-05-15 21:34:09 -07:00
nshrivas
b7a6d1a405 Release 5.2.0.133H
Release 5.2.0.133H

Change-Id: I9b32a9b366d48d10b32af6a5a7795c38a4498287
CRs-Fixed: 774533
2019-05-15 13:22:06 -07:00
Pragaspathi Thilagaraj
98e70590d4 qcacld-3.0: Cleanup lim_update_fils_config()
The function lim_update_fils_config(), is invoked when
csr_send_join_req() sends the join request message to lim. It
copies the fils related configurations to lim from csr. The
variable csr_fils_info is used for destination lim structure.
This is misleading.

Rename csr_fils_info to pe_fils_info in lim_update_fils_config.

Change-Id: Idac1f73bba5ceff646e09b588f3e08ed4968a0fd
CRs-Fixed: 2445238
2019-05-15 13:22:06 -07:00
Yu Ouyang
346191a403 qcacld-3.0: fix reassociation issue
While getting reassociation request frame, user space hostapd will
trigger diassociate with reason code 13. Association can't be
established.

The root cause is host driver forwards more 6 bytes to user space.
The 6 bytes is current AP address in association request frame.
Hostapd can't paras association request frame because the additional
6 bytes.

Skip current AP address before forwarding reassociation request
frame to user space.

Change-Id: I94a7c26289f24a1f0716fe64c4ee58eae1a913c6
CRs-Fixed: 2435392
2019-05-15 13:22:02 -07:00
nshrivas
560dfabd8d Release 5.2.0.133G
Release 5.2.0.133G

Change-Id: I4dbdcc0e8acd9329affc05849470db66ddcb720c
CRs-Fixed: 774533
2019-05-15 05:47:02 -07:00
Rakshith Suresh Patkar
d31f1e5ed9 qcacld-3.0: Move enum WDI_EVENT to common datapath
Move the enum WDI_EVENT from wdi_event.h to
cdp_txrx_stats_struct.h as it is used in
common datapath.

Change-Id: If3a2dcc481d59e6615e4a50ffbb721bf61fb75c2
CRs-Fixed: 2449966
2019-05-15 05:47:01 -07:00
nshrivas
0734993ceb Release 5.2.0.133F
Release 5.2.0.133F

Change-Id: Ia852078e4a8aea55c49b4cef825bae1aec745637
CRs-Fixed: 774533
2019-05-14 23:57:46 -07:00
Sourav Mohapatra
618f208d24 qcacld-3.0: Add check for zero before division
Currently in function pmo_core_config_modulated_dtim there is a possible
scenario of a division by zero. The parameter dtim period can have zero
value.

Add a check before performing the operation.

Change-Id: Ida4a798e5c7914966db25bd188821a75caaf4353
CRs-Fixed: 2432010
2019-05-14 23:57:46 -07:00
nshrivas
4c085174de Release 5.2.0.133E
Release 5.2.0.133E

Change-Id: I706755243d01e316653d3766efc8267b5239ad74
CRs-Fixed: 774533
2019-05-14 18:39:44 -07:00
Mohit Khanna
a8c9f569ea qcacld-3.0: INI support for RX softirq time limit
Add changes to configure params for RX softirq time limit feature via
INI file.

Change-Id: I714a64e3d4ba7f094a81b4d11dab9bc63c7ee2de
CRs-Fixed: 2423622
2019-05-14 18:39:43 -07:00
Mohit Khanna
d02e9b8b42 qcacld-3.0: Enable RX_SOFTIRQ_TIME_LIMIT flag
Add support to enable RX softirq yield time limits.

Change-Id: I99c7e2515c3aa75dda8ddf3b5fd849ed0063cdf0
CRs-Fixed: 2423622
2019-05-14 18:39:38 -07:00
nshrivas
cd6ac97ba2 Release 5.2.0.133D
Release 5.2.0.133D

Change-Id: I5a7824f8fa39de933c47730443a46938d24804bd
CRs-Fixed: 774533
2019-05-14 13:03:09 -07:00
Arun Kumar Khandavalli
43fdd25d72 qcacld-3.0: Move allocation of tdls private to tdls component
Presently osif tdls memory is freed as part of the osif_priv
when the vdev is logically destroyed. There is case seen
wherein the  tdls is holding vdev reference and in the other
thread the  interface down is received and the osif_priv is
freed resulting in the tdls osif priv also, if the other thread
tries to dereference the tdls os priv it will result
null pointer exception.

Move the tdls osif priv memory creation/deletion to the tdls component.

Change-Id: I3782f6304bee5a6eaab4d9122a569ba56fd29947
CRs-Fixed: 2436379
2019-05-14 13:03:08 -07:00