Commit Graph

21 Commits

Author SHA1 Message Date
Kani M
2c41328915 qcacmn: Enable code under WLAN_CONV_CRYPTO_SUPPORTED
This incorporates and enables the code under the flag
WLAN_CONV_CRYPTO_SUPPORTED.

Change-Id: I5be4606fac8dbf172b017cc91ba6e19af03e282b
2021-09-24 18:27:48 -07:00
Vignesh U
a0751b2b6b qcacmn: Fix LA compilation issues in AFC
/local/mnt/workspace/qcaswnbu/ec0e64b3bfc3f100861f/qsdk/build_dir/target-a
arch64_cortex-a53_musl-1.1.16/linux-ipq_ipq807x_64/qca-wifi-gf87d6f5-minim
al-profile/qca-wifi-gf87d6f5/os/linux/../../cmn_dev/iot_sim/core/
iot_sim_common.c:17:
/local/mnt/workspace/qcaswnbu/ec0e64b3bfc3f100861f/qsdk/build_dir/target-
aarch64_cortex-a53_musl-1.1.16/linux-ipq_ipq807x_64/qca-wifi-gf87d6f5-mini
mal-profile/qca-wifi-gf87d6f5/os/linux/../../cmn_dev/iot_sim/../../cmn_dev/
umac/regulatory/dispatcher/inc/reg_services_public_struct.h:28:26:
fatal error: wlan_reg_afc.h: No such file or directory
compilation terminated.

Change-Id: I6b739375a992a92d6c5830347ceffcae033021bf
2021-09-06 09:32:53 -07:00
Vivek
f4b29f3ad5 qcacmn: Use file for include path instead of environment variable
The include path passed to the CFLAGS may get very long in few cases
and passing them to the compiler results in the error
"arguments too long" from the shell.

We can pass the same argument by writing the include paths
to a file and avoid these errors when there are many include
paths added.

Change-Id: I2788d6e97a854ae6272d665943d56d581dc002bf
CRs-Fixed: 2999763
2021-07-27 07:07:11 -07:00
Jeevan Kukkalli
943f91c499 qcacmn: Prerequisite to include ALD headers to SON public header
Prerequisite change to include ALD headers into SON public header
as ALD is now part of SON.

Change-Id: Ic98e9ae7b5d2f0e6a2be7915b026ae169247b76f
CRs-Fixed: 2868824
2021-02-04 11:00:16 -08:00
Debasis Das
77a23e8f71 qcacmn: Use abstraction APIs for kernel APIs
Use non-inline OS-abstraction APIs to avoid direct
usage of kernel API's.

Use non-inline OS-abstraction APIs instead of OS APIs.

Change-Id: Ie4acfedc63a0e0e8ecbe358db711148db92bd8b6
2021-01-22 12:07:41 -08:00
Jayachandran Sreekumaran
c886b4c527 qcacmn: Maintain peer object refernce during frame delay
Maintain the peer object reference while delaying the processing
of peer frames.

Change-Id: Ia3df18f1281403c6ed36bfbc307b6928d3db9040
CRs-Fixed: 2769113
2020-09-16 07:11:14 -07:00
Jayachandran Sreekumaran
107f53c315 qcacmn: iot_sim frame drop support for disassoc and deauth
Add iot_sim frame drop support disassoc and deauth frames.

Change-Id: I26fb606d49a05754f1175c36b8fb14d1003c75f0
CRs-Fixed: 2765421
2020-09-16 04:51:58 -07:00
Srinivas Girigowda
a2d910900d qcacmn: iot_sim: Replace %pM/QDF_MAC_ADDR_STR/ARRAY with QDF_FULL_MAC_FMT/REF
Replace %pM/QDF_MAC_ADDR_STR/ARRAY with QDF_FULL_MAC_FMT/REF.

Change-Id: I96502ebff1a05c259d83d085c80a6f1c4486a7a1
CRs-Fixed: 2763028
2020-08-28 02:01:11 -07:00
Jayachandran Sreekumaran
d2c1b38caa qcacmn: Add support for frame delay operation
Add frame delay support for IOT Simulation.

Change-Id: I1ae2f681cde5d3e4092bf65a34f48290af6877d3
CRs-Fixed: 2734410
2020-07-31 09:53:57 -07:00
Jayachandran Sreekumaran
acd85ae613 qcacmn: Add support for peer based rule in iot_sim
Add support for peer based rule in iot_sim for frame
drop and delay operations.

Change-Id: I9d5b330d750aee868cf7ea2932bf8d7ce1d0d54f
CRs-Fixed: 2733909
2020-07-31 07:43:41 -07:00
Jayachandran Sreekumaran
1d96b191cf qcacmn: Add frame drop support for ADDBA Response
Add frame drop support for ADDBA Response

Change-Id: Id836f84a154ede034db91b669691afa2925262bc
CRs-Fixed: 2733849
2020-07-31 07:43:38 -07:00
nakul kachhwaha
89a67f807e qcacmn: iot_sim beacon content change update
Adding support for beacon content change.

Change-Id: I8f804dd7d2cbbe7d3b7dea58841d7321f28101c7
CRs-Fixed: 2694454
2020-06-24 03:35:01 -07:00
nakul kachhwaha
c5cdd1eaaf qcacmn: iot_sim add support for drop operation
Adding support for iot_sim drop operation.
Drop operation will be handled in Rx direction.

Change-Id: If2e1c9663a69fcd16715cdd1d28639a388ea1c0c
CRs-Fixed: 2686309
2020-06-24 03:34:57 -07:00
Jayachandran Sreekumaran
f71f32ada9 qcacmn: iot_sim code cleanup
Optimize the content change operation
code for action and non-action type frames.

Change-Id: Ie3719715eebbe465851f4b84ffb6deefbab81844
CRs-Fixed: 2684013
2020-06-24 03:34:48 -07:00
nakul kachhwaha
b57a6d5bd6 qcacmn: Fix compilation issue in iot sim module
Fixing the compilation in iot sim module by
properly dereferencing tx ops from psoc.

Change-Id: If60d5350502e50f2ebc64bd6b03787e7fe860546
CRs-Fixed: 2688627
2020-05-19 08:41:07 -07:00
nakul kachhwaha
7d9905ffd3 qcacmn: iot_sim add support for action frame
Adding support for action frame to identify category code and
action type and adding these rule to action frame specific data
structure

Change-Id: Ic1ca4e3d2f3d53502b3c9cca59b310b919a1f713
CRs-Fixed: 2669950
2020-05-12 08:37:11 -07:00
nakul kachhwaha
dc319f9559 qcacmn: add/del iot_sim content change rule to FW
Adding tgt API call from debugfs write handler
to add or delete content change rule in fw.

Change-Id: Ia77e008c4fa8f1b93bf3b93e0953bd29544a7d5c
CRs-Fixed: 2665476
2020-05-12 06:43:18 -07:00
Jayachandran Sreekumaran
77c068dda2 qcacmn: IOT SIM target interface
IOT SIM target interface updates

Change-Id: Ia9b048ecccd476df822e61f4ccb16e70352f630d
CRs-Fixed: 2665426
2020-05-12 06:43:14 -07:00
Jayachandran Sreekumaran
d281143698 qcacmn: IOT simulation module api
IOT simulation module api registration with umac.

Change-Id: I6f11781f79d5fc9ea28be02470ba288cdcbaa257
CRs-Fixed: 2659680
2020-05-12 06:43:11 -07:00
nakul kachhwaha
d20fe7aad4 qcacmn: Add debugfs support for iot_sim module
Following changes were done:
1. Adding debugfs functionality for iot_sim module
2. Changing the iot_sim context from psoc to pdev
3. Currently iot_sim support only bcast peer
4. Adding write handler to store user configured rules.

Change-Id: I4319bae3986874434f2a2e2397b1a8698c48d936
CRs-Fixed: 2657929
2020-05-12 06:43:07 -07:00
nakul kachhwaha
861af9fad3 qcacmn: Add files for IOT Simulation module
Adding files to support IOT Simulation module

Change-Id: I3c145f43e846ae5db032df748943c4d0ff531585
CRs-Fixed: 2657904
2020-05-12 06:43:02 -07:00