Re: [PATCH] wpa_cli: Run action file in case of an AP event

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Di, 2016-05-24 at 00:19 +0300, Jouni Malinen wrote:
> On Mon, May 23, 2016 at 05:11:47PM +0200, Jörg Krause wrote:
> > Run the action script in case of an AP event "AP-ENABLED" or "AP-
> > DISABLED".
> 
> Thanks, applied.

Many thanks!

I would like to pass more events, e.g. ASSOC-REJECT, to the action
script. Do you have any concerns about which events are passed?

Currently, the events are passed in two different ways: Pass a
shortened string like "CONNECTED" and "DISCONNECTED" for CTRL_EVENT_*
or pass a full string for all other events.

As ASSOC-REJECT is of type CTRL_EVENT_* too, do you prefer to pass the
string "ASSOC-REJECT" or CTRL_EVENT_ASSOC_REJECT, e.g.

    wpa_cli_exec(action_file, ifname, "ASSOC-REJECT");

OR

    wpa_cli_exec(action_file, ifname, CTRL_EVENT_ASSOC_REJECT);

Best regards,
Jörg Krause

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux