Commit Graph

26269 Commits

Author SHA1 Message Date
Madan Koyyalamudi
351b51c759 Release 5.2.1.28Y
Release 5.2.1.28Y

Change-Id: Ic107f08cada0db42d30aea664346a1c93fcd4110
CRs-Fixed: 774533
2022-07-14 21:08:56 -07:00
abhinav kumar
34c4444ace qcacld-3.0: Update sanity check in cache_station_stats_cb
Update sanity checks for a NULL pointer in
cache_station_stats_cb to make it similar to 2.0.8 and
2.0.9 branch code.

Change-Id: I36e7e3548bf5d6bcf278e40d03f694daeeccf64c
CRs-Fixed: 3243090
2022-07-14 21:08:55 -07:00
Madan Koyyalamudi
46b76811d1 Release 5.2.1.28X
Release 5.2.1.28X

Change-Id: I0510ca8c07140494d297b92ee1e50420a9a8c5ef
CRs-Fixed: 774533
2022-07-14 14:48:34 -07:00
Paul Zhang
6f1e1b390a qcacld-3.0: Correct ML IE length for ML prb req
Currently, the ML IE length in ML probe request is including 2 bytes
of element header. It causes the peer could not parse the ML IE
properly and response the proble response unexpectly.

To resolve this issue, correct the ML IE length for ML probe request.

Change-Id: I7cefb6d04a28c51ad7aa6fb894c77b005adbd775
CRs-Fixed: 3238761
2022-07-14 14:48:34 -07:00
Madan Koyyalamudi
a70175e295 Release 5.2.1.28W
Release 5.2.1.28W

Change-Id: I2fc866735739fdc6f4e2578cfd8d5ad2e3ccf2e5
CRs-Fixed: 774533
2022-07-14 04:12:30 -07:00
Pragaspathi Thilagaraj
832fee1036 qcacld-3.0: Refine PASN peer delete all & pasn auth status path
Refine PASN peer delete all path, to post message to
scheduler thread to process the peer delete all
message for PASN peers. Handle response timeout in WMA.
Resume vdev deletion after removing pasn peers

Add vendor command support to parse below vendor commands:
QCA_NL80211_VENDOR_SUBCMD_PASN
QCA_NL80211_VENDOR_SUBCMD_SECURE_RANGING_CONTEXT

Send install key command to firmware to install the
PTK upon receiving
QCA_NL80211_VENDOR_SUBCMD_SECURE_RANGING_CONTEXT
vendor command. If LTF keyseed is also received,
send the LTF keyseed to firmware.

Sent PASN auth status to firmware upon receiving
QCA_NL80211_VENDOR_SUBCMD_PASN command.

Change-Id: Idc9c69f7288b0774cc6d9bdcfed13ba3684bbc72
CRs-Fixed: 3231205
2022-07-14 04:12:30 -07:00
Madan Koyyalamudi
4b2a3cae5d Release 5.2.1.28V
Release 5.2.1.28V

Change-Id: Ief5d2a572cfcb61c81583d5f39f9dc390dfbb3ed
CRs-Fixed: 774533
2022-07-13 00:21:52 -07:00
Roopavathi Lingampalli
7cc8f0ad6b qcacld-3.0: Fix disconnect for NUD failure just after roaming
Move Change Ia3a9e989ea16443fa157834ef9d4ceb247f82e24 to
DP component
Change-Id: I596abc5662daba0a1d17e195bcb3ccf5fac1a7d4
CRs-Fixed: 3236310
2022-07-13 00:21:52 -07:00
Madan Koyyalamudi
d9473017c6 Release 5.2.1.28U
Release 5.2.1.28U

Change-Id: I408c32a7f75b2fb3eaef00ef58226cb8e84e66c4
CRs-Fixed: 774533
2022-07-12 22:33:17 -07:00
Bing Sun
2cbe518095 qcacld-3.0: Fix getting channel frequency from EHT operation IE
ccfs1 in EHT operation IE is the channel number, wlan_reg_chan_band_to_freq
should be called if channel frequency is needed.
Otherwise invalid puncture bitmap is generated for the given bandwidth if
original puncture bitmap is based on 320 MHz.

Change-Id: Ie601af2311f2f51cfe53a7da86990060668ad901
CRs-Fixed: 3241698
2022-07-12 22:33:16 -07:00
Madan Koyyalamudi
9f7472da05 Release 5.2.1.28T
Release 5.2.1.28T

Change-Id: Ic1d59daf24ea54b9876b038ae76f8e35b3632e2a
CRs-Fixed: 774533
2022-07-12 18:55:07 -07:00
Aravind Kishore Sukla
d7823c2688 qcacld-3.0: Initialize bssid variable
Uninitialized variables in pkt_capture_process_tx_data()
and pkt_capture_callback() may lead to Unpredictable behaviour.

Initialize corresponding bssid variables to avoid it.

Change-Id: I1ca6e7e04c8920111414a83c29cb61883b72370c
CRs-Fixed: 3241885
2022-07-12 18:55:06 -07:00
Madan Koyyalamudi
5c27c5d330 Release 5.2.1.28S
Release 5.2.1.28S

Change-Id: I20d04d56e3ee6e8d33797ed9288fab1635cc707a
CRs-Fixed: 774533
2022-07-12 17:18:23 -07:00
abhinav kumar
6971eebe61 qcacld-3.0: Process CP stats response while roaming
Scenarios are:
1. Host receives ROAM_START from firmware
2. Host receives EAPOL M1 from AP, host forwarded
   it to supplicant and supplicant buffered it (with
   timer 100 msec) to process it after association
   completion.
3. Host starts processing CP stats request, which
   holds RTNL kernel lock
4. Host starts a CP_STATS_WAIT_TIME_STAT (800 msec)
   timer and sends WMI_REQUEST_STATS_CMDID to FW.
   So cp stats are holding the RTNL lock.
5. In waiting state host/FW completed roaming within
   a few milliseconds. Host Call roamed indication
   to the kernel. Kernel post it to the Work queue
   to indicate this to the supplicant. The Work
   queue requires the RTNL lock to send the
   indication to the supplicant.
6. Now Kernel is waiting on the RTNL lock taken by
   the CP stats request which is waiting for the CP
   stats response (WMI_UPDATE_STATS_EVENTID).
7. Host receives CP stats response but the host is
   unable to handle it with the below reason.
8. Timed out happens for WMI_UPDATE_STATS_EVENTID,
   then Kernel takes RTNL lock to indicate
   association/roam completion status to the
   supplicant.
9. As Kernel is sending association indication
   after CP_STATS_WAIT_TIME_STAT (800 msec), by
   this time supplicant deleted buffered EAPOL
   first frame, this results in DUT failing to
   initiate the 4-WAY handshake.
10. Finally AP sends the Deauthentication frame
    to DUT.

Reason for unable to process CP stats response :
As per the current design, While processing Roaming,
the host deletes the old peer and creates a new peer
for roamed AP. If the Host receives cp stats response
after peer delete due to roaming, the host is unable
to stop waiting for timer CP_STATS_WAIT_TIME_STAT
and fails to release RTNL kernel lock till timeout.
After time out only, Kernel can take RTNL lock to
indicate association/roam completion status to the
supplicant.

Fix is to stop the wait timer CP_STATS_WAIT_TIME_STAT
and release RTNL kernel lock even in case peer has
deleted by HOST for which CP stats request sent.

Change-Id: Ie5b5275da10a06da50b2fbb8ab206b78f2c64d6a
CRs-Fixed: 3234063
2022-07-12 17:18:23 -07:00
Madan Koyyalamudi
34d91f1415 Release 5.2.1.28R
Release 5.2.1.28R

Change-Id: I88e275c8f0374693a39d84b7ca175c0d7efbf2ec
CRs-Fixed: 774533
2022-07-12 12:28:26 -07:00
Madhvapathi Sriram
067fc6686c qcacld-3.0: Enable peer txq flush feature
Enable peer TID txq flush feature which helps
configure the flush policy.

Change-Id: Iac367942abce1a2cbbffc1dbc3565f5a99448c75
CRs-Fixed: 3235910
2022-07-12 12:28:25 -07:00
Madan Koyyalamudi
261edab7f4 Release 5.2.1.28Q
Release 5.2.1.28Q

Change-Id: Ia1e3e422ce56d797fc00e4be0b33cac97b564c12
CRs-Fixed: 774533
2022-07-12 10:42:48 -07:00
Surabhi Vishnoi
83682dcf07 qcacld-3.0: Store chan info event results in STA mode also
Currently, channel info event results are stored only if it is
received as part of SAP ACS scan. Channel info is used in
ACS algorithm to select best channel. There is a requirement to
reuse the STA's scan results for SAP to reduce the SAP bringup
time. So store the channel info event results received as part
of STA scan if WLAN_FEATURE_SAP_ACS_OPTIMIZE is enabled.

Change-Id: I99d4e8c13a9e4171c74c63907d29c585f89ecf9e
CRs-Fixed: 3239383
2022-07-12 10:42:48 -07:00
Deeksha Gupta
fe6916101a qcacld-3.0: Fix the format specifier compilation error
Fix the format specifier compilation error in
lim_populate_ml_probe_req().

Change-Id: Ib5ba623d128fbf8357189673c808280ba2bc0163
CRs-Fixed: 3224133
2022-07-12 10:42:40 -07:00
Madan Koyyalamudi
9c2c342129 Release 5.2.1.28P
Release 5.2.1.28P

Change-Id: If61db64c063517084460d18f65c6fa5e86963bf1
CRs-Fixed: 774533
2022-07-12 08:56:28 -07:00
Jia Ding
72718c750b qcacld-3.0: Use QDF API to get iommu domain attribute
Instead of calling kernel iommu API directly, call the QDF API
to get iommu domain attributes.

Change-Id: I8967a0d47a720d55170f9f61233a6f4190f9133a
CRs-Fixed: 3228757
2022-07-12 08:56:28 -07:00
Madan Koyyalamudi
49ad8a887f Release 5.2.1.28O
Release 5.2.1.28O

Change-Id: I0dac5b478d235fe3598432b0ee912ce943e4279a
CRs-Fixed: 774533
2022-07-12 07:00:31 -07:00
Liangwei Dong
44af34d0fb qcacld-3.0: Drop beacon with invalid RSN IE
Check RSN ie valid or not for beacon in STA/P2P CLI join.
If invalid RSN in beacon, wait for probe respone for join
process.
That is to fix IOT issue that the P2P GO includes invalid
RSN IE in beacon but good IE in probe respone.

Change-Id: If50400c10298bcc71f375250645eacbfc3dfac0a
CRs-Fixed: 3238024
2022-07-12 07:00:30 -07:00
Madan Koyyalamudi
0bfb6be0fa Release 5.2.1.28N
Release 5.2.1.28N

Change-Id: I39f75e631f58a383ed708998d0f22f93974ecf1d
CRs-Fixed: 774533
2022-07-12 02:30:28 -07:00
Amruta Kulkarni
fca6448671 qcacld-3.0: Add runtime pm lock during roaming
Acquire the runtime pm lock when roam sync event is received
and release after roam sync complete is sent.

Change-Id: Ic56d353dd343f5fcbc228a8d7251e047177b9a9b
CRs-Fixed: 3238723
2022-07-12 02:30:28 -07:00
Madan Koyyalamudi
144126c081 Release 5.2.1.28M
Release 5.2.1.28M

Change-Id: I450ac6182cda7759925951fcd32b463636957f59
CRs-Fixed: 774533
2022-07-11 23:12:40 -07:00
Jayachandran Sreekumaran
e728680f11 qcacld-3.0: Add spatial reuse feature support
Add SAP mode support for non-srg spatial reuse.

Change-Id: Ic575eefd0d36b6750d826c9bccbd53f07ae9ea75
CRs-Fixed: 3213404
2022-07-11 23:12:40 -07:00
Madan Koyyalamudi
19a58a9c0f Release 5.2.1.28L
Release 5.2.1.28L

Change-Id: I7bfd541afb52221e20b281448c97c46601858572
CRs-Fixed: 774533
2022-07-11 19:01:23 -07:00
Aditya Kodukula
498c5bb70e qcacld-3.0: Return correct status when mDNS offload is disabled
Currently the driver returns incorrect status to the user space
when mDNS offload feature is disabled. So, add a debug log and
return correct status when mDNS offload is disabled.

Change-Id: I4ae58467eb8ff464380d5a8b69b45545534de37e
CRs-Fixed: 3239903
2022-07-11 19:01:23 -07:00
Madan Koyyalamudi
236a09d882 Release 5.2.1.28K
Release 5.2.1.28K

Change-Id: I957424cb0c4e90db6d8b7127903ebe6128324d69
CRs-Fixed: 774533
2022-07-11 13:04:51 -07:00
Yeshwanth Sriram Guntuka
6529648bf3 qcacld-3.0: Move TC based dynamic GRO logic to DP component
Move TC based dynamic GRO logic to DP component.

Change-Id: I3c6658e8f19a71e548c77ff6fd637148925008d7
CRs-Fixed: 3219451
2022-07-11 13:04:51 -07:00
Madan Koyyalamudi
2304bbd8de Release 5.2.1.28J
Release 5.2.1.28J

Change-Id: Icae0572586b541a195058d33dc67007af163dbd8
CRs-Fixed: 774533
2022-07-11 10:23:59 -07:00
Rakesh Pillai
f81930044e qcacld-3.0: Enable SRNG usage high watermark feature
Enable the tracking of SRNG usage high watermark
feature for KIWI target.

Change-Id: I66c32f8c8f147aea0331c81d7b2c91ac88572fea
CRs-Fixed: 3235422
2022-07-11 10:23:58 -07:00
Madan Koyyalamudi
2c22fc26db Release 5.2.1.28I
Release 5.2.1.28I

Change-Id: I2ab4dfc6add5becd7f8a5f1f96aa3f8257742160
CRs-Fixed: 774533
2022-07-11 03:58:56 -07:00
Sheenam Monga
5b97861ce5 qcacld-3.0: define single enum for reg_domain and country_code
Currently, separate reg_domain and country_code are defined for
qcacmn and qcld.

Define reg_domain and country_code in reg_db.h and include
reg_db.h to avoid multiple definitions.

Change-Id: Ic5b2f1e9612fd7cbb4a8944daa17ada87ee7a7a7
CRs-Fixed: 3212421
2022-07-11 03:58:56 -07:00
Madan Koyyalamudi
0beaebde95 Release 5.2.1.28H
Release 5.2.1.28H

Change-Id: I7dc9c3e3d628d8a2c96bc861b2ca6a8f1768e0ab
CRs-Fixed: 774533
2022-07-11 02:09:40 -07:00
Aditya Kodukula
3249fbc1e2 qcacld-3.0: Add check before invoking soft_unload
Add a sanity check to verify if the driver is loaded
before invoking soft driver unload.

Change-Id: Id6f735c1661104ac14410399a54953f962792644
CRs-Fixed: 3239752
2022-07-11 02:09:40 -07:00
Madan Koyyalamudi
ff695caf8a Release 5.2.1.28G
Release 5.2.1.28G

Change-Id: Iaa743d707bffd5c91d431591b9d03061c837e35f
CRs-Fixed: 774533
2022-07-10 05:07:27 -07:00
VIJAY RAJ
a5488c0b6b qcacld-3.0: TX status conversion for mgmt frame during diag logging
Wrong value of tx status sent to supplicant for MGMT frame
via diag logging.

Convert the tx status value to enum diag_tx_status specific value.

Change-Id: Iba6d8011280d41a874509d2a1b4fed9a16ee585c
CRs-Fixed: 3236363
2022-07-10 05:07:27 -07:00
Madan Koyyalamudi
d0db5e15a0 Release 5.2.1.28F
Release 5.2.1.28F

Change-Id: If1044643d676b5d270f496edc7d07dcf336774d6
CRs-Fixed: 774533
2022-07-08 23:16:48 -07:00
Gururaj Pandurangi
3e1cb8d191 Revert "qcacld-3.0: Avoid sending RSNXE to legacy APs"
This reverts commit Ia7dee29792718a6514da44b13b36b46586ef25ab.

Change-Id: I13e4db36aa2ee3238b3e2fe8ee456c99e1fcc974
CRs-Fixed: 3238679
2022-07-08 23:16:47 -07:00
Aravind Kishore Sukla
7e7cdb3d96 qcacld-3.0: Refine interface combinations advertised in wiphy
Currently, interface combinations are advertised as part of wiphy
registration but some of them lead to 3-port/4-port. Refine the
concurrencies to advertise only supported combinations as below,
1. Remove SAP+SAP_MAX_OBSS_STA combination
2. Remove the "reserved STA iface which was added to support
   P2P device". No need to indicate any additional interface count
   for P2P_DEVICE mode as driver doesn't advertise dedicated
   P2P_DEVICE support.
3. Add NAN+STA and NAN+SAP combinations also.

Change-Id: I7ed594c2b719c243cbe38794b877f77240024620
CRs-Fixed: 3226284
2022-07-08 23:16:42 -07:00
Madan Koyyalamudi
5fee5caae3 Release 5.2.1.28E
Release 5.2.1.28E

Change-Id: Icb8da4c1a95664a463ce36d6ab0fcc4c7681e844
CRs-Fixed: 774533
2022-07-08 21:30:29 -07:00
Pragaspathi Thilagaraj
83766efb96 qcacld-3.0: Advertise PASN security related extended capabilities
Add support to advertise below PASN security related extended
capabilities via wiphy:
NTB ranging responder
TB ranging responder

Change-Id: I8479a318ecf59b5a849e0590b7cf2c8cd8debbe6
CRs-Fixed: 3235166
2022-07-08 21:30:29 -07:00
Madan Koyyalamudi
601e20f320 Release 5.2.1.28D
Release 5.2.1.28D

Change-Id: Ie6f54c614881a1a36d274b8be449be9dd83bae20
CRs-Fixed: 774533
2022-07-08 19:01:11 -07:00
Nirav Shah
4852ecd8ba qcacld-3.0: Provide read permission for tsf sysfs entry
Provide read permission to group and other for tsf sysfs entry.
This allows applications to read tsf value.

Change-Id: I59ab2228334cc3975830edd675e0b09be182bf9d
CRs-Fixed: 3209335
2022-07-08 19:01:11 -07:00
Madan Koyyalamudi
bbf4ffa58e Release 5.2.1.28C
Release 5.2.1.28C

Change-Id: I55cf2ad646c1048eb3e9c41a4ae657a6d6d8a2d1
CRs-Fixed: 774533
2022-07-08 16:24:35 -07:00
Ashish
8c6fac1e9f qcacld-3.0: Disable dump in progress feature
Currently dump in progress feature is not in use so
disable this feature with CONFIG_WLAN_DUMP_IN_PROGRESS
feature flag.

Change-Id: I1c93e3a3749ac5bb9fed38e30ed0b6069f02f0ed
CRs-Fixed: 3214636
2022-07-08 16:24:35 -07:00
Madan Koyyalamudi
48d28705ec Release 5.2.1.28B
Release 5.2.1.28B

Change-Id: Ia6ff354d736ab74edddc764b1aa736730474d803
CRs-Fixed: 774533
2022-07-08 01:20:34 -07:00
VIJAY RAJ
575ce98f8f qcacld-3.0: Enable Diag Event Logging for Connectivity Events
Connectivity logs are sent through vendor command which
required to maintain a separate logging infrastructure.

Add Diag event logging in to send connectivity logs via
netlink in order to maintain a single logging infrastructure.

Change-Id: Ic3b868724ab7da25b7b3f28197e2f4b0f89897d3
CRs-Fixed: 3226658
2022-07-08 01:20:34 -07:00