Commit Graph

23363 Commits

Author SHA1 Message Date
Madan Koyyalamudi
5a88a9fe87 Release 5.2.0.240H
Release 5.2.0.240H

Change-Id: Idae4e15aed9fce9e466d784dfac4c64b91d4ac3c
CRs-Fixed: 774533
2021-07-14 07:25:23 -07:00
Utkarsh Bhatnagar
7f9ad91112 qcacld-3.0: Move sme_ft_api to connection manager ucfg api
Move sme_ft_api to connection manager ucfg apis.

Change-Id: If710be0d8a4a9d45d37f588389e40f66c62c7487
CRs-Fixed: 2990112
2021-07-14 07:25:23 -07:00
Madan Koyyalamudi
d8cb4f5401 Release 5.2.0.240G
Release 5.2.0.240G

Change-Id: Ia847be919d555987dcde24546238122f41a59cdb
CRs-Fixed: 774533
2021-07-14 04:22:44 -07:00
Deeksha Gupta
13bd6e5752 qcacld-3.0: Add support for twt get_status with dialog_id 0
Currently, if there is no twt session present as part
of the twt get_status query with dialog_id = 0, host
returns failure.

Add support to include the session state, wake_duartion
and wake_interval for TWT get_status command with dialog_id = 0.

Change-Id: Ie59310dc07c9954da96cee6568de856be8f67652
CRs-Fixed: 2989788
2021-07-14 04:22:43 -07:00
Madan Koyyalamudi
cbe61bc574 Release 5.2.0.240F
Release 5.2.0.240F

Change-Id: I15f29d0c1b0386724d6a7355de07ac236ad2854b
CRs-Fixed: 774533
2021-07-14 02:05:03 -07:00
Surabhi Vishnoi
60cebbb9e9 qcacld-3.0: Fill correct 802.11hdr in rx data pkts in pkt capture mode
All msdu's which are received in single mpdu will have same 802.11
header. Hardware fills header of only first msdu. So copy the
first msdu's header to all msdu's which are received in single
msdu in packet capture mode.

Change-Id: I1c9fd55e571eda77be0ab0863e03cd61b848b842
CRs-Fixed: 2968770
2021-07-14 02:05:02 -07:00
Madan Koyyalamudi
2f0a9fb515 Release 5.2.0.240E
Release 5.2.0.240E

Change-Id: Ie3964d0c52c843cf8ecf0609708865037e6d05b4
CRs-Fixed: 774533
2021-07-13 04:11:48 -07:00
Abhishek Singh
2a28a53ee0 qcacld-3.0: Remove unused functions and structures from CSR
Remove unused functions and structures from CSR.

Change-Id: I0441a74423294cdbe11a906700147fd5cbaad75b
CRs-Fixed: 2989123
2021-07-13 04:11:48 -07:00
Pragaspathi Thilagaraj
2a34774b65 qcacld-3.0: Update fils erp sequence number after roaming
Fils info is stored per vdev. In RSO scan mode command, in FILS
TLV, the next ERP sequence number to be used in the next FILS
connection is sent to firmware and is filled from the vdev fils
info. But after roam sych event is received, the erp sequence
number is not updated in the vdev fils info, causing FILS roaming
failure.

Update the fils erp sequence number to vdev fils info after
roaming.

Change-Id: Ibc624d9c4b0fc535c430881d3033169b002c8419
CRs-Fixed: 2988113
2021-07-13 04:11:43 -07:00
Madan Koyyalamudi
fad1d15983 Release 5.2.0.240D
Release 5.2.0.240D

Change-Id: Icc1f1e68d86a604de2f799cb6ba94f3d2222a8b8
CRs-Fixed: 774533
2021-07-12 21:20:34 -07:00
Jianmin Zhu
d7866af8ae qcacld-3.0: enable DP pending memory flushing
Enable DP pending memory flushing by macro WLAN_DP_PENDING_MEM_FLUSH.

DP references of the peer will be removed once we receive PEER
unmap message from the firmware. If the firmware has failed to
send the peer unmap message (due to an assert in FW), then the
peer entries will remain the inactive peer list and will trigger
a explicit QDF_BUG() during driver unload.
Force clean the inactive peer/vdev list during driver unload in such
cases.

Change-Id: I2565cd4f1a4afea8536bcca86147d6fa028be554
CRs-Fixed: 2988733
2021-07-12 21:20:34 -07:00
Madan Koyyalamudi
b69172e14d Release 5.2.0.240C
Release 5.2.0.240C

Change-Id: I0c1ca9b446298daa96b194fafb62323b660279c7
CRs-Fixed: 774533
2021-07-12 19:12:01 -07:00
Amruta Kulkarni
0c30cb8f04 qcacld-3.0: Roam sync frame event Wma cleanup
Wma to target_if migration for ROAM SYNC FRAME EVENT

Change-Id: I2a56dadf7f45a13a577bdf49bc9514ab2e6dee29
CRs-Fixed: 2968404
2021-07-12 19:12:01 -07:00
Madan Koyyalamudi
e2171a078f Release 5.2.0.240B
Release 5.2.0.240B

Change-Id: Ie88c514070e177347d632d5f406f19c2ac6cedc4
CRs-Fixed: 774533
2021-07-12 14:20:19 -07:00
Surabhi Vishnoi
0d47f72dee qcacld-3.0: Fill Coding and STBC in HE data of radiotap header
Fill the Coding info and STBC in HE data field of radiotap
header for TX data packets in packet capture mode.

Change-Id: I173ce1846259ee9e94587e360256161f8147df08
CRs-Fixed: 2984436
2021-07-12 14:20:18 -07:00
Madan Koyyalamudi
b1fda46da6 Release 5.2.0.240A
Release 5.2.0.240A

Change-Id: Id9b2ee9cf4c5bc5fe2748690ebf0251321d86b04
CRs-Fixed: 774533
2021-07-12 12:09:41 -07:00
Abhishek Singh
bac97712b7 qcacld-3.0: Cleanup crypto params from roam profile struct
Cleanup crypto params from roam profile struct.

Change-Id: Ib3acb7f2ee669ba05da7011a56a54487d5100033
CRs-Fixed: 2988892
2021-07-12 12:09:40 -07:00
Lin Bai
35b7e626aa qcacld-3.0: Enhance conc-info del/restore for 3-SAP concurrency
When all vdevs in same mode(like SAP here),
MAX_NUMBER_OF_CONC_CONNECTIONS vdevs deleted but failed
to be restored as count sanity.

Vdev count of MAX_NUMBER_OF_CONC_CONNECTIONS is also valid,
and should be restored.

Change-Id: I2ef6c9a5b1ef96098e14b6a57ad8006d806309b0
CRs-Fixed: 2988669
2021-07-12 12:09:36 -07:00
Madan Koyyalamudi
8fce157126 Release 5.2.0.240
Release 5.2.0.240

Change-Id: I301d23300b05cb0d034845689eabe98853ffd8ee
CRs-Fixed: 774533
2021-07-12 10:02:24 -07:00
Bapiraju Alla
656d05a411 qcacld-3.0: Add generation and parsing support for RNR IE
Add dot11f frame generation and parsing support for
reduced neighbour report IE.

Change-Id: Iae0fe895818c0992d3a03023b85d1598eb72db18
CRs-Fixed: 2970944
2021-07-12 10:02:24 -07:00
Madan Koyyalamudi
974e5b42d5 Release 5.2.0.239Z
Release 5.2.0.239Z

Change-Id: I13fd4db474401927bc1aad7f0d722e728f249114
CRs-Fixed: 774533
2021-07-12 07:45:41 -07:00
Utkarsh Bhatnagar
3f9add4ec4 qcacld-3.0: Handle A-EDCA based on STA-SAP concurrency
Handle A-EDCA based on STA-SAP concurrency. Also, update
RTS profile based on the concurrency such that:
1) For STA and SAP concurrency, send STA's AP EDCA
   params to fw. Also, for SAP or P2P Go, update the
   value in Broadcast EDCA params as well so that it
   should be broadcasted to other stations connected
   to that BSS. Also, update the RTS profile value to
   0x11. It will let FW disable SIFS bursting and send
   RTS for every frame.
2) For standalone STA (can even happen after SAP/P2P Go
   disconnects), if the parameters are updated, reset
   them to original parameters and send them to FW.
   Also, update the RTS profile value to the value
   it was set before.
3) For standalone SAP (can even happen after STA
   disconnects), if the parameters are updated, reset
   them to original parameters and send them to FW and
   reset the  Broadcast EDCA params as well so that it
   should be broadcasted to other stations connected
   to that BSS Also, update the RTS profile value to
   which it was set before.

Change-Id: Idb2b04b1b0bddb51cea9c5665847d04817a90aca
CRs-Fixed: 2949484
2021-07-12 07:45:40 -07:00
Ashish Kumar Dhanotiya
55ab069325 qcacld-3.0: Move dump in progress feature to separate file
With this change introduce featurization for dump in progress
and move implementation related to this feature to new files.

Change-Id: I4614aecde57a9c5ffec765f3afaa943c58956132
CRs-Fixed: 2979226
2021-07-12 07:45:34 -07:00
Ashish Kumar Dhanotiya
076d5ae582 qcacld-3.0: Add synchronizatoin for flush log completion
Currently there is no synchronization for flush log completion
between fw and userspace. When host driver receives command to
flush logs, it sends the command to fw and releases the control
of the userspace thread, it does not wait for the flush log
completion event from the fw and because of which user space
does not know when the host and fw completes the log flush.

To address above issue add a logic to wait for fw event of
flush log completion before host returns control to userspace.

Change-Id: I04fa0aead146d2b7b8627e4101c6dcd99d3947e9
CRs-Fixed: 2983375
2021-07-12 07:45:28 -07:00
Madan Koyyalamudi
3b744d3ecb Release 5.2.0.239Y
Release 5.2.0.239Y

Change-Id: Ia0fbe842691b77eab5a22c60426bfd0bab71fc57
CRs-Fixed: 774533
2021-07-10 21:55:11 -07:00
Liangwei Dong
ec02055c51 qcacld-3.0: Add more SAP mandatory channel frequency
According to new user request, add channel frequency 5745,
5765, 5785, 5805 to SAP mandatory channel list.

Change-Id: Icf1c96c07514f65a229e00d4330eaf0af5daa4ab
CRs-Fixed: 2987664
2021-07-10 21:55:11 -07:00
Madan Koyyalamudi
ebce68e600 Release 5.2.0.239X
Release 5.2.0.239X

Change-Id: I3713fa3a49939fbd41cd2d3ddff5614513137da9
CRs-Fixed: 774533
2021-07-10 08:01:30 -07:00
Utkarsh Bhatnagar
6e47f44e47 qcacld-3.0: Don't use reg_cache_channel_state
As part of regulatory cleanup,
reg_cache_channel_state is removed.

So,use reg_cache_channel_freq_state to cache
regulatory channel list instead on
reg_cache_channel_state

Also, replaced Channel Number with Channel freq
in hdd_cache_channel_info()

Change-Id: I5625b8ef4e5173d8f0d03a189ec06144a60bad6a
CRs-Fixed: 2908014
2021-07-10 08:01:30 -07:00
Madan Koyyalamudi
7fd33a84c4 Release 5.2.0.239W
Release 5.2.0.239W

Change-Id: I8139f918396e0695ebecb073b29b6cf84d6c5595
CRs-Fixed: 774533
2021-07-10 02:58:24 -07:00
Abhishek Singh
15222dc106 qcacld-3.0: Cleanup pCurRoamProfile from csr session
Cleanup pCurRoamProfile and related code from csr session

Change-Id: I58cd74ed82f6bbccbdea3218c83c18dab2a8afb4
CRs-Fixed: 2987926
2021-07-10 02:58:24 -07:00
Madan Koyyalamudi
4346d0bdb8 Release 5.2.0.239V
Release 5.2.0.239V

Change-Id: I1a49efa2da3ecd1ebb30fbcd69c1ce2a563089bb
CRs-Fixed: 774533
2021-07-09 14:57:50 -07:00
Qun Zhang
5f6f118a3c qcacld-3.0: Sort some management frame IEs in spec order
Sort the sequence of the different IEs in management frames
Assoc/Reassoc req/rsp, Probe req/rsp, beacon as per spec.

And some IEs whose order don't have clear definition in spec
are sorted in ascending order and placed before vendor IEs.

Change-Id: I263be5b2371dab67b6ac17382e6360eca7e9ed94
CRs-Fixed: 2950990
2021-07-09 14:57:49 -07:00
Madan Koyyalamudi
b6d3e6946f Release 5.2.0.239U
Release 5.2.0.239U

Change-Id: Ia5fb76f4ea7c333a8c451572adf846c9d115c75e
CRs-Fixed: 774533
2021-07-08 21:31:15 -07:00
Pragaspathi Thilagaraj
ce1e9e80f0 qcacld-3.0: Don't send RSO start after HO failure
When HO failure happens or roam synch failure happens due to
north bound disconnect being already processed, host
transitions to RSO STOP-> Roam Deinit as part of the disconnect.
But after this roam abort is done, which tries to reset the
state to ROAM enabled. This causes roam init to be sent
immediately and in STA + STA scenario where STA2 roaming
is also enabled, it causes fw to go to invalid state
as STA 1 vdev is deleted.

Allow roam abort to transition to RSO Enabled only in
Roam Synch in progress state or Roam in progress state
and not in RSO deinit state.

Change-Id: I1f07d4a3068f719b8d05e111bc8d45626c6a2468
CRs-Fixed: 2969507
2021-07-08 21:31:15 -07:00
Madan Koyyalamudi
7396fb0404 Release 5.2.0.239T
Release 5.2.0.239T

Change-Id: Ibe972ffe2a5ba97776312f47b91388a1378ee1e8
CRs-Fixed: 774533
2021-07-08 11:38:06 -07:00
bings
f503eccd42 qcacld-3.0: Use mlo aid assign/release API for mlo sap
For mlo sap, aid is managed by mlo manager.
Use mlo aid assign/release API for mlo sap.

Change-Id: Ib61c67f6bf5e9235adbe550c24f9bce3f3b306bb
CRs-Fixed: 2976361
2021-07-08 11:38:06 -07:00
Madan Koyyalamudi
76700cf84b Release 5.2.0.239S
Release 5.2.0.239S

Change-Id: I0b80607954caca30c01c2c3f46f70b35aae5b241
CRs-Fixed: 774533
2021-07-08 02:38:38 -07:00
Vulupala Shashank Reddy
761caac574 qcacld-3.0: Fix channel freq for EAPOL M1 in packet capture
Some times there is delay in update of channel freq in vdev
because of which M1 channel freq is zero during initial
connection.

Fill freq from msdu start from rx_pkt_tlv.

Change-Id: Ia0a8f61c9113fbe5bc3ad932dcb67111b86629af
CRs-Fixed: 2964512
2021-07-08 02:38:38 -07:00
Madan Koyyalamudi
3c25ffb869 Release 5.2.0.239R
Release 5.2.0.239R

Change-Id: I28ea924f9d126eead1ba42ca42a0d9d234c40a84
CRs-Fixed: 774533
2021-07-08 00:09:17 -07:00
Amruta Kulkarni
bf0114a811 qcacld-3.0: Skip reset roam trigger during disconnect
For STA+STA case, if disconnect is started on one vdev,
roaming is getting disabled on other vdev to fix this
skip updating RSO state.

Change-Id: If527555c3ea3d50516be3a743bb03914b3a2359f
CRs-Fixed: 2981648
2021-07-08 00:07:05 -07:00
Madan Koyyalamudi
2402e3691b Release 5.2.0.239Q
Release 5.2.0.239Q

Change-Id: I3c1f9cf6d84513af9f3cac43bf1e9448b501033b
CRs-Fixed: 774533
2021-07-07 20:56:18 -07:00
Utkarsh Bhatnagar
14d8df169d qcacld-3.0: Donot access invalid wiphy band
In wlan_hdd_get_wiphy_channel(), Donot access
60 Ghz which are not part of wiphy.

Change-Id: Ie8249bdcc7c4fb66744a9b16f2c194e9ab60dd1b
CRs-Fixed: 2984046
2021-07-07 20:56:18 -07:00
Madan Koyyalamudi
7f334730a5 Release 5.2.0.239P
Release 5.2.0.239P

Change-Id: Id517a8dd68361e706f383ff100612f7df2f5ce60
CRs-Fixed: 774533
2021-07-07 09:11:22 -07:00
Jia Ding
f58c9d0001 qcacld-3.0: Prevent possible use-after-free of ipa_obj
wlan_ipa_uc_loaded_uc_cb is an API that is registered to IPA driver.
Therefore when IPA uC is ready, IPA driver is likely to invoke this CB
into our driver. If it is invoked after a WLAN idle shutdown, ipa_obj
use-after-free will happen because ipa_obj is destroyed as part of
shutdown.

g_ipa_is_ready flag is cleared after ipa_obj is destroyed. Therefore
fix is to add a ipa_cb_is_ready check in wlan_ipa_uc_loaded_uc_cb to
ensure ipa_obj is allocated and not freed.

Change-Id: Id422c0780ab864936d9bc812a6078ea4c20ef2af
CRs-Fixed: 2975057
2021-07-07 09:11:22 -07:00
Liangwei Dong
a97eee4294 qcacld-3.0: Use target BW 80Mhz for Pre CAC on 5G
At present the pre CAC is done based on original SAP's BW,
but usually the original SAP is on 2G and BW <= 40Mhz. The
requirement from user is to have higher BW on 5G. Hence, select
higher BW supported by SAP phymode to do pre CAC and move 2G
SAP to 5G pre CAC channel when pre CAC done successfully.
Also set the default MAX bw pre CAC to 80Mhz based on current user
request.

Change-Id: I3115da8eb649238da50b223c2587db96125ec813
CRs-Fixed: 2984084
2021-07-07 09:11:18 -07:00
Madan Koyyalamudi
574dcaeaa3 Release 5.2.0.239O
Release 5.2.0.239O

Change-Id: I5e87a036fa6b5d81a4b37521c5f4ad3043074854
CRs-Fixed: 774533
2021-07-07 06:41:32 -07:00
Vulupala Shashank Reddy
9c1a9d9fa9 qcacld-3.0: Fix 6GHz channel freq for rx mgmt in packet capture
Fill freq received from FW directly.

Change-Id: I8a0470e6b22f8c9176586825691af160c6540348
CRs-Fixed: 2966863
2021-07-07 06:41:32 -07:00
Alan Chen
62341748f0 qcacld-3.0: Add new ini item enable_dynamic_pcie_gen_speed_switch
Add new ini item enable_dynamic_pcie_gen_speed_switch for enabling
dynamic PCIe gen speed change.

Change-Id: I7dde4e40e56bf894c7edd0805d09425444648e6b
CRs-Fixed: 2977079
2021-07-07 06:41:27 -07:00
Madan Koyyalamudi
083a4d0039 Release 5.2.0.239N
Release 5.2.0.239N

Change-Id: Ife26534f77403befe217a23ff7e3cfcbab7d3d3d
CRs-Fixed: 774533
2021-07-06 17:33:26 -07:00
Vevek Venkatesan
516ad4f689 Revert "qcacld-3.0: enable CONFIG_CLEAR_SW2TCL_CONSUMED_DESC support"
This reverts the change to do the memset of SW2TCL desc consumed by
HW to zero.

Change-Id: Ie56207cf483643f6e294df23f5445ca853a75d51
CRs-Fixed: 2984818
2021-07-06 17:33:26 -07:00