qcacmn: Configure spectral module for Gen2
-Initialize the default Configuration as gen2 for spectral module on MCL. -Add support to general netlink socket. Change-Id: Iab06f66d18c4791f0ff5483781634df2a7268ddb CRs-Fixed: 2183870
This commit is contained in:

committed by
snandini

parent
101778698b
commit
cd793f38a3
@@ -22,6 +22,9 @@
|
||||
|
||||
#include <net/netlink.h>
|
||||
#include <wlan_objmgr_pdev_obj.h>
|
||||
#include <linux/version.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/kernel.h>
|
||||
|
||||
/* NETLINK related declarations */
|
||||
#if (KERNEL_VERSION(2, 6, 31) > LINUX_VERSION_CODE)
|
||||
@@ -51,4 +54,14 @@ extern struct net init_net;
|
||||
*/
|
||||
void os_if_spectral_netlink_init(struct wlan_objmgr_pdev *pdev);
|
||||
|
||||
/**
|
||||
* os_if_spectral_prep_skb() - Prepare socket buffer
|
||||
* @pdev : Pointer to pdev
|
||||
*
|
||||
* Prepare socket buffer to send the data to application layer
|
||||
*
|
||||
* Return: NLMSG_DATA of the created skb or NULL if no memory
|
||||
*/
|
||||
void *os_if_spectral_prep_skb(struct wlan_objmgr_pdev *pdev);
|
||||
|
||||
#endif /* _OS_IF_SPECTRAL_NETLINK_H */
|
||||
|
Reference in New Issue
Block a user