MAPI 1.0 review

Download
by rbytes.net on

MAPI is a general API for interfacing with any wireless device driver that support wireless extensions

License: GPL (GNU General Public License)
File size: 19K
Developer: Moustafa A. Youssef
0 stars award from rbytes.net

MAPI is a general API for interfacing with any wireless device driver that support wireless extensions. It is based on the wireless extensions and Wireless Tools. The current version of the API can be used to get most of the information provided by the wireless tools (iwspy, iwconfig, iwpriv.)

The API is designed to work with Linux. It acts as a layer between the wireless card device driver and the application program. For the API to work with a device driver, the device driver should support the wireless extensions correctly. The API has been tested with the wvlan_cs driver, Lucent wavelan2_cs driver, mwavelan_cs , and mwvlan_cs driver. All give different results depending on their level of support to the wireless extensions. For example, only the mwavelan_cs and mwvlan drivers supports the return of all the statistics about all access points in range.

The MAPI API should work with any device driver that supports wireless extensions provided that th driver inplements the wireless extensions correctly.

The API comes with 2 examples:
- example1.c: lists most of the capabilities of the API.
- example_ap.c: lists the specific capability of getting the
signal strength from all the access points in the range. For the
best of my knowledge, only the mwavelan_cs driver (available for
download at: www.cs.umd.edu/users/moustafa/mwavelan) supports this
feature.

3. Files Included
- mapi.h: API header file.
- mapi.c: API implementation file.
- iwcommon.h: Common functions from the wireless tools package.
- iwcommon.c: Common functions implementation from the wireless
tools package.
- example1.c: Example file for using the API.
- example_ap.c: Example file for testing the access point
capabilities.
- README.txt: This file.

MAPI 1.0 search tags