qcacld-3.0: Support per AP isolation in WLAN IPA

AP isolation a.k.a intra-bss forwarding is a per AP attribute. Issue in
current IPA implementation is that it does not support per AP control.
In a SAP-SAP configuration, latter SAP configuration will always overwrite
first SAP's isolation configuration.

Fix is to add vdev id parameter from protocol layer so that IPA component
could configure AP isolation on a per AP basis.

Change-Id: I9c96cdcda03eb10b4c2984a757e52d77b5bf6790
CRs-Fixed: 2624757
This commit is contained in:
Jia Ding
2020-02-20 11:06:11 +08:00
committed by nshrivas
parent 1c2a89c0b4
commit fa750c6013
7 changed files with 33 additions and 18 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
* Copyright (c) 2018-2020 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -184,11 +184,13 @@ void ucfg_ipa_set_dfs_cac_tx(struct wlan_objmgr_pdev *pdev, bool tx_block);
/**
* ucfg_ipa_set_ap_ibss_fwd() - Set AP intra bss forward
* @pdev: pdev obj
* @session_id: vdev id
* @intra_bss: enable or disable ap intra bss forward
*
* Return: void
*/
void ucfg_ipa_set_ap_ibss_fwd(struct wlan_objmgr_pdev *pdev, bool intra_bss);
void ucfg_ipa_set_ap_ibss_fwd(struct wlan_objmgr_pdev *pdev, uint8_t session_id,
bool intra_bss);
/**
* ucfg_ipa_uc_force_pipe_shutdown() - Force shutdown IPA pipe
@@ -470,7 +472,8 @@ void ucfg_ipa_set_dfs_cac_tx(struct wlan_objmgr_pdev *pdev, bool tx_block)
}
static inline
void ucfg_ipa_set_ap_ibss_fwd(struct wlan_objmgr_pdev *pdev, bool intra_bss)
void ucfg_ipa_set_ap_ibss_fwd(struct wlan_objmgr_pdev *pdev, uint8_t session_id,
bool intra_bss)
{
}