bcm43362_driver.h File Reference

BCM43362 Wi-Fi controller. More...

#include "core/nic.h"

Go to the source code of this file.

Functions

error_t bcm43362Init (NetInterface *interface)
 BCM43362 initialization. More...
 
void bcm43362Tick (NetInterface *interface)
 BCM43362 timer handler. More...
 
void bcm43362EnableIrq (NetInterface *interface)
 Enable interrupts. More...
 
void bcm43362DisableIrq (NetInterface *interface)
 Disable interrupts. More...
 
bool_t bcm43362IrqHandler (void)
 BCM43362 interrupt service routine. More...
 
void bcm43362EventHandler (NetInterface *interface)
 BCM43362 event handler. More...
 
error_t bcm43362SendPacket (NetInterface *interface, const NetBuffer *buffer, size_t offset, NetTxAncillary *ancillary)
 Send a packet. More...
 
error_t bcm43362UpdateMacAddrFilter (NetInterface *interface)
 Configure MAC address filtering. More...
 
void bcm43362AppWifiEvent (uint8_t msgType, void *msg)
 
void bcm43362AppEthEvent (uint8_t msgType, void *msg, void *ctrlBuf)
 

Variables

const NicDriver bcm43362StaDriver
 BCM43362 driver (STA mode) More...
 
const NicDriver bcm43362ApDriver
 BCM43362 driver (AP mode) More...
 

Detailed Description

BCM43362 Wi-Fi controller.

License

SPDX-License-Identifier: GPL-2.0-or-later

Copyright (C) 2010-2024 Oryx Embedded SARL. All rights reserved.

This file is part of CycloneTCP Open.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Author
Oryx Embedded SARL (www.oryx-embedded.com)
Version
2.4.4

Definition in file bcm43362_driver.h.

Function Documentation

◆ bcm43362AppEthEvent()

void bcm43362AppEthEvent ( uint8_t  msgType,
void *  msg,
void *  ctrlBuf 
)

◆ bcm43362AppWifiEvent()

void bcm43362AppWifiEvent ( uint8_t  msgType,
void *  msg 
)

◆ bcm43362DisableIrq()

void bcm43362DisableIrq ( NetInterface interface)

Disable interrupts.

Parameters
[in]interfaceUnderlying network interface

Definition at line 250 of file bcm43362_driver.c.

◆ bcm43362EnableIrq()

void bcm43362EnableIrq ( NetInterface interface)

Enable interrupts.

Parameters
[in]interfaceUnderlying network interface

Definition at line 240 of file bcm43362_driver.c.

◆ bcm43362EventHandler()

void bcm43362EventHandler ( NetInterface interface)

BCM43362 event handler.

Parameters
[in]interfaceUnderlying network interface

Definition at line 290 of file bcm43362_driver.c.

◆ bcm43362Init()

error_t bcm43362Init ( NetInterface interface)

BCM43362 initialization.

Parameters
[in]interfaceUnderlying network interface
Returns
Error code

Definition at line 132 of file bcm43362_driver.c.

◆ bcm43362IrqHandler()

bool_t bcm43362IrqHandler ( void  )

BCM43362 interrupt service routine.

Returns
TRUE if a higher priority task must be woken. Else FALSE is returned

Definition at line 260 of file bcm43362_driver.c.

◆ bcm43362SendPacket()

error_t bcm43362SendPacket ( NetInterface interface,
const NetBuffer buffer,
size_t  offset,
NetTxAncillary ancillary 
)

Send a packet.

Parameters
[in]interfaceUnderlying network interface
[in]bufferMulti-part buffer containing the data to send
[in]offsetOffset to the first data byte
[in]ancillaryAdditional options passed to the stack along with the packet
Returns
Error code

Definition at line 305 of file bcm43362_driver.c.

◆ bcm43362Tick()

void bcm43362Tick ( NetInterface interface)

BCM43362 timer handler.

This routine is periodically called by the TCP/IP stack to handle periodic operations such as polling the link state

Parameters
[in]interfaceUnderlying network interface

Definition at line 230 of file bcm43362_driver.c.

◆ bcm43362UpdateMacAddrFilter()

error_t bcm43362UpdateMacAddrFilter ( NetInterface interface)

Configure MAC address filtering.

Parameters
[in]interfaceUnderlying network interface
Returns
Error code

Definition at line 372 of file bcm43362_driver.c.

Variable Documentation

◆ bcm43362ApDriver

const NicDriver bcm43362ApDriver
extern

BCM43362 driver (AP mode)

Definition at line 105 of file bcm43362_driver.c.

◆ bcm43362StaDriver

const NicDriver bcm43362StaDriver
extern

BCM43362 driver (STA mode)

Definition at line 80 of file bcm43362_driver.c.