Connect/Disconnect functions in ath9k
Hi Everyone,
??????? I would like to know what is the responsible function in ath9k which enables the users to connect to their wireless LANs (with specific SSID). Or at least what is the function that ath9k will call when the user connects to ?any of the wireless networks around him.
??????? I tried a lot, but I did not get any result, so could anyone help me ??
Thanks in advance. :)
You're looking in the wrong place. All the ath9k driver is doing is providing a way to control the hardware.
You need to look at the rest of the stack. Specifically:
* mac80211, which implements bits of the MLME stack;
* nl/cfg80211, which handles communication and configuration;
* hostapd/wpa_supplicant, where much of the MLME happens in userland these days.
HTH,
Adrian