mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 00:21:59 +00:00
6e0bd6c35b
This patch adds new iface type (NL80211_IFTYPE_OCB) representing the OCB (Outside the Context of a BSS) mode. When establishing a connection to the network a cfg80211_join_ocb function is called (particular nl80211_command is added as well). A mandatory parameters during the ocb_join operation are 'center frequency' and 'channel width (5/10 MHz)'. Changes done in mac80211 are minimal possible required to avoid many warnings (warning: enumeration value 'NL80211_IFTYPE_OCB' not handled in switch) during compilation. Full functionality (where needed) is added in the following patch. Signed-off-by: Rostislav Lisovy <rostislav.lisovy@fel.cvut.cz> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
26 lines
905 B
Makefile
26 lines
905 B
Makefile
obj-$(CONFIG_CFG80211) += cfg80211.o
|
|
obj-$(CONFIG_LIB80211) += lib80211.o
|
|
obj-$(CONFIG_LIB80211_CRYPT_WEP) += lib80211_crypt_wep.o
|
|
obj-$(CONFIG_LIB80211_CRYPT_CCMP) += lib80211_crypt_ccmp.o
|
|
obj-$(CONFIG_LIB80211_CRYPT_TKIP) += lib80211_crypt_tkip.o
|
|
|
|
obj-$(CONFIG_WEXT_CORE) += wext-core.o
|
|
obj-$(CONFIG_WEXT_PROC) += wext-proc.o
|
|
obj-$(CONFIG_WEXT_SPY) += wext-spy.o
|
|
obj-$(CONFIG_WEXT_PRIV) += wext-priv.o
|
|
|
|
cfg80211-y += core.o sysfs.o radiotap.o util.o reg.o scan.o nl80211.o
|
|
cfg80211-y += mlme.o ibss.o sme.o chan.o ethtool.o mesh.o ap.o trace.o ocb.o
|
|
cfg80211-$(CONFIG_CFG80211_DEBUGFS) += debugfs.o
|
|
cfg80211-$(CONFIG_CFG80211_WEXT) += wext-compat.o wext-sme.o
|
|
cfg80211-$(CONFIG_CFG80211_INTERNAL_REGDB) += regdb.o
|
|
|
|
CFLAGS_trace.o := -I$(src)
|
|
|
|
ccflags-y += -D__CHECK_ENDIAN__
|
|
|
|
$(obj)/regdb.c: $(src)/db.txt $(src)/genregdb.awk
|
|
@$(AWK) -f $(srctree)/$(src)/genregdb.awk < $< > $@
|
|
|
|
clean-files := regdb.c
|