============================================================================
관련 파일 추측
============================================================================
vim net/wireless/Kconfig
----------------------------------------------------------------------------
WIRELESS_OLD_REGULATORY [*] Old wireless static regulatory definitions
WIRELESS_EXT -*- Wireless extensions
WIRELESS_EXT_SYSFS [*] Wireless extensions sysfs files
LIB80211 -*- Common routines for IEEE802.11 drivers
----------------------------------------------------------------------------
vim net/wireless/Makefile
----------------------------------------------------------------------------
obj-$(CONFIG_WIRELESS_EXT) += wext.o
obj-$(CONFIG_LIB80211) += lib80211.o
----------------------------------------------------------------------------
wext.c
lib80211.c
lib80211_crypt_ccmp.c
lib80211_crypt_tkip.c
lib80211_crypt_wep.c
============================================================================
vim drivers/net/wireless/Kconfig
----------------------------------------------------------------------------
WLAN_PRE80211 [*] Wireless LAN (IEEE 802.11)
LIBERTAS <*> Marvell 8xxx Libertas WLAN driver support
LIBERTAS_SDIO
LIBERTAS_DEBUG [*] Enable full debugging output in the Libertas module.
<*> IEEE 802.11 for Host AP (Prism2/2.5/3 and WEP/TKIP/CCMP)
[*] Support downloading firmware images with Host AP driver
----------------------------------------------------------------------------
vim drivers/net/wireless/Makefile
vim drivers/net/wireless/libertas/Makefile
----------------------------------------------------------------------------
libertas-objs := main.o wext.o rx.o tx.o cmd.o cmdresp.o scan.o 11d.o debugfs.o persistcfg.o ethtool.o assoc.o
libertas_sdio-objs += if_sdio.o
obj-$(CONFIG_LIBERTAS) += libertas.o
obj-$(CONFIG_LIBERTAS_SDIO) += libertas_sdio.o
----------------------------------------------------------------------------
11d.c
ethtool.c
persistcfg.c
assoc.c
if_sdio.c
rx.c
built-in.c
libertas.c
scan.c
cmd.c
libertas_sdio.mod.c
tx.c
cmdresp.c
libertas_sdio.c
wext.c
debugfs.c
main.c
============================================================================
============================================================================
drivers/net/wireless/libertas/if_sdio.c
- S3C6410 HSMMC 드라이버와 인터페이스 되는 파일
- 커널에 해당 디바이스 드라이버를 등록
- 펌웨어 다운로드 및 SDIO 인터페이스 초기화
----------------------------------------------------------------------------
module_init(if_sdio_init_module);
sdio_register_driver(&if_sdio_driver);
static struct sdio_driver if_sdio_driver = {
.name = "libertas_sdio",
.id_table = if_sdio_ids,
.probe = if_sdio_probe,
.remove = if_sdio_remove,
};
━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━