|
@@ -2030,98 +2030,4 @@ static inline int wlan_hdd_validate_session_id(u8 session_id)
|
|
|
bool hdd_is_roaming_in_progress(void);
|
|
|
void hdd_set_roaming_in_progress(bool value);
|
|
|
|
|
|
-/**
|
|
|
- * hdd_create_and_store_psoc() - Create psoc object and store in hdd context
|
|
|
- * @hdd_ctx: Hdd context
|
|
|
- * @psoc_id: Psoc Id
|
|
|
- *
|
|
|
- * This API creates Psoc object with given @psoc_id and store the psoc reference
|
|
|
- * to hdd context
|
|
|
- *
|
|
|
- * Return: QDF_STATUS
|
|
|
- */
|
|
|
-QDF_STATUS hdd_create_and_store_psoc(hdd_context_t *hdd_ctx, uint8_t psoc_id);
|
|
|
-
|
|
|
-/**
|
|
|
- * hdd_release_and_destroy_psoc() - Deletes the psoc object
|
|
|
- * @hdd_ctx: Hdd context
|
|
|
- *
|
|
|
- * This API deletes psoc object and release its reference from hdd context
|
|
|
- *
|
|
|
- * Return: QDF_STATUS
|
|
|
- */
|
|
|
-QDF_STATUS hdd_release_and_destroy_psoc(hdd_context_t *hdd_ctx);
|
|
|
-
|
|
|
-/**
|
|
|
- * hdd_create_and_store_pdev() - Create pdev object and store in hdd context
|
|
|
- * @hdd_ctx: Hdd context
|
|
|
- *
|
|
|
- * This API creates the pdev object and store the pdev reference to hdd context
|
|
|
- *
|
|
|
- * Return: QDF_STATUS
|
|
|
- */
|
|
|
-QDF_STATUS hdd_create_and_store_pdev(hdd_context_t *hdd_ctx);
|
|
|
-
|
|
|
-/**
|
|
|
- * hdd_release_and_destroy_pdev() - Deletes the pdev object
|
|
|
- * @hdd_ctx: Hdd context
|
|
|
- *
|
|
|
- * This API deletes pdev object and release its reference from hdd context
|
|
|
- *
|
|
|
- * Return: QDF_STATUS
|
|
|
- */
|
|
|
-QDF_STATUS hdd_release_and_destroy_pdev(hdd_context_t *hdd_ctx);
|
|
|
-
|
|
|
-/**
|
|
|
- * hdd_create_and_store_vdev() - Create vdev object and store in hdd adapter
|
|
|
- * @pdev: pdev pointer
|
|
|
- * @adapter: hdd adapter
|
|
|
- *
|
|
|
- * This API creates the vdev object and store the vdev reference to the
|
|
|
- * given @adapter. Also, creates a self peer for the vdev. If the adapter
|
|
|
- * session id and vdev id of the new vdev object doesnot match, destroys the
|
|
|
- * created vdev object and returns failure
|
|
|
- *
|
|
|
- * Return: QDF_STATUS
|
|
|
- */
|
|
|
-QDF_STATUS hdd_create_and_store_vdev(struct wlan_objmgr_pdev *pdev,
|
|
|
- hdd_adapter_t *adapter);
|
|
|
-
|
|
|
-/**
|
|
|
- * hdd_release_and_destroy_vdev() - Delete the vdev object
|
|
|
- * @hdd_ctx: Hdd context
|
|
|
- *
|
|
|
- * This API deletes vdev object and release its reference from hdd adapter
|
|
|
- *
|
|
|
- * Return: QDF_STATUS
|
|
|
- */
|
|
|
-QDF_STATUS hdd_release_and_destroy_vdev(hdd_adapter_t *adapter);
|
|
|
-
|
|
|
-/**
|
|
|
- * hdd_add_peer_object() - Create and add the peer object to the vdev
|
|
|
- * @vdev: vdev pointer
|
|
|
- * @adapter_mode: adapter mode
|
|
|
- * @mac_addr: Peer mac address
|
|
|
- *
|
|
|
- * This API creates and adds the peer object to the given @vdev. The peer type
|
|
|
- * (STA, AP or IBSS) is assigned based on adapter mode. For example, if adapter
|
|
|
- * mode is STA, peer is AP.
|
|
|
- *
|
|
|
- * Return: QDF_STATUS
|
|
|
- */
|
|
|
-QDF_STATUS hdd_add_peer_object(struct wlan_objmgr_vdev *vdev,
|
|
|
- enum tQDF_ADAPTER_MODE adapter_mode,
|
|
|
- uint8_t *mac_addr);
|
|
|
-
|
|
|
-/**
|
|
|
- * hdd_remove_peer_object() - Delete and remove the peer from vdev
|
|
|
- * @vdev: vdev pointer
|
|
|
- * @mac_addr: Peer Mac address
|
|
|
- *
|
|
|
- * This API finds the peer object from given @mac_addr and deletes the same.
|
|
|
- *
|
|
|
- * Return: QDF_STATUS
|
|
|
- */
|
|
|
-QDF_STATUS hdd_remove_peer_object(struct wlan_objmgr_vdev *vdev,
|
|
|
- uint8_t *mac_addr);
|
|
|
#endif /* end #if !defined(WLAN_HDD_MAIN_H) */
|