wpa_supplicant deauthentication frames

Jouni Malinen j
Thu Mar 1 00:55:32 PST 2012


On Thu, Mar 01, 2012 at 02:15:12PM +0900, Hector Akamine wrote:
> In order to do some testing, I commented out the
> wpa_drv_deauthenticate() call inside wpa_supplicant_deauthenticate()
> (in wpa_supplicant.c), to force wpa_supplicant not to send
> deauthentication frames on disconnection (for example when killing the
> wpa_supplicant process), but I am still getting deauthentication
> frames from the STA. Is there any other part of the code that control
> the sending of these frames?
> I am using a recent commit from git, driver is nl80211 (ath9k)

mac80211 (i.e., kernel code) does that for you when wpa_supplicant sets
the interface down (which happens when you kill it.. i.e., you would
need to leave it running or kill it with kill -9).

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list