added function to open airpcap interface, api to set link type and frequency/channel