WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
scan_list_adapt.c 文件参考
#include "scan_list_adapt.h"
#include "bss.h"
#include "securec.h"
#include "driver_i.h"
#include "driver_soc.h"
#include "driver_soc_common.h"
#include "wpa_supplicant_i.h"
#include "eap_common/eap_wsc_common.h"
#include "../../wpa_supplicant/wpa_supplicant/config.h"
scan_list_adapt.c 的引用(Include)关系图:

宏定义

#define wpa_unref_param(P)   ((P) = (P))
 
#define MAX_BUF_LEN   65535
 

函数

void os_free_drv_scan_bss (void *ptr)
 
void wpa_scan_results_free (struct wpa_scan_results *res)
 
struct wpa_bss * wpa_supplicant_pick_network (struct wpa_supplicant *wpa_s, struct wpa_ssid **selected_ssid)
 
int wpa_supplicant_fast_associate (struct wpa_supplicant *wpa_s)
 
struct wpa_scan_results * wpa_supplicant_get_scan_results (struct wpa_supplicant *wpa_s, struct scan_info *info, int new_scan)
 
struct wpa_bss * wpa_bss_get (struct wpa_supplicant *wpa_s, const u8 *bssid, const u8 *ssid, size_t ssid_len)
 
struct wpa_bss * wpa_bss_get_bssid (struct wpa_supplicant *wpa_s, const u8 *bssid)
 
struct wpa_bss * wpa_bss_get_bssid_latest (struct wpa_supplicant *wpa_s, const u8 *bssid)
 
int wpas_valid_bss (struct wpa_supplicant *wpa_s, struct wpa_bss *test_bss)
 
struct wpa_bss * wpa_supplicant_select_bss (struct wpa_supplicant *wpa_s, struct wpa_ssid *group, struct wpa_ssid **selected_ssid, int only_first_ssid)
 
int wpa_get_beacon_ie (struct wpa_supplicant *wpa_s)
 
struct wpa_ssid * wpas_wps_add_network (struct wpa_supplicant *wpa_s, int registrar, const u8 *dev_addr, const u8 *bssid)
 
void drv_soc_get_scan_crypt_para (struct wpa_scan_res *res, int32 *auth, u8 *ft, ext_wifi_pairwise *pairwise)
 
int uapi_wifi_sta_scan_results (ext_wifi_ap_info *ap_list, unsigned int *ap_num)
 sta start scan.CNcomment:station进行扫描.CNend
 
int uapi_wifi_sta_scan_results_clear (void)
 Clear sta scan result.CNcomment:清除sta扫描链表.CNend
 
struct wpa_scan_results * drv_soc_get_scan_results (void *priv)
 
void drv_soc_driver_event_scan_result_process (ext_driver_data_stru *drv, char *data_ptr)
 
int wifi_app_service (void *param)
 

宏定义说明

◆ MAX_BUF_LEN

#define MAX_BUF_LEN   65535

◆ wpa_unref_param

#define wpa_unref_param (   P)    ((P) = (P))

函数说明

◆ drv_soc_driver_event_scan_result_process()

void drv_soc_driver_event_scan_result_process ( ext_driver_data_stru drv,
char *  data_ptr 
)

◆ drv_soc_get_scan_crypt_para()

void drv_soc_get_scan_crypt_para ( struct wpa_scan_res *  res,
int32 auth,
u8 *  ft,
ext_wifi_pairwise pairwise 
)

◆ drv_soc_get_scan_results()

struct wpa_scan_results * drv_soc_get_scan_results ( void *  priv)

◆ os_free_drv_scan_bss()

void os_free_drv_scan_bss ( void *  ptr)

◆ wifi_app_service()

int wifi_app_service ( void *  param)

◆ wpa_bss_get()

struct wpa_bss * wpa_bss_get ( struct wpa_supplicant *  wpa_s,
const u8 *  bssid,
const u8 *  ssid,
size_t  ssid_len 
)

wpa_bss_get - Fetch a BSS table entry based on BSSID and SSID @wpa_s: Pointer to wpa_supplicant data @bssid: BSSID @ssid: SSID @ssid_len: Length of @ssid Returns: Pointer to the BSS entry or NULL if not found

◆ wpa_bss_get_bssid()

struct wpa_bss * wpa_bss_get_bssid ( struct wpa_supplicant *  wpa_s,
const u8 *  bssid 
)

wpa_bss_get_bssid - Fetch a BSS table entry based on BSSID @wpa_s: Pointer to wpa_supplicant data @bssid: BSSID Returns: Pointer to the BSS entry or NULL if not found

◆ wpa_bss_get_bssid_latest()

struct wpa_bss * wpa_bss_get_bssid_latest ( struct wpa_supplicant *  wpa_s,
const u8 *  bssid 
)

wpa_bss_get_bssid_latest - Fetch the latest BSS table entry based on BSSID @wpa_s: Pointer to wpa_supplicant data @bssid: BSSID Returns: Pointer to the BSS entry or NULL if not found

This function is like wpa_bss_get_bssid(), but full BSS table is iterated to find the entry that has the most recent update. This can help in finding the correct entry in cases where the SSID of the AP may have changed recently (e.g., in WPS reconfiguration cases).

◆ wpa_get_beacon_ie()

int wpa_get_beacon_ie ( struct wpa_supplicant *  wpa_s)

◆ wpa_scan_results_free()

void wpa_scan_results_free ( struct wpa_scan_results *  res)

◆ wpa_supplicant_fast_associate()

int wpa_supplicant_fast_associate ( struct wpa_supplicant *  wpa_s)

◆ wpa_supplicant_get_scan_results()

struct wpa_scan_results * wpa_supplicant_get_scan_results ( struct wpa_supplicant *  wpa_s,
struct scan_info *  info,
int  new_scan 
)

wpa_supplicant_get_scan_results - Get scan results @wpa_s: Pointer to wpa_supplicant data @info: Information about what was scanned or NULL if not available @new_scan: Whether a new scan was performed Returns: Scan results, NULL on failure

This function request the current scan results from the driver and updates the local BSS list wpa_s->bss. The caller is responsible for freeing the results with wpa_scan_results_free().

◆ wpa_supplicant_pick_network()

struct wpa_bss * wpa_supplicant_pick_network ( struct wpa_supplicant *  wpa_s,
struct wpa_ssid **  selected_ssid 
)

◆ wpa_supplicant_select_bss()

struct wpa_bss * wpa_supplicant_select_bss ( struct wpa_supplicant *  wpa_s,
struct wpa_ssid *  group,
struct wpa_ssid **  selected_ssid,
int  only_first_ssid 
)

◆ wpas_valid_bss()

int wpas_valid_bss ( struct wpa_supplicant *  wpa_s,
struct wpa_bss *  test_bss 
)

◆ wpas_wps_add_network()

struct wpa_ssid * wpas_wps_add_network ( struct wpa_supplicant *  wpa_s,
int  registrar,
const u8 *  dev_addr,
const u8 *  bssid 
)