• Margit Schubert-While's avatar
    [PATCH] prism54 initial WPA support · 96ad68ac
    Margit Schubert-While authored
    * Work based on initial patches from Jouni Malinen <jkmaline@cc.hut.fi>
    * Initial wpa_supplicant support work:
    * isl_ioctl.c (prism54_process_trap_helper): Start to use mlmeex,
    * start doing what's right for
    * DOT11_OID_AUTHENTICATEEX,
    * DOT11_OID_ASSOCIATEEX,
    * DOT11_OID_ASSOCIATEEX, and
    * DOT11_OID_REASSOCIATEEX
    
    * isl_ioctl.c: add temporary structure for wpa_supplicant requests,
    
    * isl_ioctl.c: add prism2_ioctl_set_encryption which can probably be removed
    later
    
    * isl_ioctl.c: add prism2_ioctl_set_generic_element (well tested)
    
    * isl_ioctl.c: add prism2_ioctl_mlme which should be unnecessary since
    * WE scan should be used by wpa_supplicant
    
    * isl_ioctl.c: add prism54_hostapd - this parses wpa_supplicant
    * requests and does the right job for each
    
    * isl_ioctl.c (prism54_set_wpa): changed to not use mgt_set/mgt_commit
    * as commit is unecessary. Added proper OID sets to enable/disable WPA.
    * This is called by wpa_supplicant at startup. This should eventually
    * be part of WE18.
    
    * isl_ioctl.c (prism54_ioctl): Links wpa_supplicant to prism54
    
    * isl_ioctl.h: defined prism54_set_wpa to allow prism54_hostapd to use
    
    * isl_oid.h: add struct obj_attachment for OID OID_TYPE_ATTACH
    
    * oid_mgt.c: map OID DOT11_OID_ATTACHMENT to struct obj_attachment
    
    * oid_mgt.c (mgt_le_to_cpu, mgt_cpu_to_le): handle endianness for
    * obj_attachment
    
    * oid_mgt.c: add mgt_set_varlen, needed for mlmeex as it has a
    * variable size field.
    
    * oid_mgt.c: add mgt_unlatch_all, this can be used to force a commit
    * on OIDs:
    * MEDIUMLIMIT, BEACONPERIOD, DTIMPERIOD, ATIMWINDOW,
    * LISTENINTERVAL, FREQUENCY, EXTENDEDRATES
    * These OIDs are "latched". TODO: config mode handling.
    * oid_mgt.c (mgt_response_to_str): learn to parse OID_TYPE_ATTACH
    * oid_mgt.h: add mgt_set_varlen, and mgt_unlatch_all
    96ad68ac
isl_oid.h 12.4 KB