mac80211: 802.11p OCB mode support
This patch adds 802.11p OCB (Outside the Context of a BSS) mode support. When communicating in OCB mode a mandatory wildcard BSSID (48 '1' bits) is used. The EDCA parameters handling function was changed to support 802.11p specific values. The insertion of a newly discovered STAs is done in the similar way as in the IBSS mode -- through the deferred insertion. The OCB mode uses a periodic 'housekeeping task' for expiration of disconnected STAs (in the similar manner as in the MESH mode). New Kconfig option for verbose OCB debugging outputs is added. Signed-off-by: Rostislav Lisovy <rostislav.lisovy@fel.cvut.cz> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:

committed by
Johannes Berg

parent
6e0bd6c35b
commit
239281f803
@@ -2,6 +2,12 @@
|
||||
#define __MAC80211_DEBUG_H
|
||||
#include <net/cfg80211.h>
|
||||
|
||||
#ifdef CONFIG_MAC80211_OCB_DEBUG
|
||||
#define MAC80211_OCB_DEBUG 1
|
||||
#else
|
||||
#define MAC80211_OCB_DEBUG 0
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_MAC80211_IBSS_DEBUG
|
||||
#define MAC80211_IBSS_DEBUG 1
|
||||
#else
|
||||
@@ -131,6 +137,10 @@ do { \
|
||||
_sdata_dbg(MAC80211_HT_DEBUG && net_ratelimit(), \
|
||||
sdata, fmt, ##__VA_ARGS__)
|
||||
|
||||
#define ocb_dbg(sdata, fmt, ...) \
|
||||
_sdata_dbg(MAC80211_OCB_DEBUG, \
|
||||
sdata, fmt, ##__VA_ARGS__)
|
||||
|
||||
#define ibss_dbg(sdata, fmt, ...) \
|
||||
_sdata_dbg(MAC80211_IBSS_DEBUG, \
|
||||
sdata, fmt, ##__VA_ARGS__)
|
||||
|
Reference in New Issue
Block a user