qcacmn: Add cfg80211 scan start and stop command
Add cfg80211 scan start and scan stop commands. Change-Id: I20b6c7743496ae82cc3a93befb5b68812047ec1a CRs-Fixed: 1095299
This commit is contained in:

committed by
Abhishek Singh

parent
6a1c821afd
commit
7acd31fa33
@@ -26,6 +26,7 @@
|
||||
|
||||
#include <linux/version.h>
|
||||
#include <linux/netdevice.h>
|
||||
#include <net/netlink.h>
|
||||
#include <net/cfg80211.h>
|
||||
#include <qca_vendor.h>
|
||||
|
||||
@@ -63,4 +64,18 @@
|
||||
.doit = NULL \
|
||||
},
|
||||
|
||||
#if (LINUX_VERSION_CODE < KERNEL_VERSION(4, 7, 0))
|
||||
static inline int
|
||||
wlan_cfg80211_nla_put_u64(struct sk_buff *skb, int attrtype, u64 value)
|
||||
{
|
||||
return nla_put_u64(skb, attrtype, value);
|
||||
}
|
||||
#else
|
||||
static inline int
|
||||
wlan_cfg80211_nla_put_u64(struct sk_buff *skb, int attrtype, u64 value)
|
||||
{
|
||||
return nla_put_u64_64bit(skb, attrtype, value, NL80211_ATTR_PAD);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user