提交图

13134 次代码提交

作者 SHA1 备注 提交日期
Amit Mehta
ad4cb6357b qcacmn: Add NULL check for dp_pev
Currently, no NULL check is made for the value of dp_pev.
Adding a NULL check to avoid NULL dereference.

Change-Id: I2712b7e2fd53ba3a346878e73d2eedac161c5935
CRs-Fixed: 2955365
2021-06-10 13:02:39 -07:00
sheenam monga
d7adec6324 qcacmn: Don't mark ie invalid based on HT IE
Currently, host comapres HT Ie with htcap_cmn_ie
structure size but returns err in case ie len
is different from structure len which may break
the iteration and can lead to scan entry creation
failure.

Fix is not to break the loop and perform action
based on other Ie to avoid Ie parse failure which
leads to scan entry creation failure.

Change-Id: I93f0d67ae0f7ea8bb5dbeabc895b5c3d1ae43a73
CRs-Fixed: 2965729
2021-06-10 08:17:51 -07:00
Basamma Yakkanahalli
182d12abbe qcacmn: Add qca9574 target register structures
Add register structures for qca9574 target.

Change-Id: Ie3f6a3a4fa7d395a3805e404030be938f0c25acd
2021-06-10 06:17:02 -07:00
nobelj
8a11583471 qcacmn: Add field to return Lmac ring start ID
Return LMAC start id also as part of hal_get_meminfo API.
This field is added to hal_mem_info struct.

Change-Id: I013d357cf4337702c06a91ed15e8337469865270
2021-06-10 06:16:57 -07:00
sheenam monga
971db896f1 qcacmn: Consider dfs master mode for sap and p2p iface
Currently, reg curr channel list contains dfs channels
but sap and p2p go can't enable on dfs channels if
dfs_master_mode ini is disabled. So, usable channel list
may contain some invalid channels in case of p2p go and sap.

Fix is to check dfs_master_mode ini and include/exculde sap and
p2p go channels based on dfs_master_mode.

Change-Id: If82d2feda78315ab53c5c7ed75f743c14186da98
CRs-Fixed: 2961435
2021-06-10 01:42:08 -07:00
Mohit Khanna
c9bcf7e494 qcacmn: Handle BUF_ADDR ring desc in dp_rx_err
Currently dp_rx_err_process expects ring descriptor to be only
LINK_DESC_TYPE. In certain cases BUF_ADDR_TYPE ring descriptor is
observed in reo_exception ring. Add logic to handle the same.

Change-Id: I5baecc3f8eafc0830672b91bc9d9607b568a6cda
CRs-Fixed: 2954653
2021-06-09 23:38:08 -07:00
Hariharan Basuthkar
c3dc016a8c qcacmn: Implement the 6G updates of regulatory update #35
1) Add a 6G superdomain APL2_6G_06 and map Guatemala to it.
2) Map the following countries to FCC1_6G_01:
   a) AMERICAN_SAMOA
   b) GUAM
   c) NORTHERN_MARIANA_ISLANDS
   d) PUERTO_RICO
   e) UNITED_STATES_MINOR_OUTLYING_ISLANDS
   f) VIRGIN ISLANDS (US)

Change-Id: Ifae2c2813d3c5bbf9641d573c25142a626f3f4ab
CRs-Fixed: 2957879
2021-06-09 13:37:32 -07:00
Harsh Kumar Bijlani
0aeac39461 qcacmn: Enable nbuf map_unmap debug framework
Nbuf map_unmap framework requires qdf_tracker to
be compiled. Add qdf_tracker.o to Kbuild in order
to compile it.

Change-Id: I4a19e525280020583466ee7dd8621958ebe4f26a
CRs-Fixed: 2959146
2021-06-09 05:17:35 -07:00
Harsh Kumar Bijlani
0212730a84 qcacmn: Add check for memory_debug_disabled in nbuf APIs
Check for is_initial_mem_debug_disabled is missing in nbuf APIs.
Add check for is_initial_mem_debug_disabled in those APIs.

Change-Id: Ie85cae8029b5d47567da861dd84b86221a68b0f5
CRs-Fixed: 2962901
2021-06-09 05:17:30 -07:00
Himanshu Batra
9fc0377cb3 qcacmn: Add source path for MLO Manager in Kbuild
Add source path for MLO Manager in Kbuild

Change-Id: I24f1ea47a83976004a264bba889e34d1c9649e6d
2021-06-09 03:15:19 -07:00
Hariharan Basuthkar
7220f18549 qcacmn: Move reg_set_ap_pwr_and_update_chan_list to reg_services_common.c
Currently, reg_set_ap_pwr_and_update_chan_list is defined in reg_utils.c
which is compiled only for MCL. Move the definition of
reg_set_ap_pwr_and_update_chan_list to reg_services_common.c so that
it can be compiled and used by WIN APIs.

Change-Id: I433d2790b0d017290c2bdd3b06985d834a99629b
CRs-Fixed: 2964544
2021-06-09 03:15:13 -07:00
Linux Build Service Account
8534447cef Merge "qcacmn: Avoid sending wds del wmi cmds in a burst" 2021-06-08 23:25:32 -07:00
Linux Build Service Account
01018e7f9a Merge "qcacmn: API change to support cfreq2" 2021-06-08 23:25:29 -07:00
Linux Build Service Account
ad6be37852 Merge "qcacmn: Deliver EAP frames to stack from REO exception path" 2021-06-08 23:25:29 -07:00
Pavankumar Nandeshwar
72bf8a6cb2 qcacmn: Avoid sending wds del wmi cmds in a burst
In case of aging out wds entries, avoid sending all
the wds delete wmi commands in a huge single burst.
Instead limit the maximum commands to half of the
wmi queue size. Inactivity will continue to be
marked every 120 secs but the inactive entries
will be flushed every 5 secs if there are pending
entries.

Change-Id: I6735704a0750ef466f1df798f0b354f4382098d6
CRs-Fixed: 2952682
2021-06-08 18:17:37 -07:00
Venkateswara Swamy Bandaru
2376885753 qcacmn: API change to support cfreq2
Add cfreq2 along with preimary frequency to support 320MHz
bandwidth.

Change-Id: Ibc0a093a42658c128d032eeb4e14c07bb8a8c6e1
CRs-Fixed: 2962023
2021-06-08 18:17:32 -07:00
Jinwei Chen
12a999bc58 qcacmn: Deliver EAP frames to stack from REO exception path
Revert "qcacmn: drop duplicated EAP frames from REO exception path",
allow all EAP frame delivering to stack including retried ones.

Change-Id: I73733841c1feb21d5b5fd160856a8fe9c21168fc
CRs-Fixed: 2959701
2021-06-08 18:17:28 -07:00
Venkateswara Swamy Bandaru
78124d2ec7 qcacmn: Add utility function to get 320MHz cfreq2s
Add utility function to get possible center frequencies for
320Mhz channel.

Change-Id: I5fbdd82ed167a5fe30987430f4f6d03fa9d03add
CRs-Fixed: 2961188
2021-06-08 13:18:29 -07:00
Aditya Kodukula
f94320aa61 qcacmn: Add wlan driver log msgs into the minidump
As part of minidump enhancement feature, incorporate wlan driver
log_msg data structure into the minidump.

Change-Id: Ic68e199c645bf8c8be50e105391b5c6efa90decc
CRs-Fixed: 2946292
2021-06-08 13:18:25 -07:00
Gerrit - the friendly Code Review server
0026433914 Merge changes into wlan-cmn.driver.lnx.2.0 2021-06-08 10:32:13 -07:00
Venkateswara Swamy Bandaru
55279efffb qcacmn: Add 320MHz bandwidth chanimask extraction support
Add 320MHz bandwidth chanimask extraction support in WMI for
ext serveice ready event.

Change-Id: I84195ee559640c3747c56c49112de152796f0ded
CRs-Fixed: 2952302
2021-06-08 10:23:49 -07:00
Yeshwanth Sriram Guntuka
b5a3efab59 qcacmn: Add ini support to modify IPA tx and tx_comp ring sizes
Currently IPA tx buffers are fixed at 1007 buffers.
Adding INI support to change number of TX buffers at load time.

Change-Id: Ide0357554f34759198276b9699e0e6f4a3e20051
CRs-Fixed: 2957916
2021-06-08 07:35:40 -07:00
sheenam monga
79f2d89f69 qcacmn: Add correct ETSI mapping for UK
Currently for UK ETSI1 is mapped due
to which reg list may skip some valid
channel list for UK in case of MCC and DSRC.

Fix is to map MCC to ETSI13_WORLD and
DSRC to ETSI10_WORLD.

Change-Id: Ibcc09e2c45506ee5d4d1cbbaf5763d6056a8ff71
CRs-Fixed: 2953624
2021-06-08 05:24:31 -07:00
Vevek Venkatesan
e5b0e7e3a0 qcacmn: add debug logs around peer AST cleanup
Currently there are no sufficient debug logs during
AST cleanup of peers, to conclude in which context
the AST got freed up, hence adding more debug logs.

Change-Id: I5603d856aed8cc3860a78d24d51cd8b5386d38bb
CRs-Fixed: 2956910
2021-06-08 03:16:42 -07:00
Himanshu Batra
0f0ee4c77c qcacmn: Add print APIs for MLO
Add print api definitions for MLO

Change-Id: I7761fe01fba85bd8fb97413f95f73d995f84c1aa
CRs-Fixed: 2958486
2021-06-08 03:16:37 -07:00
Huashan Qu
939218bd45 qcacmn: Refine QDF_STATUS_E_NOSUPPORT to QDF_STATUS_E_ALREADY
Refine QDF_STATUS_E_NOSUPPORT to QDF_STATUS_E_ALREADY in
cm_check_for_reassoc_hw_mode_change() as QDF_STATUS_E_NOSUPPORT shows
that no need to do action for hardware mode change,  it's not an
error or failure.

Change-Id: I6e977729f3c75cc23b921ea38728ff4c5aae7d75
CRs-Fixed: 2961362
2021-06-08 03:16:32 -07:00
Srikanth Marepalli
6a7cbdde53 qcacmn: Add the support for SAE EAPOL handshake offload
Set the SAE EAPOL offload support in resource config based on
WMI_SERVICE_SAE_EAPOL_OFFLOAD_SUPPORT bit received in service
bitmap from Firmware.

Change-Id: I878736105c070df514dfe8d989541227b3baad11
CRs-Fixed: 2957082
2021-06-07 22:54:50 -07:00
nobelj
25acb759bf qcacmn: Fixes to enable LI & BE in a build
Changes to build Lithium and Beryllium together.
This is needed for WIN

Change-Id: I74c86803ea99fb17d1f73e8b9c4e7cf59751a707
2021-06-07 01:51:15 -07:00
Mohit Khanna
89270803f3 qcacmn: Refactor fisa packet history for BE
Refactor FISA packet history to not access "struct rx_pkt_tlvs". This is
because this structure may be different for Li and BE chips and should
not be accessed directly and only via hal_soc->ops in common code.

CRs-Fixed: 2888556
Change-Id: I0d9f2785a81c130a2dc506020a02ee5581c0bbd3
2021-06-07 01:51:15 -07:00
Mohit Khanna
fa29d164f6 qcacmn: HAL changes to print 7850 RX TLVs
Add HAL APIs to print RX TLVs for 7850 platform.

Change-Id: I8321890a415b9ace49449bebd8b076e08a43c341
CRs-Fixed: 2891049
2021-06-07 01:51:15 -07:00
Mohit Khanna
f3e19b41d3 qcacmn: HAL Changes for RX packet capture
Add HAL apis for populate RX packet capture params.

CRs-Fixed: 2891049
Change-Id: I0befd3001a40fd286704699f4ec682f7c390fbda
2021-06-07 01:51:15 -07:00
Manjunathappa Prakash
477928661c qcacmn: Core DP RX path changes for WCN7850
Implement core DP rx processing to functions in to corresponding
architecture specific be/li rx files. Keep common utility functions
in DP common files.

Change-Id: I40083e10772fd2b6ce2f1fa9e197f2ad92d0522a
CRs-Fixed: 2891021
2021-06-07 01:51:15 -07:00
Rakesh Pillai
27d6b43bfb qcacmn: HAL RX-TLV changes for beryllium
Add HAL rx tlv changes for WCN7850

Change-Id: Ie76c608ed57c6a4f8adac97e1efc7888d2036f52
CRs-Fixed: 2891049
2021-06-07 01:51:15 -07:00
Mohit Khanna
e135b3e106 qcacmn: DP changes to create li/be TX files
Move DP TX target specific functionality to dp/wifi3.0/be
and dp/wifi3.0/li folders. DP Functionality common to both lithium and
beryllium targets stays in dp/wifi3.0.

Change-Id: I3497284153e2ea30a9cb1faf05bd41422329b804
CRs-Fixed: 2891038
2021-06-07 01:51:15 -07:00
Rakesh Pillai
ca2db4bfa8 qcacmn: Datapath RX-Monitor API changes
Add changes in datapath rx monitor mode APIs
to handle modification in HAL APIs for WCN7850.

Change-Id: Iec7fbf9389033dfa86e71b1081e6a64607125ecc
CRs-Fixed: 2888556
2021-06-07 01:51:14 -07:00
Rakesh Pillai
a42ab6f94e qcacmn: Add IPA api changes
Add changes in IPA APIs due to hal API
modifications for WCN7850.

Change-Id: I13e3acc154cb22538eca0adcd312cb7f9bc1124c
CRs-Fixed: 2888556
2021-06-07 01:51:14 -07:00
Rakesh Pillai
872da9462b qcacmn: Datapath RX error handler for WCN7850
Add DP rx error handler changes for WCN7850.

Change-Id: I401f1b69eb107818e7aceb0a51279dab7f558b96
CRs-Fixed: 2891021
2021-06-05 15:10:50 -07:00
Manjunathappa Prakash
14794ee689 qcacmn: CFG INI changes for beryllium targets
Beryllium targets have more number of HW rings.
Add INI changes to allow increase in number of rings.

Change-Id: I73d779334601d3a1c2aefcade1dcf9dd0f2ef761
CRs-Fixed: 2891021
2021-06-05 15:10:50 -07:00
Rakesh Pillai
59ea466ca4 qcacmn: Add HAL APIs for Lithium targets
Add hal soc API handlers for existing Lithium targets.

Change-Id: I2ca25c94702759eb8329eb24048c9f5732caa3cc
CRs-Fixed: 2891049
2021-06-05 15:10:50 -07:00
Rakesh Pillai
acd7abc01b qcacmn: Add WCN7850 target files
Add WCN7850 target files.

Change-Id: I8cb152116362b778de4d3b9a2b9b5180ca2a103e
CRs-Fixed: 2891049
2021-06-05 15:10:50 -07:00
Rakesh Pillai
b2548a90cd qcacmn: HAL srng API changes for beryllium
Add HAL srng API changes for WCN7850

Change-Id: I4b78dbe6a88b24c9ef7662c2091123fa7f86ba18
CRs-Fixed: 2891049
2021-06-05 15:10:50 -07:00
Rakesh Pillai
30d963b68e qcacmn: HAL internal API changes for beryllium
Add HAL internal symbol changes for WCN7850.

Change-Id: Ibf04113f58b76976b2233ace24d7f9e7ca284245
CRs-Fixed: 2891049
2021-06-05 15:10:50 -07:00
Rakesh Pillai
1190bfe856 qcacmn: HAL RX flow API changes for beryllium
Add HAL RX flow API changes for WCN7850.

Change-Id: Id5085bffb7a98543e38d9e3b989346b07ae124f0
CRs-Fixed: 2891049
2021-06-05 15:10:50 -07:00
Rakesh Pillai
9bf522cc45 qcacmn: HAL hardware header files changes for beryllium
Add HAL hw header inclusion changes for WCN7850

Change-Id: I2d56cf6ddfa2bc60c6440c20f1798f5b876d2143
CRs-Fixed: 2891049
2021-06-05 15:10:50 -07:00
Rakesh Pillai
2847b9761a qcacmn: HAL changes for REO config for Beryllium
Add changes to HAL APIs for REO config for WCN7850

Change-Id: I91191a47c4782672fa19d45099cde05ee4cd04b1
CRs-Fixed: 2891049
2021-06-05 15:10:50 -07:00
Rakesh Pillai
052dc539e3 qcacmn: HAL API changes for beryllium
Add HAL API changes for WCN7850

Change-Id: I1b5cedfee609d539ed03f103bbbc4394efddb0dc
CRs-Fixed: 2891049
2021-06-05 15:10:50 -07:00
Rakesh Pillai
e2f53365f8 qcacmn: HAL generic API changes for Beryllium
Add the changes to the generic HAL APIs.
The APIs generic across lithium and beryllium
architecture are kept in common HAL code.
The APIs which are generic across lithium
chipsets are moved to lithium specific files.
The APIs which are generic across beryllium
chipsets are kept in beryllium specific files.

Change-Id: Ie5e28aca5de02aa42f63b4a13fcb1cb32ffa8a28
CRs-Fixed: 2891049
2021-06-05 15:10:50 -07:00
Rakesh Pillai
5d289aea93 qcacmn: HAL RX API changes for Beryllium
Add HAL RX API changes for WCN7850.

Change-Id: Ia370b712253b4bb62c7ca3a23633ce262213cb13
CRs-Fixed: 2891049
2021-06-05 15:10:50 -07:00
Rakesh Pillai
0e23220e33 qcacmn: HAL TX API changes for beryllium
Add changes to HAL TX APIs for WCN7850

Change-Id: I65f6417c66449fcd57df30ddb4194dc7a34c4722
CRs-Fixed: 2891049
2021-06-05 15:10:50 -07:00
Rakesh Pillai
34b6af18a4 qcacmn: Init-Deinit changes for WCN7850
Add Init-Deinit changes for WCN7850 support
in datapath

Change-Id: I7f9850ee41f4638c6a28b5313549c67876c5f810
CRs-Fixed: 2888556
2021-06-05 15:10:50 -07:00