qcacmn: Add changes to indicate beacon frame to cfg80211 layer

Add changes to indicate beacon frame to cfg80211 layer from scan
module.

Change-Id: Ia36e957bd2324130c8c3175569ce38267cd3cf53
CRs-Fixed: 1095299
This commit is contained in:
Abhishek Singh
2017-02-17 18:21:13 +05:30
committed by qcabuildsw
parent d4e600f7d6
commit 9eb058adca
3 changed files with 174 additions and 1 deletions

View File

@@ -29,6 +29,24 @@
#include <net/cfg80211.h>
#include <qca_vendor.h>
#define cfg80211_log(level, args...) \
QDF_TRACE(QDF_MODULE_ID_OS_IF, level, ## args)
#define cfg80211_logfl(level, format, args...) \
cfg80211_log(level, FL(format), ## args)
#define cfg80211_alert(format, args...) \
cfg80211_logfl(QDF_TRACE_LEVEL_FATAL, format, ## args)
#define cfg80211_err(format, args...) \
cfg80211_logfl(QDF_TRACE_LEVEL_ERROR, format, ## args)
#define cfg80211_warn(format, args...) \
cfg80211_logfl(QDF_TRACE_LEVEL_WARN, format, ## args)
#define cfg80211_notice(format, args...) \
cfg80211_logfl(QDF_TRACE_LEVEL_INFO, format, ## args)
#define cfg80211_info(format, args...) \
cfg80211_logfl(QDF_TRACE_LEVEL_INFO_HIGH, format, ## args)
#define cfg80211_debug(format, args...) \
cfg80211_logfl(QDF_TRACE_LEVEL_DEBUG, format, ## args)
#define COMMON_VENDOR_COMMANDS \
{ \
.info.vendor_id = OUI_QCA, \