qcacld-3.0: Replace intf_id with link_id
Replace the usage of dp_intf->intf_id with link_id from dp_link. Change-Id: I1885ce300a0373172659ae8c38cb2ca54dda1a9c CRs-Fixed: 3518898
This commit is contained in:

committed by
Rahul Choudhary

parent
1e093bec44
commit
09e724c396
@@ -640,12 +640,11 @@ struct wlan_dp_psoc_callbacks {
|
||||
|
||||
qdf_netdev_t (*dp_get_netdev_by_vdev_mac)(struct qdf_mac_addr *mac_addr);
|
||||
unsigned int (*dp_get_tx_flow_low_watermark)(hdd_cb_handle cb_ctx,
|
||||
uint8_t intf_id);
|
||||
qdf_netdev_t netdev);
|
||||
void (*dp_get_tx_resource)(uint8_t link_id_id,
|
||||
struct qdf_mac_addr *mac_addr);
|
||||
void (*dp_get_tsf_time)(uint8_t intf_id,
|
||||
uint64_t input_time, uint64_t *tsf_time);
|
||||
|
||||
void (*dp_get_tsf_time)(qdf_netdev_t netdev, uint64_t input_time,
|
||||
uint64_t *tsf_time);
|
||||
void (*dp_tsf_timestamp_rx)(hdd_cb_handle ctx, qdf_nbuf_t nbuf);
|
||||
|
||||
QDF_STATUS (*dp_nbuf_push_pkt)(qdf_nbuf_t nbuf,
|
||||
@@ -675,13 +674,13 @@ struct wlan_dp_psoc_callbacks {
|
||||
bool (*dp_send_rx_pkt_over_nl)(qdf_netdev_t dev, uint8_t *addr,
|
||||
qdf_nbuf_t nbuf, bool unecrypted);
|
||||
bool
|
||||
(*wlan_dp_sta_get_dot11mode)(hdd_cb_handle context, uint8_t vdev_id,
|
||||
(*wlan_dp_sta_get_dot11mode)(hdd_cb_handle context, qdf_netdev_t netdev,
|
||||
enum qca_wlan_802_11_mode *dot11_mode);
|
||||
bool (*wlan_dp_get_ap_client_count)(hdd_cb_handle context,
|
||||
uint8_t vdev_id,
|
||||
qdf_netdev_t netdev,
|
||||
uint16_t *client_count);
|
||||
bool (*wlan_dp_sta_ndi_connected)(hdd_cb_handle context,
|
||||
uint8_t vdev_id);
|
||||
qdf_netdev_t netdev);
|
||||
bool (*dp_any_adapter_connected)(hdd_cb_handle context);
|
||||
void (*dp_send_svc_nlink_msg)(int radio, int type, void *data, int len);
|
||||
|
||||
@@ -690,7 +689,7 @@ struct wlan_dp_psoc_callbacks {
|
||||
union wlan_tp_data *data,
|
||||
uint8_t dir);
|
||||
void (*dp_send_mscs_action_frame)(hdd_cb_handle context,
|
||||
uint8_t vdev_id);
|
||||
qdf_netdev_t netdev);
|
||||
void (*dp_pm_qos_add_request)(hdd_cb_handle context);
|
||||
void (*dp_pm_qos_remove_request)(hdd_cb_handle context);
|
||||
void (*dp_pm_qos_update_request)(hdd_cb_handle context,
|
||||
@@ -701,22 +700,22 @@ struct wlan_dp_psoc_callbacks {
|
||||
bool enable_disable_flag,
|
||||
uint8_t user_triggered, int size);
|
||||
bool (*dp_is_roaming_in_progress)(hdd_cb_handle context);
|
||||
bool (*dp_is_ap_active)(hdd_cb_handle context, uint8_t vdev_id);
|
||||
bool (*dp_is_ap_active)(hdd_cb_handle context, qdf_netdev_t netdev);
|
||||
void (*dp_disable_rx_ol_for_low_tput)(hdd_cb_handle context,
|
||||
bool disable);
|
||||
int (*dp_napi_apply_throughput_policy)(hdd_cb_handle context,
|
||||
uint64_t tx_packets,
|
||||
uint64_t rx_packets);
|
||||
void (*wlan_dp_display_tx_multiq_stats)(hdd_cb_handle context,
|
||||
uint8_t vdev_id);
|
||||
qdf_netdev_t netdev);
|
||||
void (*wlan_dp_display_netif_queue_history)(hdd_cb_handle context,
|
||||
enum qdf_stats_verbosity_level verb_lvl);
|
||||
void (*osif_dp_process_mic_error)(struct dp_mic_error_info *info,
|
||||
struct wlan_objmgr_vdev *vdev);
|
||||
bool (*dp_is_link_adapter)(hdd_cb_handle context, uint8_t vdev_id);
|
||||
void (*os_if_dp_nud_stats_info)(struct wlan_objmgr_vdev *vdev);
|
||||
uint32_t (*dp_get_pause_map)(hdd_cb_handle context, uint8_t vdev_id);
|
||||
void (*dp_nud_failure_work)(hdd_cb_handle context, uint8_t vdev_id);
|
||||
uint32_t (*dp_get_pause_map)(hdd_cb_handle context, qdf_netdev_t dev);
|
||||
void (*dp_nud_failure_work)(hdd_cb_handle context, qdf_netdev_t dev);
|
||||
void (*link_monitoring_cb)(struct wlan_objmgr_psoc *psoc,
|
||||
uint8_t vdev_id,
|
||||
bool is_link_speed_good);
|
||||
|
@@ -924,12 +924,12 @@ bool ucfg_dp_get_dad_value(struct wlan_objmgr_vdev *vdev);
|
||||
bool ucfg_dp_get_con_status_value(struct wlan_objmgr_vdev *vdev);
|
||||
|
||||
/**
|
||||
* ucfg_dp_get_intf_id() - Get intf_id
|
||||
* ucfg_dp_get_link_id() - Get link_id
|
||||
* @vdev: vdev context
|
||||
*
|
||||
* Return: intf_id
|
||||
* Return: link_id
|
||||
*/
|
||||
uint8_t ucfg_dp_get_intf_id(struct wlan_objmgr_vdev *vdev);
|
||||
uint8_t ucfg_dp_get_link_id(struct wlan_objmgr_vdev *vdev);
|
||||
|
||||
/**
|
||||
* ucfg_dp_get_arp_stats() - Get ARP stats
|
||||
@@ -1414,13 +1414,13 @@ void ucfg_dp_wfds_del_server(void);
|
||||
|
||||
/**
|
||||
* ucfg_dp_config_direct_link() - Set direct link config for vdev
|
||||
* @vdev: objmgr Vdev handle
|
||||
* @dev: netdev
|
||||
* @config_direct_link: Flag to enable direct link path
|
||||
* @enable_low_latency: Flag to enable low link latency
|
||||
*
|
||||
* Return: QDF Status
|
||||
*/
|
||||
QDF_STATUS ucfg_dp_config_direct_link(struct wlan_objmgr_vdev *vdev,
|
||||
QDF_STATUS ucfg_dp_config_direct_link(qdf_netdev_t dev,
|
||||
bool config_direct_link,
|
||||
bool enable_low_latency);
|
||||
#else
|
||||
@@ -1457,7 +1457,7 @@ static inline void ucfg_dp_wfds_del_server(void)
|
||||
#endif
|
||||
|
||||
static inline
|
||||
QDF_STATUS ucfg_dp_config_direct_link(struct wlan_objmgr_vdev *vdev,
|
||||
QDF_STATUS ucfg_dp_config_direct_link(qdf_netdev_t dev,
|
||||
bool config_direct_link,
|
||||
bool enable_low_latency)
|
||||
{
|
||||
|
Reference in New Issue
Block a user