hostapd: Confusion (IOCTL_SET_KEY)

Nazeer Khan Nazeer.Khan at nicta.com.au
Fri Mar 23 05:04:46 EDT 2007


Hi,

I am using hostapd with madwifi. I have a little confusion about how
hostapd set and get encryption keys.

Can someone tell what is the basic difference between the following two.

madwifi_set_key: alg=CCMP addr=00:13:CE:ED:36:9E key_idx=0
madwifi_set_key: alg=TKIP addr=00:00:00:00:00:00 key_idx=1

What is confusing me is that what will be the difference if we specify the
MAC address of the station or if we specify 00:00:00:00:00:00.

Secondly, when hostapd is requesting for the key, it is always using
00:00:00:00:00:00 as MAC address, why not the MAC address of the station?

Thank you

Nazeer


--------------------------------------------------------------------------
This email and any attachments may be confidential. They may contain legally
privileged information or copyright material. You should not read, copy,
use or disclose them without authorisation. If you are not an intended
recipient, please contact us at once by return email and then delete both
messages. We do not accept liability in connection with computer virus,
data corruption, delay, interruption, unauthorised access or unauthorised
amendment. This notice should not be removed.



More information about the HostAP mailing list