introduce new IEEE80211_STA_ONLY kernel option that can be set to
authordamien <damien@openbsd.org>
Wed, 27 Aug 2008 09:05:03 +0000 (09:05 +0000)
committerdamien <damien@openbsd.org>
Wed, 27 Aug 2008 09:05:03 +0000 (09:05 +0000)
commit171ac09a1c5a8329bb95af70d5ea1a14647fc337
tree72d2ee8ec5124b1cb1e5bc4b8cb1c5a0e086264b
parent2aa349e18c7fb28c340be41c15fe73d885dba5ce
introduce new IEEE80211_STA_ONLY kernel option that can be set to
remove IBSS and HostAP support from net80211 and 802.11 drivers.
it can be used to shrink RAMDISK kernels for instance (like what
was done for wi(4)).
it also has the benefit of highlighting what is specific to IBSS
and HostAP modes in the code.
the cost is that we now have two code paths to maintain.
33 files changed:
sys/dev/ic/acx.c
sys/dev/ic/an.c
sys/dev/ic/ar5210.c
sys/dev/ic/ar5211.c
sys/dev/ic/ar5212.c
sys/dev/ic/ath.c
sys/dev/ic/atw.c
sys/dev/ic/bwi.c
sys/dev/ic/malo.c
sys/dev/ic/pgt.c
sys/dev/ic/rt2560.c
sys/dev/ic/rt2661.c
sys/dev/ic/rt2860.c
sys/dev/ic/rtw.c
sys/dev/pci/if_ipw.c
sys/dev/pci/if_iwi.c
sys/dev/pci/if_iwn.c
sys/dev/pci/if_wpi.c
sys/dev/usb/if_ral.c
sys/dev/usb/if_rum.c
sys/dev/usb/if_zyd.c
sys/net80211/ieee80211.c
sys/net80211/ieee80211_crypto.c
sys/net80211/ieee80211_crypto.h
sys/net80211/ieee80211_crypto_tkip.c
sys/net80211/ieee80211_input.c
sys/net80211/ieee80211_ioctl.c
sys/net80211/ieee80211_node.c
sys/net80211/ieee80211_output.c
sys/net80211/ieee80211_pae_input.c
sys/net80211/ieee80211_pae_output.c
sys/net80211/ieee80211_proto.c
sys/net80211/ieee80211_var.h