Re: [PATCH v2] supplicant: Allow custom probe and assoc req ie.

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

 





On 04/24/2016 01:30 AM, Jouni Malinen wrote:
On Tue, Apr 19, 2016 at 07:06:49AM -0700, Ben Greear wrote:
The "vendor_elem" array is in the wpa_s struct, but the config logic
deals with "struct wpa_config", which has no way to reference wpa_s as
far as I can tell.

Correct.

Any opinion on moving wpa_s->vendor_elem to the wpa_config struct?

Or, maybe add a back-pointer from wpa_config to the wpa_s?

Why would either of those be needed? The new configuration parameters
would be completely independent of wpa_s->vendor_elem, i.e., they are
used only as a default value to set wpa_s->vendor_elem when bringing up
an interface. No further changes to the configuration parameter during
the lifetime of the interface would change wpa_s->vendor_elem and
similarly, no VENDOR_ELEM* command would change the value of the
configuration parameter.

Oh, I was thinking that the config file would write directly into the
vendor_elem array instead of storing a local copy.  I think I see what you are suggesting now...

Thanks,
Ben


--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc  http://www.candelatech.com

_______________________________________________
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