Commit Graph

26702 Commits

Author SHA1 Message Date
Madan Koyyalamudi
01ced8b22b Release 5.2.1.34X
Release 5.2.1.34X

Change-Id: I5c2bc394583e8e65c141f648b754e6e4ba377796
CRs-Fixed: 774533
2022-08-30 05:41:41 -07:00
Kiran Kumar Lokere
60846e8aa3 qcacld-3.0: Do not reset STA connection caps in testbed mode
Do not limit the STA supported BW capabilities to BSS
supported BW during the connection if the STA is operating
in testbed mode.

Change-Id: Idad613b7ea28059ab3ca9f474b2b0923cb4d5405
CRs-Fixed: 3271416
2022-08-29 20:01:00 -07:00
Madan Koyyalamudi
f7f6b1446a Release 5.2.1.34W
Release 5.2.1.34W

Change-Id: Id68552d5f3cd5d074d5555cc2b7297f2674331d5
CRs-Fixed: 774533
2022-08-29 19:09:05 -07:00
Jeff Johnson
c5b6befd72 qcacld-3.0: Fix misspellings of "capability" and "capabilities"
Fix misspellings of "capability" and "capabilities":
capabiities ==> capabilities
capabilites ==> capabilities
capabilties ==> capabilities
capabilty ==> capability
capablities ==> capabilities
capablity ==> capability

Change-Id: Ie4f14088fb86b63e3ee985c004f82d73d2c73963
CRs-Fixed: 3274606
2022-08-29 19:09:04 -07:00
Madan Koyyalamudi
5aa6d8c36c Release 5.2.1.34V
Release 5.2.1.34V

Change-Id: Ie98a074ddb30813b22a722381e0f6bbd70432187
CRs-Fixed: 774533
2022-08-29 14:55:34 -07:00
Bing Sun
8e8be8a27f qcacld-3.0: Indicate sta radio measurement capability to EasyMesh
EasyMesh agent fails to send measurement request to the client which
supports radio measurement.
When EasyMesh queries sta information, driver should indicate correct
radio measurement capability to EasyMesh. Otherwise EasyMesh overwrites
sta radio measurement capability with incorrect value.

Change-Id: I2b916e006786e049610c577b781dd569f344e7f2
CRs-Fixed: 3272631
2022-08-29 14:55:33 -07:00
Jeff Johnson
155dea7b77 qcacld-3.0: Fix misspellings of "return"
Fix misspellings of "return":
Retrun ==> Return
Reture ==> Return
retrun ==> return
reutrns ==> returns

Change-Id: Iad8bc9f4e9d94b05ed47fd91a591ea0dbc92fde2
CRs-Fixed: 3274605
2022-08-29 14:55:28 -07:00
Madan Koyyalamudi
01d7fe15c3 Release 5.2.1.34U
Release 5.2.1.34U

Change-Id: I39aed0ecd863248ba4ecb2d8ba6c9f27bcef04dc
CRs-Fixed: 774533
2022-08-29 10:00:26 -07:00
Ashish Kumar Dhanotiya
2bfe9c0cc2 qcacld-3.0: Add ini support for cpu cxpc threshold
Currently cpu cxpc threshold is hardcoded in host driver.
As, Each platform has different threshold for PM QoS and
this threshold needs to be set accordingly.

To address above issue, add new ini to set cpu cxpc threshold.

Change-Id: I34d1e7f836585f3ff5e8d0044c6c224f58e99776
CRs-Fixed: 3263352
2022-08-29 10:00:26 -07:00
Madan Koyyalamudi
cf83a97117 Release 5.2.1.34T
Release 5.2.1.34T

Change-Id: Ide64171907fa14eae2448c822d2efb1ae9fb4f57
CRs-Fixed: 774533
2022-08-28 19:08:14 -07:00
Kiran Kumar Lokere
e4d472ff82 qcacld-3.0: Reset the 320 MHz support based on connection BW
Reset the 320 MHz BW support in EHT capabilities for
connection with less than 320 MHz bandwidth.

Change-Id: Ifd9240597170556b835aea3132e106127cf1432a
CRs-Fixed: 3271501
2022-08-28 13:58:36 -07:00
Madan Koyyalamudi
f1dc77de55 Release 5.2.1.34S
Release 5.2.1.34S

Change-Id: Iacf787a2691cacf79dbceb5eaf06eb89ccf34542
CRs-Fixed: 774533
2022-08-27 22:57:28 -07:00
Amit Mehta
be7a5a4e10 qcacld-3.0: Add feature flag to skip msi int mask set
Add feature flag to skip MSI interrupt mask set of
mon rx ring if device mode is not monitor mode to
fix double free issue resulting from call
to api from two different contexts.

Change-Id: Ie065c1034ef8b9f2cf4eb762c4a9be23d9799efd
CRs-Fixed: 3277477
2022-08-27 22:57:27 -07:00
Rakesh Pillai
dbe1cf2b01 qcacld-3.0: Validate fse metadata before aggregation of FISA flow
When aggregation of a flow is in progress, there can be case
when the HW flow table entry match may fail for few packets.
Such packets, even though belong to a flow already present in
flow table, are routed independently to any RX ring.

When software checks this rx ring ID, from the independently routed
packet and compares the ring ID against the one which is assigned
for the flow, there will be a mismatch leading to unwanted behaviour.

Hence, always validate the fse_metadata before taking any
action on the basis of rx ring ID mismatch. The non-matching
packets, with invalid fse metadata can be submitted to network
stack independently.

Change-Id: Ia95f20ef1050bc981b2d22571b612fd2af6f6a65
CRs-Fixed: 3272353
2022-08-27 22:57:22 -07:00
Kiran Kumar Lokere
c38d5d534c qcacld-3.0: Config support for assoc link band and no.of links
Config support for assoc link band and max number of links.

Change-Id: I6b9999216691a191e3f02d3756166203055c6c96
CRs-Fixed: 3271628
2022-08-27 22:57:16 -07:00
Vinod Kumar Myadam
e28e829e00 qcacld-3.0: Add sanity to optimize log prints
In reg_is_6ghz_psc_chan_freq, logging all channels except
6 GHz band channels.

Added 6 GHz band check in wma_update_channel_list to avoid
redundant log prints in reg_is_6ghz_psc_chan_freq

Change-Id: I1a4a43707e8dc44d0c6f4f6d6ac9f86324a4d2fd
CRs-Fixed: 3277118
2022-08-27 22:57:11 -07:00
Madan Koyyalamudi
e96d068887 Release 5.2.1.34R
Release 5.2.1.34R

Change-Id: I029d47c03fbce56c6bbc636a8fa7c0d02aa24863
CRs-Fixed: 774533
2022-08-27 18:20:14 -07:00
Rahul Gusain
a73503ed1d qcacld-3.0: Add support for NAN iface in tx mgmt frames
Currently, host drivers drops NAN tx mgmt frames while transmitting
it to firmware as it is unable to find the peer for NAN and
also, random mac check is false because tx channel is not available
for NAN (kernel sends channel as null).
As peer does not exist for NAN, creates self peer while creating
vdev.
So, to fix this, add check for NAN iface to retrieve peer from vdev
mac address and use this peer in tx mgmt frames.

Change-Id: I8ef9e3502397a667841eb6e852ed5755049af44d
CRs-Fixed: 3275426
2022-08-27 18:20:14 -07:00
Mohammed Ahmed
e3bca1b2a1 qcacld-3.0: Fix uninitialized return variables
Current code has return variables that are declared but not initialized.
To fix this, add initialization with a default value on declaration.

Change-Id: I62a69892f031351036417a77998d13a38bd41420
CRs-Fixed: 3273478
2022-08-27 18:20:08 -07:00
Amruta Kulkarni
d7bed8d11c qcacld-3.0: Set dp peer flags for single link ML roaming
In case of single link mlo roaming, set both dp peer flags
is_first_link and is_primary_link to 1, then datapath will
create MLD peer.

Change-Id: I935c42b2c3eaa558028d45bdbf502007723f656c
CRs-Fixed: 3271224
2022-08-27 18:20:02 -07:00
Madan Koyyalamudi
71f04b2f62 Release 5.2.1.34Q
Release 5.2.1.34Q

Change-Id: If02156d7c7d03c5130a18cd0569f7dd9d639d4db
CRs-Fixed: 774533
2022-08-27 15:15:40 -07:00
Kiran Kumar Lokere
5f0e060454 qcacld-3.0: Fix num of partner links for single link connection
Set the number of partner links to min of assoc response ML
IE number of partner links and user configured number of
links to fix the disconnection in single link MLO connection
due to mismatch in the number of links. MLO manager triggers
the connect request for non-zero partner links and connect
request fails if number of partner links is zero leads to
connection failure.

Change-Id: I25f5d5e9df979af1efb4e0db961a65e077bd0759
CRs-Fixed: 3271499
2022-08-27 15:15:40 -07:00
Pragaspathi Thilagaraj
74d3b5dbcb qcacld-3.0: Enable SAE auth cache api for Diag logging
SAE authentication frames during roaming should be cached and
printed after roam scan done print. This support is not present
in diag logging.
Enable SAE auth frame caching for diag logging.

Change-Id: I205bd2fd1c91253d1e6aaf3361857baf67ccd6fd
CRs-Fixed: 3254216
2022-08-27 15:15:33 -07:00
Vinod Kumar Pirla
1e3a6f347e qcacld-3.0: Use MLD address for ML VDEV as WOW pattern
In certain concurrencies the total WOW patterns sent
to FW is exceeding the FW limit of five patterns which
can lead to ping failure as FW may drop the packet.

For STA mode ML adapter, send only the MLD MAC address
on which the data packet will be received.

Do not send ARP pattern in SAP/P2P-GO mode which is
sent with length zero.

On successful pattern delete request sent to FW,
decrement the default pattern count.

Change-Id: Ib45cf797a4bc3c6fbc23a2a95e877d7d8af34629
CRs-Fixed: 3257348
2022-08-27 15:15:27 -07:00
Madan Koyyalamudi
28c71494da Release 5.2.1.34P
Release 5.2.1.34P

Change-Id: I0e92ff12f3d2233f661ee149d529eb7a811dbb0b
CRs-Fixed: 774533
2022-08-27 13:48:21 -07:00
Deeksha Gupta
cbf711498e qcacld-3.0: Inform frame via assoc link net device even in other interface
As per single netdev design, if the frame is received on the
on link vdev then retrieve assoc link net device and use that
to send the frame to userspace.

Change-Id: I85b2f7363cfb237877ca945c9b627f2bf89d0f54
CRs-Fixed: 3272194
2022-08-27 13:48:20 -07:00
Jianmin Zhu
e3ff91adef qcacld-3.0: Don't treat assoc req as reassoc req
Add a flag to indicate assoc req is used for this roaming,
don't treat assoc req as reassoc req.

Change-Id: I3a13985b6b173892fbe281668d07f7179d1c364c
CRs-Fixed: 3274314
2022-08-27 13:48:14 -07:00
Jianmin Zhu
7d579bf662 qcacld-3.0: Fix assert for deauth sent on inactive link
Set WMI_MLO_MGMT_TID for mlo link agnostic mgmt frames.

Change-Id: I79fdd1f0bd9176ae156d1c048cfe87a25aa143d0
CRs-Fixed: 3265334
2022-08-27 13:48:08 -07:00
Madan Koyyalamudi
38ce21a747 Release 5.2.1.34O
Release 5.2.1.34O

Change-Id: I9b766b01cf1331c75ca051fae8c924de804174f5
CRs-Fixed: 774533
2022-08-26 14:20:52 -07:00
Rahul Gusain
e2ad3f860d qcacld-3.0: Add support for self peer for NAN iface
NAN peer does not exist but mgmt frames requires peer object
while transmitting to firmware. To support peer for NAN, creates
the self peer for NAN iface while creating vdev and transmit the
peer object along with mgmt frames.
Currently, host driver supports the self peer for STA, P2P,
Monitor and OCB vdev only.
So, to create and delete self peer, add check for NAN iface also.

Change-Id: I9b0652a16bceaeeb4f22d052d39b9e301b4b411b
CRs-Fixed: 3275425
2022-08-26 14:20:52 -07:00
Madan Koyyalamudi
d0b6cf395c Release 5.2.1.34N
Release 5.2.1.34N

Change-Id: I177bfd5c7583a07627d43e0542cb4019c99a1100
CRs-Fixed: 774533
2022-08-26 09:10:01 -07:00
Srinivas Dasari
8f06292a0b qcacld-3.0: Avoid CH_WIDTH_320MHZ dependency on 11BE define
CH_WIDTH_320MHZ definition is in 11BE define currently and it's
causing duplicate code in 11BE supported/unsupported cases.
Definition need not be in 11BE define as it doesn't cause any
impact on memory.

Change-Id: I9fa391474f513755000368cc2e41e004446353d0
CRs-Fixed: 3246578
2022-08-26 09:10:01 -07:00
Madan Koyyalamudi
f5b8996acc Release 5.2.1.34M
Release 5.2.1.34M

Change-Id: I5a1a3f127090399fa6370a5906314a2d7264913a
CRs-Fixed: 774533
2022-08-26 07:31:35 -07:00
Jeff Johnson
bb37dcac25 qcacld-3.0: Remove obsolete tSirWPSAssocRspIE
tSirWPSAssocRspIE is only used to define SirWPSAssocRspIE in
tSirAPWPSIEs, but that, in turn, is never used. Since these are
obsolete, remove them.

Change-Id: I3a40a4a3a099de8d70b10e9f619420a18f045588
CRs-Fixed: 3275577
2022-08-26 07:31:35 -07:00
Yu Wang
1b69e2e549 qcacld-3.0: fill period to send CoAP keepalive message
Fill param 'timeout' for WMI_WOW_COAP_ADD_KEEPALIVE_PATTERN_CMDID,
which represents the period to send CoAP keepalive message.

Change-Id: I86b87470277eee00de9e33a07e635dd1a5412f3d
CRs-Fixed: 3275955
2022-08-26 07:31:29 -07:00
Madan Koyyalamudi
f0fe37107b Release 5.2.1.34L
Release 5.2.1.34L

Change-Id: Id9334e717578c8d51a23609de4faef4788af82c2
CRs-Fixed: 774533
2022-08-26 05:49:38 -07:00
Asutosh Mohapatra
2ce9a1009f qcacld-3.0: Use reg_is_chan_enum_invalid API to check for invalid channels
Currently the INVALID_CHANNEL assumes the value 0xBAD. When a channel list
array is indexed, there is an array out of bound error when the channel
list array is indexed using INVALID_CHANNEL or when the index is greater
than equal to NUM_CHANNELS. So a check for an invalid channel enum is
likely to be, (ch_enum == INVALID_CHANNEL) && (ch_enum  >= NUM_CHANNEL).

To address this issue, use reg_is_chan_enum_invalid API to check if
the channel is invalid.

Change-Id: Ie1fa97242607deff08d6987b955d2d88b534b44c
CRs-Fixed: 3271922
2022-08-26 05:49:37 -07:00
Utkarsh Bhatnagar
20e4149c05 qcacld-3.0: Restrict TDLS Setup frames offchannel params
Restrict TDLS Setup frames offchannel params such as
6 GHz supported channels and supported opclasses
should only be sent when country supports VLP power.

Change-Id: I959f83b68daed41833e5b89bb777672694eb7ce5
CRs-Fixed: 3264718
2022-08-26 05:49:32 -07:00
Utkarsh Bhatnagar
8b9abea155 qcacld-3.0: Populate TDLS peer HT/VHT Cap only if device supports
Populate TDLS peer HT/VHT Cap only if selfdot11mode supports
HT/VHT capabilities.

Change-Id: Ic1eb45f26b00b2b51a516b8f0a7035918e917a72
CRs-Fixed: 3266169
2022-08-26 05:49:26 -07:00
Madan Koyyalamudi
3edfbc69f8 Release 5.2.1.34K
Release 5.2.1.34K

Change-Id: I7565042da7a7ba133d65c9a9d63e895dbee6078f
CRs-Fixed: 774533
2022-08-26 00:35:40 -07:00
Amruta Kulkarni
c0e0594781 qcacld-3.0: Handle link specific reassociation response generation failure
For MLO roaming when link specific re-association response generation
fails abort roaming.

Change-Id: I116891ff08942f661fdedc0ffbef5bd914253b66
CRs-Fixed: 3273488
2022-08-26 00:35:40 -07:00
Madan Koyyalamudi
937597d663 Release 5.2.1.34J
Release 5.2.1.34J

Change-Id: Ibc98f1f1d10e6be516a2508e7047c3abd9552c42
CRs-Fixed: 774533
2022-08-25 22:09:38 -07:00
Jeff Johnson
e7e0e0c140 qcacld-3.0: Fix misspellings "disbale" and "disbaled"
Fix misspellings:
disbale ==> disable
disbaled ==> disabled
Disbaled ==> Disabled

In addition do further cleanup of the hdd_green_ap_check_enable()
documentation.

Change-Id: Id7e26d2c8ef7410a124e04f4d9a5968be7f37b88
CRs-Fixed: 3274604
2022-08-25 22:09:38 -07:00
Jeff Johnson
57774b32d2 qcacld-3.0: Fix misspelling "Ponter"
Fix misspelling: Ponter ==> Pointer

Change-Id: I25bbe4468b7433946571d5a1455423d06b3d9a67
CRs-Fixed: 3274603
2022-08-25 22:09:33 -07:00
Wu Gao
245cdcb31c qcacld-3.0: Correct the method to parse TDLS supported channels
It reads supported channels incorrect and cause setup TDLS link off
channel failed. This change uses correct method to parse TDLS supported
channels.

Change-Id: I0c605497df1c50aadc276634f641aa6c37c6932a
CRs-Fixed: 3265112
2022-08-25 22:09:28 -07:00
Jeff Johnson
4b47333a44 qcacld-3.0: Fix misspelling "firmare"
Fix misspelling: firmare ==> firmware

Change-Id: I625443e4333b1c9326fff93ab3f4beed2d08cc01
CRs-Fixed: 3274602
2022-08-25 22:09:22 -07:00
Jeff Johnson
72236b005a qcacld-3.0: Fix misspelling "conection"
Fix misspelling: conection ==> connection

Change-Id: Ieac47bcf8df7f83396df9076b8ef416a01efb66a
CRs-Fixed: 3274601
2022-08-25 22:09:17 -07:00
Jeff Johnson
cfd6aff18a qcacld-3.0: Fix misspellings of "adapter"
Fix multiple misspellings of "adapter:
adpater ==> adapter
adpter ==> adapter
adatper ==> adapter
adapte ==> adapter

Change-Id: If4143516cc1fa41dc12f5e8ec3effdde7b52e8f6
CRs-Fixed: 3274600
2022-08-25 22:09:11 -07:00
Jeff Johnson
20e9462c36 qcacld-3.0: Fix misspelling "exchnage"
Fix misspelling: exchnage ==> exchange

Change-Id: I3a4ce875f190e685f4b780422c91c2a25a393f9b
CRs-Fixed: 3274599
2022-08-25 22:09:05 -07:00
Jeff Johnson
ef81a4745f qcacld-3.0: Fix misspelling "lavel"
Fix misspelling: lavel ==> level

Change-Id: If355bd3a3384b35ab5c8943ead367bc86b356fa8
CRs-Fixed: 3274598
2022-08-25 22:09:00 -07:00