Lines Matching +full:mixed +full:- +full:burst

1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * WSM host interface (HI) interface for ST-Ericsson CW1200 mac80211 drivers
5 * Copyright (c) 2010, ST-Ericsson
9 * Copyright (C) ST-Ericsson SA 2010
21 /* Radio band 2.412 -2.484 GHz. */
24 /* Radio band 4.9375-5.8250 GHz. */
28 /* 1 Mbps ERP-DSSS */
31 /* 2 Mbps ERP-DSSS */
34 /* 5.5 Mbps ERP-CCK */
37 /* 11 Mbps ERP-CCK */
40 /* 22 Mbps ERP-PBCC (Not supported) */
43 /* 33 Mbps ERP-PBCC (Not supported) */
46 /* 6 Mbps (3 Mbps) ERP-OFDM, BPSK coding rate 1/2 */
49 /* 9 Mbps (4.5 Mbps) ERP-OFDM, BPSK coding rate 3/4 */
52 /* 12 Mbps (6 Mbps) ERP-OFDM, QPSK coding rate 1/2 */
55 /* 18 Mbps (9 Mbps) ERP-OFDM, QPSK coding rate 3/4 */
58 /* 24 Mbps (12 Mbps) ERP-OFDM, 16QAM coding rate 1/2 */
61 /* 36 Mbps (18 Mbps) ERP-OFDM, 16QAM coding rate 3/4 */
64 /* 48 Mbps (24 Mbps) ERP-OFDM, 64QAM coding rate 1/2 */
67 /* 54 Mbps (27 Mbps) ERP-OFDM, 64QAM coding rate 3/4 */
70 /* 6.5 Mbps HT-OFDM, BPSK coding rate 1/2 */
73 /* 13 Mbps HT-OFDM, QPSK coding rate 1/2 */
76 /* 19.5 Mbps HT-OFDM, QPSK coding rate 3/4 */
79 /* 26 Mbps HT-OFDM, 16QAM coding rate 1/2 */
82 /* 39 Mbps HT-OFDM, 16QAM coding rate 3/4 */
85 /* 52 Mbps HT-OFDM, 64QAM coding rate 2/3 */
88 /* 58.5 Mbps HT-OFDM, 64QAM coding rate 3/4 */
91 /* 65 Mbps HT-OFDM, 64QAM coding rate 5/6 */
106 /* enter the power-save mode, it shall force to perform a */
118 /* 11n Tx Mode. Mixed if not set. */
161 /* Non-HT */
164 /* Mixed format */
361 /* Update-ie constants */
520 /* 4.43 Keep-alive period */
705 /* Interval period in TUs that the device shall the re- */
727 /* before sending a probe-request. */
790 * WSM API. wsm_hdr is /not/ a caller-adapted struct to be used as an input
792 * It is filled partly in cw1200_tx, partly in low-level WSM code.
796 * - [in]: cw1200_tx must fill this field.
797 * - [wsm]: the field is filled by low-level WSM.
815 /* Bit 0 = 0 - Start expiry time from first Tx attempt (default) */
816 /* Bit 0 = 1 - Start expiry time from receipt of Tx Request */
817 /* Bits 3:1 - PTA Priority */
818 /* Bits 6:4 - Tx Rate Retry Policy */
819 /* Bit 7 - Reserved */
869 /* For error indication, this shall be a 32-bit WSM status. */
870 /* For RCPI or RSSI indication, this should be an 8-bit */
880 /* 3.18 - 3.22 */
968 /* in unit of 500us; 0 to disable auto-pspoll */
987 /* the WLAN device should indicate the BSS-Lost event */
1006 u8 index; /* Key entry index: 0 -- WSM_KEY_MAX_INDEX */
1068 u8 index; /* Key entry index : 0-10 */
1097 struct wsm_set_tx_queue_params *p = &(queue_params)->params[queue]; \
1098 p->ackPolicy = (ack_policy); \
1099 p->allowedMediumTime = (allowed_time); \
1100 p->maxTransmitLifetime = (max_life_time); \
1138 struct wsm_edca_queue_params *p = &(__edca)->params[__queue]; \
1139 p->cwmin = __cw_min; \
1140 p->cwmax = __cw_max; \
1141 p->aifns = __aifs; \
1142 p->txop_limit = ((__txop) * TXOP_UNIT); \
1143 p->max_rx_lifetime = __lifetime; \
1144 (__edca)->uapsd_enable[__queue] = (__uapsd); \
1154 /* Set-System info. Skipped for now. Irrelevent. */
1161 /* 1 - means the STA shall not transmit any further */
1166 /* 0 - indicates switch shall occur at any time */
1167 /* 1 - occurs immediately before the next TBTT */
1206 /* before sending a probe-request. */
1245 /* This is applicable only for U-APSD */
1250 /* 3.54 Update-IE request. */
1295 return -EINVAL; in wsm_set_beacon_wakeup_period()
1363 if (arg->promiscuous) in wsm_set_rx_filter()
1365 if (arg->bssid) in wsm_set_rx_filter()
1367 if (arg->fcs) in wsm_set_rx_filter()
1369 if (arg->probeResponder) in wsm_set_rx_filter()
1395 size_t size = __le32_to_cpu(ft->num) * in wsm_set_beacon_filter_table()
1417 val.enabled = __cpu_to_le32(arg->enabled); in wsm_beacon_filter_control()
1418 val.bcn_count = __cpu_to_le32(arg->bcn_count); in wsm_beacon_filter_control()
1438 u8 val = arg->power_mode; in wsm_set_operational_mode()
1439 if (arg->disable_more_flag_usage) in wsm_set_operational_mode()
1441 if (arg->perform_ant_diversity) in wsm_set_operational_mode()
1457 u8 *p = skb_push(arg->skb, 4); in wsm_set_template_frame()
1458 p[0] = arg->frame_type; in wsm_set_template_frame()
1459 p[1] = arg->rate; in wsm_set_template_frame()
1460 ((__le16 *)p)[1] = __cpu_to_le16(arg->skb->len - 4); in wsm_set_template_frame()
1461 ret = wsm_write_mib(priv, WSM_MIB_ID_TEMPLATE_FRAME, p, arg->skb->len); in wsm_set_template_frame()
1462 skb_pull(arg->skb, 4); in wsm_set_template_frame()
1478 if (arg->protectedMgmtEnable) in wsm_set_protected_mgmt_policy()
1480 if (arg->unprotectedMgmtFramesAllowed) in wsm_set_protected_mgmt_policy()
1482 if (arg->encryptionForAuthFrame) in wsm_set_protected_mgmt_policy()
1529 /* BIT(2) - Terminate retries when Tx rate retry policy
1531 * BIT(3) - Count initial frame transmission as part of
1550 size_t size = 4 + arg->num * sizeof(struct wsm_tx_rate_retry_policy); in wsm_set_tx_rate_retry_policy()
1571 arg->num * sizeof(struct wsm_ether_type_filter); in wsm_set_ether_type_filter()
1592 arg->num * sizeof(struct wsm_udp_port_filter); in wsm_set_udp_port_filter()
1617 /* 4.36 SetWCDMABand - WO */
1623 /* 4.37 GroupTxSequenceCounter - RO */
1630 /* 4.39 SetHtProtection - WO */
1644 /* 4.40 GPIO Command - R/W */
1657 /* 4.41 TSFCounter - RO */
1694 /* Multicast filtering - 4.5 */
1708 /* ARP IPv4 filtering - 4.10 */
1721 /* P2P Power Save Mode Info - 4.31 */
1831 size_t *tx_len, int *burst);
1835 /* Queue mapping: WSM <---> linux */