Re: [PATCH 3/3] OWE: allow adding new STAs w/o DH IEs when OWE is offloaded

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

 



> > Drivers/cards supporting SME internally may perform OWE offloading to
> > hostapd. This can be done using EVENT_UPDATE_DH mechanism and appropriate
> > handler hostapd_notif_update_dh_ie. When this mechanism is in use, then
> > hostapd creates STA entries for OWE processing and reports DH information
> > element to driver. After association is completed, driver notifies hostapd
> > that new STA is ready using EVENT_ASSOC mechanism and appropriate handler
> > hostapd_notif_assoc.
> > 
> > Currently the availability of DH IEs is validated in both events by the
> > function wpa_validate_wpa_ie. However for EVENT_ASSOC this is needed only
> > for non-SME drivers. For SME drivers this may be redundant since during
> > processing of OWE offload STA entry has been already added and OWE PMK
> > has been already created.
> > 
> > This patch modifies OWE processing so that drivers performing OWE offload
> > may not pass DH IE in EVENT_ASSOC. For this purpose the following changes
> > have been introduced. Function wpa_validate_wpa_ie is modified so that it
> > does not report failure if DH IE is not provided. DH IE availability is
> > checked in owe_assoc_req_process in the case if previously derived
> > OWE PMK is not available. Besides, availability of DH IE is verified
> > in handle_assoc(check_assoc_ies).
> 
> Why would a driver not pass Diffied-Hellman Parameter element in
> EVENT_ASSOC? data->assoc_info.req_ies is supposed to include _all_ IEs
> received in the (Re)Association Request frame. I would not want to make
> an exception on that if that results in drivers hiding IEs that were
> included in that frame.

Well, it was not about hiding any IEs. This was just an attempt to soften
requirement on firmware and not to pass IEs that are not needed by
EVENT_ASSOC in the case of FullMAC driver.

IIUC, in the case of OWE offload, DH IE passed in EVENT_ASSOC is not used:
its processing is skipped by owe_assoc_req_process since sta->owe_pmk
has been obtained and sta->external_dh_updated has been set during
processing of EVENT_UPDATE_DH event.

Regards,
Sergey

_______________________________________________
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