Commit Graph

24 Commits

Author SHA1 Message Date
Bing Sun
4397d7dc97 qcacld-3.0: Add new API to get connected sta rssi and data rate
Add new API for SON to get connected sta rssi and data rate.

Change-Id: Icd8ed9b6e4462b4898b32d28d9fa3f4e2fbc230d
CRs-Fixed: 3180267
2022-04-26 07:03:32 -07:00
Rachit Kankane
95c7d2ecf8 qcacld-3.0: Add peer ops support for SON
Add support for below SON peer ops:

PEER_SET_KICKOUT
PEER_SET_EXT_STATS
PEER_REQ_INST_STAT
PEER_GET_MAX_MCS

Change-Id: Iafadd17d6a13cfbba2884e50a0432c34115cd7f7
CRs-Fixed: 3141862
2022-03-07 19:07:52 -08:00
anikkuma
da23350e06 qcacld-3.0: Add support for MESH_BSTEERING_GET_DATARATE_INFO
Add support for MESH_BSTEERING_GET_DATARATE_INFO
and PDEV_GET_CAPABILITY

Change-Id: I8857c795adc71f6b28343501fe389717b5cbd4a0
CRs-Fixed: 3086477
2022-02-25 12:36:51 -08:00
Rachit Kankane
65de143362 qcacld-3.0: Route GENERIC commands to SON
Route below vendor commands with GENERIC attributes to SON module:
1. QCA_NL80211_VENDOR_SUBCMD_SET_WIFI_CONFIGURATION
2. QCA_NL80211_VENDOR_SUBCMD_GET_WIFI_CONFIGURATION

Change-Id: I3646204a2af9b703190aff0c10f84cbd02ce30ab
CRs-Fixed: 3123141
2022-02-23 08:36:45 -08:00
nakul kachhwaha
6343e7e90d qcacld-3.0: Add son os_if tx/rx registration APIs
Add APIs to register SON callback with os_if/lmac_if.
Export os_if APIs called by SON KO.

Change-Id: Ia19dd1822bfba1b41744505a2af52b4b7e0c01f5
CRs-Fixed: 3118965
2022-02-21 06:41:12 -08:00
Bing Sun
d39f2ceb18 qcacld-3.0: Do not use adapter in os_if of SON
Use vdev instead of adapter in os_if of SON.

Change-Id: Icefc9fb8575511f39676bd742359b3962e746f87
CRs-Fixed: 3119371
2022-02-09 02:06:11 -08:00
Rachit Kankane
0b6247975c qcacld-3.0: Add support for EasyMesh ACS
Add support for below EasyMesh specific commands

1. To set user specified channels in the acs channel list
2. To trigger ACS
3. To get the ACS report

Change-Id: I1090b9a86d62eddc9954b70835c7496e5a614757
CRs-Fixed: 3080222
2022-02-01 10:40:17 -08:00
nakul kachhwaha
0926ff1de3 qcacld-3.0: Add son os_if APIs to trigger object create and destroy
Add and export os_if APIs to trigger object creation and deletion.
SON module will invoke these APIs during load/unload.

Change-Id: I1fe6ab335862b2b67affc5201ac6eae972b0a863
CRs-Fixed: 3104096
2022-01-28 08:59:36 -08:00
Li Feng
813660e27f qcacld-3.0: Implement CBS for EasyMesh
Implement the continuous background scan for EasyMesh.

Change-Id: I2607474d5663f21b4d740316ae407bf1398a8ef7
CRs-Fixed: 3095580
2022-01-21 18:07:31 -08:00
anikkuma
41b0bacd30 qcacld-3.0: Add support to deliver ald events to son
Add support for the following event
MLME_EVENT_ASSOC_DISASSOC
MLME_EVENT_ACS_COMPLETE
MLME_EVENT_CAC_STATUS
MLME_EVENT_CLIENT_ASSOCIATED

Change-Id: I2d3cadce47d501d6afff6ec101b6342a45c0b01f
2021-12-21 00:02:02 -08:00
bings
53a13ccb3a qcacld-3.0: Add API to get sta information for EasyMesh
Add API to get sta information for EasyMesh.

Change-Id: I12e7eaae3562ca35b33f0637a33e784b912ca8a3
CRs-Fixed: 3044736
2021-12-08 13:50:00 -08:00
bings
ff725f42b2 qcacld-3.0: Add API to get phy stats
Implement API to get phy stats for EasyMesh.

Change-Id: I3ac8168c6217f101ee152c396f8576628f7508b8
CRs-Fixed: 3044722
2021-11-23 16:56:41 -08:00
Rachit Kankane
9acfc6b4d4 qcacld-3.0: Add support for pdev ops
Send Radio HWCAP, ESP INFO, OP channels and OP class info
to EasyMesh stack.

Change-Id: I8995c6a087d12cd4cf7933f75aef5090c59ca56a
CRs-Fixed: 3078072
2021-11-20 03:09:38 -08:00
Rachit Kankane
e6056d8b19 qcacld-3.0: Add control to ACL
Add peer to ACL to allow / deny the connectivity with SAP.

Change-Id: I847e307748bd803f544eda2f12de81b5f5ed5309
CRs-Fixed: 3075807
2021-11-18 20:40:58 -08:00
Rachit Kankane
3ea99d7b08 qcacld-3.0: Add support for silent deauth
Add support to facilitate silent deauthentication to peer
stations in master mode.

Change-Id: I8c92d68d7ae94d1d425bfcb6744bed84b67f1f3b
CRs-Fixed: 3070885
2021-11-15 19:00:40 -08:00
bings
557a23985d qcacld-3.0: API to get chan utilization
Implement API to get chan utilization for EasyMesh.

Change-Id: I5002fb7b6f8472353bb3fc3b8d8bbd05a1294aa6
CRs-Fixed: 3044699
2021-10-27 22:24:47 -07:00
bings
11469a4df6 qcacld-3.0: Add API to get/set chan width for EasyMesh
Add API to get/set chan width for EasyMesh.

Change-Id: I118baf627dc926dc0f4f1e354090521b5959535a
CRs-Fixed: 3034717
2021-10-27 22:24:33 -07:00
bings
b6c09cbaf4 qcacld-3.0: Do not kickout sta if it is in band steering
When a sta is being steered, sending a deauth may interrupt the
association/EAPOL handshake on the new BSS.

Do not kickout sta if it is being steered.

Change-Id: I15dd26bca27699087cdb790de8cb95281dade385
CRs-Fixed: 3042990
2021-10-27 20:53:09 -07:00
bings
9aad58a07d qcacld-3.0: Implement ACL API for EasyMesh
Add API to set/get ACL policy. Add API to add/delete ACL MAC.
Add API to kickout sta according to MAC.

Change-Id: I329501d4f0c929b6e7933a8e484b5d8493dbbabe
CRs-Fixed: 3042927
2021-10-27 20:53:04 -07:00
Rachit Kankane
dd0add5b52 qcacld-3.0: Add public APIs for SON
Add public APIs to support SON Module.

Change-Id: Ia69a9e631f2b9f50f6e8bc6d50a2106f8f1b9efa
CRs-Fixed: 3048867
2021-10-20 00:32:41 -07:00
Bing Sun
09c0fa4748 qcacld-3.0: Add API to set/get phymode for easymesh
Add API to set/get phymode for easymesh

Change-Id: I6d03de8ae61fa1b752213edcfd053e219fba3de9
CRs-Fixed: 3038234
2021-09-30 13:01:23 -07:00
Bing Sun
c7defa218a qcacld-3.0: Set/get candidate channel to switch when radar is detected
Currently driver switches to a random channel when radar is detected.
Easymesh expects ap switching to a given channel.

Add API to set/get given channel. AP should switch to given channel
when radar is detected.
The given channel will be cleared after a radar detection.

Change-Id: I29b97e247583be768842c128e6a3e5d5bfd859f7
CRs-Fixed: 3034735
2021-09-30 10:51:40 -07:00
Bing Sun
00740c5de2 qcacld-3.0: Add API to get/set HT20/40 mode for easymesh
Add API to get/set HT20/40 mode for easymesh AP mode

Change-Id: Ic6b06b4bd05003537939a77cdd8daa82d2ecc5fa
CRs-Fixed: 3034726
2021-09-30 10:51:34 -07:00
bings
a44cf88b36 qcacld-3.0: Implement legacy commands of easy mesh
Provide below APIs for easy mesh.
API to get the current frequency of the given VDEV.
API to get acs status of the given VDEV.
API to get cac status of the given VDEV.
API to get/set bandwidth of the given VDEV.
API to get band information of the given VDEV.
API to get connected STA count of the given VDEV.
API to get BSSID of the given VDEV.
API to get SSID of the given VDEV.
API to set channel of the given VDEV.
API to get/set cac timeout of the given VDEV.
API to get/set country code of the given VDEV.

Change-Id: Ia0bd201ad8155a66a4a8c5517f6fa43f3f358505
CRs-Fixed: 3027192
2021-09-30 10:51:28 -07:00