original files of m241
This commit is contained in:
@@ -0,0 +1,116 @@
|
||||
/* ipwps_sec_config.h - IPWPS Security Configuration module implementation */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2009 Wind River Systems, Inc.
|
||||
*
|
||||
* The right to copy, distribute, modify, or otherwise make use
|
||||
* of this software may be licensed only pursuant to the terms
|
||||
* of an applicable Wind River license agreement.
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
modification history
|
||||
--------------------
|
||||
01a,16apr09,mry Created
|
||||
*/
|
||||
#ifndef IPWPS_SEC_CONFIG_H
|
||||
#define IPWPS_SEC_CONFIG_H
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 1 DESCRIPTION
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
/* This is a common header file that may be included by ipwps application
|
||||
* modules that need to configure or retrieve supported security configurations
|
||||
* into/from the wireless driver and supplicant.
|
||||
*/
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 2 CONFIGURATION
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 3 INCLUDE FILES
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
#include <ipcom_type.h>
|
||||
#include <ipcom_cstyle.h>
|
||||
|
||||
#include "ipwps_common.h"
|
||||
#include "ipwps_public.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 4 DEFINES
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 5 TYPES
|
||||
****************************************************************************
|
||||
*/
|
||||
struct Ipwps_ctx_st; /* Forward decleration */
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 6 FUNCTIONS
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
/* There may be a need for APIs to retrieve the currently supported security capabilities of the driver
|
||||
* so the credential config module can generate a supported set of credentials
|
||||
*/
|
||||
|
||||
/*
|
||||
*===========================================================================
|
||||
* Ipwps_sec_config_set_credentials
|
||||
*===========================================================================
|
||||
* Description:
|
||||
* Set the security parameters in the specified credentials into the driver
|
||||
* and supplicant. This routine is called by the WPS Enrollee or AP modules.
|
||||
* Parameters:
|
||||
*
|
||||
* Returns:
|
||||
*/
|
||||
IP_GLOBAL Ip_err ipwps_sec_config_set_credentials
|
||||
(
|
||||
struct Ipwps_ctx_st* ctx,
|
||||
Ipwps_credential_set *cred
|
||||
);
|
||||
|
||||
/*
|
||||
*===========================================================================
|
||||
* ipwps_set_ap_ssid
|
||||
*===========================================================================
|
||||
* Description: Set the SSID on a WPS AP.
|
||||
* Parameters:
|
||||
* char *ssid - NULL terminated SSID.
|
||||
* Returns:
|
||||
*/
|
||||
IP_GLOBAL Ip_err ipwps_set_ap_ssid(Ipwps_ctx* ctx, char *ssid);
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* END OF FILE
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user