提交線圖

26518 次程式碼提交

作者 SHA1 備註 日期
Ashish Kumar Dhanotiya
d9dd8cc039 qcacld-3.0: Create wifi features sysfs file
Based on new requirement, create wifi features sysfs file.

Change-Id: I4ff20e515f87ffc43f9f315582340922106e990f
CRs-Fixed: 3262797
2022-08-12 13:48:27 -07:00
Sandeep Singh
ca38ac5038 qcacld-3.0: Add PLD API to get wifi kobject
Add PLD API to get wifi kobject.

Change-Id: I136d3f4abec831ab05058678beb23fe2e1b05d49
CRs-Fixed: 3264204
2022-08-12 13:48:21 -07:00
Ashish Kumar Dhanotiya
b50ea97a85 qcacld-3.0: Create wifi kobject if not created by platform driver
Currently host driver creates wifi kobject based on  dump in
progress feature flag, because of this, other features can not
use this wifi kobject.
To address this issue, create wifi kobject if platform driver
does not creates this.

Change-Id: I0ce3616cd229e58de5ab929555be6e1a9eb09c6a
CRs-Fixed: 3262667
2022-08-12 13:48:15 -07:00
Rakesh Pillai
c574dfa464 qcacld-3.0: Enable buffer replenish in thread for KIWI
Enable the feature to replenish rx buffers in a
separate thread and attach them in the NAPI context.

Change-Id: Iee54bb49b4592003265e2543550dab13f9b9640a
CRs-Fixed: 3266638
2022-08-12 13:48:08 -07:00
Bing Sun
9fa142d9f6 qcacld-3.0: Indicate operating frequency to SON when radar is detected
When radar is detected in EasyMesh agent, it should update its current
operating frequency as disallowed due to radar detection to EasyMesh
controller through channel preference report frame.

Indicate operating frequency to SON when radar is detected, so that
EasyMesh agent can notify it to EasyMesh controller.

Change-Id: I83de68c8a3aecd3588d14f59081d6676304093b9
CRs-Fixed: 3262578
2022-08-12 13:48:02 -07:00
Madan Koyyalamudi
8f2849c2a7 Release 5.2.1.32L
Release 5.2.1.32L

Change-Id: I7cfdc5ee32d8f218cb9fbd4c8ac6bafc459f55a2
CRs-Fixed: 774533
2022-08-12 08:25:12 -07:00
Jianmin Zhu
5a9556bf4b qcacld-3.0: Update linkspeed state to F/W for roaming protocol part
To avoid unmeaningful roaming, when low RSSI trigger,
only roam when rx linkspeed is also bad.
Steps:
1. F/W indicates feature supported by:
	wmi_service_linkspeed_roam_trigger_support
2. App sets vdev rx link speed threshold by vendor cmd.
3. Bus_bw_work gets rx link speed from data path periodically.
4. If found rx link speed change from good to poor, or poor to good, send
	to F/W.
5. F/W low rssi roaming is triggered only when both RSSI and link speed are
	poor.

Change-Id: I56829e42b26e407dd8e989a870aee2b3ea406232
CRs-Fixed: 3261996
2022-08-12 08:24:53 -07:00
Jianmin Zhu
ebfe40c98a qcacld-3.0: Update linkspeed state to F/W for roaming hdd part
To avoid unmeaningful roaming, when low RSSI trigger,
only roam when rx linkspeed is also bad.
Steps:
1. F/W indicates feature supported by:
	wmi_service_linkspeed_roam_trigger_support
2. App sets vdev rx link speed threshold by vendor cmd.
3. Bus_bw_work gets rx link speed from data path periodically.
4. If found rx link speed change from good to poor, or poor to good, send
	to F/W.
5. F/W low rssi roaming is triggered only when both RSSI and link speed are
	poor.

Change-Id: I38c60c55cca80ad9c71fcffda6712ac5984daef0
CRs-Fixed: 3264981
2022-08-12 08:24:47 -07:00
Jianmin Zhu
75fcd4dc84 qcacld-3.0: Fix link speed state always keep bad issue
After setting link speed threshold to low value like 10 Mbps by vendor cmd,
in bus bw timer, when find link speed above theshold, just change local
link speed state to good, not update global var dp_intf->link_monitoring,
so link_monitoring_cb is called periodically, message to update link
speed to good is sent to scheduler thread periodically,
WMI_ROAM_SET_PARAM_CMDID is sent to F/W periodically too.

To fix it, when find link speed state change from bad to good, update to
global var dp_intf->link_monitoring too. In next bus bw timer, find link
speed state keep good, don't send msg to update link speed again.

Change-Id: I3840e834a76465242face5b2529f004d1d277312
CRs-Fixed: 3266159
2022-08-12 08:24:41 -07:00
Madan Koyyalamudi
aef93e08b5 Release 5.2.1.32K
Release 5.2.1.32K

Change-Id: I550e7ef893530d034ead114756bedceb65426ccb
CRs-Fixed: 774533
2022-08-12 04:27:58 -07:00
Aditya Kodukula
3357aee444 qcacld-3.0: Add a debug print for soft driver unload
Add a debug print in wlan_hdd_main.c to to differentiate
between hard and soft driver unload.

Change-Id: Ia1f2c7d90e86c03e94a2ef20d8d7eef5acc316f0
CRs-Fixed: 3266415
2022-08-12 04:27:57 -07:00
Madan Koyyalamudi
d3d6b4acaf Release 5.2.1.32J
Release 5.2.1.32J

Change-Id: I166c1019c57687983bcdb3a0b646fbc10dd6a56b
CRs-Fixed: 774533
2022-08-12 02:35:08 -07:00
jinbaoliu
39f21f8038 qcacld-3.0: Driver provides rx rates info instead of FW
Driver is able to get rates info per MSDU, which can
exclude special frames like ARP, DHCP, etc. This change
is to refill the rates info parsing by rateflags from FW,
including legacy rate, MCS, NSS, BW, preamble, GI, etc.

Change-Id: I129d5f0dc48758d1a92ac0c3622c1761cdae8286
CRs-Fixed: 3257425
2022-08-12 02:35:08 -07:00
Madan Koyyalamudi
3eb38361f1 Release 5.2.1.32I
Release 5.2.1.32I

Change-Id: Idded5cb7b842fff00d60f1ef5f42b502a978d180
CRs-Fixed: 774533
2022-08-12 00:39:43 -07:00
Arun Kumar Khandavalli
f24500ae23 qcacld-3.0: Add link_id to various key operations for MLO
Receive the link_id for the key specific operations for mlo

Change-Id: Ia91cd2f5d3759a09d6399c5365fe5f2b3a55293e
CRs-Fixed: 3250836
2022-08-12 00:39:43 -07:00
Ashish
04f31c81d4 qcacld-3.0: Enable FEATURE_SET feature
Enable feature set feature flag to report required feature
set information.

Change-Id: Ib0a83f9ef9fadea5fd1188464b6b9ad44cb3dfc6
CRs-Fixed: 3262636
2022-08-12 00:39:37 -07:00
Madan Koyyalamudi
63631f07dd Release 5.2.1.32H
Release 5.2.1.32H

Change-Id: I6acc4bdab6d0ca73559f0f6391851723fbc2d1ba
CRs-Fixed: 774533
2022-08-11 15:22:51 -07:00
Vinod Kumar Pirla
3364ad4472 qcacld-3.0: RTPM sync lock for system suspend and resume
If driver SSR has happened after system suspend then RTPM lock
acquired during system suspend is not getting released which
leads to mismatch in RTPM reference count.

Use RTPM prevent suspend sync API to ensure system is in
resume state before acquiring RTPM prevent suspend lock
and in the driver SSR sequence, call to RTPM lock deinit
cleans up any acquired lock.

Change-Id: Icf1d564aa74d9c081a71fe173895e4d29b95c90b
CRs-Fixed: 3254539
2022-08-11 15:22:51 -07:00
Madan Koyyalamudi
749ffacf24 Release 5.2.1.32G
Release 5.2.1.32G

Change-Id: Id8cebef5b5aaccbaf23c74ac9dbd7581e8c49ffe
CRs-Fixed: 774533
2022-08-11 12:43:02 -07:00
Surabhi Vishnoi
4783a4c4f4 qcacld-3.0: Store new ACS vendor attribute in SAP ACS config
Parse and store new ACS vendor attribute
QCA_WLAN_VENDOR_ATTR_ACS_LAST_SCAN_AGEOUT_TIME in SAP ACS
config.

Change-Id: If50224780192ed7b587505e973a8dabeab3459b2
CRs-Fixed: 3239372
2022-08-11 12:43:01 -07:00
Madan Koyyalamudi
72c17bc05d Release 5.2.1.32F
Release 5.2.1.32F

Change-Id: I627a0b6e211374efdcf21c33ab96527c2f5877e0
CRs-Fixed: 774533
2022-08-11 09:46:58 -07:00
Balaji Pothunoori
0eb7674f1b qcacld-3.0: start sap if restriction mask is not set for unsafe channels
Currently sap is not starting if all channels configured as coex
unsafe and if restriction mask is not set.
This change is to select unsafe channel if restriction mask is
not set and start the sap.

Change-Id: I4ccf887655066da6d6b50715f631dde6edfda598
CRs-Fixed: 3260305
2022-08-11 09:46:58 -07:00
Rahul Gusain
d33f805968 qcacld-3.0: Exempt pe_session validation for set_key_rsp in NAN mode
Currently, host driver validates pe_session in lim to handle
set key response and send the set context response to sme if there
is no valid session. This is fine for STA, P2P and SAP modes as
there would be a valid session. But host driver does not need to
send set context response for NAN iface in NAN pairing protocol
as it doesn't have a valid pe_session and peer does not exist for
NAN iface. So, exempt the pe_session validation for NAN interface.

Change-Id: Iff3ca8b6a281fc0ab94ed8be683ae507e20a214e
CRs-Fixed: 3257689
2022-08-11 09:46:52 -07:00
Madan Koyyalamudi
55570bceeb Release 5.2.1.32E
Release 5.2.1.32E

Change-Id: Idb08fea8994d6227b403dc025136f3a49410f03b
CRs-Fixed: 774533
2022-08-11 06:54:56 -07:00
Ashish
368a345073 qcacld-3.0: Initialize async oem data event before WMI INIT
With the new requirement, host can receive oem data event
immediately after it sends WMI INIT command to fw.
To process this event, initialize async oem data event before
it sends the WMI INIT command to fw.

Change-Id: I58cc4fac6c6c0f65305b80d04ab22ba867f2b679
CRs-Fixed: 3262660
2022-08-11 06:54:56 -07:00
Madan Koyyalamudi
5397795400 Release 5.2.1.32D
Release 5.2.1.32D

Change-Id: I76b61ab24f6f3bd93d7735fa7808ee4eb9add86a
CRs-Fixed: 774533
2022-08-11 03:15:21 -07:00
Deeksha Gupta
446d532959 qcacld-3.0: Check disconnect state while fetching MLO vdev_id
In wlan_cm_mlo_update_disconnecting_vdev_id(), add an extra
check of wlan_cm_is_vdev_disconnecting with
wlan_cm_get_active_req_type, to check the vdev state as well,
along with the active_cm_id flag.

Change-Id: I80d59d419555864d6c9712e0d93efce0a6c203e4
CRs-Fixed: 3262543
2022-08-11 03:15:21 -07:00
Jianmin Zhu
71eb93c537 qcacld-3.0: Update linkspeed state to F/W for roaming dp part
To avoid unmeaningful roaming, when low RSSI trigger,
only roam when rx linkspeed is also bad.
Steps:
1. F/W indicates feature supported by:
	wmi_service_linkspeed_roam_trigger_support
2. App sets vdev rx link speed threshold by vendor cmd.
3. Bus_bw_work gets rx link speed from data path periodically.
4. If found rx link speed change from good to poor, or poor to good, send
	to F/W.
5. F/W low rssi roaming is triggered only when both RSSI and link speed are
	poor.

Change-Id: I2c2a22c1f24a730783ee09455f4d70b099d9bff1
CRs-Fixed: 3255036
2022-08-11 03:15:15 -07:00
Madan Koyyalamudi
c4459eb18e Release 5.2.1.32C
Release 5.2.1.32C

Change-Id: I46feb326f3b51a23696dfd2db8b95fa30533a52f
CRs-Fixed: 774533
2022-08-11 00:23:05 -07:00
Vinod Kumar Pirla
2b9e910cb5 qcacld-3.0: Disable Dynamic MAC address update feature flag
Disable the Dynamic MAC address update feature flag.
This reverts Change-Id: I1a4ff3e7b74145296e5004f6ebacae39f0f0ab6d

Change-Id: I38ae15017778bd901e2c51469ac5e0f667f40faa
CRs-Fixed: 3265032
2022-08-11 00:23:05 -07:00
Amit Mehta
ca0b0ecf0e qcacld-3.0: Enhance NUD failure handling
Enhance NUD failure handling by also adding
check for packet received from AP in the case
where AP is gateway

Change-Id: I45f4c11f34eddf536756edc4f81009227ae64c35
CRs-Fixed: 3239391
2022-08-11 00:23:00 -07:00
Ashish Kumar Dhanotiya
765b3a80ee qcacld-3.0: Cleanup previous ap beacon ap ie info correctly
Currently host driver does not cleanup previous ap beacon ie
info if it does not support 11AX, which is leading to memleak.

To address above issue, free previous ap beacon ie info
irrespective of 11AX support.

Change-Id: Ia96e4790a7b6fc8805272367ef7aee985ef931b1
CRs-Fixed: 3258173
2022-08-11 00:22:54 -07:00
Yu Wang
6814538c08 qcacld-3.0: validate vdev id for APF enable command
The vdev id might be invalid when sending WMI_BPF_SET_VDEV_ENABLE_CMDID
to firmware, which will cause assert in firmware.
To fix this issue, validate vdev id before sending the command.

Change-Id: Ie1b60c5eeb6704de963f23d7fef0649c208081a4
CRs-Fixed: 3260462
2022-08-11 00:22:48 -07:00
Madan Koyyalamudi
daebaf90da Release 5.2.1.32B
Release 5.2.1.32B

Change-Id: Ifc3597b670f1c548cbad747fe1413d04ca54fbc5
CRs-Fixed: 774533
2022-08-10 04:04:10 -07:00
Paul Zhang
66cddca488 qcacld-3.0: Add sanity check before stopping timer
Sometimes fw sends roam event with RSO status 7, it does not need
host driver trigger in function target_if_cm_roam_send_stop. When
this scenario happens, driver tries to stop the timer which does
not started and dumps wrong info.

Change-Id: I82f723bb8e8c5b6108caff48a9189eeaf2686a2c
CRs-Fixed: 3261664
2022-08-10 04:04:09 -07:00
Dundi Raviteja
bc660b9e93 qcacld-3.0: Use correct API to unsubscribe pkt_capture wdi event
Use cdp_wdi_event_unsub() to unsubscribe
PKT_CAPTURE_RX_NO_PEER_SUBSCRIBER in
pkt_capture_wdi_event_unsubscribe().

Change-Id: I43575df1402611d468b8523bf948d2dc86f31dd7
CRs-Fixed: 3260272
2022-08-10 04:04:03 -07:00
Madan Koyyalamudi
4c1779432b Release 5.2.1.32A
Release 5.2.1.32A

Change-Id: I0297a45acdf0568a2bf22ce19c3e0eb170687998
CRs-Fixed: 774533
2022-08-09 23:38:05 -07:00
Chaoli Zhou
2f1c8a6e72 qcacld-3.0: Fix redefinition compile error
Fix redefinition error of 'ucfg_dp_tdlsta_register_txrx_ops'
if TDLS disabled.

Change-Id: Ic53489003b78ae1081d9c7f64601de2d354ba59b
CRs-Fixed: 3259948
2022-08-09 23:38:04 -07:00
Madan Koyyalamudi
44d9c71311 Release 5.2.1.32
Release 5.2.1.32

Change-Id: Id24e9e4f392646e4977a3a8347aa4d51ee381edb
CRs-Fixed: 774533
2022-08-09 11:17:30 -07:00
Huashan Qu
842b7b77fa qcacld-3.0: Support modularizing for auto qca6390
Add code to support modularizing CNSS2 CNSS_GENL and CNSS_UTILS
for auto qca6390.

Change-Id: I3d9c5c7a41863d75c91a17b110e7cce29792bdba
CRs-Fixed: 3249464
2022-08-09 11:17:30 -07:00
Amruta Kulkarni
37a60702d1 qcacld-3.0: Reset roam band value to default
When Roam control config is disabled reset roam band
value to default.

Change-Id: I5efc7b0c05604ed30f8c3c4f7ff48481f9211e61
CRs-Fixed: 3259399
2022-08-09 11:17:24 -07:00
Madan Koyyalamudi
6beaee04d2 Release 5.2.1.31Z
Release 5.2.1.31Z

Change-Id: Iacb417fa04de9b008b2c0dfba25f15193ce9a232
CRs-Fixed: 774533
2022-08-08 03:46:47 -07:00
Amit Mehta
5bda120bfa qcacld-3.0: IPA offload enable compilation issue fix
Currently there is compilation issue in case of IPA
offload enable case due to code changes done as
part of DP componentization.
Fix compilation issue by adding calls to DP component APIs

Change-Id: Id545f67bff75682ceccba5725f956a89c6b9b9f8
CRs-Fixed: 3259293
2022-08-08 03:46:47 -07:00
Rahul Gusain
b536b7e2df qcacld-3.0: Register for MGMT auth frames on NAN iface
Authentication frames(with type PASN, value 7) get
exchanged between NAN peers in NAN pairing protocol.
These exchanges happen on NAN interface.
But currently, NAN interface doesn't support auth mgmt
frame processing.
Add entries in wiphy->mgmt_stypes for NAN iface also
to support this.

Change-Id: I2e4f53af737c80e8b7eae5883e95f32ff98d4f00
CRs-Fixed: 3257646
2022-08-08 03:46:41 -07:00
Madan Koyyalamudi
aa25f235d8 Release 5.2.1.31Y
Release 5.2.1.31Y

Change-Id: If8dd08fc2c95fedb543f1c36662495b097b4a7d7
CRs-Fixed: 774533
2022-08-06 10:01:42 -07:00
Paul Zhang
8c2950c03a qcacld-3.0: Set the variables BW 20 MHz of eht cap
Currently, if AP advertises it supports BW 40 & 80 MHz in
5 GHz and 6 GHz in HE Phy Capability IE, driver does not set
the varibles such as bw_20_rx_max_nss_for_mcs_0_to_7 etc
in function lim_ieee80211_unpack_ehtcap. When STA is only
set to support channel width 20 MHz, then it invokes function
lim_populate_eht_20only_mcs_set and causes the intersection
result EHT RxMCSmap 0 TxMCSmap 0 when set to fw.

Change-Id: I9e52fad7f5e429b05402e4413f7599c01d2e50d0
CRs-Fixed: 3261970
2022-08-06 10:01:42 -07:00
Madan Koyyalamudi
1c4f5d62ec Release 5.2.1.31X
Release 5.2.1.31X

Change-Id: I8c345196d524593fa061ef21af21ffddaafce0cb
CRs-Fixed: 774533
2022-08-05 15:15:51 -07:00
Pragaspathi Thilagaraj
3edfe4303e qcacld-3.0: Read correct ini values for roam inactivity configs
Incorrect ini values are read for the roam_scan_inactivity_time
and roam_scan_period_after_inactivity. So wrong values are
populated to firmware. This is seen with wlan-connection-roaming.ini
ini file is present on the device.

Read the value for roam_scan_inactivity_time from
CFG_ROAM_SCAN_INACTIVE_TIMER and read roam_scan_period_after_inactivity
from CFG_ROAM_SCAN_SECOND_TIMER.

Change-Id: I98a9d99f09200a021a123226cfb714b1c49c51d5
CRs-Fixed: 3259600
2022-08-05 15:15:50 -07:00
Madan Koyyalamudi
130fb7f9dd Release 5.2.1.31W
Release 5.2.1.31W

Change-Id: I464ef0a5147e2c13e427391dea2a32c5895a966a
CRs-Fixed: 774533
2022-08-04 10:18:56 -07:00
Ming Jiang
baa85e3dba qcacld-3.0: Enable DFS SAP on none-dbs hardware
In DBS-disabled scenario start DFS AP will be blocked because
function policy_mgr_update_dfs_master_dynamic_enabled return
false when sta_sap_scc_on_dfs_chnl equals 1.
Firmware will limit scan channel in 2 GHz when DFS AP plus STA.
Hence it is reasonable to allow this policy in Non-DBS mode

Change-Id: I31cada8caf74694a228cad215893cf442f1a5564
CRs-Fixed: 3253870
2022-08-04 10:18:56 -07:00