Commit Graph

6335 Commits

Author SHA1 Message Date
nshrivas
c06f367c74 Release 5.2.0.130W
Release 5.2.0.130W

Change-Id: I9b3efd465f28cb8d4d505ab0b0a3f1c02e14eca8
CRs-Fixed: 774533
2019-04-19 06:12:48 -07:00
Pragaspathi Thilagaraj
03839b9e2f qcacld-3.0: Pack FT-IE into association request for FT-FILS connection
With FT-FILS akm, initial mobility domain fils connection
requires FTIE in the assoc request frame. FTIE is copied from
auth response frame received from the AP and stored in fils_info.
Add frame parser changes to populate the FT-IE into the
association request frame.

Send this FTIE in the association request appended after MDIE.

Change-Id: I9087ff9f36b52f3ef08b03cba826bdc42834a9f8
CRs-Fixed: 2414678
2019-04-19 06:12:43 -07:00
Pragaspathi Thilagaraj
0bd15747c0 qcacld-3.0: Save FTIE from auth response in FT-FILS IM connection
FT-FILS initial mobility domain association requires FTIE in the
association request frame sent to the AP. FTIE has the R0-KH and
R1-KH ID that is needed to derive the FILS-FT key.

Host driver should save the FTIE received from the AP in the
authentication response frame and send it without any
modification to the AP in association request frame.

Change-ID: I047538e13b37e10c2cebad4959fc796af5d16df6
CRs-Fixed: 2414662
2019-04-19 06:12:38 -07:00
nshrivas
c16f627c56 Release 5.2.0.130V
Release 5.2.0.130V

Change-Id: I409ca3bd43adccb2d36e59ae3b3fcfc863db5675
CRs-Fixed: 774533
2019-04-19 04:08:38 -07:00
Rajeev Kumar Sirasanagandla
1a21bf6b53 qcacld-3.0: Fix behavior of SET_FCC_CHANNEL
Expectation of user is fcc constraint should be applied when user input
is zero and should be cleared when input is negative value. But current
driver behavior is out of sync.

To address this, invert the user-input before invoking regulatory
component api ucfg_reg_set_fcc_constraint(). Also ensure reduced
tx power is effective in calculating maximum tx power while connecting
to access-point.

Change-Id: I73485685b70b805107a52080c64efde30e807dc3
CRs-Fixed: 2429993
2019-04-19 04:08:37 -07:00
Pragaspathi Thilagaraj
2b8ea35e71 qcacld-3.0: Introduce new INI to configure roam trigger parameters
Add new ini to configure various roam trigger parameters:
1. "minimum_btm_candidate_score"
   Consider the AP as roam candidate only if its score is greater
   than minimum_btm_candidate_score. This value will be sent over
   the WMI_BTM_OFFLOAD_CONFIG command.

2. "roam_scan_inactivity_time"
   Device inactivity monitoring time in  milliseconds for which
   the device is considered to be inactive with data packets
   count is less than configured roam_inactive_count.

3. "roam_inactive_data_packet_count"
   Maximum allowed data packets count during
   roam_scan_inactivity_time.

4. "roam_scan_period_after_inactivity"
   Roam scan period in ms after device was in inactive state.

5. "btm_roam_score_delta"
   Roam scan delta value for btm triggered roam scan. This value
   will be sent to firmware over the WMI_ROAM_AP_PROFILE wmi
   command.

6. "idle_roam_score_delta"
   Roam scan delta value for Idle roam scan trigger reason. This
   value will be sent to firmware over the WMI_ROAM_AP_PROFILE
   wmi commnd in the roam_score_delta_param_list tlv.

7. "disconnect_roam_trigger_min_rssi"
   Candidate minimum rssi value for disconnect roam trigger. This
   value will be sent to firmware over the WMI_ROAM_AP_PROFILE
   wmi commnd in the roam_score_min_rssi_param_list tlv.

8. "beacon_miss_roam_min_rssi"
   Candidate minimum rssi value for BTM triggered roam. This
   value will be sent to firmware over the WMI_ROAM_AP_PROFILE
   wmi commnd in the roam_score_min_rssi_param_list tlv.

9. "bss_load_trigger_5g_rssi_threshold"
   If connected AP is in 5GHz band, then consider bss load roam
   triggered only if load % > bss_load_threshold && connected AP
   rssi is worse than bss_load_trigger_5g_rssi_threshold.

10. "bss_load_trigger_2g_rssi_threshold"
   If connected AP is in 2GHz band, then consider bss load roam
   triggered only if load % > bss_load_threshold && connected AP
   rssi is worse than bss_load_trigger_2g_rssi_threshold.

Change-Id: Ib026251a8ec403f4376a16a91ff1b5d969336816
CRs-Fixed: 2434922
2019-04-19 04:08:32 -07:00
nshrivas
ed23c6ff1e Release 5.2.0.130U
Release 5.2.0.130U

Change-Id: Ibbc49ff140d69f6968023f79e6ad7ca23a42d93b
CRs-Fixed: 774533
2019-04-19 01:56:40 -07:00
nshrivas
d4e3a1bed9 Release 5.2.0.130T
Release 5.2.0.130T

Change-Id: I9e117990120cb3e71bb2ea4f271bec6b45db4c84
CRs-Fixed: 774533
2019-04-18 17:02:15 -07:00
nshrivas
5ac8919cb3 Release 5.2.0.130S
Release 5.2.0.130S

Change-Id: Ia6c3a5210a2ebb531a64ebbc9a14d6e555608244
CRs-Fixed: 774533
2019-04-18 13:26:09 -07:00
Srinivas Girigowda
cb7b8b8065 qcacld-3.0: Replace MAC_ADDRESS_STR with QDF_MAC_ADDR_STR
Replace MAC_ADDRESS_STR with converged macro QDF_MAC_ADDR_STR.

Change-Id: Ib9bd0a93a3ffdb89a42e11200d8b68ce1af86681
CRs-Fixed: 2433317
2019-04-18 13:26:09 -07:00
nshrivas
f62792457e Release 5.2.0.130R
Release 5.2.0.130R

Change-Id: Ife24a77a26b24a2289673345084baa5ed790dc29
CRs-Fixed: 774533
2019-04-18 02:33:21 -07:00
nshrivas
53179133bc Release 5.2.0.130Q
Release 5.2.0.130Q

Change-Id: Ieddce19ac0284ce16e60c2d3fa4ca813663790dd
CRs-Fixed: 774533
2019-04-18 00:28:22 -07:00
Yeshwanth Sriram Guntuka
a6c3d27152 qcacld-3.0: Do not send unicast probe req on assoc disallowed
Unicast probe requests are sent to AP even though
beacons or probe responses from AP contain MBO IE
with assoc disallowed bit set. In another scenario
where AP rejects association with retry delay of 60
secs, unicast probe requests are being sent to AP
as part of scan for ssid during connection within
the retry delay.

Fix is to reject connection when assoc disallowed
bit is set in MBO IE and also not trigger scan for
ssid when get_scan_results fails due to rssi reject.

Change-Id: I855cf397ff7e3869fb1eceeddc1db5d109790465
CRs-Fixed: 2433740
2019-04-17 15:45:41 +05:30
nshrivas
ee0ff2cea0 Release 5.2.0.130P
Release 5.2.0.130P

Change-Id: Ie3b399b499bb1083ce439a3e4167bd1e6c454f24
CRs-Fixed: 774533
2019-04-16 19:57:48 -07:00
Srinivas Girigowda
d1e45b8dc7 qcacld-3.0: Replace multiple IPv4/v6 address len macros with QDF macro
Replace multiple IPv4/v6 address len macros with QDF macro.

Change-Id: Id8ee0e1a4d6057f74ea5b7122a33f5137ea533e4
CRs-Fixed: 2435753
2019-04-16 19:57:47 -07:00
sheenam monga
d756ff1530 qcacld-3.0: Fix null ptr dereference in lim_process_assoc_cleanup
Currently, lim_process_assoc_cleanup does not do null validation
for sta_ds which can lead to null pointer derefrence.

Add null pointer check for sta_ds in lim_process_assoc_cleanup

Change-Id: I74ad0e11213c0bec1473984f312f18b5f1082082
CRs-Fixed: 2423883
2019-04-16 19:57:34 -07:00
Pragaspathi Thilagaraj
4f529f269b qcacld-3.0: Send idle and disconnect roam parameters to firmware
Add support for new wmi command WMI_ROAM_DEAUTH_CONFIG_CMDID
to send disconnect roam trigger parameters and the
new wmi command WMI_ROAM_IDLE_CONFIG_CMDID is used to send the
idle roam trigger parameters. Fill the parameters from csr to
roam request and send it as part of RSO start command to
firmware.

Fill the corresponding parameters in
csr_update_roam_scan_offload_request(). This will be sent to wmi
and the params will be copied to the wmi command buffer.

Change-Id: I3d863a3ec8c5608d47e600c760d7b3406703a953
CRs-Fixed: 2431490
2019-04-16 19:57:30 -07:00
nshrivas
2cfe64c8ba Release 5.2.0.130O
Release 5.2.0.130O

Change-Id: I7e5f2c57a9db62e758c8033595cf4ca15acc3ed3
CRs-Fixed: 774533
2019-04-16 09:09:27 -07:00
sheenam monga
449a472838 qcacld-3.0: Fix null ptr dereference of session
Currently, lim_process_sme_disassoc_cnf,
lim_process_sme_disassoc_req, lim_process_sme_deauth_req and
sme_qos_request_reassoc does not do null validation for session
which can lead to null pointer derefrence.

Add null pointer check for session in lim_process_sme_disassoc_req,
lim_process_sme_deauth_req,lim_process_sme_disassoc_cnf and
sme_qos_request_reassoc before usage and send failure to sme.

Change-Id: I0efe4e98a8dd26767309ed1e6b668a6267a4b770
CRs-Fixed: 2423887
2019-04-16 09:09:27 -07:00
nshrivas
3c9024173a Release 5.2.0.130N
Release 5.2.0.130N

Change-Id: I5297b0388703544cdb568834052f98e2f7f4550f
CRs-Fixed: 774533
2019-04-16 02:50:12 -07:00
Jeff Johnson
e2da578fb7 qcacld-3.0: Align with the refined struct add_ts_param
Change I421b670b86a7e1cecbe5a2686efefbbb6c455267 ("qcacmn: Refine
struct add_ts_param") is updating struct add_ts_param, so update the
legacy project to align with those changes. Note that these are
interdependent changes.

Change-Id: I829ad0abb864f0a05047894bab9977d8529074dc
CRs-Fixed: 2433928
2019-04-16 02:50:01 -07:00
nshrivas
00e0f5e4e6 Release 5.2.0.130M
Release 5.2.0.130M

Change-Id: Iafae36232b58690f86ffbe32f2fe395774b59efe
CRs-Fixed: 774533
2019-04-15 22:26:31 -07:00
bings
d7357e8853 qcacld-3.0: Get SAP's wep key for shared wep from where it is saved
SAP needs correct key to decrypt the third authentication frame which
is encrypted by station, otherwise wep shared connection fails.

Need get correct wep key from where it is saved.

Change-Id: I3b5152a7374f8e1604ffe2b3900811f808d0126c
CRs-Fixed: 2425738
2019-04-15 22:26:25 -07:00
nshrivas
3b59080d82 Release 5.2.0.130L
Release 5.2.0.130L

Change-Id: I74bf8d62db3e7ba9ac4914dd7d9f87c46e2a423b
CRs-Fixed: 774533
2019-04-15 17:44:06 -07:00
nshrivas
19226005ad Release 5.2.0.130K
Release 5.2.0.130K

Change-Id: I49184639644b83450ad37864375623cf2ef8261c
CRs-Fixed: 774533
2019-04-15 15:21:06 -07:00
Pragaspathi Thilagaraj
42dc8c9360 qcacld-3.0: Update HLP data from FILS assoc rsp frame to PE session
HLP data extracted from FILS association response frame needs to
be sent to upper layer. When association success is posted to
sme, HLP data is copied from lim pe_fils_info structure to
sme_join_rsp->roam_fils_info. But the hlp data is parsed from
association response frame but its not copied to pe_fils_session
This resuts in hlp data not sent to hdd and upper layers.
Copy fils data from parsed association response frame into the
pe_fils_info for FILS connection.

Currently there is pointer to hlp_data in pe_session also. But
it is not used and memory allocation is also not done for this
hlp_data. Cleanup this unused hlp data in pe_session and only
use the hlp data from pe_fils_session structure.

Change-Id: I0ef6df6e55130e18a85e2ddf49f8293d8672ac0b
CRs-Fixed: 2424493
2019-04-15 15:21:05 -07:00
nshrivas
c0b6754608 Release 5.2.0.130J
Release 5.2.0.130J

Change-Id: I7ef05fbd6e0ee233e801953d7702e9778bd5a3be
CRs-Fixed: 774533
2019-04-13 15:31:17 -07:00
Bala Venkatesh
40f20fd88e qcacld-3.0: Avoid changing measurement duration units in beacon report
Currently, while processing the beacon report req and response the
measurement duration units changed from MS to TU and TU to MS
respectively.
Avoid this conversion as both are close units.

Change-Id: I663b7c8969904a373461fb80c7d505c96e74b48f
CRs-Fixed: 2431912
2019-04-13 15:31:17 -07:00
nshrivas
32056bafe8 Release 5.2.0.130I
Release 5.2.0.130I

Change-Id: I1f6b66d6d3f6c35bd07f4765ebf76e31b088752f
CRs-Fixed: 774533
2019-04-12 10:12:55 -07:00
nshrivas
1964b5bf3d Release 5.2.0.130H
Release 5.2.0.130H

Change-Id: I584aa7fee256552fa7073110d4f695911a5efcf5
CRs-Fixed: 774533
2019-04-12 05:20:16 -07:00
nshrivas
b636b36c4d Release 5.2.0.130G
Release 5.2.0.130G

Change-Id: I2591b9ecb06f83d5195f492af35db30e0b20b077
CRs-Fixed: 774533
2019-04-12 02:56:23 -07:00
nshrivas
1e2eda4e18 Release 5.2.0.130F
Release 5.2.0.130F

Change-Id: Ibeb585f50603261fba7fb43fd813743e6deca1e4
CRs-Fixed: 774533
2019-04-12 00:36:31 -07:00
lifeng
88e5800271 qcacld-3.0: Validate cfgLength to the upper bound
Validate cfgLength to the upper bound before using it in copy
inside csr_get_cfg_max_tx_power()/lim_get_dot11d_transmit_power.

Change-Id: Ibcc1f145db9b902a29a0332553323d0a3ac6b2ff
CRs-Fixed: 2423707
2019-04-12 00:36:25 -07:00
nshrivas
ad0e83df29 Release 5.2.0.130E
Release 5.2.0.130E

Change-Id: I20a8eb74065e509c88d25df9f20f64ba41bfe39e
CRs-Fixed: 774533
2019-04-11 22:09:33 -07:00
nshrivas
291807f0a0 Release 5.2.0.130D
Release 5.2.0.130D

Change-Id: I7672e9dac18e3c0bd6728d7efb270b6c91eb54e6
CRs-Fixed: 774533
2019-04-11 12:38:34 -07:00
nshrivas
a4d66f4736 Release 5.2.0.130C
Release 5.2.0.130C

Change-Id: Ia03521db0f77416a9f47c1bcf6914fc2aad0a362
CRs-Fixed: 774533
2019-04-11 01:13:25 -07:00
nshrivas
8574b81522 Release 5.2.0.130B
Release 5.2.0.130B

Change-Id: I788405b6d9dc20ee48b1315dabbb8cc66bc753a6
CRs-Fixed: 774533
2019-04-10 05:26:49 -07:00
nshrivas
acf6f16e18 Release 5.2.0.130A
Release 5.2.0.130A

Change-Id: I91faa874eee2f8f9560fb7e99ba40dd6deeb465d
CRs-Fixed: 774533
2019-04-09 22:20:45 -07:00
Srinivas Girigowda
34fbba008b qcacld-3.0: Replace MAC_ADDR_ARRAY with QDF_MAC_ADDR_ARRAY
Replace MAC_ADDR_ARRAY with converged macro QDF_MAC_ADDR_ARRAY.

Change-Id: I8b2779272c32825976a0040e84432a493f83845c
CRs-Fixed: 2431569
2019-04-09 22:20:38 -07:00
nshrivas
8220f7d7f6 Release 5.2.0.130
Release 5.2.0.130

Change-Id: I3cc375debd1cb105c63aa87a390e7b95717a6807
CRs-Fixed: 774533
2019-04-09 11:56:40 -07:00
nshrivas
a4e2da1ab9 Release 5.2.0.129Z
Release 5.2.0.129Z

Change-Id: I11836d2f8aa229b32410176da23993015b7f9251
CRs-Fixed: 774533
2019-04-09 06:37:03 -07:00
nshrivas
219208d6fc Release 5.2.0.129Y
Release 5.2.0.129Y

Change-Id: If9b62e08d4ba95f59125821899bc6332efe2cafe
CRs-Fixed: 774533
2019-04-09 04:00:21 -07:00
Wu Gao
c11affcc29 qcacld-3.0: Fix possible NULL pointer dereference about session entry
It will access pointer to session entry before NULL pointer check. So,
fix it and avoid to possible NULL pointer dereference.

Change-Id: I4a62b4600053ccc1eb4b63c3fbce9ebcfe0656ee
CRs-Fixed: 2423715
2019-04-09 04:00:11 -07:00
nshrivas
b1dcb371b9 Release 5.2.0.129X
Release 5.2.0.129X

Change-Id: I495e4a2ee418b2105a4a75eaf8f40f74dfac44b8
CRs-Fixed: 774533
2019-04-09 01:53:23 -07:00
nshrivas
40c339ce32 Release 5.2.0.129W
Release 5.2.0.129W

Change-Id: If0f5be2d7247d10edb2b196b40d4fa06769d0e29
CRs-Fixed: 774533
2019-04-08 19:42:36 -07:00
nshrivas
866f5e543e Release 5.2.0.129V
Release 5.2.0.129V

Change-Id: I79148b988fea0761c9d5937fc512a39e56a692c0
CRs-Fixed: 774533
2019-04-08 15:35:56 -07:00
nshrivas
bb7cf15f9f Release 5.2.0.129U
Release 5.2.0.129U

Change-Id: I57bd78b515b620498ca9fdfb715a806e285c513c
CRs-Fixed: 774533
2019-04-07 22:24:59 -07:00
nshrivas
12924fc780 Release 5.2.0.129T
Release 5.2.0.129T

Change-Id: Idd472a413bdf655a43f6aa45bfe99128c6fc67a0
CRs-Fixed: 774533
2019-04-06 11:35:48 -07:00
nshrivas
937f0d1777 Release 5.2.0.129S
Release 5.2.0.129S

Change-Id: Ifd5d0d6f3aa2c2fbccde887b5a21ce6d8906ceed
CRs-Fixed: 774533
2019-04-06 01:54:34 -07:00
Liangwei Dong
b677b9e6ec qcacld-3.0: Update rmf enable flag
Set rmf enabled flag in lim based on crypto component info
for WLAN_CONV_CRYPTO_IE_SUPPORT feature enabled case.

Change-Id: Ibb07531d6073015d67df94e3666883a6785de476
CRs-Fixed: 2421470
2019-04-06 01:54:33 -07:00