XenevaOS
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Functions
wifi.h File Reference
#include <stdint.h>
Include dependency graph for wifi.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _wifi_bss_info_
 
struct  _wifi_scan_result_
 
struct  _wifi_connect_req_
 
struct  _wifi_status_
 

Macros

#define WIFI_SSID_MAX   32
 
#define WIFI_MAX_BSS   4
 

Typedefs

typedef struct _wifi_bss_info_ WifiBssInfo
 
typedef struct _wifi_scan_result_ WifiScanResult
 
typedef struct _wifi_connect_req_ WifiConnectReq
 
typedef struct _wifi_status_ WifiStatus
 

Functions

void AuWifiPortalSetTx (void(*fn)(void *frame, uint16_t len))
 
void AuWifiPortalTx (void *frame, uint16_t len)
 
void AuWifiPortalSetRx (int(*fn)(void *frame, int len))
 
int AuWifiPortalRx (void *frame, int len)
 

Macro Definition Documentation

◆ WIFI_MAX_BSS

#define WIFI_MAX_BSS   4

◆ WIFI_SSID_MAX

#define WIFI_SSID_MAX   32

Typedef Documentation

◆ WifiBssInfo

typedef struct _wifi_bss_info_ WifiBssInfo

◆ WifiConnectReq

◆ WifiScanResult

◆ WifiStatus

typedef struct _wifi_status_ WifiStatus

Function Documentation

◆ AuWifiPortalRx()

int AuWifiPortalRx ( void *  frame,
int  len 
)

◆ AuWifiPortalSetRx()

void AuWifiPortalSetRx ( int(*)(void *frame, int len)  fn)

◆ AuWifiPortalSetTx()

void AuWifiPortalSetTx ( void(*)(void *frame, uint16_t len)  fn)

BSD 2-Clause License

Copyright (c) 2022-2026, Manas Kamal Choudhury All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

◆ AuWifiPortalTx()

void AuWifiPortalTx ( void *  frame,
uint16_t  len 
)