Commit gráf

23349 Commit-ok

Szerző SHA1 Üzenet Dátum
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
Bapiraju Alla
660d463b88 qcacld-3.0: Add partner links information in join request
Add partner links information in join request to proceed for ML
connection in best links selected in ML scoring.

Change-Id: I463264d9c78f3ab061d54a3245b15174d0940910
CRs-Fixed: 2961881
2021-07-06 17:33:21 -07:00
Madan Koyyalamudi
09e426ebe0 Release 5.2.0.239M
Release 5.2.0.239M

Change-Id: I4207a752f3cbf389c3cfd850112433203ee9e9a8
CRs-Fixed: 774533
2021-07-06 15:20:35 -07:00
Utkarsh Bhatnagar
670079e829 qcacld-3.0: update phymode and width correctly for sap
In sap_goto_starting(), update phymode and channel width
correctly incase there is mismatch between phymode
and operating channel frequency.
For instance, in case when operating frequency is in
5 Ghz band, phymode 11g is incorrect and should be
changed to 11a. Also, if phymode is 11a for 2.4 ghz
band, it should be changed to 11g.

Also, if phymode is of legacy type such as 11a or 11g,
channel width should be restricted to 20 Mhz.
In case of 11n, channel width should be restricted to
40 Mhz, if it is more than that.

Also, update the width from vdev as if not updated
there can be a case where there are different bw
in vdev and sap context.

Change-Id: I3df06c0f5bb0f4eb5ffc77317efbeaa88d998427
CRs-Fixed: 2976056
2021-07-06 15:20:35 -07:00
Utkarsh Bhatnagar
8a5ed473ea qcacld-3.0: Change EDCA ini from CFG_STRING to CFG_INI_STRING
Change ini type of all ini related to  edca_ani, edca_wme,
edca_etsi. Also, use cfg_get instead of cfg_default for
fetching these.

Change-Id: Iba252f81d236c5b217e1d86c6511bbc52c2900b7
CRs-Fixed: 2952537
2021-07-06 15:20:30 -07:00
Madan Koyyalamudi
8bcb42510a Release 5.2.0.239L
Release 5.2.0.239L

Change-Id: I806f982afc33b12bbeee04ef7ac36a09ee5c8596
CRs-Fixed: 774533
2021-07-06 11:54:55 -07:00
Amruta Kulkarni
91d1caea96 qcacld-3.0: Populate and parse MLO IE for STA
- Convert mlo assoc response from frame to structure for partner link
- Populate mlo ie for assoc request

Change-Id: I0a362c65131a1dd9526a5fb24c5816ab03e061b2
CRs-Fixed: 2973939
2021-07-06 11:54:55 -07:00
Madan Koyyalamudi
869f4e5498 Release 5.2.0.239K
Release 5.2.0.239K

Change-Id: I566894db185eef61cd57ce5d2bcc7bb6bbbc2b51
CRs-Fixed: 774533
2021-07-06 06:53:29 -07:00
Zhaoyang Liu
2f774b0ab7 qcacld-3.0: add feature flags in qca6390 default config
As hardware based on CONFIG_LITHIUM feature flags enable/disable in Kbuild
file were removed in commit "f06df4c", use CONFIG_<FEATURE_FLAG> from
qca6390_defconfig file to enable DP feature flags.

Change-Id: I8051fc789c70766bb4519c345e04c278864e2f1b
CRs-Fixed: 2984207
2021-07-06 06:53:29 -07:00
Madan Koyyalamudi
32c0e561e1 Release 5.2.0.239J
Release 5.2.0.239J

Change-Id: I03b62487383a48153ac90290173524ac2ea15f2d
CRs-Fixed: 774533
2021-07-06 04:38:33 -07:00
wadesong
7d409b24f2 qcacld-3.0: Enable FW_LOG_PARSING for Genoa
Enable flag FW_LOG_PARSING for Genoa so cmd like dl_loglevel
can be sent to firmware.

Change-Id: I6fcecb6198907e56c94e5d8211ac0ea0ecadb7fc
CRs-Fixed: 2983102
2021-07-06 04:38:32 -07:00
Madan Koyyalamudi
ae3c0a4dfb Release 5.2.0.239I
Release 5.2.0.239I

Change-Id: I967f0a98b19be596d3e45e40cbcb02aa0629c67d
CRs-Fixed: 774533
2021-07-06 02:15:58 -07:00
Deeksha Gupta
4ffb37d015 qcacld-3.0: update the BW correctly for SAP channel_switch
In wlansap_get_csa_chanwidth_from_phymode(), update the
channel width correctly incase when SAP starts on 2.4GHz
and channel switch happens on 5GHz channel with BW 80 MHz.
Currently host modify the BW according to the original BW
20MHz is incorrect, it should be changed to 80MHz.

Update the BW correctly, it should not be limited to orig BW.

Change-Id: I9baf89d89eeb6407c7cda931b332bced38cc2154
CRs-Fixed: 2974565
2021-07-06 02:15:57 -07:00
bings
5478a21533 qcacld-3.0: mlo sap bss start for hdd layer
Implement mlo sap bss start for hdd layer.

Change-Id: Id2fc9c735573262d5502e1538851c9554c919a21
CRs-Fixed: 2973191
2021-07-06 02:15:53 -07:00
Srinivas Dasari
c65ead975b qcacld-3.0: Let IOT APs recover by avoiding back to back DELBA
Station sends the BA and upgrades to the next possible BA window
size upon receiving all frames successfully from the current
window. Some IOT APs go out of sync from BA window size of the
station when AP fails to receive the BA sent from station. AP
transmits the frames again with previous window sequence number
and won't be ack'ed by station hardware as BA window has already
moved ahead. So, station deletes the upgraded BA and tries
to fallback.

Ideally, AP is supposed to consider the fact that "the previous
window transmission was successful when station upgrades to next
window size". But some APs take little longer time to
recover/upgrade to next window size. Don't delete the BA
immediately and have some tolerance(3 seconds) as the previous
negotiated BA just got deleted.

Change-Id: I6b277223f02dac521316cec20bd5d958785cc2e9
CRs-Fixed: 2970714
2021-07-06 02:15:48 -07:00