|
@@ -10066,6 +10066,12 @@ static QDF_STATUS dp_get_vdev_param(struct cdp_soc_t *cdp_soc, uint8_t vdev_id,
|
|
val->cdp_vdev_param_peer_authorize =
|
|
val->cdp_vdev_param_peer_authorize =
|
|
vdev->peer_authorize;
|
|
vdev->peer_authorize;
|
|
break;
|
|
break;
|
|
|
|
+ case CDP_TX_ENCAP_TYPE:
|
|
|
|
+ val->cdp_vdev_param_tx_encap = vdev->tx_encap_type;
|
|
|
|
+ break;
|
|
|
|
+ case CDP_ENABLE_CIPHER:
|
|
|
|
+ val->cdp_vdev_param_cipher_en = vdev->sec_type;
|
|
|
|
+ break;
|
|
#ifdef WLAN_SUPPORT_MESH_LATENCY
|
|
#ifdef WLAN_SUPPORT_MESH_LATENCY
|
|
case CDP_ENABLE_PEER_TID_LATENCY:
|
|
case CDP_ENABLE_PEER_TID_LATENCY:
|
|
val->cdp_vdev_param_peer_tid_latency_enable =
|
|
val->cdp_vdev_param_peer_tid_latency_enable =
|
|
@@ -12519,8 +12525,8 @@ static struct cdp_cmn_ops dp_ops_cmn = {
|
|
.set_vlan_groupkey = dp_set_vlan_groupkey,
|
|
.set_vlan_groupkey = dp_set_vlan_groupkey,
|
|
#endif
|
|
#endif
|
|
.get_peer_mac_list = dp_get_peer_mac_list,
|
|
.get_peer_mac_list = dp_get_peer_mac_list,
|
|
|
|
+ .get_peer_id = dp_get_peer_id,
|
|
#ifdef QCA_SUPPORT_WDS_EXTENDED
|
|
#ifdef QCA_SUPPORT_WDS_EXTENDED
|
|
- .get_wds_ext_peer_id = dp_wds_ext_get_peer_id,
|
|
|
|
.set_wds_ext_peer_rx = dp_wds_ext_set_peer_rx,
|
|
.set_wds_ext_peer_rx = dp_wds_ext_set_peer_rx,
|
|
#endif /* QCA_SUPPORT_WDS_EXTENDED */
|
|
#endif /* QCA_SUPPORT_WDS_EXTENDED */
|
|
|
|
|
|
@@ -14362,10 +14368,7 @@ uint16_t dp_get_peer_mac_list(ol_txrx_soc_handle soc, uint8_t vdev_id,
|
|
return new_mac_cnt;
|
|
return new_mac_cnt;
|
|
}
|
|
}
|
|
|
|
|
|
-#ifdef QCA_SUPPORT_WDS_EXTENDED
|
|
|
|
-uint16_t dp_wds_ext_get_peer_id(ol_txrx_soc_handle soc,
|
|
|
|
- uint8_t vdev_id,
|
|
|
|
- uint8_t *mac)
|
|
|
|
|
|
+uint16_t dp_get_peer_id(ol_txrx_soc_handle soc, uint8_t vdev_id, uint8_t *mac)
|
|
{
|
|
{
|
|
struct dp_peer *peer = dp_peer_find_hash_find((struct dp_soc *)soc,
|
|
struct dp_peer *peer = dp_peer_find_hash_find((struct dp_soc *)soc,
|
|
mac, 0, vdev_id,
|
|
mac, 0, vdev_id,
|
|
@@ -14382,6 +14385,7 @@ uint16_t dp_wds_ext_get_peer_id(ol_txrx_soc_handle soc,
|
|
return peer_id;
|
|
return peer_id;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+#ifdef QCA_SUPPORT_WDS_EXTENDED
|
|
QDF_STATUS dp_wds_ext_set_peer_rx(ol_txrx_soc_handle soc,
|
|
QDF_STATUS dp_wds_ext_set_peer_rx(ol_txrx_soc_handle soc,
|
|
uint8_t vdev_id,
|
|
uint8_t vdev_id,
|
|
uint8_t *mac,
|
|
uint8_t *mac,
|