Bläddra i källkod

qcacmn: Add support for Secondary HMWDS ast entry in NSS

Add NSS Wi-Fi Offload support for Secondary HMWDS ast entry.

Change-Id: I3429356e1e20aecdbb7af5b29770c41026f3bd46
CRs-Fixed: 2332290
syed touqeer pasha 6 år sedan
förälder
incheckning
0050ec95b3
2 ändrade filer med 6 tillägg och 3 borttagningar
  1. 5 3
      dp/inc/cdp_txrx_ops.h
  2. 1 0
      dp/wifi3.0/dp_peer.c

+ 5 - 3
dp/inc/cdp_txrx_ops.h

@@ -781,9 +781,11 @@ 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_soc_handle,
-			const uint8_t *dest_macaddr, uint8_t *peer_macaddr,
-			uint32_t flags);
+	int (*peer_add_wds_entry)(void *vdev_handle,
+				  struct cdp_peer *peer_handle,
+				  const uint8_t *dest_macaddr,
+				  uint8_t *next_node_mac,
+				  uint32_t flags);
 	int (*peer_update_wds_entry)(void *ol_soc_handle,
 			uint8_t *dest_macaddr, uint8_t *peer_macaddr,
 			uint32_t flags);

+ 1 - 0
dp/wifi3.0/dp_peer.c

@@ -641,6 +641,7 @@ add_ast_entry:
 		if (QDF_STATUS_SUCCESS ==
 				soc->cdp_soc.ol_ops->peer_add_wds_entry(
 				peer->vdev->osif_vdev,
+				(struct cdp_peer *)peer,
 				mac_addr,
 				next_node_mac,
 				flags))