FreeBSD kernel MWL device code
mwlhal.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  mwl_hal
 
struct  MWL_HAL_CHANNELINFO
 
struct  MWL_HAL_CHANNELINFO::mwl_hal_channel
 
struct  MWL_HAL_CHANNEL_FLAGS
 
struct  MWL_HAL_CHANNEL
 
struct  mwl_hal_hwspec
 
struct  mwl_hal_txrxdma
 
struct  mwl_hal_hwstats
 
struct  MWL_HAL_TXRATE
 
struct  __packed
 
struct  MWL_HAL_BASTREAM
 

Macros

#define MWL_MBSS_SUPPORT   /* enable multi-bss support */
 
#define MWL_NUM_EDCA_QUEUES   4
 
#define MWL_NUM_HCCA_QUEUES   0
 
#define MWL_NUM_BA_QUEUES   0
 
#define MWL_NUM_MGMT_QUEUES   0
 
#define MWL_NUM_ACK_QUEUES   0
 
#define MWL_NUM_TX_QUEUES
 
#define MWL_MAX_RXWCB_QUEUES   1
 
#define MWL_MAX_SUPPORTED_RATES   12
 
#define MWL_MAX_SUPPORTED_MCS   32
 
#define MWL_HAL_MAXCHAN   40
 
#define MACREG_REG_A2H_INTERRUPT_CAUSE   0x00000C30
 
#define MACREG_REG_INT_CODE   0x00000C14
 
#define MACREG_REG_H2A_INTERRUPT_EVENTS   0x00000C18
 
#define MACREG_H2ARIC_BIT_PPA_READY   0x00000001
 
#define MACREG_REG_INT_CODE   0x00000C14
 
#define MWL_FREQ_BAND_2DOT4GHZ   0x1
 
#define MWL_FREQ_BAND_5GHZ   0x4
 
#define MWL_CH_10_MHz_WIDTH   0x1
 
#define MWL_CH_20_MHz_WIDTH   0x2
 
#define MWL_CH_40_MHz_WIDTH   0x4
 
#define MWL_EXT_CH_NONE   0x0
 
#define MWL_EXT_CH_ABOVE_CTRL_CH   0x1
 
#define MWL_EXT_CH_BELOW_CTRL_CH   0x3
 
#define RATE_MCS   0x80 /* rate is an MCS index */
 
#define MWL_HAL_MCAST_MAX   32
 
#define KEY_TYPE_ID_WEP   0
 
#define KEY_TYPE_ID_TKIP   1
 
#define KEY_TYPE_ID_AES   2 /* AES-CCMP */
 
#define KEY_FLAG_INUSE   0x00000001 /* indicate key is in use */
 
#define KEY_FLAG_RXGROUPKEY   0x00000002 /* Group key for RX only */
 
#define KEY_FLAG_TXGROUPKEY   0x00000004 /* Group key for TX */
 
#define KEY_FLAG_PAIRWISE   0x00000008 /* pairwise */
 
#define KEY_FLAG_RXONLY   0x00000010 /* only used for RX */
 
#define KEY_FLAG_AUTHENTICATOR   0x00000020 /* Key is for Authenticator */
 
#define KEY_FLAG_TSC_VALID   0x00000040 /* Sequence counters valid */
 
#define KEY_FLAG_WEP_TXKEY   0x01000000 /* Tx key for WEP */
 
#define KEY_FLAG_MICKEY_VALID   0x02000000 /* Tx/Rx MIC keys are valid */
 

Enumerations

enum  MWL_HAL_STATUS { MWL_HAL_OK }
 
enum  { MWL_WME_AC_BK = 0 , MWL_WME_AC_BE = 1 , MWL_WME_AC_VI = 2 , MWL_WME_AC_VO = 3 }
 
enum  MWL_HAL_BSSTYPE { MWL_HAL_AP , MWL_HAL_STA , MWL_HAL_IBSS }
 
enum  { MWL_HAL_DEBUG_SENDCMD = 0x00000001 , MWL_HAL_DEBUG_CMDDONE = 0x00000002 , MWL_HAL_DEBUG_IGNHANG = 0x00000004 }
 
enum  MWL_HAL_PREAMBLE { WL_LONG_PREAMBLE = 1 , WL_SHORT_PREAMBLE = 3 , WL_AUTO_PREAMBLE = 5 }
 
enum  MWL_HAL_ANTENNA { WL_ANTENNATYPE_RX = 1 , WL_ANTENNATYPE_TX = 2 }
 
enum  MWL_HAL_RADAR { DR_DFS_DISABLE = 0 , DR_CHK_CHANNEL_AVAILABLE_START = 1 , DR_CHK_CHANNEL_AVAILABLE_STOP = 2 , DR_IN_SERVICE_MONITOR_START = 3 }
 
enum  {
  DOMAIN_CODE_FCC = 0x10 , DOMAIN_CODE_IC = 0x20 , DOMAIN_CODE_ETSI = 0x30 , DOMAIN_CODE_SPAIN = 0x31 ,
  DOMAIN_CODE_FRANCE = 0x32 , DOMAIN_CODE_ETSI_131 = 0x130 , DOMAIN_CODE_MKK = 0x40 , DOMAIN_CODE_MKK2 = 0x41 ,
  DOMAIN_CODE_DGT = 0x80 , DOMAIN_CODE_AUS = 0x81
}
 
enum  MWL_HAL_TXRATE_HANDLING { RATE_AUTO = 0 , RATE_FIXED = 2 , RATE_FIXED_DROP = 1 }
 
enum  MWL_HAL_APMODE {
  AP_MODE_B_ONLY = 1 , AP_MODE_G_ONLY = 2 , AP_MODE_MIXED = 3 , AP_MODE_N_ONLY = 4 ,
  AP_MODE_BandN = 5 , AP_MODE_GandN = 6 , AP_MODE_BandGandN = 7 , AP_MODE_A_ONLY = 8 ,
  AP_MODE_AandG = 10 , AP_MODE_AandN = 12
}
 
enum  MWL_HAL_CSMODE { CSMODE_CONSERVATIVE = 0 , CSMODE_AGGRESSIVE = 1 , CSMODE_AUTO_ENA = 2 , CSMODE_AUTO_DIS = 3 }
 
enum  MWL_HAL_HTPROTECT {
  HTPROTECT_NONE = 0 , HTPROTECT_OPT = 1 , HTPROTECT_HT20 = 2 , HTPROTECT_HT2040 = 3 ,
  HTPROTECT_AUTO = 4
}
 

Functions

struct mwl_halmwl_hal_attach (device_t dev, uint16_t devid, bus_space_handle_t ioh, bus_space_tag_t iot, bus_dma_tag_t tag)
 
void mwl_hal_detach (struct mwl_hal *)
 
int mwl_hal_ismbsscapable (struct mwl_hal *)
 
struct mwl_hal_vapmwl_hal_newvap (struct mwl_hal *, MWL_HAL_BSSTYPE, const uint8_t mac[6])
 
void mwl_hal_delvap (struct mwl_hal_vap *)
 
void mwl_hal_setdebug (struct mwl_hal *, int)
 
int mwl_hal_getdebug (struct mwl_hal *)
 
int mwl_hal_getchannelinfo (struct mwl_hal *, int band, int chw, const MWL_HAL_CHANNELINFO **)
 
static __inline void mwl_hal_getisr (struct mwl_hal *mh, uint32_t *status)
 
void mwl_hal_intrset (struct mwl_hal *mh, uint32_t mask)
 
static __inline void mwl_hal_txstart (struct mwl_hal *mh, int qnum)
 
void mwl_hal_cmddone (struct mwl_hal *mh)
 
int mwl_hal_gethwspecs (struct mwl_hal *mh, struct mwl_hal_hwspec *)
 
int mwl_hal_sethwdma (struct mwl_hal *mh, const struct mwl_hal_txrxdma *)
 
int mwl_hal_gethwstats (struct mwl_hal *mh, struct mwl_hal_hwstats *)
 
int mwl_hal_sethtgi (struct mwl_hal_vap *, int GIType)
 
int mwl_hal_setradio (struct mwl_hal *mh, int onoff, MWL_HAL_PREAMBLE preamble)
 
int mwl_hal_setantenna (struct mwl_hal *mh, MWL_HAL_ANTENNA dirSet, int ant)
 
int mwl_hal_setrtsthreshold (struct mwl_hal_vap *, int threshold)
 
int mwl_hal_setinframode (struct mwl_hal_vap *)
 
int mwl_hal_setradardetection (struct mwl_hal *mh, MWL_HAL_RADAR action)
 
int mwl_hal_setregioncode (struct mwl_hal *mh, int regionCode)
 
int mwl_hal_setchannelswitchie (struct mwl_hal *, const MWL_HAL_CHANNEL *nextchan, uint32_t mode, uint32_t count)
 
int mwl_hal_settxrate (struct mwl_hal_vap *, MWL_HAL_TXRATE_HANDLING handling, const MWL_HAL_TXRATE *rate)
 
int mwl_hal_settxrate_auto (struct mwl_hal *, const MWL_HAL_TXRATE *rate)
 
int mwl_hal_setslottime (struct mwl_hal *mh, int usecs)
 
int mwl_hal_adjusttxpower (struct mwl_hal *, uint32_t powerLevel)
 
int mwl_hal_settxpower (struct mwl_hal *, const MWL_HAL_CHANNEL *, uint8_t maxtxpow)
 
int mwl_hal_setmcast (struct mwl_hal *mh, int nmc, const uint8_t macs[])
 
int mwl_hal_keyset (struct mwl_hal_vap *, const MWL_HAL_KEYVAL *kv, const uint8_t mac[6])
 
int mwl_hal_keyreset (struct mwl_hal_vap *, const MWL_HAL_KEYVAL *kv, const uint8_t mac[6])
 
int mwl_hal_setmac (struct mwl_hal_vap *, const uint8_t addr[6])
 
int mwl_hal_setbeacon (struct mwl_hal_vap *, const void *, size_t)
 
int mwl_hal_setpowersave_bss (struct mwl_hal_vap *, uint8_t nsta)
 
int mwl_hal_setpowersave_sta (struct mwl_hal_vap *, uint16_t aid, int ena)
 
int mwl_hal_setassocid (struct mwl_hal_vap *, const uint8_t bssId[6], uint16_t assocId)
 
int mwl_hal_setchannel (struct mwl_hal *mh, const MWL_HAL_CHANNEL *c)
 
const MWL_HAL_BASTREAMmwl_hal_bastream_alloc (struct mwl_hal_vap *, int ba_type, const uint8_t Macaddr[6], uint8_t Tid, uint8_t ParamInfo, void *, void *)
 
const MWL_HAL_BASTREAMmwl_hal_bastream_lookup (struct mwl_hal *mh, int s)
 
int mwl_hal_bastream_create (struct mwl_hal_vap *, const MWL_HAL_BASTREAM *, int BarThrs, int WindowSize, uint16_t seqno)
 
int mwl_hal_bastream_destroy (struct mwl_hal *mh, const MWL_HAL_BASTREAM *)
 
int mwl_hal_getwatchdogbitmap (struct mwl_hal *mh, uint8_t bitmap[1])
 
int mwl_hal_bastream_get_seqno (struct mwl_hal *mh, const MWL_HAL_BASTREAM *, const uint8_t Macaddr[6], uint16_t *pseqno)
 
void mwl_hal_setbastreams (struct mwl_hal *mh, int mask)
 
int mwl_hal_getbastreams (struct mwl_hal *mh)
 
int mwl_hal_setaggampduratemode (struct mwl_hal *, int mode, int thresh)
 
int mwl_hal_getaggampduratemode (struct mwl_hal *, int *mode, int *thresh)
 
int mwl_hal_newstation (struct mwl_hal_vap *, const uint8_t addr[6], uint16_t aid, uint16_t sid, const MWL_HAL_PEERINFO *, int isQosSta, int wmeInfo)
 
int mwl_hal_delstation (struct mwl_hal_vap *, const uint8_t addr[6])
 
int mwl_hal_setkeepalive (struct mwl_hal *mh)
 
int mwl_hal_setapmode (struct mwl_hal_vap *, MWL_HAL_APMODE)
 
int mwl_hal_stop (struct mwl_hal_vap *)
 
int mwl_hal_start (struct mwl_hal_vap *)
 
int mwl_hal_updatetim (struct mwl_hal_vap *, uint16_t aid, int set)
 
int mwl_hal_setgprot (struct mwl_hal *, int)
 
int mwl_hal_setwmm (struct mwl_hal *mh, int onoff)
 
int mwl_hal_setedcaparams (struct mwl_hal *mh, uint8_t qnum, uint32_t CWmin, uint32_t CWmax, uint8_t AIFSN, uint16_t TXOPLimit)
 
int mwl_hal_setrateadaptmode (struct mwl_hal *mh, uint16_t mode)
 
int mwl_hal_setcsmode (struct mwl_hal *mh, MWL_HAL_CSMODE csmode)
 
int mwl_hal_setnprot (struct mwl_hal_vap *, MWL_HAL_HTPROTECT mode)
 
int mwl_hal_setnprotmode (struct mwl_hal_vap *, uint8_t mode)
 
int mwl_hal_setoptimizationlevel (struct mwl_hal *mh, int onoff)
 
int mwl_hal_setmimops (struct mwl_hal *mh, const uint8_t addr[6], uint8_t enable, uint8_t mode)
 
int mwl_hal_getregioncode (struct mwl_hal *mh, uint8_t *countryCode)
 
int mwl_hal_GetBeacon (struct mwl_hal *mh, uint8_t *pBcn, uint16_t *pLen)
 
int mwl_hal_SetRifs (struct mwl_hal *mh, uint8_t QNum)
 
int mwl_hal_setpromisc (struct mwl_hal *, int ena)
 
int mwl_hal_getpromisc (struct mwl_hal *)
 
int mwl_hal_setcfend (struct mwl_hal *, int ena)
 
int mwl_hal_setdwds (struct mwl_hal *, int ena)
 
int mwl_hal_getdiagstate (struct mwl_hal *mh, int request, const void *args, uint32_t argsize, void **result, uint32_t *resultsize)
 
int mwl_hal_fwload (struct mwl_hal *mh, void *fwargs)
 

Macro Definition Documentation

◆ KEY_FLAG_AUTHENTICATOR

#define KEY_FLAG_AUTHENTICATOR   0x00000020 /* Key is for Authenticator */

Definition at line 425 of file mwlhal.h.

◆ KEY_FLAG_INUSE

#define KEY_FLAG_INUSE   0x00000001 /* indicate key is in use */

Definition at line 420 of file mwlhal.h.

◆ KEY_FLAG_MICKEY_VALID

#define KEY_FLAG_MICKEY_VALID   0x02000000 /* Tx/Rx MIC keys are valid */

Definition at line 428 of file mwlhal.h.

◆ KEY_FLAG_PAIRWISE

#define KEY_FLAG_PAIRWISE   0x00000008 /* pairwise */

Definition at line 423 of file mwlhal.h.

◆ KEY_FLAG_RXGROUPKEY

#define KEY_FLAG_RXGROUPKEY   0x00000002 /* Group key for RX only */

Definition at line 421 of file mwlhal.h.

◆ KEY_FLAG_RXONLY

#define KEY_FLAG_RXONLY   0x00000010 /* only used for RX */

Definition at line 424 of file mwlhal.h.

◆ KEY_FLAG_TSC_VALID

#define KEY_FLAG_TSC_VALID   0x00000040 /* Sequence counters valid */

Definition at line 426 of file mwlhal.h.

◆ KEY_FLAG_TXGROUPKEY

#define KEY_FLAG_TXGROUPKEY   0x00000004 /* Group key for TX */

Definition at line 422 of file mwlhal.h.

◆ KEY_FLAG_WEP_TXKEY

#define KEY_FLAG_WEP_TXKEY   0x01000000 /* Tx key for WEP */

Definition at line 427 of file mwlhal.h.

◆ KEY_TYPE_ID_AES

#define KEY_TYPE_ID_AES   2 /* AES-CCMP */

Definition at line 418 of file mwlhal.h.

◆ KEY_TYPE_ID_TKIP

#define KEY_TYPE_ID_TKIP   1

Definition at line 417 of file mwlhal.h.

◆ KEY_TYPE_ID_WEP

#define KEY_TYPE_ID_WEP   0

Definition at line 416 of file mwlhal.h.

◆ MACREG_H2ARIC_BIT_PPA_READY

#define MACREG_H2ARIC_BIT_PPA_READY   0x00000001

◆ MACREG_REG_A2H_INTERRUPT_CAUSE

#define MACREG_REG_A2H_INTERRUPT_CAUSE   0x00000C30

◆ MACREG_REG_H2A_INTERRUPT_EVENTS

#define MACREG_REG_H2A_INTERRUPT_EVENTS   0x00000C18

◆ MACREG_REG_INT_CODE [1/2]

#define MACREG_REG_INT_CODE   0x00000C14

◆ MACREG_REG_INT_CODE [2/2]

#define MACREG_REG_INT_CODE   0x00000C14

◆ MWL_CH_10_MHz_WIDTH

#define MWL_CH_10_MHz_WIDTH   0x1

Definition at line 180 of file mwlhal.h.

◆ MWL_CH_20_MHz_WIDTH

#define MWL_CH_20_MHz_WIDTH   0x2

Definition at line 181 of file mwlhal.h.

◆ MWL_CH_40_MHz_WIDTH

#define MWL_CH_40_MHz_WIDTH   0x4

Definition at line 182 of file mwlhal.h.

◆ MWL_EXT_CH_ABOVE_CTRL_CH

#define MWL_EXT_CH_ABOVE_CTRL_CH   0x1

Definition at line 185 of file mwlhal.h.

◆ MWL_EXT_CH_BELOW_CTRL_CH

#define MWL_EXT_CH_BELOW_CTRL_CH   0x3

Definition at line 186 of file mwlhal.h.

◆ MWL_EXT_CH_NONE

#define MWL_EXT_CH_NONE   0x0

Definition at line 184 of file mwlhal.h.

◆ MWL_FREQ_BAND_2DOT4GHZ

#define MWL_FREQ_BAND_2DOT4GHZ   0x1

Definition at line 177 of file mwlhal.h.

◆ MWL_FREQ_BAND_5GHZ

#define MWL_FREQ_BAND_5GHZ   0x4

Definition at line 178 of file mwlhal.h.

◆ MWL_HAL_MAXCHAN

#define MWL_HAL_MAXCHAN   40

Definition at line 118 of file mwlhal.h.

◆ MWL_HAL_MCAST_MAX

#define MWL_HAL_MCAST_MAX   32

Definition at line 407 of file mwlhal.h.

◆ MWL_MAX_RXWCB_QUEUES

#define MWL_MAX_RXWCB_QUEUES   1

Definition at line 57 of file mwlhal.h.

◆ MWL_MAX_SUPPORTED_MCS

#define MWL_MAX_SUPPORTED_MCS   32

Definition at line 60 of file mwlhal.h.

◆ MWL_MAX_SUPPORTED_RATES

#define MWL_MAX_SUPPORTED_RATES   12

Definition at line 59 of file mwlhal.h.

◆ MWL_MBSS_SUPPORT

#define MWL_MBSS_SUPPORT   /* enable multi-bss support */

Definition at line 41 of file mwlhal.h.

◆ MWL_NUM_ACK_QUEUES

#define MWL_NUM_ACK_QUEUES   0

Definition at line 53 of file mwlhal.h.

◆ MWL_NUM_BA_QUEUES

#define MWL_NUM_BA_QUEUES   0

Definition at line 51 of file mwlhal.h.

◆ MWL_NUM_EDCA_QUEUES

#define MWL_NUM_EDCA_QUEUES   4

Definition at line 49 of file mwlhal.h.

◆ MWL_NUM_HCCA_QUEUES

#define MWL_NUM_HCCA_QUEUES   0

Definition at line 50 of file mwlhal.h.

◆ MWL_NUM_MGMT_QUEUES

#define MWL_NUM_MGMT_QUEUES   0

Definition at line 52 of file mwlhal.h.

◆ MWL_NUM_TX_QUEUES

#define MWL_NUM_TX_QUEUES
Value:
MWL_NUM_MGMT_QUEUES + MWL_NUM_ACK_QUEUES)
#define MWL_NUM_HCCA_QUEUES
Definition: mwlhal.h:50
#define MWL_NUM_ACK_QUEUES
Definition: mwlhal.h:53
#define MWL_NUM_BA_QUEUES
Definition: mwlhal.h:51
#define MWL_NUM_EDCA_QUEUES
Definition: mwlhal.h:49

Definition at line 54 of file mwlhal.h.

◆ RATE_MCS

#define RATE_MCS   0x80 /* rate is an MCS index */

Definition at line 371 of file mwlhal.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
MWL_WME_AC_BK 
MWL_WME_AC_BE 
MWL_WME_AC_VI 
MWL_WME_AC_VO 

Definition at line 69 of file mwlhal.h.

◆ anonymous enum

anonymous enum
Enumerator
MWL_HAL_DEBUG_SENDCMD 
MWL_HAL_DEBUG_CMDDONE 
MWL_HAL_DEBUG_IGNHANG 

Definition at line 102 of file mwlhal.h.

◆ anonymous enum

anonymous enum
Enumerator
DOMAIN_CODE_FCC 
DOMAIN_CODE_IC 
DOMAIN_CODE_ETSI 
DOMAIN_CODE_SPAIN 
DOMAIN_CODE_FRANCE 
DOMAIN_CODE_ETSI_131 
DOMAIN_CODE_MKK 
DOMAIN_CODE_MKK2 
DOMAIN_CODE_DGT 
DOMAIN_CODE_AUS 

Definition at line 343 of file mwlhal.h.

◆ MWL_HAL_ANTENNA

Enumerator
WL_ANTENNATYPE_RX 
WL_ANTENNATYPE_TX 

Definition at line 298 of file mwlhal.h.

◆ MWL_HAL_APMODE

Enumerator
AP_MODE_B_ONLY 
AP_MODE_G_ONLY 
AP_MODE_MIXED 
AP_MODE_N_ONLY 
AP_MODE_BandN 
AP_MODE_GandN 
AP_MODE_BandGandN 
AP_MODE_A_ONLY 
AP_MODE_AandG 
AP_MODE_AandN 

Definition at line 566 of file mwlhal.h.

◆ MWL_HAL_BSSTYPE

Enumerator
MWL_HAL_AP 
MWL_HAL_STA 
MWL_HAL_IBSS 

Definition at line 91 of file mwlhal.h.

◆ MWL_HAL_CSMODE

Enumerator
CSMODE_CONSERVATIVE 
CSMODE_AGGRESSIVE 
CSMODE_AUTO_ENA 
CSMODE_AUTO_DIS 

Definition at line 618 of file mwlhal.h.

◆ MWL_HAL_HTPROTECT

Enumerator
HTPROTECT_NONE 
HTPROTECT_OPT 
HTPROTECT_HT20 
HTPROTECT_HT2040 
HTPROTECT_AUTO 

Definition at line 629 of file mwlhal.h.

◆ MWL_HAL_PREAMBLE

Enumerator
WL_LONG_PREAMBLE 
WL_SHORT_PREAMBLE 
WL_AUTO_PREAMBLE 

Definition at line 284 of file mwlhal.h.

◆ MWL_HAL_RADAR

Enumerator
DR_DFS_DISABLE 
DR_CHK_CHANNEL_AVAILABLE_START 
DR_CHK_CHANNEL_AVAILABLE_STOP 
DR_IN_SERVICE_MONITOR_START 

Definition at line 317 of file mwlhal.h.

◆ MWL_HAL_STATUS

Enumerator
MWL_HAL_OK 

Definition at line 62 of file mwlhal.h.

◆ MWL_HAL_TXRATE_HANDLING

Enumerator
RATE_AUTO 
RATE_FIXED 
RATE_FIXED_DROP 

Definition at line 363 of file mwlhal.h.

Function Documentation

◆ mwl_hal_adjusttxpower()

int mwl_hal_adjusttxpower ( struct mwl_hal mh0,
uint32_t  powerLevel 
)

◆ mwl_hal_attach()

◆ mwl_hal_bastream_alloc()

const MWL_HAL_BASTREAM * mwl_hal_bastream_alloc ( struct mwl_hal_vap ,
int  ba_type,
const uint8_t  Macaddr[6],
uint8_t  Tid,
uint8_t  ParamInfo,
void *  ,
void *   
)

◆ mwl_hal_bastream_create()

int mwl_hal_bastream_create ( struct mwl_hal_vap vap,
const MWL_HAL_BASTREAM s,
int  BarThrs,
int  WindowSize,
uint16_t  seqno 
)

◆ mwl_hal_bastream_destroy()

int mwl_hal_bastream_destroy ( struct mwl_hal mh,
const MWL_HAL_BASTREAM s 
)

◆ mwl_hal_bastream_get_seqno()

int mwl_hal_bastream_get_seqno ( struct mwl_hal mh,
const MWL_HAL_BASTREAM ,
const uint8_t  Macaddr[6],
uint16_t *  pseqno 
)

◆ mwl_hal_bastream_lookup()

const MWL_HAL_BASTREAM * mwl_hal_bastream_lookup ( struct mwl_hal mh,
int  s 
)

Definition at line 1449 of file mwlhal.c.

References mwl_hal_priv::mh_bastreams, mwl_hal_priv::mh_streams, MWL_BASTREAMS_MAX, MWLPRIV, and mwl_hal_bastream::public.

Referenced by mwl_bawatchdog_proc().

Here is the caller graph for this function:

◆ mwl_hal_cmddone()

void mwl_hal_cmddone ( struct mwl_hal mh)

Definition at line 541 of file mwlhal.c.

References dumpresult(), mwl_hal_priv::mh_debug, mwl_hal_priv::mh_dev, MWL_HAL_DEBUG_CMDDONE, and MWLPRIV.

Referenced by mwl_intr().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mwl_hal_delstation()

int mwl_hal_delstation ( struct mwl_hal_vap ,
const uint8_t  addr[6] 
)

◆ mwl_hal_delvap()

void mwl_hal_delvap ( struct mwl_hal_vap vap)

Definition at line 433 of file mwlhal.c.

References mwl_hal_vap::mh.

Referenced by mwl_vap_delete().

Here is the caller graph for this function:

◆ mwl_hal_detach()

void mwl_hal_detach ( struct mwl_hal mh0)

Definition at line 371 of file mwlhal.c.

References mwl_hal_priv::mh_cmdbuf, mwl_hal_priv::mh_dmamap, mwl_hal_priv::mh_dmat, mwl_hal_priv::mh_mtx, and MWLPRIV.

Referenced by mwl_attach(), and mwl_detach().

Here is the caller graph for this function:

◆ mwl_hal_fwload()

◆ mwl_hal_getaggampduratemode()

int mwl_hal_getaggampduratemode ( struct mwl_hal mh0,
int *  mode,
int *  thresh 
)

Definition at line 1616 of file mwlhal.c.

References _CMD_SETUP, HostCmd_CMD_AMPDU_RETRY_RATEDROP_MODE, MWL_HAL_LOCK(), MWL_HAL_UNLOCK(), mwlExecuteCmd(), and MWLPRIV.

Here is the call graph for this function:

◆ mwl_hal_getbastreams()

int mwl_hal_getbastreams ( struct mwl_hal mh)

Definition at line 464 of file mwlhal.c.

References mwl_hal_vap::mh, and MWLPRIV.

◆ mwl_hal_GetBeacon()

int mwl_hal_GetBeacon ( struct mwl_hal mh,
uint8_t *  pBcn,
uint16_t *  pLen 
)

Definition at line 2194 of file mwlhal.c.

References _CMD_SETUP, HostCmd_CMD_GET_BEACON, MWL_HAL_LOCK(), MWL_HAL_UNLOCK(), mwlExecuteCmd(), and MWLPRIV.

Here is the call graph for this function:

◆ mwl_hal_getchannelinfo()

int mwl_hal_getchannelinfo ( struct mwl_hal mh0,
int  band,
int  chw,
const MWL_HAL_CHANNELINFO **  ci 
)

◆ mwl_hal_getdebug()

int mwl_hal_getdebug ( struct mwl_hal mh)

Definition at line 452 of file mwlhal.c.

References mwl_hal_vap::mh, and MWLPRIV.

◆ mwl_hal_getdiagstate()

int mwl_hal_getdiagstate ( struct mwl_hal mh,
int  request,
const void *  args,
uint32_t  argsize,
void **  result,
uint32_t *  resultsize 
)

◆ mwl_hal_gethwspecs()

◆ mwl_hal_gethwstats()

◆ mwl_hal_getisr()

static __inline void mwl_hal_getisr ( struct mwl_hal mh,
uint32_t *  status 
)
static

Definition at line 128 of file mwlhal.h.

References MACREG_REG_A2H_INTERRUPT_CAUSE, MACREG_REG_INT_CODE, mwl_hal::mh_imask, mwl_hal::mh_ioh, and mwl_hal::mh_iot.

Referenced by mwl_intr().

Here is the caller graph for this function:

◆ mwl_hal_getpromisc()

int mwl_hal_getpromisc ( struct mwl_hal mh0)

Definition at line 2182 of file mwlhal.c.

References MACREG_REG_PROMISCUOUS, MWL_HAL_LOCK(), MWL_HAL_UNLOCK(), MWLPRIV, and RD4().

Here is the call graph for this function:

◆ mwl_hal_getregioncode()

int mwl_hal_getregioncode ( struct mwl_hal mh,
uint8_t *  countryCode 
)

Definition at line 2152 of file mwlhal.c.

References mwl_hal_priv::mh_cmdbuf, MWL_HAL_LOCK(), MWL_HAL_UNLOCK(), mwlGetCalTable(), and MWLPRIV.

Here is the call graph for this function:

◆ mwl_hal_getwatchdogbitmap()

int mwl_hal_getwatchdogbitmap ( struct mwl_hal mh,
uint8_t  bitmap[1] 
)

Definition at line 1572 of file mwlhal.c.

References _CMD_SETUP, HostCmd_CMD_GET_WATCHDOG_BITMAP, MWL_BAQID_MAX, MWL_HAL_LOCK(), MWL_HAL_UNLOCK(), mwlExecuteCmd(), MWLPRIV, and qid2ba.

Referenced by mwl_bawatchdog_proc().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mwl_hal_intrset()

void mwl_hal_intrset ( struct mwl_hal mh,
uint32_t  mask 
)

Definition at line 505 of file mwlhal.c.

References MACREG_REG_A2H_INTERRUPT_MASK, MACREG_REG_INT_CODE, mwl_hal::mh_imask, MWLPRIV, mwl_hal_priv::public, RD4(), and WR4().

Referenced by mwl_chan_set(), mwl_ext_free(), mwl_init(), mwl_reset(), mwl_rx_proc(), and mwl_vap_delete().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mwl_hal_ismbsscapable()

int mwl_hal_ismbsscapable ( struct mwl_hal mh)

Definition at line 470 of file mwlhal.c.

References mwl_hal_vap::mh, MHF_MBSS, and MWLPRIV.

Referenced by assign_address(), and mwl_announce().

Here is the caller graph for this function:

◆ mwl_hal_keyreset()

int mwl_hal_keyreset ( struct mwl_hal_vap ,
const MWL_HAL_KEYVAL *  kv,
const uint8_t  mac[6] 
)

◆ mwl_hal_keyset()

int mwl_hal_keyset ( struct mwl_hal_vap ,
const MWL_HAL_KEYVAL *  kv,
const uint8_t  mac[6] 
)

◆ mwl_hal_newstation()

int mwl_hal_newstation ( struct mwl_hal_vap ,
const uint8_t  addr[6],
uint16_t  aid,
uint16_t  sid,
const MWL_HAL_PEERINFO *  ,
int  isQosSta,
int  wmeInfo 
)

◆ mwl_hal_newvap()

struct mwl_hal_vap * mwl_hal_newvap ( struct mwl_hal ,
MWL_HAL_BSSTYPE  ,
const uint8_t  mac[6] 
)

◆ mwl_hal_setaggampduratemode()

int mwl_hal_setaggampduratemode ( struct mwl_hal mh0,
int  mode,
int  thresh 
)

Definition at line 1597 of file mwlhal.c.

References _CMD_SETUP, HostCmd_CMD_AMPDU_RETRY_RATEDROP_MODE, MWL_HAL_LOCK(), MWL_HAL_UNLOCK(), mwlExecuteCmd(), and MWLPRIV.

Referenced by mwl_hal_reset().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mwl_hal_setantenna()

int mwl_hal_setantenna ( struct mwl_hal mh,
MWL_HAL_ANTENNA  dirSet,
int  ant 
)

Definition at line 750 of file mwlhal.c.

References _CMD_SETUP, _HostCmd_DS_802_11_RF_ANTENNA::Action, _HostCmd_DS_802_11_RF_ANTENNA::AntennaMode, HostCmd_CMD_802_11_RF_ANTENNA, MWL_HAL_LOCK(), MWL_HAL_UNLOCK(), mwlExecuteCmd(), MWLPRIV, WL_ANTENNATYPE_RX, and WL_ANTENNATYPE_TX.

Referenced by mwl_hal_reset().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mwl_hal_setapmode()

int mwl_hal_setapmode ( struct mwl_hal_vap vap,
MWL_HAL_APMODE  ApMode 
)

Definition at line 1763 of file mwlhal.c.

References _VCMD_SETUP, HostCmd_CMD_SET_APMODE, MWL_HAL_LOCK(), MWL_HAL_UNLOCK(), mwlExecuteCmd(), and MWLVAP.

Referenced by mwl_setapmode().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mwl_hal_setassocid()

int mwl_hal_setassocid ( struct mwl_hal_vap ,
const uint8_t  bssId[6],
uint16_t  assocId 
)

◆ mwl_hal_setbastreams()

void mwl_hal_setbastreams ( struct mwl_hal mh,
int  mask 
)

Definition at line 458 of file mwlhal.c.

References mwl_hal_vap::mh, MWL_BASTREAMS_MAX, and MWLPRIV.

◆ mwl_hal_setbeacon()

int mwl_hal_setbeacon ( struct mwl_hal_vap vap,
const void *  frame,
size_t  frameLen 
)

Definition at line 1282 of file mwlhal.c.

References _VCMD_SETUP, HostCmd_CMD_SET_BEACON, MWL_HAL_LOCK(), MWL_HAL_UNLOCK(), mwlExecuteCmd(), and MWLVAP.

Referenced by mwl_beacon_setup().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mwl_hal_setcfend()

int mwl_hal_setcfend ( struct mwl_hal mh0,
int  ena 
)

Definition at line 1638 of file mwlhal.c.

References _CMD_SETUP, HostCmd_CMD_CFEND_ENABLE, MWL_HAL_LOCK(), MWL_HAL_UNLOCK(), mwlExecuteCmd(), and MWLPRIV.

Referenced by mwl_hal_reset().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mwl_hal_setchannel()

int mwl_hal_setchannel ( struct mwl_hal mh,
const MWL_HAL_CHANNEL c 
)

Definition at line 1354 of file mwlhal.c.

References _CMD_SETUP, MWL_HAL_CHANNEL::channel, cvtChannelFlags(), HostCmd_ACT_GEN_SET, HostCmd_CMD_SET_RF_CHANNEL, MWL_HAL_LOCK(), MWL_HAL_UNLOCK(), mwlExecuteCmd(), and MWLPRIV.

Referenced by mwl_chan_set().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mwl_hal_setchannelswitchie()

int mwl_hal_setchannelswitchie ( struct mwl_hal mh0,
const MWL_HAL_CHANNEL nextchan,
uint32_t  mode,
uint32_t  count 
)

Definition at line 886 of file mwlhal.c.

References _CMD_SETUP, MWL_HAL_CHANNEL::channel, cvtChannelFlags(), HostCmd_CMD_SET_SWITCH_CHANNEL, MWL_HAL_LOCK(), MWL_HAL_UNLOCK(), mwlExecuteCmd(), and MWLPRIV.

Referenced by mwl_startcsa().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mwl_hal_setcsmode()

int mwl_hal_setcsmode ( struct mwl_hal mh,
MWL_HAL_CSMODE  csmode 
)

Definition at line 1901 of file mwlhal.c.

References _CMD_SETUP, HostCmd_ACT_GEN_SET, HostCmd_CMD_SET_LINKADAPT_CS_MODE, MWL_HAL_LOCK(), MWL_HAL_UNLOCK(), mwlExecuteCmd(), and MWLPRIV.

Referenced by mwl_newstate().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mwl_hal_setdebug()

void mwl_hal_setdebug ( struct mwl_hal mh,
int  debug 
)

Definition at line 446 of file mwlhal.c.

References mwl_hal_vap::mh, and MWLPRIV.

◆ mwl_hal_setdwds()

int mwl_hal_setdwds ( struct mwl_hal mh0,
int  ena 
)

Definition at line 1655 of file mwlhal.c.

References _CMD_SETUP, HostCmd_CMD_DWDS_ENABLE, MWL_HAL_LOCK(), MWL_HAL_UNLOCK(), mwlExecuteCmd(), and MWLPRIV.

Referenced by mwl_newstate().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mwl_hal_setedcaparams()

int mwl_hal_setedcaparams ( struct mwl_hal mh,
uint8_t  qnum,
uint32_t  CWmin,
uint32_t  CWmax,
uint8_t  AIFSN,
uint16_t  TXOPLimit 
)

Definition at line 1854 of file mwlhal.c.

References _CMD_SETUP, HostCmd_CMD_SET_EDCA_PARAMS, MWL_HAL_LOCK(), MWL_HAL_UNLOCK(), mwlExecuteCmd(), and MWLPRIV.

Referenced by mwl_txq_update().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mwl_hal_setgprot()

int mwl_hal_setgprot ( struct mwl_hal mh0,
int  prot 
)

Definition at line 1820 of file mwlhal.c.

References _CMD_SETUP, HostCmd_CMD_SET_G_PROTECT_FLAG, MWL_HAL_LOCK(), MWL_HAL_UNLOCK(), mwlExecuteCmd(), and MWLPRIV.

Referenced by mwl_updateslot().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mwl_hal_sethtgi()

int mwl_hal_sethtgi ( struct mwl_hal_vap vap,
int  GIType 
)

Definition at line 692 of file mwlhal.c.

References _VCMD_SETUP, GI_TYPE_LONG, GI_TYPE_SHORT, HostCmd_ACT_GEN_SET, HostCmd_CMD_HT_GUARD_INTERVAL, MWL_HAL_LOCK(), MWL_HAL_UNLOCK(), mwlExecuteCmd(), and MWLVAP.

Referenced by mwl_reset_vap().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mwl_hal_sethwdma()

◆ mwl_hal_setinframode()

int mwl_hal_setinframode ( struct mwl_hal_vap vap)

Definition at line 799 of file mwlhal.c.

References _VCMD_SETUP, HostCmd_CMD_SET_INFRA_MODE, MWL_HAL_LOCK(), MWL_HAL_UNLOCK(), mwlExecuteCmd(), and MWLVAP.

Referenced by mwl_newstate().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mwl_hal_setkeepalive()

int mwl_hal_setkeepalive ( struct mwl_hal mh)

Definition at line 1742 of file mwlhal.c.

References _CMD_SETUP, HostCmd_CMD_SET_KEEP_ALIVE, MWL_HAL_LOCK(), MWL_HAL_UNLOCK(), mwlExecuteCmd(), and MWLPRIV.

Referenced by mwl_agestations(), and mwl_watchdog().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mwl_hal_setmac()

int mwl_hal_setmac ( struct mwl_hal_vap ,
const uint8_t  addr[6] 
)

◆ mwl_hal_setmcast()

int mwl_hal_setmcast ( struct mwl_hal mh,
int  nmc,
const uint8_t  macs[] 
)

Definition at line 1157 of file mwlhal.c.

References _CMD_SETUP, HostCmd_CMD_MAC_MULTICAST_ADR, IEEE80211_ADDR_LEN, MWL_HAL_LOCK(), MWL_HAL_MCAST_MAX, MWL_HAL_UNLOCK(), mwlExecuteCmd(), and MWLPRIV.

Referenced by mwl_setmcastfilter().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mwl_hal_setmimops()

int mwl_hal_setmimops ( struct mwl_hal mh,
const uint8_t  addr[6],
uint8_t  enable,
uint8_t  mode 
)

◆ mwl_hal_setnprot()

int mwl_hal_setnprot ( struct mwl_hal_vap vap,
MWL_HAL_HTPROTECT  mode 
)

Definition at line 1919 of file mwlhal.c.

References _VCMD_SETUP, HostCmd_CMD_SET_N_PROTECT_FLAG, MWL_HAL_LOCK(), MWL_HAL_UNLOCK(), mwlExecuteCmd(), and MWLVAP.

Referenced by mwl_reset_vap().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mwl_hal_setnprotmode()

int mwl_hal_setnprotmode ( struct mwl_hal_vap vap,
uint8_t  mode 
)

Definition at line 1937 of file mwlhal.c.

References _VCMD_SETUP, HostCmd_CMD_SET_N_PROTECT_OPMODE, MWL_HAL_LOCK(), MWL_HAL_UNLOCK(), mwlExecuteCmd(), and MWLVAP.

Referenced by mwl_beacon_update(), and mwl_reset_vap().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mwl_hal_setoptimizationlevel()

int mwl_hal_setoptimizationlevel ( struct mwl_hal mh,
int  onoff 
)

Definition at line 1954 of file mwlhal.c.

References _CMD_SETUP, HostCmd_CMD_SET_OPTIMIZATION_LEVEL, MWL_HAL_LOCK(), MWL_HAL_UNLOCK(), mwlExecuteCmd(), and MWLPRIV.

Referenced by mwl_hal_reset().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mwl_hal_setpowersave_bss()

int mwl_hal_setpowersave_bss ( struct mwl_hal_vap vap,
uint8_t  nsta 
)

Definition at line 1302 of file mwlhal.c.

References _VCMD_SETUP, HostCmd_CMD_SET_POWERSAVESTATION, MWL_HAL_LOCK(), MWL_HAL_UNLOCK(), mwlExecuteCmd(), and MWLVAP.

Here is the call graph for this function:

◆ mwl_hal_setpowersave_sta()

int mwl_hal_setpowersave_sta ( struct mwl_hal_vap vap,
uint16_t  aid,
int  ena 
)

Definition at line 1319 of file mwlhal.c.

References _VCMD_SETUP, HostCmd_CMD_SET_TIM, MWL_HAL_LOCK(), MWL_HAL_UNLOCK(), mwlExecuteCmd(), and MWLVAP.

Here is the call graph for this function:

◆ mwl_hal_setpromisc()

int mwl_hal_setpromisc ( struct mwl_hal mh0,
int  ena 
)

Definition at line 2169 of file mwlhal.c.

References MACREG_REG_PROMISCUOUS, MWL_HAL_LOCK(), MWL_HAL_UNLOCK(), MWLPRIV, RD4(), and WR4().

Referenced by mwl_mode_init(), and mwl_update_promisc().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mwl_hal_setradardetection()

int mwl_hal_setradardetection ( struct mwl_hal mh,
MWL_HAL_RADAR  action 
)

Definition at line 818 of file mwlhal.c.

References _CMD_SETUP, DOMAIN_CODE_ETSI_131, HostCmd_CMD_802_11H_DETECT_RADAR, mwl_hal_priv::mh_regioncode, MWL_HAL_LOCK(), MWL_HAL_UNLOCK(), mwlExecuteCmd(), and MWLPRIV.

Referenced by mwl_newstate().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mwl_hal_setradio()

int mwl_hal_setradio ( struct mwl_hal mh,
int  onoff,
MWL_HAL_PREAMBLE  preamble 
)

Definition at line 722 of file mwlhal.c.

References _CMD_SETUP, HostCmd_ACT_GEN_SET, HostCmd_CMD_802_11_RADIO_CONTROL, MWL_HAL_LOCK(), MWL_HAL_UNLOCK(), mwlExecuteCmd(), and MWLPRIV.

Referenced by mwl_hal_reset().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mwl_hal_setrateadaptmode()

int mwl_hal_setrateadaptmode ( struct mwl_hal mh,
uint16_t  mode 
)

Definition at line 1883 of file mwlhal.c.

References _CMD_SETUP, HostCmd_ACT_GEN_SET, HostCmd_CMD_SET_RATE_ADAPT_MODE, MWL_HAL_LOCK(), MWL_HAL_UNLOCK(), mwlExecuteCmd(), and MWLPRIV.

Referenced by mwl_hal_reset().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mwl_hal_setregioncode()

int mwl_hal_setregioncode ( struct mwl_hal mh,
int  regionCode 
)

Definition at line 910 of file mwlhal.c.

References _CMD_SETUP, DOMAIN_CODE_ETSI, DOMAIN_CODE_ETSI_131, HostCmd_CMD_SET_REGION_CODE, mwl_hal_priv::mh_regioncode, MWL_HAL_LOCK(), MWL_HAL_UNLOCK(), mwlExecuteCmd(), and MWLPRIV.

Referenced by mwl_hal_reset().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mwl_hal_SetRifs()

int mwl_hal_SetRifs ( struct mwl_hal mh,
uint8_t  QNum 
)

Definition at line 2215 of file mwlhal.c.

References _CMD_SETUP, HostCmd_CMD_SET_RIFS, MWL_HAL_LOCK(), MWL_HAL_UNLOCK(), mwlExecuteCmd(), and MWLPRIV.

Here is the call graph for this function:

◆ mwl_hal_setrtsthreshold()

int mwl_hal_setrtsthreshold ( struct mwl_hal_vap vap,
int  threshold 
)

Definition at line 778 of file mwlhal.c.

References _VCMD_SETUP, HostCmd_ACT_GEN_SET, HostCmd_CMD_802_11_RTS_THSD, MWL_HAL_LOCK(), MWL_HAL_UNLOCK(), mwlExecuteCmd(), and MWLVAP.

Referenced by mwl_newstate(), and mwl_reset_vap().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mwl_hal_setslottime()

int mwl_hal_setslottime ( struct mwl_hal mh,
int  usecs 
)

Definition at line 1020 of file mwlhal.c.

References _CMD_SETUP, HostCmd_ACT_GEN_SET, HostCmd_CMD_802_11_SET_SLOT, MWL_HAL_LOCK(), MWL_HAL_UNLOCK(), mwlExecuteCmd(), and MWLPRIV.

Here is the call graph for this function:

◆ mwl_hal_settxpower()

int mwl_hal_settxpower ( struct mwl_hal mh0,
const MWL_HAL_CHANNEL c,
uint8_t  maxtxpow 
)

◆ mwl_hal_settxrate()

◆ mwl_hal_settxrate_auto()

int mwl_hal_settxrate_auto ( struct mwl_hal mh0,
const MWL_HAL_TXRATE rate 
)

Definition at line 994 of file mwlhal.c.

References _CMD_SETUP, HostCmd_ACT_NOT_USE_FIXED_RATE, HostCmd_CMD_SET_FIXED_RATE, MWL_HAL_TXRATE::McastRate, MWL_HAL_TXRATE::MgtRate, MWL_HAL_LOCK(), MWL_HAL_UNLOCK(), mwlExecuteCmd(), MWLPRIV, RATETYPE, and RATEVAL.

Referenced by mwl_setcurchanrates().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mwl_hal_setwmm()

int mwl_hal_setwmm ( struct mwl_hal mh,
int  onoff 
)

Definition at line 1837 of file mwlhal.c.

References _CMD_SETUP, HostCmd_CMD_SET_WMM_MODE, MWL_HAL_LOCK(), MWL_HAL_UNLOCK(), mwlExecuteCmd(), and MWLPRIV.

Referenced by mwl_hal_reset().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mwl_hal_start()

int mwl_hal_start ( struct mwl_hal_vap vap)

Definition at line 1802 of file mwlhal.c.

References _VCMD_SETUP, mwl_hal_vap::flags, HostCmd_ACT_GEN_ON, HostCmd_CMD_BSS_START, MVF_RUNNING, MWL_HAL_LOCK(), MWL_HAL_UNLOCK(), mwlExecuteCmd(), and MWLVAP.

Referenced by mwl_newstate().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mwl_hal_stop()

int mwl_hal_stop ( struct mwl_hal_vap vap)

Definition at line 1781 of file mwlhal.c.

References _VCMD_SETUP, mwl_hal_vap::flags, HostCmd_ACT_GEN_OFF, HostCmd_CMD_BSS_START, MVF_RUNNING, MWL_HAL_LOCK(), MWL_HAL_UNLOCK(), mwlExecuteCmd(), and MWLVAP.

Referenced by mwl_newstate().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mwl_hal_txstart()

static __inline void mwl_hal_txstart ( struct mwl_hal mh,
int  qnum 
)
static

Definition at line 159 of file mwlhal.h.

References MACREG_H2ARIC_BIT_PPA_READY, MACREG_REG_H2A_INTERRUPT_EVENTS, MACREG_REG_INT_CODE, mwl_hal::mh_ioh, and mwl_hal::mh_iot.

Referenced by mwl_raw_xmit(), mwl_rx_proc(), mwl_start(), and mwl_tx_proc().

Here is the caller graph for this function:

◆ mwl_hal_updatetim()

int mwl_hal_updatetim ( struct mwl_hal_vap ,
uint16_t  aid,
int  set 
)