qcacld-3.0: Converge p2p_set_mac_filter for management frame tx
In management frame TX path from userspace, the p2p_set_mac_filter structure is used and is defined under P2P converged macro. Converge this p2p_set_mac_filter structure to set_rx_mac_filter structure in qca-wifi-host-cmn to use this by all components Change-Id: Iefcf36f8b327458b2418bd364ae84b28ca56e7f9 CRs-Fixed: 3306700
This commit is contained in:

committed by
Madan Koyyalamudi

parent
8000145f07
commit
3a49e2cdfe
@@ -2719,7 +2719,7 @@ p2p_process_set_rand_mac(struct p2p_set_mac_filter_req *set_filter_req)
|
||||
struct wlan_objmgr_psoc *soc;
|
||||
struct wlan_lmac_if_p2p_tx_ops *p2p_ops;
|
||||
QDF_STATUS status = QDF_STATUS_E_FAILURE;
|
||||
struct p2p_set_mac_filter param;
|
||||
struct set_rx_mac_filter param;
|
||||
struct p2p_vdev_priv_obj *p2p_vdev_obj;
|
||||
struct wlan_objmgr_vdev *vdev;
|
||||
|
||||
|
@@ -157,20 +157,6 @@ struct p2p_mgmt_tx {
|
||||
const uint8_t *buf;
|
||||
};
|
||||
|
||||
/**
|
||||
* struct p2p_set_mac_filter
|
||||
* @vdev_id: Vdev id
|
||||
* @mac: mac addr
|
||||
* @freq: frequency
|
||||
* @set: set or clear
|
||||
*/
|
||||
struct p2p_set_mac_filter {
|
||||
uint32_t vdev_id;
|
||||
uint8_t mac[QDF_MAC_ADDR_SIZE];
|
||||
uint32_t freq;
|
||||
bool set;
|
||||
};
|
||||
|
||||
/**
|
||||
* struct p2p_set_mac_filter_evt
|
||||
* @vdev_id: Vdev id
|
||||
|
@@ -444,7 +444,7 @@ static QDF_STATUS target_if_p2p_register_macaddr_rx_filter_evt_handler(
|
||||
}
|
||||
|
||||
static QDF_STATUS target_if_p2p_set_mac_addr_rx_filter_cmd(
|
||||
struct wlan_objmgr_psoc *psoc, struct p2p_set_mac_filter *param)
|
||||
struct wlan_objmgr_psoc *psoc, struct set_rx_mac_filter *param)
|
||||
{
|
||||
wmi_unified_t wmi_handle = lmac_get_wmi_unified_hdl(psoc);
|
||||
|
||||
@@ -453,7 +453,7 @@ static QDF_STATUS target_if_p2p_set_mac_addr_rx_filter_cmd(
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
|
||||
return wmi_send_set_mac_addr_rx_filter_cmd(wmi_handle, param);
|
||||
return wmi_unified_set_mac_addr_rx_filter(wmi_handle, param);
|
||||
}
|
||||
|
||||
void target_if_p2p_register_tx_ops(struct wlan_lmac_if_tx_ops *tx_ops)
|
||||
|
Reference in New Issue
Block a user