Hi, I am willing to hack hostapd and got en error:
Code:
:/root/work/wpa/hostapd # cp defconfig .config
:/root/work/wpa/hostapd # gmake
../src/ap/iapp.c:46:30: warning: netpacket/packet.h: No such file or directory
../src/ap/iapp.c: In function 'iapp_init':
../src/ap/iapp.c:394: error: storage size of 'addr' isn't known
../src/ap/iapp.c:424: error: 'struct ifreq' has no member named 'ifr_ifindex'
../src/ap/iapp.c:468: error: 'SOL_IP' undeclared (first use in this function)
../src/ap/iapp.c:468: error: (Each undeclared identifier is reported only once
../src/ap/iapp.c:468: error: for each function it appears in.)
../src/ap/iapp.c:475: error: 'PF_PACKET' undeclared (first use in this function)
../src/ap/iapp.c:483: error: 'AF_PACKET' undeclared (first use in this function)
../src/ap/iapp.c:394: warning: unused variable 'addr'
../src/ap/iapp.c: In function 'iapp_deinit':
../src/ap/iapp.c:522: error: 'SOL_IP' undeclared (first use in this function)
gmake: *** [../src/ap/iapp.o] Error 1