Lines Matching +full:avb +full:- +full:algorithm
11 * Copyright (C) 1999-2017, Broadcom Corporation
32 * <<Broadcom-WL-IPTag/Open:>>
61 * BCME_.. error codes are extended by various features - e.g. FTM, NAN, SAE etc.
68 * The error codes -4096 ... -5119 are reserved for firmware signing.
70 * Next available (inclusive) range: [-6*1024 + 1, -5*1024]
75 /* 11ax trigger frame format - versioning info */
122 (sizeof(wl_dfs_forced_t) + (((n) < 1) ? (0) : (((n) - 1)* sizeof(chanspec_t))))
138 #define DFS_SCAN_S_IDLE -1
264 * will see OBSS, [means that, we false detected that OBSS-is-gone
364 * Per-BSS information structure.
587 #define WL_GSCAN_INFO_FIXED_FIELD_SIZE (sizeof(wl_gscan_bss_info_t) - sizeof(wl_bss_info_t))
696 uint8 bsscolor_index; /**< bsscolor index 0-1 */
700 uint16 staid_info[HE_MAX_STAID_PER_BSSCOLOR]; /**< 0-3 staid info of each bsscolor */
812 #define WL_EXTDSCAN_PARAMS_FIXED_SIZE (sizeof(wl_extdscan_params_t) - sizeof(chan_scandata_t))
823 int32 nprobes; /**< -1 use default, number of probes per channel */
824 int32 active_time; /**< -1 use default, dwell time per channel for
827 int32 passive_time; /**< -1 use default, dwell time per channel
830 int32 home_time; /**< -1 use default, dwell time for the home channel
840 * meaning an odd channel count implies a 2-byte pad
869 int32 nprobes; /**< -1 use default, number of probes per channel */
870 int32 active_time; /**< -1 use default, dwell time per channel for
873 int32 passive_time; /**< -1 use default, dwell time per channel
876 int32 home_time; /**< -1 use default, dwell time for the home channel
886 * meaning an odd channel count implies a 2-byte pad
935 #define WL_SCAN_RESULTS_FIXED_SIZE (sizeof(wl_scan_results_t) - sizeof(wl_bss_info_t))
987 #define WL_ESCAN_RESULTS_FIXED_SIZE (sizeof(wl_escan_result_t) - sizeof(wl_bss_info_t))
1006 #define WL_GSCAN_RESULTS_FIXED_SIZE (sizeof(wl_gscan_result_t) - sizeof(wl_gscan_bss_info_t))
1102 /* bitmap for each element: B[4:0]=>c0, B[9:5]=>c1, B[14:10]=>c2, B[19:15]=>c[3-7]
1103 * B[24:20]=>c[8-9], B[29:25]=>c[10-11]
1106 uint32 bfgain_2x2[NUM_BFGAIN_ARRAY_2RX]; /* exp [1-2]ss, imp 1ss */
1109 uint32 bfgain_3x3[NUM_BFGAIN_ARRAY_3RX]; /* exp [1-3]ss, imp 1ss */
1113 uint32 bfgain_4x4[NUM_BFGAIN_ARRAY_4RX]; /* exp [1-4]ss, imp 1ss */
1133 /** in - # of elements, out - # of entries */
1250 int32 nprobes; /**< -1 use default, number of probes per channel */
1251 int32 active_time; /**< -1 use default, dwell time per channel for
1254 int32 passive_time; /**< -1 use default, dwell time per channel
1257 int32 home_time; /**< -1 use default, dwell time for the home channel
1365 char country_abbrev[WLC_CNTRY_BUF_SZ]; /**< nul-terminated country code used in
1369 * on set, -1 indicates unspecified.
1372 char ccode[WLC_CNTRY_BUF_SZ]; /**< nul-terminated built-in country code.
1426 uint32 tsf_h; /**< TSF high 32-bits of Measurement start time */
1427 uint32 tsf_l; /**< TSF low 32-bits */
1445 uint32 tsf_h; /**< TSF high 32-bits of Measurement start time */
1446 uint32 tsf_l; /**< TSF low 32-bits */
1592 uint16 fils_cache_id; /* 2-byte length */
1685 * Structure used by GET/SET_ATTEN ioctls - it controls power in b/g-band
1686 * PCL - Power Control Loop
1695 /** Per-AC retry parameters */
2116 uint32 prop11n_mcs[WLC_11N_LAST_PROP_MCS - WLC_11N_FIRST_PROP_MCS + 1]; /** MCS counts */
2144 #define WL_NUM_RATES_MCS_1STREAM 8 /**< MCS 0-7 1-stream rates - SISO/CDD/STBC/MCS */
2162 uint32 boardid; /**< board identifier (usu. PCI sub-device id) */
2163 uint32 boardvendor; /**< board vendor (usu. PCI sub-vendor id) */
2191 int8 PAD[4-(WL_BRAND_MAX%4)];
2371 #define HT_MCS_INUSE 0x00000080 /* HT MCS in use,indicates b0-6 holds an mcs */
2372 #define VHT_MCS_INUSE 0x00000100 /* VHT MCS in use,indicates b0-6 holds an mcs */
2395 uint16 delay; /**< Inter-packet delay */
2404 * bit7-4: 4 bits swdiv_tx/rx_policy bitmask, specify antenna-policy for SW diversity
2405 * bit3-0: 4 bits TxCore bitmask, specify cores used for transmit frames
2529 int32 npulses_stg2; /**< Radar detection, minimum staggered-2 pulses set */
2530 int32 npulses_stg3; /**< Radar detection, minimum staggered-3 pulses set */
2538 uint16 feature_mask; /**< 16-bit mask to specify enabled features */
2548 uint16 thresh0_20_lo; /**< Radar detection, thresh 0 (range 5250-5350MHz) for BW 20MHz */
2549 uint16 thresh1_20_lo; /**< Radar detection, thresh 1 (range 5250-5350MHz) for BW 20MHz */
2550 uint16 thresh0_40_lo; /**< Radar detection, thresh 0 (range 5250-5350MHz) for BW 40MHz */
2551 uint16 thresh1_40_lo; /**< Radar detection, thresh 1 (range 5250-5350MHz) for BW 40MHz */
2552 uint16 thresh0_80_lo; /**< Radar detection, thresh 0 (range 5250-5350MHz) for BW 80MHz */
2553 uint16 thresh1_80_lo; /**< Radar detection, thresh 1 (range 5250-5350MHz) for BW 80MHz */
2554 uint16 thresh0_20_hi; /**< Radar detection, thresh 0 (range 5470-5725MHz) for BW 20MHz */
2555 uint16 thresh1_20_hi; /**< Radar detection, thresh 1 (range 5470-5725MHz) for BW 20MHz */
2556 uint16 thresh0_40_hi; /**< Radar detection, thresh 0 (range 5470-5725MHz) for BW 40MHz */
2557 uint16 thresh1_40_hi; /**< Radar detection, thresh 1 (range 5470-5725MHz) for BW 40MHz */
2558 uint16 thresh0_80_hi; /**< Radar detection, thresh 0 (range 5470-5725MHz) for BW 80MHz */
2559 uint16 thresh1_80_hi; /**< Radar detection, thresh 1 (range 5470-5725MHz) for BW 80MHz */
2560 uint16 thresh0_160_lo; /**< Radar detection, thresh 0 (range 5250-5350MHz) for BW 160MHz */
2561 uint16 thresh1_160_lo; /**< Radar detection, thresh 1 (range 5250-5350MHz) for BW 160MHz */
2562 uint16 thresh0_160_hi; /**< Radar detection, thresh 0 (range 5470-5725MHz) for BW 160MHz */
2563 uint16 thresh1_160_hi; /**< Radar detection, thresh 1 (range 5470-5725MHz) for BW 160MHz */
2663 #define WL_DFS_AP_MOVE_ABORT -1 /* Abort any dfs_ap_move in progress immediately */
2664 #define WL_DFS_AP_MOVE_STUNT -2 /* Stunt move but continue background CSA if in progress */
2700 int8 txpwr_antgain[2]; /**< Ant gain for each band - from SROM */
2716 int8 antgain[2]; /**< Ant gain for each band - from SROM */
2801 * It is helpful to debug out-of-sync issue between
2819 uint32 tx_time_1chain; /* Tx 1-chain raw SHM value */
2821 uint32 tx_time_2chain; /* Tx 2-chain raw SHM value */
2823 uint32 tx_time_3chain; /* Tx 3-chain raw SHM value */
2844 uint8 mimo_ps_state; /* mimo_ps_cfg states: [0-5]. See below for values */
2863 uint8 mimo_ps_state; /* mimo_ps_cfg states: [0-5]. See below for values */
2918 /* mimo_ps_status: core flag states for single-core beacon and siso-bcmc rx */
2974 uint16 bitmap_2g; /* bitmap for 2.4G channels bits 1-13 */
2976 *34-48, 52-56, 60-64, 100-102
2979 * 104, 108-112, 116-120, 124-128,
2980 * 132-136, 140, 149-151
2983 * 153, 157-161, 165
3039 #define WL_OPS_MYBSS_NAV_DUR 0x2 /* OPS based on mybss RTS-CTS duration */
3043 #define WL_OPS_OBSS_NAV_DUR 0x8 /* OPS based on obss RTS-CTS duration */
3056 #define OPS_DUR_HIST_BINS 5 /* number of bins used, 0-1, 1-2, 2-4, 4-8, >8 msec */
3062 uint8 pad[2]; /* 4-byte alignment */
3173 * Join preference iovar value is an array of tuples. Each tuple has a one-byte type,
3174 * a one-byte length, and a variable length value. RSSI type tuple must be present
3184 * 1. RSSI - 2 octets
3188 * 2. WPA - 2 + 12 * n octets (n is # tuples defined below)
3194 * offset 2 + 12 * (n - 1) octets: tuple n
3204 * 3. BAND - 2 octets
3208 * 4. BAND RSSI - 2 octets
3248 wl_bsstrans_rssi_t phy_n[RSSI_RATE_MAP_MAX_STREAMS][WL_NUM_RATES_MCS_1STREAM]; /* MCS0-7 */
3249 wl_bsstrans_rssi_t phy_ac[RSSI_RATE_MAP_MAX_STREAMS][WL_NUM_RATES_VHT_ALL]; /**< MCS0-11 */
3250 wl_bsstrans_rssi_t phy_ax[RSSI_RATE_MAP_MAX_STREAMS][WL_NUM_RATES_HE]; /**< MCS0-11 */
3259 wl_bsstrans_rssi_t phy_n[RSSI_RATE_MAP_MAX_STREAMS][WL_NUM_RATES_MCS_1STREAM]; /* MCS0-7 */
3260 wl_bsstrans_rssi_t phy_ac[RSSI_RATE_MAP_MAX_STREAMS][WL_NUM_RATES_VHT]; /**< MCS0-9 */
3269 wl_bsstrans_rssi_t phy_n[RSSI_RATE_MAP_MAX_STREAMS][WL_NUM_RATES_MCS_1STREAM]; /* MCS0-7 */
3270 wl_bsstrans_rssi_t phy_ac[RSSI_RATE_MAP_MAX_STREAMS][WL_NUM_RATES_VHT]; /**< MCS0-9 */
3515 uint16 id; /* ID of the sub-command */
3553 #define INVALID_CNT_VAL (uint32)(-1)
3617 * and vice-versa
3724 /* per-rate receive stat counters */
3797 uint32 txpspoll; /**< Number of TX PS-poll */
3798 uint32 rxpspoll; /**< Number of RX PS-poll */
3877 uint32 he_txmampdu; /**< for multi-TID AMPDU transmission */
3878 uint32 he_txmtid_back; /**< for multi-TID BACK transmission */
3879 uint32 he_rxmtid_back; /**< reception of multi-TID BACK */
3880 uint32 he_rxmsta_back; /**< reception of multi-STA BACK */
3885 uint32 he_rxtrig_murts; /**< reception of MU-RTS trigger frame */
3909 /* Reinit reasons - do not put anything else other than reinit reasons here */
3926 /* MAC counters: 32-bit version of d11.h's macstat_t */
3933 uint32 txdnlfrm; /**< number of Null-Data transmission generated from template */
3935 uint32 txfunfl[6]; /**< per-fifo tx underflows */
3941 uint32 txphyerror; /**< Transmit phy error, type of error is reported in tx-status for
4011 /* MAC counters: 32-bit version of d11.h's macstat_t */
4018 uint32 txdnlfrm; /**< number of Null-Data transmission generated from template */
4020 uint32 txfunfl[6]; /**< per-fifo tx underflows */
4026 uint32 txphyerror; /**< Transmit phy error, type of error is reported in tx-status for
4096 /* MAC counters: 32-bit version of d11.h's macstat_t */
4104 uint32 txdnlfrm; /**< number of Null-Data transmission generated from template */
4111 uint32 txphyerror; /**< Transmit phy error, type of error is reported in tx-status for
4209 /* MAC counters: 32-bit version of d11.h's macstat_t */
4216 uint32 txdnlfrm; /**< number of Null-Data transmission generated from template */
4218 uint32 txfunfl[6]; /**< per-fifo tx underflows */
4224 uint32 txphyerror; /**< Transmit phy error, type of error is reported in tx-status for
4362 /* MAC counters: 32-bit version of d11.h's macstat_t */
4371 uint32 txfunfl[6]; /**< per-fifo tx underflows */
4377 uint32 txphyerror; /**< Transmit phy error, type of error is reported in tx-status for
4482 /* per-rate receive stat counters */
4567 uint32 txpspoll; /**< Number of TX PS-poll */
4568 uint32 rxpspoll; /**< Number of RX PS-poll */
4662 /* MAC counters: 32-bit version of d11.h's macstat_t */
4671 uint32 txfunfl[8]; /* per-fifo tx underflows */
4675 uint32 txphyerror; /* Transmit phy error, type of error is reported in tx-status for
4780 /* per-rate receive stat counters */
4895 /* MAC counters: 32-bit version of d11.h's macstat_t */
4904 uint32 txfunfl[6]; /**< per-fifo tx underflows */
4910 uint32 txphyerror; /**< Transmit phy error, type of error is reported in tx-status for
5032 /* per-rate receive stat counters */
5087 /* per-rate receive stat counters */
5225 uint8 keep_alive_id; /* 0 - 3 for N = 4 */
5235 /** TCP Keep-Alive conn struct */
5249 /** TCP Keep-Alive interval struct */
5310 /** structure for per-tid ampdu control */
5452 /* MAC Sample Capture Set-up Paramters */
5616 /**this is used to report on 1-* pfn scan results */
5815 * change - crosses rssi threshold/lost
5910 /* Flags for the mpf-specific stuff */
5917 /* Per-state timing values */
5968 #define WL_MPF_STATE_AUTO (0xFFFF) /* (uint16)-1) */
5974 uint8 force; /* 0 - auto (HW) state, 1 - forced state */
6012 uint16 response_timeout; /**< Max time to wait for a GAS-level response
6028 * connection exists. -1 for default.
6043 * 1 means scan for P2P devices plus non-P2P APs.
6120 uint32 flags; /**< 0x01-Peer is MBO Capable */
6263 * Keep-alive packet offloading.
6267 * NAT keep-alive packets format: specifies the re-transmission period, the packet
6271 uint32 period_msec; /** Retransmission period (0 to disable packet re-transmits) */
6272 uint16 len_bytes; /* Size of packet to transmit (0 to disable packet re-transmits) */
6356 * ptk_start: iovar to start 4-way handshake for secured ranging
6359 /* ptk negotiation security type - determines negotiation parameters */
6536 ((apf_program)->instr_len * sizeof((apf_program)->instrs[0]))
6608 uint32 delay; /**< Inter-packet delay */
6621 uint16 version; /**< Version - 1 */
6631 uint16 version; /**< Version - 1 */
6647 uint8 he_ltf_symb; /* num of HE-LTF symbols */
6657 struct ether_addr dest; /* destination address for un-associated mode */
6671 /* Common Info Params Figure 9-52d - 11ax Draft 1.1 */
6689 /* User Info Params Figure 9-52e - 11ax Draft 1.1 */
6826 uint32 ucode_wakeind; /**< What wakeup-event indication was set by ucode */
6884 * used for report in struct cca_chan_qual_event_t. So the ID values beyond 8-bit are used
6896 int16 htol[MAX_CHAN_QUAL_LEVELS]; /**< threshold level array: hi-to-lo */
6897 int16 ltoh[MAX_CHAN_QUAL_LEVELS]; /**< threshold level array: lo-to-hi */
6956 /* packets re-sent because they were not received */ \
6964 /* the high-water mark of the queue capacity for packets - goes to zero as queue fills */ \
6966 /* the high-water mark of the queue utilisation for packets - ('inverse' of max_avail) */ \
7049 uint32 retry; /**< packets re-sent because they were not received */
7073 iov_bs_data_record_t structure_record[1]; /**< 0 - structure_count records */
7104 char PAD[4-MAX_ARGSTR_LEN%4];
7130 * affect backward compatibility with pre-existing apps
7196 uint8 addtype; /* static for manual add or dynamic if auto-learning of neighbors */
7219 /* len- for SET it would be mask size from the application to the firmware */
7221 /* maxgetsize - is only used for GET. indicate max mask size that the */
7346 * starts on a 4-byte boundary.
7350 * valid len values are 0-4095.
7390 /* int32 drifts = remote - local; +ve drift => local-clk slow */
7408 uint16 len; /**< Up to 4K-1, top 4 bits are reserved */
7424 /* int32 drifts = remote - local; +ve drift => local-clk slow */
7445 uint8 flags; /**< bit0: 1-sleep, 0- wake. bit1: 0-bit0 invlid, 1-bit0 valid */
7453 uint16 len; /**< Up to 4K-1, top 4 bits are reserved */
7458 /* bit0: 1-sleep, 0- wake. bit1: 0-bit0 invlid, 1-bit0 valid */
7490 /* int32 drifts = remote - local; +ve drift => local-clk slow */
7502 uint32 start_event_dur[WL_PMD_EVENT_MAX_V2]; /* start event-duration */
7527 uint16 len; /* Up to 4K-1, top 4 bits are reserved */
7615 uint32 start_event_dur[WLC_PMD_EVENT_MAX_V1]; /**< start event-duration */
7642 uint16 len; /**< Up to 4K-1, top 4 bits are reserved */
7658 uint32 perst_deassrt_ct; /**< PERST# de-assert count */
7673 uint32 num_h2d_doorbell; /**< # of doorbell interrupts - h2d */
7674 uint32 num_d2h_doorbell; /**< # of doorbell interrupts - d2h */
7693 uint32 d3_ack_sr_cnt; /**< srcount during last D3-ACK */
7717 uint16 len; /**< Up to 4K-1, top 4 bits are reserved */
7729 uint16 len; /**< Up to 4K-1, top 4 bits are reserved */
7732 scan_data_t user_scans; /**< User-requested scans: (i/e/p)scan */
7741 uint16 len; /**< Up to 4K-1, top 4 bits are reserved */
7750 uint16 len; /**< Up to 4K-1, top 4 bits are reserved */
7766 /* Total 1-chain transmit time(us) */
7768 /* Total 2-chain transmit time(us) */
7770 /* Total 3-chain transmit time(us) */
7785 /* Total 1-chain transmit time(us) */
7787 /* Total 2-chain transmit time(us) */
7789 /* Total 3-chain transmit time(us) */
7813 uint32 avb_uptime; /**< AVB uptime in msec */
7907 * starts on a 4-byte boundary.
7911 * valid len values are 0-4095.
7928 uint16 len; /**< Up to 4K-1, top 4 bits are reserved */
7938 /* int32 drifts = remote - local; +ve drift -> local-clk slow */
7947 uint32 prev_frts_dur; /**< Data frts duration at start of pm-period */
7949 uint32 prev_cal_dur; /**< cal duration at start of pm-period */
7954 uint16 len; /**< Up to 4K-1, top 4 bits are reserved */
7964 uint16 len; /**< Up to 4K-1, top 4 bits are reserved */
7973 uint16 len; /* Up to 4K-1, top 4 bits are reserved */
7997 uint16 len; /**< Up to 4K-1, top 4 bits are reserved */
8025 uint16 len; /**< Up to 4K-1, top 4 bits are reserved */
8124 int8 antgain[2]; /**< Ant gain for each band - from SROM */
8133 uint8 version; /**< Version of the data format wlu <--> driver */
8151 int8 antgain[3]; /**< Ant gain for each band - from SROM */
8160 uint8 version; /**< Version of the data format wlu <--> driver */
8173 uint8 version; /* Version of the data format wlu <--> driver */
8455 #define IOBUF_ALLOWED_NUM_OF_LOGREC(type, len) ((len - LOGRRC_FIX_LEN)/sizeof(type))
8494 uint8 ccastats[CCASTATS_V2_MAX]; /**< normalized as 0-255 */
8508 uint8 ccastats[CCASTATS_V3_MAX]; /**< normalized as 0-255 */
8510 uint8 pad_1[11 - CCASTATS_V3_MAX];
8617 int8 curr_temperature; /**< on-chip temperature sensor reading */
8753 #define WLC_SUBBAND_MAX 4 /**< max number of sub-band supports */
8758 /* Temporary WAR. SWWLAN-140646 */
8904 uint32 trf_mgmt_enabled; /**< 0 - disabled, 1 - enabled */
9005 /** structure to store per-AC delay statistics */
9060 (sizeof(txdelay_stats_t)+(MAX_TXDELAY_STATS_SCBS-1)*sizeof(scb_total_delay_stats_t))
9193 uint16 pad0; /* padding for 4-byte allignment */
9196 uint8 pad1[3]; /* padding for 4-byte allignment */
9205 uint8 pad; /* padding for 4-byte allignment */
9218 int16 reason; /**< Transition reason code, -1: no reason code */
9222 #define WL_BTM_REQ_NO_REASON_CODE -1
9241 * BSS-Transition feature is used by multiple programs such as NPS-PF, VE-PF,
9242 * Band-steering, Hotspot 2.0 and customer requirements. Each PF and its test plan
9243 * mandates different behavior on receiving BSS-transition request. To accomodate
9314 #define WL_DFRTS_LOGIC_OR 1 /**< OR all non-zero threshold conditions */
9315 #define WL_DFRTS_LOGIC_AND 2 /**< AND all non-zero threshold conditions */
9317 /* Values for the passive_on_restricted_mode iovar. When set to non-zero, this iovar
9350 RELMCAST_ENTRY_OP_DISABLE = 0, /**< Disable multi-cast group */
9351 RELMCAST_ENTRY_OP_DELETE = 1, /**< Delete multi-cast group */
9352 RELMCAST_ENTRY_OP_ENABLE = 2, /**< Enable multi-cast group */
9390 uint16 mc_taken_other_tr; /**< multi-cast addressed is already taken */
9412 /* operation on multi-cast entry such add,
9413 * delete, ack-all
9416 struct ether_addr addr; /**< multi-cast group mac address */
9729 uint8 status; /**< bitmask 0 -- disable, 0x1 -- enable collection, */
9730 /* 0x2 -- Use generic event, 0x4 -- use event log */
9731 uint16 index; /**< The current frame index [0 to total_frames - 1]. */
9745 uint32 fpfactor; /**< avb timer value factor */
9746 uint16 fpfactor_shift; /**< avb timer value shift bits */
9770 * Bits 0 - 23 can be set by host
9771 * Bits 24 - 31 - Internal use for firmware, host cannot set it
9826 /* Value when all host-configurable bits set */
9830 /* Last 4-bits are firmware controlled bits.
9832 * If set - indicates that NAN initialization is successful
9834 * If set - indicates that NAN MAC cfg creation is successful
9836 * NOTE: These are only ready-only bits for host.
10002 uint8 svctype; /* 0 - Publish, 0x1 - Subscribe */
10025 uint8 r_pub_id; /* remote-matched pub instance_id */
10026 struct ether_addr r_nmi_addr; /* remote-matched pub nmi addr */
10064 * TLVs - Below XTLV definitions will be deprecated
10176 /* Nan Save-Restore XTLVs */
10210 /* Special command - Tag zero */
10213 /* nan cfg sub-commands */
10248 /* nan election sub-commands */
10259 /* nan SD sub-commands */
10277 /* nan time sync sub-commands */
10306 /* nan dam sub-commands */
10318 /* nan debug sub-commands */
10342 /* NAN Save-Restore */
10346 /* Host offload sub-commands */
10430 uint32 slotend_partial; /* slot pre-empt */
10627 /** status - TBD BCME_ vs NAN status - range reserved for BCME_ */
10630 WL_NAN_E_PEER_NOTAVAIL = -2131,
10631 WL_NAN_E_SCB_EXISTS = -2130,
10632 WL_NAN_E_INVALID_PEER_NDI = -2129,
10633 WL_NAN_E_INVALID_LOCAL_NDI = -2128,
10634 WL_NAN_E_ALREADY_EXISTS = -2127, /* generic NAN error for duplication */
10635 WL_NAN_E_EXCEED_MAX_NUM_MAPS = -2126,
10636 WL_NAN_E_INVALID_DEV_CHAN_SCHED = -2125,
10637 WL_NAN_E_INVALID_PEER_BLOB_TYPE = -2124,
10638 WL_NAN_E_INVALID_LCL_BLOB_TYPE = -2123,
10639 WL_NAN_E_BCMC_PDPA = -2122, /* BCMC NAF PDPA */
10640 WL_NAN_E_TIMEOUT = -2121,
10641 WL_NAN_E_HOST_CFG = -2120,
10642 WL_NAN_E_NO_ACK = -2119,
10643 WL_NAN_E_SECINST_FAIL = -2118,
10644 WL_NAN_E_REJECT_NDL = -2117, /* generic NDL rejection error */
10645 WL_NAN_E_INVALID_NDP_ATTR = -2116,
10646 WL_NAN_E_HOST_REJECTED = -2115,
10647 WL_NAN_E_PCB_NORESOURCE = -2114,
10648 WL_NAN_E_NDC_EXISTS = -2113,
10649 WL_NAN_E_NO_NDC_ENTRY_AVAIL = -2112,
10650 WL_NAN_E_INVALID_NDC_ENTRY = -2111,
10651 WL_NAN_E_SD_TX_LIST_FULL = -2110,
10652 WL_NAN_E_SVC_SUB_LIST_FULL = -2109,
10653 WL_NAN_E_SVC_PUB_LIST_FULL = -2108,
10654 WL_NAN_E_SDF_MAX_LEN_EXCEEDED = -2107,
10655 WL_NAN_E_ZERO_CRB = -2106, /* no CRB between local and peer */
10656 WL_NAN_E_PEER_NDC_NOT_SELECTED = -2105, /* peer ndc not selected */
10657 WL_NAN_E_DAM_CHAN_CONFLICT = -2104, /* dam schedule channel conflict */
10658 WL_NAN_E_DAM_SCHED_PERIOD = -2103, /* dam schedule period mismatch */
10659 WL_NAN_E_LCL_NDC_NOT_SELECTED = -2102, /* local selected ndc not configured */
10660 WL_NAN_E_NDL_QOS_INVALID_NA = -2101, /* na doesn't comply with ndl qos */
10661 WL_NAN_E_CLEAR_NAF_WITH_SA_AS_RNDI = -2100, /* rx clear naf with peer rndi */
10662 WL_NAN_E_SEC_CLEAR_PKT = -2099, /* rx clear pkt from a peer with sec_sa */
10663 WL_NAN_E_PROT_NON_PDPA_NAF = -2098, /* rx protected non PDPA frame */
10664 WL_NAN_E_DAM_DOUBLE_REMOVE = -2097, /* remove peer schedule already removed */
10665 WL_NAN_E_DAM_DOUBLE_MERGE = -2096, /* merge peer schedule already merged */
10666 WL_NAN_E_DAM_REJECT_INVALID = -2095, /* reject for invalid schedule */
10667 WL_NAN_E_DAM_REJECT_RANGE = -2094,
10668 WL_NAN_E_DAM_REJECT_QOS = -2093,
10669 WL_NAN_E_DAM_REJECT_NDC = -2092,
10670 WL_NAN_E_DAM_REJECT_PEER_IMMUT = -2091,
10671 WL_NAN_E_DAM_REJECT_LCL_IMMUT = -2090,
10672 WL_NAN_E_DAM_EXCEED_NUM_SCHED = -2089,
10673 WL_NAN_E_DAM_INVALID_SCHED_MAP = -2088, /* invalid schedule map list */
10674 WL_NAN_E_DAM_INVALID_LCL_SCHED = -2087,
10675 WL_NAN_E_INVALID_MAP_ID = -2086,
10676 WL_NAN_E_CHAN_OVERLAP_ACROSS_MAP = -2085,
10677 WL_NAN_E_INVALID_CHAN_LIST = -2084,
10678 WL_NAN_E_INVALID_RANGE_TBMP = -2083,
10679 WL_NAN_E_INVALID_IMMUT_SCHED = -2082,
10680 WL_NAN_E_INVALID_NDC_ATTR = -2081,
10681 WL_NAN_E_INVALID_TIME_BITMAP = -2080,
10682 WL_NAN_E_INVALID_NA_ATTR = -2079,
10683 WL_NAN_E_NO_NA_ATTR_IN_AVAIL_MAP = -2078, /* no na attr saved in avail map */
10684 WL_NAN_E_INVALID_MAP_IDX = -2077,
10685 WL_NAN_E_SEC_SA_NOTFOUND = -2076,
10686 WL_NAN_E_BSSCFG_NOTFOUND = -2075,
10687 WL_NAN_E_SCB_NOTFOUND = -2074,
10688 WL_NAN_E_NCS_SK_KDESC_TYPE = -2073,
10689 WL_NAN_E_NCS_SK_KEY_DESC_VER = -2072, /* key descr ver */
10690 WL_NAN_E_NCS_SK_KEY_TYPE = -2071, /* key descr type */
10691 WL_NAN_E_NCS_SK_KEYINFO_FAIL = -2070, /* key info (generic) */
10692 WL_NAN_E_NCS_SK_KEY_LEN = -2069, /* key len */
10693 WL_NAN_E_NCS_SK_KDESC_NOT_FOUND = -2068, /* key desc not found */
10694 WL_NAN_E_NCS_SK_INVALID_PARAMS = -2067, /* invalid args */
10695 WL_NAN_E_NCS_SK_KDESC_INVALID = -2066, /* key descr is not valid */
10696 WL_NAN_E_NCS_SK_NONCE_MISMATCH = -2065,
10697 WL_NAN_E_NCS_SK_KDATA_SAVE_FAIL = -2064, /* not able to save key data */
10698 WL_NAN_E_NCS_SK_AUTH_TOKEN_CALC_FAIL = -2063,
10699 WL_NAN_E_NCS_SK_PTK_CALC_FAIL = -2062,
10700 WL_NAN_E_INVALID_STARTOFFSET = -2061,
10701 WL_NAN_E_BAD_NA_ENTRY_TYPE = -2060,
10702 WL_NAN_E_INVALID_CHANBMP = -2059,
10703 WL_NAN_E_INVALID_OP_CLASS = -2058,
10704 WL_NAN_E_NO_IES = -2057,
10705 WL_NAN_E_NO_PEER_ENTRY_AVAIL = -2056,
10706 WL_NAN_E_INVALID_PEER = -2055,
10707 WL_NAN_E_PEER_EXISTS = -2054,
10708 WL_NAN_E_PEER_NOTFOUND = -2053,
10709 WL_NAN_E_NO_MEM = -2052,
10710 WL_NAN_E_INVALID_OPTION = -2051,
10711 WL_NAN_E_INVALID_BAND = -2050,
10712 WL_NAN_E_INVALID_MAC = -2049,
10713 WL_NAN_E_BAD_INSTANCE = -2048,
10714 /* NAN status code reserved from -2048 to -3071 */
10715 WL_NAN_E_ERROR = -1,
10747 WL_NAN_SUB_CMD_FLAG_SKIP = 1, /* Skip to next sub-command on error */
10762 * NAN sub-command data structures
10766 * Config component WL_NAN_CMD_CFG_XXXX sub-commands
10828 wl_nan_role_t role; /* Sync Master, Non-Sync Master */
10851 * rssi_close and rssi_mid are used to transition master to non-master
10922 * Election component WL_NAN_CMD_ELECTION_XXXX sub-commands
10931 * 0 - disable host based election
10932 * 1 - enable host based election
10964 * 0 - disable cluster merge
10965 * 1 - enable cluster merge
11108 #define WL_NAN_PUB_SOLICIT_PENDING 0x10000 /* Used for one-time solicited Publish */
11110 #define WL_NAN_FOLLOWUP 0x20000 /* Follow-up frames */
11111 #define WL_NAN_TX_FOLLOWUP 0x40000 /* host generated transmit Follow-up frames */
11121 * Publish - runs until first transmission
11122 * Subscribe - runs until first DiscoveryResult event
11152 int32 ttl; /* TTL for this instance id, -1 will run till cancelled */
11206 wl_nan_band_t band; /* 0 - b mode 1- a mode */
11271 /* If set, host wont rec "tx status" event for tx-followup msg */
11283 uint16 token; /* follow_up_token when a follow-up
11287 uint8 flags; /* Flags for tx follow-up msg */
11488 /* NCS-SK related */
11508 /* To be deprecated - will be replaced by event_disc_result */
11542 /* single-shot when bitmap and offset are set to 0; periodic otherwise */
11563 uint16 timeslot; /**< NAN RTT start time slot 1-511 */
11789 uint8 type; /* 0- unicast 1 - multicast */
11809 uint8 type; /* 0- unicast 1 - multicast */
11921 /* this is obsolete - DON'T USE */
11967 /* nan sub-features */
11993 uint32 flags1; /* nan sub-features compiled in firmware */
11994 uint32 flags2; /* for more sub-features in future */
12163 /* Used by NDL schedule events -
12184 /* channel stats (includes nan & non-nan) */
12352 WL_AVAIL_ENTRY_PAGED = 0x0008, /* P-NDL */
12385 WL_AVAIL_BAND_SUB1G = 1, /* sub-1 GHz */
12416 #define WL_AVAIL_ENTRY_RXNSS_MAX 15 /* 0-15 */
12461 uint16 flags; /* LSB - avail type (defined by WL_AVAIL enum)
12462 * MSB - avail flags
12465 uint8 lndc_id; /* ndc id used in multi-ndc case */
12482 * 1-4: map ID if overwrite all is 0
12526 /* add lower 4-bytes of TSF to configured start time */
12595 int32 gd_delta; /**< GD - GD_ADJ */
12736 /* add global/per-wlc properties above */
12743 /* add per-BSS properties above */
12864 /** tlv IDs - data length 4 bytes unless overridden by type, alignment 32 bits */
12907 uint8 enable; /**< 1 - enable, 0 - disable */
12908 uint8 pad[3]; /**< 4-byte struct alignment */
12921 uint8 pad[2]; /**< 4-byte struct alignment */
12975 uint16 frag_num; /* fragment number, 0 for first fragment, N-1 for last fragment */
12977 uint8 pad[2]; /* 4-byte struct alignment */
12986 uint8 enable; /* 1 - enable, 0 - disable */
12987 uint8 pad[3]; /* 4-byte struct alignment */
12995 uint8 pad[2]; /* 4-byte struct alignment */
13022 TKO_RST_WAKE_DELAY_DISABLED = -2,
13024 TKO_RST_WAKE_DELAY_INFINITY = -1,
13025 /* 0 - 3600 sec are valid */
13032 uint8 pad[3]; /* 4-byte struct alignment */
13047 uint8 index; /* TCP connection index, 0 to max-1 */
13048 uint8 ip_addr_type; /* 0 - IPv4, 1 - IPv6 */
13059 * offset 0 - local IPv4
13060 * offset 4 - remote IPv4
13061 * offset 8 - TCP keepalive request packet
13062 * offset 8+request_length - TCP keepalive response packet
13064 * offset 0 - local IPv6
13065 * offset 16 - remote IPv6
13066 * offset 32 - TCP keepalive request packet
13067 * offset 32+request_length - TCP keepalive response packet
13073 uint8 index; /* TCP connection index, 0 to max-1 */
13074 uint8 pad[3]; /* 4-byte struct alignment */
13078 uint8 enable; /* 1 - enable, 0 - disable */
13079 uint8 pad[3]; /* 4-byte struct alignment */
13095 uint8 index; /**< TCP connection index, 0 to max-1 */
13097 uint8 pad[2]; /**< 4-bytes structure alignment */
13133 uint8 index; /* DLTRO connection index, 0 to max-1 */
13134 uint8 ip_addr_type; /* 0 - IPv4, 1 - IPv6 */
13135 uint8 offload_type; /* 0 - Client, 1 - Server */
13148 uint8 index; /* DLTRO connection index, 0 to max-1 */
13159 uint8 index; /* DLTRO connection index, 0 to max-1 */
13434 uint16 pad; /* 4-byte boundary padding */
13476 uint8 min_ap_count; /* Min FTM ranges requested (1-15) */
13514 uint16 pad; /* 4-byte boundary padding */
13567 uint8 txfail_thresh; /**< non-TCP txfail threshold */
13576 uint8 type; /* Type- EVENT_LOG_SET_TYPE_DEFAULT or EVENT_LOG_SET_TYPE_PRSRV */
13601 wl_stamon_cfg_cmd_type_t cmd; /**< 0 - delete, 1 - add */
13691 /** IO Var Operations - the Value of iov_op In wlc_ap_doiovar */
13693 WLC_AP_IOV_OP_DELETE = -1,
13745 uint8 mws_wci2_data; /**< BT-SIG msg */
13773 uint32 config; /**< MODE: AUTO (-1), Disable (0), Enable (1) */
13866 WL_PROXD_METHOD_RSVD1 = 1, /**< backward compatibility - RSSI, not supported */
13868 WL_PROXD_METHOD_RSVD2 = 3, /**< 11v only - if needed */
13886 WL_PROXD_FLAG_MBURST_FOLLOWUP = 0x00000200, /* new multi-burst algorithm */
13901 WL_PROXD_SESSION_FLAG_ONE_WAY = 0x00000004, /**< (initiated) 1-way rtt */
13910 WL_PROXD_SESSION_FLAG_TS1 = 0x00000800, /**< e.g. FTM1 - ASAP-capable */
13920 WL_PROXD_SESSION_FLAG_PRE_SCAN = 0x00400000, /* enable pre-scan for asap=1 */
13922 WL_PROXD_SESSION_FLAG_VHTACK = 0x01000000, /* vht ack is in use - output only */
13923 WL_PROXD_SESSION_FLAG_BDUR_NOPREF = 0x02000000, /* burst-duration: no preference */
13928 WL_PROXD_SESSION_FLAG_MBURST_FOLLOWUP = 0x40000000, /* new mburst algo - reserved */
13935 /** time units - mc supports up to 0.1ns resolution */
13984 * ids 1..0x7fff - allocated by host/app
13985 * 0x8000-0xffff - allocated by firmware, used for auto/rx
13997 #define WL_PROXD_SID_EXT_BLK_START(_i) (WL_PROXD_SID_EXT_MAX - (_i) * WL_PROXD_SID_EXT_BLKSZ + 1)
13998 #define WL_PROXD_SID_EXT_BLK_END(_start) ((_start) + WL_PROXD_SID_EXT_BLKSZ - 1)
14013 /** status - TBD BCME_ vs proxd status - range reserved for BCME_ */
14015 WL_PROXD_E_LAST = -1056,
14016 WL_PROXD_E_NOAVAIL = -1056,
14017 WL_PROXD_E_EXT_SCHED = -1055,
14018 WL_PROXD_E_NOT_BCM = -1054,
14019 WL_PROXD_E_FRAME_TYPE = -1053,
14020 WL_PROXD_E_VERNOSUPPORT = -1052,
14021 WL_PROXD_E_SEC_NOKEY = -1051,
14022 WL_PROXD_E_SEC_POLICY = -1050,
14023 WL_PROXD_E_SCAN_INPROCESS = -1049,
14024 WL_PROXD_E_BAD_PARTIAL_TSF = -1048,
14025 WL_PROXD_E_SCANFAIL = -1047,
14026 WL_PROXD_E_NOTSF = -1046,
14027 WL_PROXD_E_POLICY = -1045,
14028 WL_PROXD_E_INCOMPLETE = -1044,
14029 WL_PROXD_E_OVERRIDDEN = -1043,
14030 WL_PROXD_E_ASAP_FAILED = -1042,
14031 WL_PROXD_E_NOTSTARTED = -1041,
14032 WL_PROXD_E_INVALIDMEAS = -1040,
14033 WL_PROXD_E_INCAPABLE = -1039,
14034 WL_PROXD_E_MISMATCH = -1038,
14035 WL_PROXD_E_DUP_SESSION = -1037,
14036 WL_PROXD_E_REMOTE_FAIL = -1036,
14037 WL_PROXD_E_REMOTE_INCAPABLE = -1035,
14038 WL_PROXD_E_SCHED_FAIL = -1034,
14039 WL_PROXD_E_PROTO = -1033,
14040 WL_PROXD_E_EXPIRED = -1032,
14041 WL_PROXD_E_TIMEOUT = -1031,
14042 WL_PROXD_E_NOACK = -1030,
14043 WL_PROXD_E_DEFERRED = -1029,
14044 WL_PROXD_E_INVALID_SID = -1028,
14045 WL_PROXD_E_REMOTE_CANCEL = -1027,
14046 WL_PROXD_E_CANCELED = -1026, /**< local */
14047 WL_PROXD_E_INVALID_SESSION = -1025,
14048 WL_PROXD_E_BAD_STATE = -1024,
14049 WL_PROXD_E_START = -1024,
14050 WL_PROXD_E_ERROR = -1,
14084 WL_PROXD_SESSION_STATE_DESTROYING = -1
14101 WL_PROXD_RESULT_FLAG_NLOS = 0x0001, /**< LOS - if available */
14102 WL_PROXD_RESULT_FLAG_LOS = 0x0002, /**< NLOS - if available */
14114 uint8 id; /**< id for the sample - non-zero */
14159 uint8 id; /**< id for the sample - non-zero */
14281 * status tlv - not supported for ftm method
14339 _lat_err = (_lci)->data[(_off)] & 0x3f; \
14340 _lat = (_lci)->data[(_off)+1]; \
14341 _lat |= (_lci)->data[(_off)+2] << 8; \
14342 _lat |= (_lci)->data[_(_off)+3] << 16; \
14343 _lat |= (_lci)->data[(_off)+4] << 24; \
14345 _lat |= (_lci)->data[(_off)] >> 6; \
14350 _long_err = (_lci)->data[(_off)] & 0x3f; \
14351 _lcilong = (_lci)->data[(_off)+1]; \
14352 _lcilong |= (_lci)->data[(_off)+2] << 8; \
14353 _lcilong |= (_lci)->data[_(_off)+3] << 16; \
14354 _lcilong |= (_lci)->data[(_off)+4] << 24; \
14356 _lcilong |= (_lci)->data[(_off)] >> 6; \
14361 _alt_type = (_lci)->data[_off] & 0x0f; \
14362 _alt_err = (_lci)->data[(_off)] >> 4; \
14363 _alt_err |= ((_lci)->data[(_off)+1] & 0x03) << 4; \
14364 _alt = (_lci)->data[(_off)+2]; \
14365 _alt |= (_lci)->data[(_off)+3] << 8; \
14366 _alt |= (_lci)->data[_(_off)+4] << 16; \
14368 _alt |= (_lci)->data[(_off) + 1] >> 2; \
14371 #define WL_PROXD_LCI_VERSION(_lci) ((_lci)->data[15] >> 6)
14392 /** proxd channel-time slot */
14404 wl_proxd_time_slot_t slots[1]; /**< ROM compat - not used */
14408 #define WL_PROXD_AVAIL24_TIMESLOT(_avail24, _i) (&(_avail24)->ts0[(_i)])
14423 #define WL_PROXD_AVAIL_TIMESLOT(_avail, _i) (&(_avail)->slots[(_i)])
14451 /** tlv IDs - data length 4 bytes unless overridden by type, alignment 32 bits */
14459 WL_PROXD_TLV_ID_BURST_DURATION = 6, /**< intvl - length of burst */
14460 WL_PROXD_TLV_ID_BURST_PERIOD = 7, /**< intvl - between bursts */
14461 WL_PROXD_TLV_ID_BURST_FTM_SEP = 8, /**< intvl - between FTMs */
14462 WL_PROXD_TLV_ID_BURST_NUM_FTM = 9, /**< uint16 - per burst */
14467 WL_PROXD_TLV_ID_INIT_DELAY = 14, /**< intvl - optional,non-standalone only */
14468 WL_PROXD_TLV_ID_BURST_TIMEOUT = 15, /**< expect response within - intvl */
14469 WL_PROXD_TLV_ID_EVENT_MASK = 16, /**< interested events - in/out */
14470 WL_PROXD_TLV_ID_FLAGS_MASK = 17, /**< interested flags - in only */
14480 WL_PROXD_TLV_ID_RX_MAX_BURST = 27, /**< uint16 - limit bursts per session */
14487 WL_PROXD_TLV_ID_TLV_ID = 34, /* uint16 tlv-id */
14494 /* output - 512 + x */
14525 /** proxd iovar - applies to proxd, method or session */
14550 WL_PROXD_EVENT_BURST_RESCHED = 8, /**< burst rescheduled-e.g. partial TSF */
14555 WL_PROXD_EVENT_VS_INITIATOR_RPT = 13, /**< (target) rx initiator-report */
14567 /** proxd event mask - upto 32 events for now */
14575 /** proxd event - applies to proxd, method or session */
14656 * 0-10, 11-20, 21-30, 31-255. A WLC_E_BSS_LOAD event is generated each time
14694 #define WL_CU_2G_ROAM_TRIGGER (-60)
14695 #define WL_CU_5G_ROAM_TRIGGER (-70)
14718 /* if channel_usage if non-zero, roam_delta is score delta(%) required for new AP */
14740 /* if channel_usage if non-zero, roam_delta is score delta(%) required for new AP */
14760 /* if channel_usage if non-zero, roam_delta is score delta(%) required for new AP */
14850 int16 trigger; /* trigger for each type in new roam algorithm */
14869 * 0 - Create a STA interface
14870 * 1 - Create an AP interface
14895 * 0 - Ignore mac_addr field
14896 * 1 - Use the mac_addr field
14904 * 0 - Ignore wlc_index field
14905 * 1 - Use the wlc_index field
14912 * 0 - Ignore if_index field
14913 * 1 - Use the if_index field
14919 * 0 - Ignore bssid field
14920 * 1 - Use the bssid field
15053 #define WLC_BTC_AIBSS_STATUS_LEN (sizeof(wlc_btc_aibss_status_t) - 2 * (sizeof(uint16)))
15069 /* WLAN -> BT */
15075 /* BT -> WLAN */
15089 uint32 bt2wl_intrcnt; /* bt->wlan interrrupt count */
15090 uint32 wl2bt_intrcnt; /* wlan->bt interrupt count */
15163 uint8 pad[3]; /* 4-byte alignment */
15171 uint8 pad[2]; /* 4-byte alignment */
15231 uint8 pad[2]; /* 4-byte alignment */
15234 /* -------------- TX Power Cap --------------- */
15319 * The index into pwrs will be: 0: onbody-cck, 1: onbody-ofdm, 2:offbody-cck, 3:offbody-ofdm
15321 * For 5G power in SDB case as well as for non-SDB case, the value of flag will be: CAP_ONOFF_BODY
15322 * The index into pwrs will be: 0: onbody, 1: offbody-ofdm
15387 * On main,-non-sdb follows by sdb2g and then sdb5g
15388 * On aux slice - aux2g then aux5g.
15422 * pwrs array has TXPWRCAP_MAX_STATES rows - one for each cap state.
15423 * Each row has up to TXPWRCAP_MAX_NUM_CORES entries - one for each core.
15435 * pwrs array has TXPWRCAP_MAX_STATES rows - one for each cap state.
15436 * Each row has up to TXPWRCAP_MAX_NUM_ANTENNAS entries - for each antenna.
15524 uint32 txpspoll; /**< Number of TX PS-poll */
15582 uint32 txpspoll; /**< Number of TX PS-poll */
15765 * 0 - D2H and 1 - H2D
15789 /* -------------- dynamic BTCOEX --------------- */
15794 #define DCTL_FLAGS_DYNCTL (1 << 0) /**< 1 - enabled, 0 - legacy only */
15803 #define IS_DYNCTL_ON(prof) ((prof->flags & DCTL_FLAGS_DYNCTL) != 0)
15804 #define IS_DESENSE_ON(prof) ((prof->flags & DCTL_FLAGS_DESENSE) != 0)
15805 #define IS_MSWITCH_ON(prof) ((prof->flags & DCTL_FLAGS_MSWITCH) != 0)
15806 #define IS_PWRCTRL_ON(prof) ((prof->flags & DCTL_FLAGS_PWRCTRL) != 0)
15830 /* dynctl profile flags bit:0 - dynctl On, bit:1 dsns On, bit:2 mode sw On, */
15831 uint8 flags; /**< bit[6:3] reserved, bit7 - Dryrun (sim) - On */
15880 uint8 kck[RSN_KCK_LENGTH]; /**< EAPOL-Key Key Confirmation Key (KCK) */
15881 uint8 kek[RSN_KEK_LENGTH]; /**< EAPOL-Key Key Encryption Key (KEK) */
15905 FBTIE (ANonce, SNonce,R0KH-ID, R1KH-ID)
15952 uint32 buff_addr_start; /* in word-size (2-bytes) */
15953 uint32 buff_addr_end; /* note: Tcl in byte-size, HW in vector-size (8-bytes) */
16042 uint16 rate_user[4]; /**< rate per each of four users, set to -1 for no change */
16046 #define WL_MU_GROUP_AUTO_COMMAND -1
16059 #define WL_MU_GROUP_ENTRY_EMPTY -1
16146 * and 'Primary Operational Bandwidth' sub-fields in 'ULB Operations' field (used in
16183 #define WL_MESH_PEER_RES_FIXED_SIZE (sizeof(mesh_peer_info_dump_t) - sizeof(mesh_peer_info_ext_t))
16362 /* nd_ra_ol_limits sub-types */
16394 /* Data structures for non-TLV format */
16402 /* Bit-0 in flags is used to indicate if the cores can operate synchronously
16404 * 0 - device can operate only in rsdb mode (eg: 4364)
16405 * 1 - device can operate in both rsdb and mimo (eg : 4359 variants)
16546 sched_flag_t sched_flags; /* (sdb-tdm or sdb-sb or Dual-Time) */
16858 uint32 four_way_hs_fail; /* No of 4-way handshake fails */
16903 /* Health Check: Common XTLV IDs for sub-elements in the top level container
16907 WL_HC_XTLV_ID_ERR = 0x8000, /* for sub-command err return */
17130 uint32 wake_time_h; /* target wake time - BSS TSF (us) */
17139 uint8 channel; /* Twt channel - Not used for now */
17141 uint8 frame_recomm; /* frame recommendation for broadcast TWTs - Not used for now */
17142 /* deprecated - to be removed */
17173 #define WL_TWT_FLOW_ID_GID_MASK 0x70u /* group id - broadcast TWT only */
17212 /* deprecated - to be removed */
17217 /* deprecated -to be removed */
17227 uint8 alltwt; /* all twt teardown - 0 or 1 */
17239 /* deprecated - to be removed */
17253 /* deprecated - to be removed */
17262 /* deprecated - to be removed */
17279 /* deprecated - to be removed */
17347 /* Full length of buffer (includes this structure and space for TLV-encoded PPR) */
17357 /* Input. 0-based antenna index */
17365 /* Output. Length of TLV-encoded PPR data that follows this structure */
17367 /* Output. Beginning of buffer for TLV-encoded PPR data */
17375 /* Output. Limits taken from product-specific country data */
17377 /* Output. Limits taken from product-specific worldwide data */
17379 /* Output. Limits taken from country-default (all-product) data */
17644 /* pad for 32-bit alignment */
17677 * 0-disable, 0xffff-indefinite, num_events otherwise
17903 uint8 band; /* band - 2G or 5G */
17964 /* --- BTCX WiFi Protection (btc_wifi_prot iovar) --- */
17978 uint32 enable; /* enable/disable m1-m4 protection */
17985 /* --- End BTCX WiFi Protection --- */
17987 /* --- BTCX ULMU disable (btc_ulmu_config iovar) --- */
17998 /* --- End BTCX ULMU config --- */
18049 /* Per-interface reportable stats types */
18061 /* For AMPDU stat sub-types requested in a different format */
18063 * report sub-types in pairs so host can sum and add.
18073 /* Per-slice information
18074 * Per-interface reporting could also include slice specific data
18078 /* Per-slice AMPDU stats */
18081 /* Per-slice BTCOEX stats */
18091 /* Per-slice LTECOEX stats */
18099 /* Per-slice BTCOEX task duration stats */
18101 /* Per-interface */
18110 /* AMPDU stats on per-IF */
18117 /* Event statistics on per-IF */
18318 WL_TVPM_REQ_PERIOD, /* req_value: int32, range {-1,1-10} */
18326 uint16 tx_dutycycle; /* a percentage: 1-100 */
18327 int16 tx_power_backoff; /* 0...-6 */
18338 uint16 tx_dutycycle; /* a percentage: 1-100 */
18339 int16 tx_power_backoff; /* 0...-6 */
18490 uint8 enable; /* 1 - enable, 0 - disable */
18491 uint8 pad[3]; /* 4-byte struct alignment */
18564 uint8 wpa_state; /* wpa->state */
18569 uint32 wsec; /* bsscfg->wsec */
18570 uint32 wpa_auth; /* bsscfg->WPA_auth */
18647 uint8 data[]; /* sub option + pattern matching(OUI,type,sub-type) */
18654 uint8 option; /* Filter action - check for suboption */
18707 uint8 id; /* ID of the sub-command */
18734 #define WL_SAE_E_BASE -3072
18736 /* SAE status codes are reserved from -3072 to -4095 (1K) */
18739 WL_SAE_E_AUTH_FAILURE = -3072,
18741 WL_SAE_E_AUTH_DISCARD = -3073,
18743 WL_SAE_E_AUTH_CONTINUE = -3074,
18745 WL_SAE_E_AUTH_COMMIT_INVALID = -3075,
18747 WL_SAE_E_AUTH_CONFIRM_INVALID = -3076,
18749 WL_SAE_E_CRYPTO_SCALAR_VALIDATION = -3077,
18751 WL_SAE_E_CRYPTO_ELE_PRIME_VALIDATION = -3078,
18753 WL_SAE_E_CRYPTO_ELE_NOT_ON_CURVE = -3079,
18755 WL_SAE_E_CRYPTO_EC_ERROR = -3080,
18757 WL_SAE_E_CRYPTO_EQUAL_MACADDRS = -3081,
18759 WL_SAE_E_CRYPTO_SCALAR_ITER_EXCEEDED = -3082,
18761 WL_SAE_E_CRYPTO_UNSUPPORTED_GROUP = -3083,
18762 /* Exceeded the hunting-and-pecking counter */
18763 WL_SAE_E_CRYPTO_PWE_COUNTER_EXCEEDED = -3084,
18765 WL_SAE_E_CRYPTO_NOT_INITED = -3085,
18767 WL_SAE_E_CRYPTO_BN_GET_ERROR = -3086,
18769 WL_SAE_E_CRYPTO_BN_SET_ERROR = -3087,
18771 WL_SAE_E_CRYPTO_PMK_UNAVAILABLE = -3088,
18773 WL_SAE_E_CRYPTO_CONFIRM_MISMATCH = -3089,
18775 WL_SAE_E_CRYPTO_KEY_AT_INFINITY = -3090,
18777 WL_SAE_E_CRYPTO_PRIV_MAGIC_MISMATCH = -3091
18894 WL_RXSIG_CMD_RSSIANT = 0x3, /**< rssi moving avg per-ant */
18895 WL_RXSIG_CMD_SNRANT = 0x4, /**< snr moving avg per-snr */
18971 #define WL_CLM_EDCRS_EU 0x04 /**< Use EU post-2015 energy detect */
19075 /** 00-22-aa */
19173 /* HE-LTF Symbols index */
19213 /* MU-MIMO LTF Mode subfield encoding */
19215 MUMIMO_LTF_0 = 0, /* HE single stream pilot HE-LTF mode */
19216 MUMIMO_LTF_1 = 1 /* HE masked HE-LTF sequence mode */