提交图

24012 次代码提交

作者 SHA1 备注 提交日期
Ashish Kumar Dhanotiya
646474a49b qcacld-3.0: Fill assoc reject status correctly
Currently driver is not filling assoc reject status because of
which assoc reject status is always set to 0 which always
represents assoc success, informing the incorrect information
to user space.

To address above issue, fill assoc reject status correctly
from connection manager.

Change-Id: I52dab4467f1105e0cc7f525449f554c857eadf61
CRs-Fixed: 3043471
2021-09-29 12:42:08 -07:00
Madan Koyyalamudi
d9a5eec6ba Release 5.2.0.249V
Release 5.2.0.249V

Change-Id: I199bc59d64b2010abf026b0399653d857050f8c1
CRs-Fixed: 774533
2021-09-29 08:59:02 -07:00
Chaoli Zhou
90edf483e5 qcacld-3.0: Fix getting wrong nss issue for dual APs case
In the dual APs DBS case, hdd_get_sap_operating_band
always return the operating band of last adapter and
might not be the current adapter's operating band,
which is not right.
So adding this fix to get operating frequency of
current adapter and then convert to according band,
then get the correct nss info.

Change-Id: Ief171d9b3d66937bede5fbe65be031bdc19529c8
CRs-Fix: 3043735
2021-09-29 08:59:02 -07:00
Zhaoyang Liu
66d0a8d7b9 qcacld-3.0: fix might sleep crashed issue from invalid context
Currently host driver processing link layer status event is under
protection of spin lock, it disabled preempt. Now function
wma_unified_radio_tx_mem_free to free memory in wma tries to get
mutex lock, this cause issue about sleeping function called from
invalid context. Fix the issue to spin unlock before memory free.

BUG: sleeping function called from invalid context at kernel/locking/mutex.c:937
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 256, name: kworker/u16:3
Preemption disabled at:

Call trace:
___might_sleep+0x20c/0x210
__might_sleep+0x50/0x88
__mutex_lock_common+0x6c/0xe20
mutex_lock_nested+0x2c/0x38
qdf_mutex_acquire+0xa8/0x2bc [wlan]
wma_unified_radio_tx_mem_free+0x34/0xe0 [wlan]
sme_radio_tx_mem_free+0x24/0x50 [wlan]
wlan_hdd_cfg80211_link_layer_stats_callback+0x6c4/0x750 [wlan]
wma_unified_link_iface_stats_event_handler+0x32c/0x364 [wlan]
__wmi_control_rx+0x46c/0x560 [wlan]
wmi_rx_event_work+0x224/0x390 [wlan]

Change-Id: I3d36b755f2221492d65cc0b891c1f35ee0204bbc
CRs-Fixed: 3044009
2021-09-29 08:58:57 -07:00
Madan Koyyalamudi
9d10a6024d Release 5.2.0.249U
Release 5.2.0.249U

Change-Id: I61f3194ab5b2aafc810141e17c83cc9623350f45
CRs-Fixed: 774533
2021-09-29 01:29:51 -07:00
Rajeev Kumar
d916b7996f qcacld-3.0: Address race between disconnect and system suspend
A race between cfg80211 disconnect and wiphy system suspend can lead
to either DPM WD or serialization VDEV disconnect active command
timeout since scheduler thread gets suspended as part of wiphy
suspend and both cfg80211_disconnect and wiphy suspend/resume acquire
RTNL lock. To address this race condition avoid disconnect when wiphy
suspend is already completed since scheduler thread gets suspended
as part of wiphy suspend and it can't process vdev disconnect.

Change-Id: Ia7e42cffb3f6b08b33c878b68122dbdc00bad251
CRs-Fixed: 3042442
2021-09-29 01:29:51 -07:00
Madan Koyyalamudi
6899e3f215 Release 5.2.0.249T
Release 5.2.0.249T

Change-Id: Id281b77e5533cc30cf4f7fb8816caa413ee7ed65
CRs-Fixed: 774533
2021-09-28 21:12:02 -07:00
Tiger Yu
f08dcf582a qcacld-3.0: Enable the RX_PERFORMANCE for qca6390 module
Enable the RX_PERFORMANCE for qca6390 module to improve the RX performnace
for auto GVM platform.

Change-Id: Ic801f2621250d9f515be84149a6150a2728390c1
CRs-Fixed: 3002937
2021-09-28 21:12:01 -07:00
Yu Wang
d3a8dfe1b6 qcacld-3.0: update rates set on connect success
Update operational rates set, extended operational rates set
and MCS based rates set in VDEV MLME legacy priv object on
connect success.
Refine the APIs for fetching these rates.

Change-Id: I7697b3d2e26e2fc565a2e672afe19f255af89d7e
CRs-Fixed: 3044036
2021-09-28 21:11:56 -07:00
Pragaspathi Thilagaraj
7e90b8b5f5 qcacld-3.0: Fix missing attributes in connectivity logging events
Fix few missing attribute in below connectivity events:
QCA_WLAN_VENDOR_DIAG_EVENT_TYPE_EAP_RESPONSE
QCA_WLAN_VENDOR_DIAG_EVENT_TYPE_ROAM_SCORE_CURR_AP

Also send the roam candidate info properly to userspace.

Change-Id: Ia9c4f095316adf8f40294f1e119cad648749bb72
CRs-Fixed: 3037650
2021-09-28 21:11:51 -07:00
Madan Koyyalamudi
2dc924ee27 Release 5.2.0.249S
Release 5.2.0.249S

Change-Id: Iaf98f6754151b9ba29ac33a37453e6c0af1a9698
CRs-Fixed: 774533
2021-09-28 17:04:35 -07:00
Bapiraju Alla
49d83e4831 qcacld-3.0: Fix undefined symbols for ifmgr APIs
Fix undefined symbols for ifmgr APIs while compilation

Change-Id: I3563b04f9995e5c91f351f997b391fc22eb9c1b2
CRs-Fixed: 3046487
2021-09-28 17:04:35 -07:00
Madan Koyyalamudi
28e1882b2d Release 5.2.0.249R
Release 5.2.0.249R

Change-Id: I13e933562db8724a618a5e28f58b14554d978f9d
CRs-Fixed: 774533
2021-09-28 13:59:54 -07:00
Alan Chen
be6943d526 qcacld-3.0: Add error log if qmi sync resume fails
During periodic stats poll for ll_stats and get_station_stats,
if qmi sync resume fails, add an error log.

Change-Id: Iad8d6959d39a6caaa67a24671c833d5e64e47d26
CRs-Fixed: 3045876
2021-09-28 13:59:54 -07:00
Madan Koyyalamudi
1bad9e0350 Release 5.2.0.249Q
Release 5.2.0.249Q

Change-Id: I735243c959479586608abb15e41e35e6db5585b6
CRs-Fixed: 774533
2021-09-28 11:53:43 -07:00
Deeksha Gupta
6c451072ad qcacld-3.0: Fix possible OOB in extract_peer_stats_count_tlv
Currently in function extract_peer_stats_count_tlv,
num_peers is copied directly to wmi_host_stats_event
structure without any validation which may cause
out of bound issue if num_peers provided in fixed
param becomes greater than actual number of peer
stats info.

Fix is to validate num_peer_stats_info before populating
stats_param->num_peer_stats_info_ext.

Change-Id: Icfb1c4fd34d3ec9120064e14bb65e35f8539f7fd
CRs-Fixed: 3032139
2021-09-28 11:53:43 -07:00
Guisen Yang
c99958a9f2 qcacld-3.0: Fix the usage of 'filter' key word
Remove the comma between the text of filter key word. So
the macro CONFIG_MOBILE_ROUTER will be enabled.

Change-Id: Ie69aae479470017eee7a266abf3b7456ac38ef26
CRs-Fixed: 3038353
2021-09-28 11:53:38 -07:00
Ashish Kumar Dhanotiya
4cbab28a38 qcacld-3.0: Reject big data stats command in case of connected sta
Currently for station case if driver receives big data stats
command when station is connected it does not reject the command
and returns the big data stats. Since this command is not
supposed to come in connected case, for some of the stats,
driver returns incorrect values for some of the stats.

With this change reject the big data stats command for connected
station case as this command is for disconnected station.

Change-Id: I543b38f448eb3a8b2d97bd09c888957450116124
CRs-Fixed: 3043000
2021-09-28 11:53:32 -07:00
Madan Koyyalamudi
97308f00f0 Release 5.2.0.249P
Release 5.2.0.249P

Change-Id: Iffd0bfdf93a883cad09239406fb5e160abe00ec5
CRs-Fixed: 774533
2021-09-28 08:04:43 -07:00
Bing Sun
6c1bb1c763 qcacld-3.0: Remove unused allocation of mlo ie struct
Remove unused allocation of mlo ie struct in
sir_convert_mlo_probe_rsp_frame2_struct.

Change-Id: I42e71f7d09304eb91629bed036f40980bf34792a
CRs-Fixed: 3045161
2021-09-28 08:04:43 -07:00
Madan Koyyalamudi
87e6498309 Release 5.2.0.249O
Release 5.2.0.249O

Change-Id: I3601e2c0d0164724852e3c374fce795577d23de1
CRs-Fixed: 774533
2021-09-28 03:43:05 -07:00
Bapiraju Alla
b4cc340c47 qcacld-3.0: Update call to get ml partner info as per new api change
As per new API changes, util_scan_get_ml_partner_info is modified to
pass the output pointer to ml partner info structure. Update caller
accordingly

Change-Id: I4da4a52a857eb147fe74f783136da71252e04444
CRs-Fixed: 3043820
2021-09-28 03:43:05 -07:00
Madan Koyyalamudi
7a3ff80948 Release 5.2.0.249N
Release 5.2.0.249N

Change-Id: I307570cd6853d0d65657f635eec994a7b84c05a9
CRs-Fixed: 774533
2021-09-28 00:30:26 -07:00
abhinav kumar
cba3794625 qcacld-3.0: Process ADDTS RSP with medium time as 0
Currently, if AP sends ADDTS response for an AC with
medium time as 0 host treats it as ADD TS failure.

For the UAPSD scenario, no need to check Tspec medium
time if ACM is not enabled in AP.

Change-Id: I9a769e7fc2f675c07f91d934014338a6d311c791
CRs-Fixed: 3039433
2021-09-28 00:30:25 -07:00
Madan Koyyalamudi
a7cc0c2e6f Release 5.2.0.249M
Release 5.2.0.249M

Change-Id: Ifb15edd5762c020963f21bd70a7ba9a668e3f15f
CRs-Fixed: 774533
2021-09-27 22:22:13 -07:00
Gururaj Pandurangi
8a75333def qcacld-3.0: Rename WMI_HOST_REGDMN_MODE to HOST_REGDMN_MODE
Rename WMI_HOST_REGDMN_MODE_11AC_VHT20_2G to
HOST_REGDMN_MODE_11AC_VHT20_2G to avoid duplicate
definitions and to be in line with the common repo.

Change-Id: I7ecd409641cd998b01165863758f56459282fa7b
CRs-Fixed: 3044438
2021-09-27 22:22:13 -07:00
Madan Koyyalamudi
a913cee728 Release 5.2.0.249L
Release 5.2.0.249L

Change-Id: Id9f3ce2855ca7ca25951cc1eaa5cad377bab13c0
CRs-Fixed: 774533
2021-09-27 20:09:55 -07:00
Liangwei Dong
caf0da1d32 qcacld-3.0: Update ch freq/bw to wma in Roam sync
When ROAM_TARGET_IF_CONVERGENCE feature enabled, the new
channel freq and BW from roam sync are not updated to wma
interface struct.
Fix by update ch_freq & BW to wma in wma_roam_update_vdev.

Change-Id: Ia41c51feca855cab54e908438c51a8d12075f864
CRs-Fixed: 3045108
2021-09-27 20:09:55 -07:00
Utkarsh Bhatnagar
b133ed84cb qcacld-3.0: Fill Current MAC Frequency Range
During wma_pdev_hw_mode_transition_evt_handler()
get the freq range from mac_freq_mapping[] present in
 wmi_pdev_hw_mode_transition_event_fixed_param and  pass
till policy_mgr_hw_mode_transition_cb() and update
cur_mac_freq_range[MAX_MAC] from it. if no freq range
provided (legacy chipsets) then use
freq_range_caps[MODE_HW_MAX][MAX_MAC] to fill the
range depending on the new HW mode.

Change-Id: I145d48052ce37724b0f697c19a1041f5a908cb54
CRs-Fixed: 3044976
2021-09-27 20:09:50 -07:00
Utkarsh Bhatnagar
21ea2c1156 qcacld-3.0: Create function to dump freq range
Create function to dump frequency range per
HW Mode.

Change-Id: I3b5033ba6c572e4fe7ca738224f51e5e22cd93b4
CRs-Fixed: 3044966
2021-09-27 20:09:45 -07:00
Madan Koyyalamudi
016d7273c4 Release 5.2.0.249K
Release 5.2.0.249K

Change-Id: Ia20146dd994824270f931c09a5f1ba7e5bbeb6e6
CRs-Fixed: 774533
2021-09-27 17:57:43 -07:00
Dundi Raviteja
d0babd7fd8 qcacld-3.0: Don't delete monitor interface when STA interface is down
Don't delete monitor interface while STA interface is getting down,
instead de-register packet capture callbacks and register back
when STA interface is UP again.

Change-Id: I42ea39ec619c08d99fa5ba287be20249e2b2582f
CRs-Fixed: 3013758
2021-09-27 17:57:43 -07:00
Liangwei Dong
251f655d28 qcacld-3.0: Move SAP for DBS when STA on 6Ghz unsafe channel
With g_sta_sap_scc_on_lte_coex_chan=0, when SAP working on 6Ghz,
STA connects to another 6Ghz unsafe channel, move SAP to 2G safe
channel for DBS. Add unsafe channel check in
policy_mgr_check_6ghz_sap_conc for such condition and select
alternate 2G channel.

Change-Id: If9d7be045835b4faa36b5d123f820032dabc2b64
CRs-Fixed: 3039791
2021-09-27 17:57:38 -07:00
Madan Koyyalamudi
04ba9d5ee3 Release 5.2.0.249J
Release 5.2.0.249J

Change-Id: I6236386f75dde434cf8585fc21e97d55547d0b5d
CRs-Fixed: 774533
2021-09-26 13:56:37 -07:00
Amruta Kulkarni
9285ff8c5d qcacld-3.0: Send RSO stop in STA + STA roaming
In STA+STA roaming case, when primary interface is changed
and roaming is enabled on other interface rso stop will be sent.
But the roam scan mode is not set to 0.
So add check for primary interface change to reset roam scan mode
before sending RSO stop to FW.

Change-Id: Ia880b58a57b3d9b74f3c4e100d4724aac46b67cd
CRs-Fixed: 3042416
2021-09-26 13:56:37 -07:00
Madan Koyyalamudi
31ed06e99e Release 5.2.0.249I
Release 5.2.0.249I

Change-Id: I1d538a8b0a8baa264f58f635509d1d1d563ff6e2
CRs-Fixed: 774533
2021-09-26 07:39:14 -07:00
Amruta Kulkarni
806fba5a8c qcacld-3.0: Fix compilation issue for MLO
Remove unused variables to fix compilation issue.

Change-Id: I069fa617375bd9cd77d724dd7340dbf5c719aaee
CRs-Fixed: 3043229
2021-09-26 07:39:14 -07:00
Madan Koyyalamudi
0a9f366016 Release 5.2.0.249H
Release 5.2.0.249H

Change-Id: Ie0e68e9d3f326384b3004eeca012bb6510cc6952
CRs-Fixed: 774533
2021-09-26 04:49:55 -07:00
Pragaspathi Thilagaraj
bb16d8f7de qcacld-3.0: Add new logging dispatch table entries
Add new logging dispatch table entries to support below
event types:
QCA_WLAN_VENDOR_ATTR_DIAG_EVENT_ASSOC_REQ
QCA_WLAN_VENDOR_DIAG_EVENT_TYPE_DEAUTH_RX
QCA_WLAN_VENDOR_DIAG_EVENT_TYPE_DEAUTH_TX
QCA_WLAN_VENDOR_DIAG_EVENT_TYPE_DISASSOC_RX
QCA_WLAN_VENDOR_DIAG_EVENT_TYPE_DISASSOC_TX
QCA_WLAN_VENDOR_DIAG_EVENT_TYPE_BEACON_LOSS_DISCONN
QCA_WLAN_VENDOR_DIAG_EVENT_TYPE_ROAM_SCAN_START
QCA_WLAN_VENDOR_DIAG_EVENT_TYPE_ROAM_SCAN_DONE
QCA_WLAN_VENDOR_DIAG_EVENT_TYPE_ROAM_SCORE_CURR_AP
QCA_WLAN_VENDOR_DIAG_EVENT_TYPE_ROAM_SCORE_CAND_AP
QCA_WLAN_VENDOR_DIAG_EVENT_TYPE_ROAM_RESULT
QCA_WLAN_VENDOR_DIAG_EVENT_TYPE_ROAM_CANCEL
QCA_WLAN_VENDOR_DIAG_EVENT_TYPE_BTM_REQ
QCA_WLAN_VENDOR_DIAG_EVENT_TYPE_BTM_QUERY
QCA_WLAN_VENDOR_DIAG_EVENT_TYPE_BTM_RESP
QCA_WLAN_VENDOR_DIAG_EVENT_TYPE_BTM_REQ_CANDI
QCA_WLAN_VENDOR_DIAG_EVENT_TYPE_BTM_WTC
QCA_WLAN_VENDOR_DIAG_EVENT_TYPE_EAPOL_M1
QCA_WLAN_VENDOR_DIAG_EVENT_TYPE_EAPOL_M2
QCA_WLAN_VENDOR_DIAG_EVENT_TYPE_EAPOL_M3
QCA_WLAN_VENDOR_DIAG_EVENT_TYPE_EAPOL_M4
QCA_WLAN_VENDOR_DIAG_EVENT_TYPE_GTK_M1
QCA_WLAN_VENDOR_DIAG_EVENT_TYPE_GTK_M2
QCA_WLAN_VENDOR_DIAG_EVENT_TYPE_EAP_REQUEST
QCA_WLAN_VENDOR_DIAG_EVENT_TYPE_EAP_RESPONSE
QCA_WLAN_VENDOR_DIAG_EVENT_TYPE_EAP_SUCCESS
QCA_WLAN_VENDOR_DIAG_EVENT_TYPE_EAP_FAILURE

Change-Id: I3bcdbf40e95ecfbcea67d42315d888f831234e05
CRs-Fixed: 3030111
2021-09-26 04:49:55 -07:00
Pragaspathi Thilagaraj
9081371b4b qcacld-3.0: Add changes to send connectivity log events to userspace
Fill the QCA_NL80211_VENDOR_SUBCMD_DIAG_DATA event data and
send the event to userspace.
Add dispatch table for the connectivity events to lookup
attribute type, id and length.

Change-Id: I1fc8467409852a430874ac1d926b06ec8dafb736
CRs-Fixed: 3030085
2021-09-26 04:49:49 -07:00
Pragaspathi Thilagaraj
5e4b2f49ad qcacld-3.0: Fill and send connectivity logging management frame events
Fill the management frame data and enqueue the filled record to the logging
queue.
Frame sequence number, peer rssi, tx_status, authentiation algo,
authentication frame transaction sequence number will be filled to the
log record.

Change-Id: I069b7816fdc52eeed964d6586c52b58d1a5d5cd4
CRs-Fixed: 3030075
2021-09-26 04:49:44 -07:00
Madan Koyyalamudi
887c66c1c0 Release 5.2.0.249G
Release 5.2.0.249G

Change-Id: I96e84f5425bbb4c58392a2be0059997278aede80
CRs-Fixed: 774533
2021-09-25 22:56:40 -07:00
chunquan
ddee734acb qcacld-3.0: Fix tcp drop for out of order
When NAPI enabled for Non-SMP platform, the 32th pkt is
send to tcp stack by netif_receive_skb, the first 31 pkts
are still in backlog queue, out of order issue will happen

Change-Id: Ieef5250fef9fcabb86e0e65673529c7db89a96c1
CRs-Fixed: 2997452
2021-09-25 22:56:40 -07:00
Madan Koyyalamudi
941a26facc Release 5.2.0.249F
Release 5.2.0.249F

Change-Id: Id76f82833524a3d347d4d7fcfb93171de7180b54
CRs-Fixed: 774533
2021-09-24 22:58:44 -07:00
Yu Ouyang
ee65b8465e qcacld-3.0: Get time slice duty cycle from FW
Get time slice duty cycle percentage from firmware.

Change-Id: I6f34948adfb853f61b0498ec68332e39a1b10122
CRs-Fixed: 3021684
2021-09-24 22:58:44 -07:00
Madan Koyyalamudi
adcde748e6 Release 5.2.0.249E
Release 5.2.0.249E

Change-Id: I34501bb29614d0705c0790277fdb13538909c8a0
CRs-Fixed: 774533
2021-09-24 20:44:45 -07:00
Lincoln Tran
cae4c6106a qcacld-3.0: Enable legacy connection with 11be enabled
Don't populate the MLO IE in the assoc req in legacy connections.
Don't create the MLO partner peer in legacy connections.

Change-Id: Id34662608a65ba9b85871d328099849c578f1585
CRs-fixed: 3038615
2021-09-24 20:44:44 -07:00
Bing Sun
0855f4f6ae qcacld-3.0: Start 11be AP without mlo IE with WLAN_FEATURE_11BE_MLO
When WLAN_FEATURE_11BE_MLO is enabled, 11be AP without mlo IE fails
to start because of number of links being 0.

11be AP without mlo IE is a valid case. It should be supported.

Change-Id: I66fce67e7235cd75db4599f7f06d239f7e1d965a
CRs-Fixed: 3042868
2021-09-24 20:44:40 -07:00
Madan Koyyalamudi
2cc48336a8 Release 5.2.0.249D
Release 5.2.0.249D

Change-Id: I1aef4a99945235130b314bf91609bafa7452b8f2
CRs-Fixed: 774533
2021-09-24 18:27:37 -07:00
VIJAY RAJ
7862b826b2 qcacld-3.0: Invalid rem_len computation in roam stats evt handler
rem_len is calculated based on MAX size of the WMI message
(WMI_SVC_MSG_MAX_SIZE) while extracting data from
WMI_ROAM_STATS_EVENTID event data.

Correct this by considering the actual message length
received in the event.

Change-Id: If24f732a8fdc0ad403e9b8a936ff8cfa0b7f7737
CRs-Fixed: 3035196
2021-09-24 18:27:37 -07:00