1109320Ssam# $FreeBSD$ 2109320Ssam 3116953Ssam.PATH: ${.CURDIR}/../../net80211 4109320Ssam 5109320SsamKMOD= wlan 6214056SrpauloSRCS= ieee80211.c ieee80211_action.c ieee80211_ageq.c \ 7195383Ssam ieee80211_crypto.c ieee80211_crypto_none.c ieee80211_dfs.c \ 8138573Ssam ieee80211_freebsd.c ieee80211_input.c ieee80211_ioctl.c \ 9195804Srpaulo ieee80211_mesh.c ieee80211_node.c ieee80211_output.c ieee80211_phy.c \ 10195804Srpaulo ieee80211_power.c ieee80211_proto.c ieee80211_scan.c \ 11206358Srpaulo ieee80211_scan_sta.c ieee80211_radiotap.c ieee80211_ratectl.c \ 12214069Sbschmidt ieee80211_ratectl_none.c ieee80211_regdomain.c \ 13195804Srpaulo ieee80211_ht.c ieee80211_hwmp.c ieee80211_adhoc.c ieee80211_hostap.c \ 14230153Sadrian ieee80211_monitor.c ieee80211_sta.c ieee80211_wds.c ieee80211_ddb.c \ 15246227Sadrian ieee80211_tdma.c ieee80211_superg.c 16231838SuqsSRCS+= bus_if.h device_if.h opt_ddb.h opt_inet.h opt_inet6.h opt_ipx.h \ 17231838Suqs opt_tdma.h opt_wlan.h 18109320Ssam 19151350Syar.if !defined(KERNBUILDDIR) 20178354Ssamopt_wlan.h: 21182668Simp echo "#define IEEE80211_DEBUG 1" > ${.TARGET} 22222161Sbschmidt echo "#define IEEE80211_AMPDU_AGE 1" >> ${.TARGET} 23195804Srpaulo echo "#define IEEE80211_SUPPORT_MESH 1" >> ${.TARGET} 24109320Ssamopt_inet.h: 25182668Simp echo "#define INET 1" > ${.TARGET} 26128091Skanopt_ipx.h: 27182668Simp echo "#define IPX 1" > ${.TARGET} 28183055Ssam# override to get ddb support? 29183055Ssamopt_ddb.h: 30195810Ssam :> ${.TARGET} 31151350Syar.endif 32128091Skan 33109320Ssam.include <bsd.kmod.mk> 34260273Sdim 35262126SdimCWARNFLAGS.ieee80211_adhoc.c= -Wno-unused-function 36260273SdimCWARNFLAGS.ieee80211_crypto.c= -Wno-unused-function 37262126SdimCWARNFLAGS.ieee80211_hostap.c= -Wno-unused-function 38260273SdimCWARNFLAGS.ieee80211_mesh.c= -Wno-unused-function 39262126SdimCWARNFLAGS.ieee80211_sta.c= -Wno-unused-function 40260273SdimCWARNFLAGS+= ${CWARNFLAGS.${.IMPSRC:T}} 41