コミットグラフ

28810 コミット

作成者 SHA1 メッセージ 日付
Madan Koyyalamudi
11b745e21f Release 5.2.1.65C
Release 5.2.1.65C

Change-Id: Icb4d7788f3f0ca6643dd6420872c3afd93ba5018
CRs-Fixed: 774533
2023-05-05 01:56:23 -07:00
Vijay Raj
fb8e6d4f3e qcacld-3.0: Remove unused legacy logging for BTM event
Diag logging is used for connectivity logging of
BTM event.

Remove unused legacy connectivity logging mechanism for
BTM events.

Change-Id: I65dc5fe5f071fd74eeed2433894a238318ce76ab
CRs-Fixed: 3470401
2023-05-05 01:56:23 -07:00
Vijay Raj
07156c60b8 qcacld-3.0: Remove legacy roam connectivity logging mechanism
Diag logging is used for connectivity logging of roam
candidate event and roam roam result event.

Remove unused legacy connectivity logging mechanism for
roam candidate and roam result events.

Change-Id: I826107fc764abdeec7408dbb6c52e580d1fe32f4
CRs-Fixed: 3470206
2023-05-05 01:56:17 -07:00
Amruta Kulkarni
4682e96332 qcacld-3.0: Update Association request response T2LM IE
As per draft 3.0, association or reassociation request
or response can include upto 2 t2lm ie's.

Change-Id: I2095e161c433237ce91ab25d1bd133e0bb5f106f
CRs-Fixed: 3487012
2023-05-05 01:56:11 -07:00
Madan Koyyalamudi
ddf169dd6e Release 5.2.1.65B
Release 5.2.1.65B

Change-Id: Ia432b29e1215017e66ebf561d1a57cce37f76878
CRs-Fixed: 774533
2023-05-04 11:34:43 -07:00
Jyoti Kumari
a551e66960 qcacld-3.0: Check whether vdev supports mlo cap or not
Scenario: There is dual sta present in HBS mode in DUT where one
sta is on wlan0 interface and it has 11be capability, so it has
formed ML connection with ML AP. The another STA is present on
wlan1 interface and this STA also supports 11be capability. But
as per current design, host supports 11be with MLO. It doesn't
support 11be alone. Also 11be with MLO is supported only in wlan0
interface. So for another connection which are present in wlan1
interface, even if it supports 11be host will downgrade to 11ax
and form connection.
During the formation of second connection, host will sends peer
create command(WMI_PEER_CREATE_CMDID) to firmware. Before sending
this command, host checks only eht cap in cm_create_bss_peer()
and fills the mld_mac addr. Because of that, DP assumes that
there is an ML connection and it creates MLD peer on wlan1
interface. Due to this, it causes ping failure on wlan1 interface
as the ICMP response might be coming on incorrect peer and it's
getting dropped.

As part of fix, check whether vdev is mlo supported or
not in cm_set_peer_mld_info()

Change-Id: Ieed67aa2735d200a140f9e771d791b3b9308a0f9
CRs-Fixed: 3474874
2023-05-04 11:34:42 -07:00
Madan Koyyalamudi
ba31d91be4 Release 5.2.1.65A
Release 5.2.1.65A

Change-Id: I46527bbd2c11bf496f48fd160bfa1a55fb061001
CRs-Fixed: 774533
2023-05-04 04:34:39 -07:00
Deeksha Gupta
18a512bff8 qcacld-3.0: Don't process SAE address conversion for non-ml STA
In the case of an ML SAP SAE connection, if the reference
STA is a non-ML, the driver should not perform SAE address
conversion. Currently, during SAE Auth commit RX, if the
ML IE is not present in the frame, the driver decodes an
incorrect peer MLD address and saves it in the pre-auth
node structure. Later, userspace sends the SAE Auth commit
TX frame, and the driver fails during pre-auth node search
due to the incorrect MLD address saved in the pre-auth node,
which leads to SAP connection failure.

As part of the fix, the driver should decode the correct
peer MLD address or set it to 0 if the ML IE is not present.

Change-Id: I335361dca50969c7ee25a502732ae3f29cc99eff
CRs-Fixed: 3481176
2023-05-04 04:34:38 -07:00
Madan Koyyalamudi
3bc0832ee1 Release 5.2.1.65
Release 5.2.1.65

Change-Id: I68be7616675173b9cf1441b537879155826cf0f9
CRs-Fixed: 774533
2023-05-04 01:35:12 -07:00
Shailendra Pratap Singh
b85783d78c qcacld-3.0: Add API to get listen interval value from driver
Add API to get LI which is configured by the user.
In case, user has not configured any interval,
device uses default LI and this cmd will return 0
Syntax for cli cmd: driver GET_LISTEN_INTERVAL

Change-Id: I3ef12ffc757288c057c88dceece7dbc2da68880b
CRs-Fixed: 3425472
2023-05-04 01:35:12 -07:00
Madan Koyyalamudi
eb82329fd3 Release 5.2.1.64Z
Release 5.2.1.64Z

Change-Id: I8925f58e9c091211ab536e49c3d64252b5120713
CRs-Fixed: 774533
2023-05-03 04:57:53 -07:00
abhinav kumar
3429f8e7c1 qcacld-3.0: Dont allow max ch width update for MLO connection
If STA connected with MLO AP, don't process ch_width update
with notify request.

Change-Id: Id2e0d6357feac13787abcafe8b9d69a0c64dbedb
CRs-Fixed: 3472173
2023-05-03 04:57:53 -07:00
abhinav kumar
80fc700acf qcacld-3.0: Update connected VDEV channel bandwidth
Host receives QCA_WLAN_VENDOR_ATTR_CONFIG_CHANNEL_WIDTH vendor
command indication to update STA adapter channel width.

On receiving channel width update indication from upper layer,
first host updates internally and send new channel width value
to FW via WMI_VDEV_PARAM_CHWIDTH_WITH_NOTIFY.

Target firmware should take care of notifying associated peers
(except TDLS) about change in bandwidth, through OMN/OMI
notification before performing bandwidth update internally.

Change-Id: I517ed1fbf8d074e511f8fb43c9c1dac824c9f084
CRs-Fixed: 3469473
2023-05-03 04:57:48 -07:00
abhinav kumar
076551fd20 qcacld-3.0: Update subband CCA busy info to HDD
In case of wide band scan request, FW sends subband CCA busy info
to host via a new tlv wmi_cca_busy_subband_info added in existing
event WMI_CHAN_INFO_EVENTID.

Fix is to store CCA busy info coming from FW to HDD context.

Change-Id: Ic4b439ed1c270badbe265dc8543dc6d6a1612fab
CRs-Fixed: 3469467
2023-05-03 04:57:43 -07:00
abhinav kumar
62b5a049d6 qcacld-3.0: Process get_cu_for_each_subbw driver command
Host parse newely added vendor command
QCA_NL80211_VENDOR_SUBCMD_CONNECTED_CHANNEL_STATS and trigger
scan to get connected channel stats from FW.

On scan done host sends scan done indication to upper layer
via QCA_NL80211_VENDOR_SUBCMD_CONNECTED_CHANNEL_STATS vendor
command.

Change-Id: I7a4727b66003f6ee96645c5078d1f922b2f18cec
CRs-Fixed: 3461106
2023-05-03 04:57:38 -07:00
Madan Koyyalamudi
2fae80a3e1 Release 5.2.1.64Y
Release 5.2.1.64Y

Change-Id: I2301025e33fb6c06510cddbc5731d7c840feebdd
CRs-Fixed: 774533
2023-05-02 12:23:11 -07:00
Mohammed Ahmed
5b5c5949f0 qcacld-3.0: set CONFIG_WLAN_DIAG_VERSION to y in peach config
Currently the CONFIG_WLAN_DIAG_VERSION is not being set in the
peach defconfig, causing compilation errors for peach builds.
Fix this by replacing duplicate CONFIG_WLAN_DEBUG_VERSION
with CONFIG_WLAN_DIAG_VERSION.

Change-Id: I1fc2fcfc987d63c3f038e41652ea4c43667bbe42
CRs-Fixed: 3483501
2023-05-02 12:23:11 -07:00
Madan Koyyalamudi
ff834031fa Release 5.2.1.64X
Release 5.2.1.64X

Change-Id: Ic1ddb1911f807883cf9a1d379d3392e3ee1d6063
CRs-Fixed: 774533
2023-05-01 12:09:31 -07:00
Vijay Raj
a2cce9674c qcacld-3.0: Remove unused legacy logging for Roam scan events
Diag logging is used for connectivity logging of roam scan
start event and roam roam scan done event.

Remove unused legacy connectivity logging mechanism for
roam scan start and roam scan done event.

Change-Id: Icaebf0486081508e56937ee13bb8d4d33a342d79
CRs-Fixed: 3470140
2023-05-01 12:09:30 -07:00
Vijay Raj
7e0ec725c9 qcacld-3.0: Remove unused legacy connectivity log mgmt frame events
Diag logging is used to log mgmt frame events.

Remove unused unused legacy connectivity log used
for mgmt frame events.

Change-Id: I7d682f9aa4005d82beef03030017f943687e3480
CRs-Fixed: 3469403
2023-05-01 12:09:23 -07:00
Vijay Raj
02f621250c qcacld-3.0: Remove unused connectivity log events
Diag logging is used for logging connectivity
events,

Remove legacy logging mechanism for connectivity
events

Change-Id: I85bbb1cb88e8a3c1d4357e9b732642ca8f5fe95a
CRs-Fixed: 3469396
2023-05-01 12:09:15 -07:00
Madan Koyyalamudi
d302b27bd2 Release 5.2.1.64W
Release 5.2.1.64W

Change-Id: I6ab942ea7f6b08b745314f37e1269cdf1b1265c0
CRs-Fixed: 774533
2023-05-01 09:56:58 -07:00
Jianmin Zhu
d0287c9f46 qcacld-3.0: Avoid SAP start fail for addr leak
When create virtual interface, if psoc idle restart return failed,
close adapter without calling wlan_hdd_release_intf_addr,
addr is leaked and used out.
When SAP start, create virtual interface wlan2 will fail for
MAC is not available.

To fix it, when create virtual interface failed, call
wlan_hdd_release_intf_addr before close adapter.

Change-Id: I84493985eaa7dda5b8b620c7e86bdf94c89ce2f8
CRs-Fixed: 3480866
2023-05-01 09:56:57 -07:00
Madan Koyyalamudi
24c520f2ef Release 5.2.1.64V
Release 5.2.1.64V

Change-Id: I1a0ab61d30bdbedd67ffd5ab2d6df0edca72cfec
CRs-Fixed: 774533
2023-04-29 09:11:27 -07:00
Namita Nair
9422426d09 qcacld-3.0: Support build for OUT-OF-TREE IPA
As the IPA component has moved out of kernel,
WLAN currently does not have access to the IPA
header files that was previously part of kernel.
To resolve this, WLAN needs to include the path
to IPA header files, for successful compilation when
IPA_OFFLOAD is enabled. With this Kbuild change
now WLAN can support OUT-OF-TREE IPA module.

Change-Id: I56f66d3e7d7648ece5aeb68de1af7c0c5f59f84d
CRs-Fixed: 3482432
2023-04-29 09:11:27 -07:00
Jeff Johnson
463ddf6870 qcacld-3.0: Remove use of WLAN_OPEN_SOURCE
The WLAN_OPEN_SOURCE flag is a legacy flag which had a specific use
that is no longer applicable. So remove all usage of that flag.

Change-Id: If51b9421717bc82b3c200c6412a87b0e46a77476
CRs-Fixed: 3464926
2023-04-29 09:11:22 -07:00
Madan Koyyalamudi
a3909c0f4d Release 5.2.1.64U
Release 5.2.1.64U

Change-Id: I1f040b1cbd1cf2f4c4c009f0dd978f333e30575b
CRs-Fixed: 774533
2023-04-29 07:18:11 -07:00
Amruta Kulkarni
adef8d5e58 qcacld-3.0: Stop t2lm timer during disconnection
Add support to stop t2lm timer during sta disconnection
and clear t2lm mapping.

Change-Id: I59e724331eda8b67fd1405031bdb00d12805ad09
CRs-Fixed: 3479496
2023-04-29 07:18:10 -07:00
Arun Kumar Khandavalli
0d75e27c4e qcacld-3.0: Add the HE support for bitrate mask
Add HE support for bitrate mask standard interface in the driver.

Change-Id: Iad4dbec329beab5a922e8502f3b72ead27e5b467
CRs-Fixed: 3477589
2023-04-29 07:18:05 -07:00
Madan Koyyalamudi
799be3ae95 Release 5.2.1.64T
Release 5.2.1.64T

Change-Id: I08dcc9dab5a4109215e5bfff49aef290a8cee611
CRs-Fixed: 774533
2023-04-28 19:03:25 -07:00
Yu Wang
2f754dba7c qcacld-3.0: skip debug domain transition if system is rebooting
Considering the case as below:
System shutdown comes when ndo_open is waiting for cnss power
up complete.
cnss shutdown handler completes all of the completions, and so
ndo_open continues.
while at the same time, cnss driver is processing firmware ready
event and trying to start cld modules, which will change debug
domain from INIT to ACTIVE, then it may hit debug domain mismatch
assertion:
It allocates some memory in ndo_open context when debug domain is
INIT, but when trying to free the memory, the debug domain is ACTIVE.

To fix this issue, when system reboot is in progress, skip debug
domain transition, and also skip modules start to avoid state mismatch
between cnss driver and CLD driver.

Change-Id: Ibc411e13e48269c66ec71aba6304578c9049f798
CRs-Fixed: 3470170
2023-04-28 19:03:25 -07:00
Madan Koyyalamudi
496e5681ab Release 5.2.1.64S
Release 5.2.1.64S

Change-Id: Ie18584cdefcea8be5493d31e6ba27d008c1a8441
CRs-Fixed: 774533
2023-04-28 17:39:21 -07:00
Jianmin Zhu
eb33a28d70 qcacld-3.0: Check vdev up instead of connected when chang RSO
When roaming happens, vdev CM changes from CONNECTED to ROAMING first,
vdev still keeps up, then RSO becomes ROAMING_IN_PROG later,
so need permit RSO cmd during CM ROAMING state.

Change-Id: If4902dcff6b8b4f169fb43da4a889b09e1c2875d
CRs-Fixed: 3482158
2023-04-28 17:39:21 -07:00
Madan Koyyalamudi
0487b4bd3e Release 5.2.1.64R
Release 5.2.1.64R

Change-Id: I578ad7abb00160b24e681487e0917cdb74028292
CRs-Fixed: 774533
2023-04-27 19:54:15 -07:00
Jingxiang Ge
5cfbcd0347 qcacld-3.0: block all wmi cmds if wow enable ack failed
If wow enable failed, block all the wmi cmds until
sub system recovery.

Change-Id: I0920b0ef304719f40f5ca7e61a2beb3687e16707
CRs-Fixed: 3471908
2023-04-27 19:54:14 -07:00
Madan Koyyalamudi
30c7d9714e Release 5.2.1.64Q
Release 5.2.1.64Q

Change-Id: I0ea9c98f41acf5c5bba97c94aac54a84f5635eaa
CRs-Fixed: 774533
2023-04-27 17:13:44 -07:00
Jianmin Zhu
d3bd22dfe0 qcacld-3.0: Abort RSO enable for not all mlo links up
While mlo wlan0 sta connecting with vdev0 up and vdev1 not up yet, wlan1
vdev2 disconnected, enabled roaming on other connected sta, then vdev0 RSO
enabled before vdev1 up, mlme session for vdev1 wasn't created in F/W. When
roaming happened, vdev1 peer wasn't deleted, F/W asserted.

To fix it, for mlo sta, follow legacy sta,  if not all of requested links
are up, abort RSO operation except deinit on it.

Change-Id: I7026614ab91cf0a603c97e962433dc5139b210dd
CRs-Fixed: 3471655
2023-04-27 17:13:43 -07:00
Asutosh Mohapatra
4a32419413 qcacld-3.0: Don't start vdev trans if vdev ops is pending
Currently for REASSOC command host starts vdev ops
and tries to use vdev. In parallel if host receives
interface down and starts vdev trans then proceeds
to stop adapter and destroys the vdev, this leads
to null pointer dereference if vdev is destroyed
first.

This happens because driver doesn't wait for vdev ops
to complete after starting vdev trans.

To address this issue, start vdev trans and wait for
vdev ops to complete before proceeding to execute
further.

Change-Id: I363d05f742f7569dffed70cfa9b6bb9a0a766d9e
CRs-Fixed: 3445858
2023-04-27 17:13:38 -07:00
Madan Koyyalamudi
d1a1127754 Release 5.2.1.64P
Release 5.2.1.64P

Change-Id: I4b19207eb0caf5387417af4cb844bd34c25beccc
CRs-Fixed: 774533
2023-04-27 07:28:57 -07:00
Gururaj Pandurangi
1ba00ba5d6 qcacld-3.0: Fix incorrect center frequency seg1 value
Fix incorrect center frequency seg1 value in ch params
structure by initializing it. This value is later used as
320 MHz band center frequency and results in all 6 GHz
channels to be devoid of 320 MHz bonded pairs and thus
reducing maximum supported BW to less than 320 MHz.

Change-Id: Icc996393654e3571b6969a40784ca622130959cb
CRs-Fixed: 3457159
2023-04-27 07:28:57 -07:00
Madan Koyyalamudi
f6f321763e Release 5.2.1.64O
Release 5.2.1.64O

Change-Id: Ifffd028cf709e84561ff238bf10cd8bd0ad5eb82
CRs-Fixed: 774533
2023-04-26 21:49:50 -07:00
Jianmin Zhu
4fd188762e qcacld-3.0: Avoid sta channel switch when not connected
While STA handle csa event from F/W and switch channel, disconnect
happened and bss peer was removed from vdev, assert happened in
cfg80211_ch_switch_notify.

To fix it, if found sta isn’t connected, don’t call
cfg80211_ch_switch_notify.

Change-Id: I016749ac4ac87563cc3de2aa930e7caeac858378
CRs-Fixed: 3478814
2023-04-26 21:49:49 -07:00
Madan Koyyalamudi
2c9e6b2794 Release 5.2.1.64N
Release 5.2.1.64N

Change-Id: I5439a3c35cac820186177a9f0cfb3ef411f4b29d
CRs-Fixed: 774533
2023-04-26 18:24:44 -07:00
Jianmin Zhu
a761584aa7 qcacld-3.0: Enable STA CSA for bandwidth indication ie
Channel switch wrapper IE V2 includes bandwidth indication sub IE from
IEEE802.11be draft 3.0 optionally.
When receive CSA event, Eht STA parse bandwidth indication IE of connected
Eht AP for channel switch or puncture update.

Change-Id: Id5740a1394766b02b65c5d6791ce98780bbacbd4
CRs-Fixed: 3458348
2023-04-26 18:24:43 -07:00
Vinod Kumar Pirla
c72b4146c6 qcacld-3.0: Use ML BSS peer MLD address for PMKSA operation
If PMKID present in AP expires, AP rejects the PMKID based association.
Current design is to clear the cache using BSSID/MAC address of link
in such cases to let a fresh SAE authentication to happen.
But host driver stores PMKSA with MLD address for ML BSS.
Adapt to the same and update PMKSA cache clear APIs to use
MLD address instead of link address.

Use the API which gives ML BSS peer's MLD address for
MLO VDEV or else legacy address for non MLO VDEV to remove
the correct entry in PMKSA cache based on association.

Change-Id: I4af9814e377737eef4a54fdf15db9f6bac38d954
CRs-Fixed: 3433723
2023-04-26 18:24:38 -07:00
Aditya Kodukula
29d20cf6b4 qcacld-3.0: Update MCS map for HE in wiphy
Currently driver doesn't update mcs info while updating
he capabilities in wiphy. This leads to kernel rejecting
higher mcs when NL80211_CMD_SET_TX_BITRATE_MASK function
is invoked from userspace.

Change-Id: I7370de077364fa4287171544ee3ca1f495f9e519
CRs-Fixed: 3477587
2023-04-26 18:24:33 -07:00
Madan Koyyalamudi
c26153a2ae Release 5.2.1.64M
Release 5.2.1.64M

Change-Id: I7e5fc955c08bd3cc4f59e1ef5c67300364180a7a
CRs-Fixed: 774533
2023-04-26 16:51:08 -07:00
Abhishek Singh
96442f45d0 qcacld-3.0: Cleanup the SIR definitions of action frame
Cleanup the SIR_* definitions of action frame and replace them
with common enums.

Change-Id: Ib72f9c452ca59e328d0f15a8643f6a803e517433
CRs-Fixed: 3479554
2023-04-26 16:51:07 -07:00
Paul Zhang
790a506ad9 qcacld-3.0: Resolve compile issue for Fillmore
Add macro check about CFG80211_LINK_STA_PARAMS_PRESENT for
function wlan_cfg80211_tdls_extract_eht_params.

Change-Id: I1982d97f06e333936ea45828f5082d322664a2c0
CRs-Fixed: 3479244
2023-04-26 16:51:02 -07:00
Sheenam Monga
e5c943d4b4 qcacld-3.0: Add support to get num_of_pwr level for 320 MHz chan width
Currently, support to get num_of_pwr level for 320 MHz chan width is
not present, so it is considered as Invalid channel width.

Add support to get num_of_pwr level for 320 MHz chan width

Change-Id: Iced6d58ac356bc85864ff4a240ca6f3ee35df94d
CRs-Fixed: 3478174
2023-04-26 16:50:45 -07:00