# sm_connect_req Struct Reference
[TASK_SM]

Structure containing the parameters of SM_CONNECT_REQ message. More...

`#include <sm_task.h>`

Collaboration diagram for sm_connect_req:
[legend]

## Data Fields
struct mac_ssid | ssid
| SSID to connect to.
struct mac_addr | bssid
| BSSID to connect to (if not specified, set this field to WILDCARD BSSID).
struct mac_chan_def | chan
| Channel on which we have to connect (if not specified, set -1 in the chan.freq field).
uint32_t | flags
| Connection flags (mac_connection_flags).
uint16_t | ctrl_port_ethertype
| Control port Ethertype.
uint16_t | ie_len
| Length of the association request IEs.
uint16_t | listen_interval
| Listen interval to be used for this connection.
bool | dont_wait_bcmc
| Flag indicating if the we have to wait for the BC/MC traffic after beacon or not.
uint8_t | auth_type
| Authentication type.
uint8_t | uapsd_queues
| UAPSD queues (bit0: VO, bit1: VI, bit2: BK, bit3: BE).
uint8_t | vif_idx
| VIF index.
uint32_t | ie_buf [64]
| Buffer containing the additional information elements to be put in the association request.

## Detailed Description

Structure containing the parameters of SM_CONNECT_REQ message.

Definition at line 84 of file sm_task.h.

The documentation for this struct was generated from the following file:

- /space/home/slher/rel/Beken/v6_4_5/macsw/ip/umac/src/sm/sm_task.h