How to get WIFI parameters (bandwidth, delay) on Ubuntu using C
===

I am student and I am writting simple application in C99 standard. Program should working on Ubuntu.

I have one problem - I don't know how can I get some Wifi parameters like **bandwidth** or **delay**. I haven't any idea how to do this. It is possible to do this using standard functions or any linux API (ech I am windows user)?.