qcacmn: Add support for DBDC repeater

Added CDP callback APIs so the DBDC repeater module
outside of cmn_dev can add, delete and update the AST
entries. Also with this change the sending of wds cmds
to fw is tied to adding AST, deleteing AST and updating
the AST entries.

Change-Id: I48d31962236860f50e16b771abaf3b8825b798df
Этот коммит содержится в:
Tallapragada Kalyan
2018-01-02 12:58:33 +05:30
коммит произвёл snandini
родитель 98d3395e7a
Коммит 57b6bb3e1d
10 изменённых файлов: 503 добавлений и 76 удалений

Просмотреть файл

@@ -80,6 +80,31 @@ struct cdp_cmn_ops {
void (*txrx_peer_teardown)
(struct cdp_vdev *vdev_hdl, void *peer_hdl);
int (*txrx_peer_add_ast)
(ol_txrx_soc_handle soc, struct cdp_peer *peer_hdl,
uint8_t *mac_addr, enum cdp_txrx_ast_entry_type type,
uint32_t flags);
void (*txrx_peer_del_ast)
(ol_txrx_soc_handle soc, void *ast_hdl);
int (*txrx_peer_update_ast)
(ol_txrx_soc_handle soc, struct cdp_peer *peer_hdl,
void *ast_hdl, uint32_t flags);
void *(*txrx_peer_ast_hash_find)
(ol_txrx_soc_handle soc, uint8_t *ast_mac_addr);
uint8_t (*txrx_peer_ast_get_pdev_id)
(ol_txrx_soc_handle soc, void *ast_hdl);
uint8_t (*txrx_peer_ast_get_next_hop)
(ol_txrx_soc_handle soc, void *ast_hdl);
void (*txrx_peer_ast_set_type)
(ol_txrx_soc_handle soc, void *ast_hdl,
enum cdp_txrx_ast_entry_type type);
void (*txrx_peer_delete)(void *peer, uint32_t bitmap);
int (*txrx_set_monitor_mode)(struct cdp_vdev *vdev,
@@ -636,13 +661,13 @@ struct ol_if_ops {
int (*peer_unref_delete)(void *scn_handle, uint8_t vdev_id,
uint8_t *peer_macaddr);
bool (*is_hw_dbs_2x2_capable)(struct wlan_objmgr_psoc *psoc);
int (*peer_add_wds_entry)(void *ol_osif_vdev_handle,
int (*peer_add_wds_entry)(void *ol_soc_handle,
const uint8_t *dest_macaddr, uint8_t *peer_macaddr,
uint32_t flags);
int (*peer_update_wds_entry)(void *ol_osif_vdev_handle,
int (*peer_update_wds_entry)(void *ol_soc_handle,
uint8_t *dest_macaddr, uint8_t *peer_macaddr,
uint32_t flags);
void (*peer_del_wds_entry)(void *ol_osif_vdev_handle,
void (*peer_del_wds_entry)(void *ol_soc_handle,
uint8_t *wds_macaddr);
QDF_STATUS (*lro_hash_config)(void *scn_handle,
struct cdp_lro_hash_config *lro_hash);