qcacmn: Move Spectral Netlink APIs to os_if layer
Spectral Netlink related APIs are currently present in target_if layer, move them to os_if layer. Change-Id: I86a5495f6ec8aa85a2e9639902503a522b023f8e CRs-Fixed: 2151548
This commit is contained in:

committed by
snandini

parent
82032dd2a4
commit
101778698b
@@ -502,6 +502,22 @@ struct spectral_samp_msg {
|
||||
struct spectral_samp_data samp_data;
|
||||
} __ATTRIB_PACKED;
|
||||
|
||||
/* Forward declarations */
|
||||
struct wlan_objmgr_pdev;
|
||||
|
||||
/**
|
||||
* struct spectral_nl_cb - Spectral Netlink callbacks
|
||||
* @get_nbuff: Get the socket buffer to send the data to the application
|
||||
* @send_nl_bcast: Send data to the application using netlink broadcast
|
||||
* @send_nl_unicast: Send data to the application using netlink unicast
|
||||
* @destroy_netlink: De-initialize Netlink data structures
|
||||
*/
|
||||
struct spectral_nl_cb {
|
||||
void *(*get_nbuff)(struct wlan_objmgr_pdev *pdev);
|
||||
int (*send_nl_bcast)(struct wlan_objmgr_pdev *pdev);
|
||||
int (*send_nl_unicast)(struct wlan_objmgr_pdev *pdev);
|
||||
int (*destroy_netlink)(struct wlan_objmgr_pdev *pdev);
|
||||
};
|
||||
#ifdef WIN32
|
||||
#pragma pack(pop, spectral)
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user