Software AP 기본 사항
1. Wireless Interface 기반 system demon으로 동작.
- Wireless Interface의 경우 Master모드를 지원해야 Software AP를 동작 가능
2. Wireless protocol 802.11g 로 제한(hostapd 2.0 기본)
- MAX. Bit rate 54Mbps
Software AP 포팅 항목
- Wireless LAN Card Driver
- hostapd : Software AP demon
- Library : libnl, brctl, OpenSSL
Cross Compile 환경
Cross Compile Chip : ST7105
Cross Compiler : sh4-linux-gcc
Cross Compiler 순서
1. libnl Cross Compile.
1) Source download
- Netlink Protocol Library Suite (libnl) - http://www.carisma.slowglass.com/~tgr/libnl/ Source download
2) Configure
- ./configure --prefix=/usr/export CC=sh4-linux-gcc --host=sh4
3) Make & Make Install
- make; make install;
2. OpenSSL
1) Source download
- OpenSSL - http://www.openssl.org Source download
2) Configure
- ./Configure no-hw no-shared no-dso no-asm --openssldir=/usr/export
3) Makefile 수정
- gcc -> sh4-linux-gcc
3. hostapd
1) Source download
- hostapd - http://hostap.epitest.fi/hostapd/ Source download
2) decompress
3) cp deconfig .config
4) Makefile 수정
- gcc -> sh4-linux-gcc
- include library path. (/usr/export)
- include Kernel path.
5) make
Software AP 테스트 결과~!
- hostapd 동작 실패.
원인 : nl80211 driver 초기화 실패
수정 방법 : Kernel Compile 시 nl80211 driver support 하도록 Kernel 재 컴파일
추후 테스트 진행 및 테스트
Test에서 사용한 Kernel의 경우 Linux 2.6 버전이지만 nl80211을 지원 못함.
Kernel 버전업이 필요하나, 커널 변경 불가로 인하여 추후에 테스트 진행 예정.
2014. 1. 30 ~
STLinux사로 부터 2.6.32.59 전달 받음. Kernel 안정성 테스트후 진행 예정.