提交图

20671 次代码提交

作者 SHA1 备注 提交日期
snandini
7e6847f4a2 Release 5.2.0.201W
Release 5.2.0.201W

Change-Id: Ibaae462b4393ea346450b315fe0a01bb748aeb9d
CRs-Fixed: 774533
2020-09-09 09:58:29 -07:00
Paul Zhang
c5c0bdb8cf qcacld-3.0: Add nla policy for PARAM_BSSID_PARAMS
Currently, the QCA_WLAN_VENDOR_ATTR_ROAMING_PARAM_SET_BSSID_PARAMS
attribute is not present in the nla policy structure.

Change-Id: Ibbbd8bb7cf9cb3a814564cb9022795e34a5a11b0
CRs-Fixed: 2755706
2020-09-09 09:58:29 -07:00
snandini
01efc766da Release 5.2.0.201V
Release 5.2.0.201V

Change-Id: If8c7032bff06d2e30b8e947c6ec08526eb8c37ef
CRs-Fixed: 774533
2020-09-09 07:51:45 -07:00
Yu Wang
e513fc5add qcacld-3.0: disallow STA_P2PGO MCC on 5G DFS channel
If STA is on 5G channel, starting P2P GO on a different 5G DFS channel
should be rejected, but it's not, due to it didn't check the P2P GO
specific configurations, but only check the one for SAP.

To fix it, use P2P GO specific API to check the force scc status
for P2P GO mode.

CRs-Fixed: 2769182
Change-Id: Ibb3bb5e6e7f8a64e4483bdef863ce1f4294da9eb
2020-09-09 07:51:45 -07:00
Rajeev Kumar
a3e85cc8b2 qcacld-3.0: Move HIF RTPM put before validate context check in cfg80211 resume
If FW asserts before cfg80211 resume, cfg80211 resume will skip calling RTPM
put, which finally results a usage count mismatch. To fix it move RTPM put call
at the beginning of cfg80211 resume to make sure its always called and RTPM usage
count is in sync.

Change-Id: If0c9fbe094de16d103cd58ed4db3b08b76adb3cf
CRs-Fixed: 2728742
2020-09-09 07:51:41 -07:00
snandini
d8fa7346e3 Release 5.2.0.201U
Release 5.2.0.201U

Change-Id: Ie3b992918994d4d39949cd2392291eee654c6672
CRs-Fixed: 774533
2020-09-08 15:05:44 -07:00
Pragaspathi Thilagaraj
b1c7b3113a qcacld-3.0: Fix scan start tlv in Roam Scan mode command
In wmi_fill_rso_start_scan_tlv(), the fixed param header is
overwritten with 0. So this causes roam scan mode command to
fail.

Don't overwrite scan start fixed param in
wmi_fill_rso_start_scan_tlv(). Also add some additional debugs.

Change-Id: I8ae7053e77d5694bade7e4a84fb4028d8224354c
CRs-Fixed: 2771951
2020-09-08 15:05:44 -07:00
Utkarsh Bhatnagar
3e83c955d9 qcacld-3.0: Change RRM Beacon Scan Processing/Reporting Logic
Previous Logic:
Once a beacon report req is received, dut sta scans one channel
at a time & report immediately, then move to next channel.This
logic adds some additional delay as scan request and beacon
reporting will be done every channel.

New Logic:
Once a beacon report req is received, dut sta issue sta including
all the valid frequencies in the scan filter so that only single
scan req should be sent to FW.
After the scan is completed for all the channels, populate the
results so that it can be transmitted via beacon report.
Further, in sme_rrm_scan_request_callback, the logic to compute
valid_result was removed as even if RRM scan response is
received after roaming to different AP, the message shall be
posted to PE for rrm cleanup.

Change-Id: I48cb3106e35fb9a441a44a160a6ee6f75f64b81b
CRs-Fixed: 2770859
2020-09-08 15:05:40 -07:00
snandini
a4f5db6749 Release 5.2.0.201T
Release 5.2.0.201T

Change-Id: Iaa90e39f1953cfc6edcf751700f12410fd55bd40
CRs-Fixed: 774533
2020-09-08 06:58:06 -07:00
gaurank kathpalia
2e69055a27 qcacld-3.0: Use scan filter to filter 11n/11ac/11ax only AP
Use scan filter's dot11mode to filter 11n/11ac/11ax only AP.

Change-Id: I9c5ead1e3b963744774022ccd18c36056cc7718b
CRs-Fixed: 2771075
2020-09-08 06:58:06 -07:00
snandini
8fe96932d7 Release 5.2.0.201S
Release 5.2.0.201S

Change-Id: I6df5893a3a1da44dfd49ec87abc82c6fec2b9045
CRs-Fixed: 774533
2020-09-07 21:23:55 -07:00
Jinwei Chen
75755a6774 qcacld-3.0: fix false alert of NDI interface TX timeout
When NDI do hdd_ndp_peer_departed_handler() or hdd_stop_adapter(),
it will invoke hdd_cleanup_ndi() to pause NDI net_dev TX queue,
the NDI is in disconnection status, so only pause TX queue but not
set netif_carrier_off() will let kernel trigger TX watchdog
unexpectedly.
Use WLAN_STOP_ALL_NETIF_QUEUE_N_CARRIER instead of
WLAN_STOP_ALL_NETIF_QUEUE to set netif_carrier_off() then no
TX watchdog will be triggered.

Change-Id: Ic4a9954b383c34795bda70296f6af977f450bdfd
CRs-Fixed: 2765520
2020-09-07 21:23:55 -07:00
snandini
afbcbcf7ed Release 5.2.0.201R
Release 5.2.0.201R

Change-Id: I2455338083ae8c854be10dfa4383c50749ab2c79
CRs-Fixed: 774533
2020-09-07 18:51:13 -07:00
Pragaspathi Thilagaraj
86c2433d79 qcacld-3.0: Add additional debugs for roam scan offload commands
Add additional debugs in wmi for roam scan offload mode command
TLVs.
Also add changes to fill scan parameters for Roam scan offload
mode command start scan fixed param.

Change-Id: I9610d54a1f331c5f9910d44b11c5841e034036b8
CRs-Fixed: 2770713
2020-09-07 18:51:13 -07:00
snandini
88bb348b43 Release 5.2.0.201Q
Release 5.2.0.201Q

Change-Id: I69b4f1f038399f2763a0b73dbe2d005199ef36dd
CRs-Fixed: 774533
2020-09-07 10:49:59 -07:00
Vevek Venkatesan
d33b74f869 qcacld-3.0: request runtime sync resume while removing driver
When __hdd_soc_remove is called from platform driver, for
removing the driver, request runtime sync resume before setting
unload_in_progress flag, such that runtime resume can happen.
Also, remove wlan_hdd_validate_context to skip unload_in_progress
flag check and have only SSR check during resume callback.

Change-Id: I545c6e10f9c18ff44c05a5d284aa9b82c7ec5ed5
CRs-Fixed: 2750981
2020-09-07 10:49:58 -07:00
snandini
1073423cdd Release 5.2.0.201P
Release 5.2.0.201P

Change-Id: I9fd47ce4a611b225d3135f17ea28556302947120
CRs-Fixed: 774533
2020-09-07 03:17:50 -07:00
Jianmin Zhu
e7c9718446 qcacld-3.0: Add 3 ini for data rssi check when roaming
3 ini:
roam_data_rssi_threshold_triggers
roam_data_rssi_threshold
rx_data_inactivity_time
If there's rx activity during latest rx_data_inactivity_time
and avg of data_rssi is better than roam_data_rssi_threshold, then
suppress roaming triggered by roam_data_rssi_threshold_triggers: low
RSSI or bg scan.

Change-Id: I5b41c4119e61392b50e52ab8ccb8650e5758f3b3
CRs-Fixed: 2768053
2020-09-07 03:17:49 -07:00
snandini
233ac1b475 Release 5.2.0.201O
Release 5.2.0.201O

Change-Id: I941248b8f1601abe35507f0fed3cc1fd0e77c700
CRs-Fixed: 774533
2020-09-07 01:03:31 -07:00
Rajasekaran Kalidoss
0266b2295b qcacld-3.0: Don't send additional parameters for failed twt setup
Don't send additional twt parameters in the vendor command if the
twt setup request failed in the firmware.

CRs-Fixed: 2767101
Change-Id: I318ecd9dfbaec85eec0c8dabbb640415da6631f1
2020-09-07 01:03:30 -07:00
snandini
5a5b341a0d Release 5.2.0.201N
Release 5.2.0.201N

Change-Id: I91218d3d88e7bc9db958307db58863f1e0aef2d6
CRs-Fixed: 774533
2020-09-06 12:51:07 -07:00
Rajasekaran Kalidoss
8eddfcf971 qcacld-3.0: Remove union of function pointers to handle cfi check failure
sme_context structure uses union of TWT callback functions with
different signatures. This causes a cfi check failure. Remove the
union of callbacks and define them separately.

CRs-Fixed: 2763856
Change-Id: Ic40a572e363ea13f2defe29e25a16e15c5bff06e
2020-09-06 12:51:07 -07:00
Jinwei Chen
d2064e9301 qcacld-3.0: set correct L2 header length for FISA RX
In some case, the L2 header length is not exactly equal
to ETHERNET_HDR_LEN 14 bytes, actually it could be with
extra 4 bytes 802.1Q tag, so assume L2 header length just
14 bytes is not correctly in FISA aggregation.
Use L2 header length fetched from RX PKT TLV to handle FISA
correctly.

Change-Id: I254f5faa4548b74bf1a6d7a188c15b52b12711b8
CRs-Fixed: 2770284
2020-09-06 12:51:03 -07:00
snandini
ed1df8b2e7 Release 5.2.0.201M
Release 5.2.0.201M

Change-Id: I71b88a443e4971cb26d307017d3b7d9c40f8fb58
CRs-Fixed: 774533
2020-09-04 18:53:39 -07:00
sheenam monga
de799e364a qcacld-3.0: Consider he params from beacon if missing in assoc resp
Issue: Currently, host calculates he_caps based on assoc resp
he caps. In case assoc resp doesn't have he_caps host will
set peer mode vht and vdev mode he which may cause issue due
to different peer and vdev modes.

Fix: Consider beacon he params if he params not present in
assoc resp to keep vdev and he param same.

Change-Id: Id3df1eae85d30334d5d877c6ddd737989813f7c8
CRs-Fixed: 2769783
2020-09-04 18:53:39 -07:00
snandini
33c5314198 Release 5.2.0.201L
Release 5.2.0.201L

Change-Id: I6bbae6df6e872a29ab6da9ff5238c62b3afdea08
CRs-Fixed: 774533
2020-09-04 11:42:12 -07:00
Yeshwanth Sriram Guntuka
0515d4be15 qcacld-3.0: Reset dfs_cac_block_tx flag on channel switch event
After the pre-CAC is done, SAP is switched to DFS channel. Post
this if a radar event is received, tx is blocked for the vdev
and channel switch to non-DFS channel is triggered. The
dfs_cac_block_tx flag is not reset on successful channel switch
to non-DFS channel causing packets received from network stack
to be dropped.

Fix is to reset dfs_cac_block_tx flag on receiving channel
switch response event.

Change-Id: I4e5fe0490d4c81b45c648a50c0b8508a7c11fa5a
CRs-Fixed: 2764008
2020-09-04 11:42:12 -07:00
Abhishek Singh
8d182461d5 qcacld-3.0: Fix whunt reassoc TC with ROAM_OFFLOAD_V1
Fix whunt reassoc TC with ROAM_OFFLOAD_V1.

Change-Id: I020b9c7f5a0da8ae8cf17e875bf1f40db240ca0c
CRs-Fixed: 2769761
2020-09-04 11:42:05 -07:00
snandini
9afb952076 Release 5.2.0.201K
Release 5.2.0.201K

Change-Id: I319445165d97d1961ab995e11534f58e17ccb365
CRs-Fixed: 774533
2020-09-04 05:28:19 -07:00
Abhinav Kumar
267c385f2b qcacld-3.0: Enable SU Bformee in vendor VHTIE by default
Set default value of INI enable_subfee_vendor_vhtie to 1
to enable SU Bformee in vendor VHTIE by default.

Change-Id: I8a916495dd5c6ddfe78840dc6f35976fbdbbf8ba
CRs-Fixed: 2769257
2020-09-04 05:28:19 -07:00
snandini
94b0c1c692 Release 5.2.0.201J
Release 5.2.0.201J

Change-Id: I7329e0f1491c91b266cfc3343a51886c8b2ca207
CRs-Fixed: 774533
2020-09-03 23:29:58 -07:00
wadesong
0427a3aaac qcacld-3.0: Fix some whunt build errors
1) In function hdd_process_genie(), there is a chance for
   the 2 incoming parameters, encrypt_type and
   mc_encrypt_type, not initialized due to an error
   condition.

2) Remove some of the local variables that are not used
   anymore in the following functions:

   __wlan_hdd_cfg80211_del_station
   hdd_features_init
   hdd_cleanup_present_mode
   hdd_update_regdb_offload_config
   __wlan_hdd_cfg80211_scan
   hdd_softap_stop_bss

Change-Id: If719b0fc4b09dc5fc88479a4a5ce327ebbc00168
CRs-Fixed: 2768860
2020-09-03 23:29:58 -07:00
snandini
24f7277391 Release 5.2.0.201I
Release 5.2.0.201I

Change-Id: I40d60fa60a60c5fd41886b72c34f03acde289848
CRs-Fixed: 774533
2020-09-03 21:30:24 -07:00
Ashish Kumar Dhanotiya
345f131dc4 qcacld-3.0: Update current sta info inside lock
Currently when next sta info get is done, the for loop updates
current sta info outside of the lock, which may lead to
undefined behavior.

To address above issue update the current stats info inside
the lock.

Change-Id: Idf33b9271379d34696f35c714bdf2d42446bd688
CRs-Fixed: 2755355
2020-09-03 21:30:24 -07:00
Amar Singhal
d5f37aa8bd qcacld-3.0: Calculate secondary channel frequency properly
While calling wlan_reg_set_channel_params_for_freq, calculate
secondary channel frequency properly.

Change-Id: I1fef09d47774eab12f774d86e8eced983bccd366
CRs-Fixed: 2766702
2020-09-03 21:30:19 -07:00
Will Huang
762cc0fd12 qcacld-3.0: Remove condition never will hit
Variable roam_now in function csr_neighbor_roam_process_handoff_req()
is initialized as 0 and never be assigned a new value, so it will
always fall to csr_scan_for_ssid() when roaming happen with LFR2.0
enabled.

CERT case MBO-5.2.6 requires BTM reassociation happen within a short
time, otherwise AP will disassociate it and fails this case, it takes
more time if we do roaming scan after BTM response and roaming
candidate bss is ready.

When it is propagated from legacy branch, roam_now is a return value
from csrNeighborRoamProcessScanResults(), but after converged, this
function has no return value, and none zero roamable_ap_count can
indicate candidate ap is ready and we can roam now.

Change-Id: I5f2bd85abf0f7c1488ae729fc48332a92b4d133d
CRs-fixed: 2762476
2020-09-03 21:30:15 -07:00
snandini
311890e3b2 Release 5.2.0.201H
Release 5.2.0.201H

Change-Id: I5a02afb4092c9743576ffdfc8acb3b56c92d1a34
CRs-Fixed: 774533
2020-09-03 19:27:31 -07:00
Pragaspathi Thilagaraj
36907e74d5 qcacld-3.0: Add changes to send WMI_CHAN_LIST_CMD in connection mgr
Add changes to send WMI_CHAN_LIST_CMD in connection mgr

Change-Id: I79f96c400314be4e8a0b1aad5ecfe04e638d552d
CRs-Fixed: 2768812
2020-09-03 19:27:30 -07:00
Wu Gao
571fda61f9 qcacld-3.0: Fix typo about LFR configurations
This is a change for typo about LFR configuration. It uses ini -
"mawc_roam_ap_rssi_threshold", the correct is
"mawc_roam_rssi_high_adjust".

Change-Id: I7e29287b84559f58f13d191d6288534196b894da
CRs-Fixed: 2768752
2020-09-03 19:27:26 -07:00
Srinivas Girigowda
8fb7e79124 qcacld-3.0: dp: Remove redundant __func__ from the logs
The logging macros implicitly takes care of embedding function name
in the log, hence there is no need to include __func__ again.
Getting rid of redundant __func__ reduces driver memory footprint.

Change-Id: I878671f03be0727bca3bca5dfd82eae4e353c6e1
CRs-Fixed: 2768575
2020-09-03 19:27:23 -07:00
Srinivas Girigowda
87b638fadb qcacld-3.0: Remove redundant __func__ from the logs
The logging macros implicitly takes care of embedding function name
in the log, hence there is no need to include __func__ again.
Getting rid of redundant __func__ reduces driver memory footprint.

Change-Id: Idf4685539991f65205f19b27551cef699230c82e
CRs-Fixed: 2768575
2020-09-03 19:27:18 -07:00
Sandeep Puligilla
e15b17acf0 qcacld-3.0: Kbuild change to enable interface manager
Build file changes to compile interface manager files

Change-Id: I8370e49853d83a6b8adcc130d7aa92ead00f4ff5
CRs-Fixed: 2759251
2020-09-03 19:27:14 -07:00
snandini
5f50b5e329 Release 5.2.0.201G
Release 5.2.0.201G

Change-Id: If43f8d556374736fcb5dfb5d10147133cd8d8c83
CRs-Fixed: 774533
2020-09-03 15:25:00 -07:00
Abhishek Ambure
346c895e6d qcacld-3.0: Clean up station stats for get station vendor cmd
User requests station stats using QCA_NL80211_VENDOR_SUBCMD_GET_STA_INFO
command. Presently host request peer stats from FW when user request
station stats for STA mode. FW doesn't support peer stats for STA mode.
Hence clean up the code for get station vendor command for STA mode.

Change-Id: Ie815690edae543dbedbf73f13c4c157197efad87
CRs-Fixed: 2768301
2020-09-03 15:25:00 -07:00
gaurank kathpalia
cb27dfd2e4 qcacld-3.0: Add support for sme_abort_roaming for ROAM_OFFLOAD_V1
Adds support for sme_abort_roaming for ROAM_OFFLOAD_V1.
Also fix compilation error for ROAM_OFFLOAD_V1.

Change-Id: I06247b1118b7dee32ff392b247e2e08e32dbaf9f
CRs-Fixed: 2768397
2020-09-03 15:24:56 -07:00
Sachin Ahuja
0dc264f36e qcacld-3.0: Search class from global opclass also
While querying for the channel width, the opclass is
extracted from the country opclass. If opclass is not
found then 20Mhz channel width is considered for connection.
This fails the cert test case when AP sends the global
opclass in ECSA.

Change is done to search in the global opclass if the
opclass is not found in the country specific opclass.

CRs-Fixed: 2768075
Change-Id: I24b585af7174a31fe800d6453bbfe18dc5f24af1
2020-09-03 15:24:52 -07:00
snandini
f0a8792a0d Release 5.2.0.201F
Release 5.2.0.201F

Change-Id: I59ccba529a519093992b6d6008e05d1ae18eaec4
CRs-Fixed: 774533
2020-09-03 04:04:03 -07:00
Ashish Kumar Dhanotiya
918c7e4c07 qcacld-3.0: Add feature flag for line number logging
Currently line number is not useful in the logs and to print
the line number consumes lot of memory in driver text area size.
To reduce the driver size add feature flag to enable/disable
line number logging in the driver.

Change-Id: Ie11e3425cb61edad09c0da0337d0daa18e2a56d6
CRs-Fixed: 2766244
2020-09-03 04:04:03 -07:00
snandini
11ce7680ea Release 5.2.0.201E
Release 5.2.0.201E

Change-Id: I6414feee03424d465387aa0de07e6632649c2362
CRs-Fixed: 774533
2020-09-03 01:58:21 -07:00
Min Liu
f928593fb2 qcacld-3.0: Add QCA_WLAN_VENDOR_ATTR_GET_STA_INFO_RX_FRAMES_CRC_FAIL_COUNT
Add QCA_WLAN_VENDOR_ATTR_GET_STA_INFO_RX_FRAMES_CRC_FAIL_COUNT

Change-Id: I0c44109b678c8886869752940d5dc600ad7a4e9e
CRs-Fixed: 2758487
2020-09-03 01:58:21 -07:00