LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (http://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Linux Wireless Protocol Stack (http://www.linuxquestions.org/questions/linux-wireless-networking-41/linux-wireless-protocol-stack-790725/)

coolguy1988 02-22-2010 03:36 AM

Linux Wireless Protocol Stack
 
Hi all,

Currently I have openSUSE 11.2 in my laptop and I need to modify the wireless protocol stack for my project.
Can anyone tell me where I can find the source code of the protocol stack so I can get started?
Can anyone tell me how to compile and deploy it into my computer as well?

Thank you.

irmin 02-22-2010 04:24 AM

You can find it in the kernel sources:
/usr/src/linux/net/wireless

If you did not have the kernel sources installed, grab them at http://www.kernel.org and unpack it (the folder will be linux-x.y.z/net/wireless).

But your driver does not necessarily use it. Have a look at /usr/src/linux/drivers/net/wireless too.

If you want to recompile the wireless modules, use the kernel sources provided with openSuSE, since they will minimize the risk of breaking your system. If the sources are configured, you can simply modify the source, type make in the top-level directory and unload/load the new modules with insmod/rmmod.

Quote:

I need to modify the wireless protocol stack for my project.
May I ask, why do you need to modify the wireless protocol stack? I think the linux wireless protocol stack is in a stable, mature state. If you want to send user-defined packets, you can use the packet injection features provided by some wireless drivers.

coolguy1988 02-22-2010 11:16 AM

Quote:

Originally Posted by irmin (Post 3872363)

May I ask, why do you need to modify the wireless protocol stack? I think the linux wireless protocol stack is in a stable, mature state. If you want to send user-defined packets, you can use the packet injection features provided by some wireless drivers.

I need to send an additional data for authentication purpose for a client-server application. And I want the data to be sent before allowing access into the wireless network, that's why I think the protocol stack is the place to do it.

If you think that the packet injection method can work, can you tell me more about it? The wikipedia entry doesn't explain much :(

Thank you for the reply.


All times are GMT -5. The time now is 03:17 PM.