Home
last modified time | relevance | path

Searched refs:tx_info (Results 1 – 25 of 162) sorted by relevance

1234567

/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/hal/phydm/
H A Dphydm_pmac_tx_setting.c36 struct phydm_pmac_info *tx_info) in phydm_start_cck_cont_tx_jgr3() argument
40 u8 rate = tx_info->tx_rate; /* HW rate */ in phydm_start_cck_cont_tx_jgr3()
125 void phydm_stop_pmac_tx_jgr3(void *dm_void, struct phydm_pmac_info *tx_info) in phydm_stop_pmac_tx_jgr3() argument
133 if (tx_info->mode == CONT_TX) { in phydm_stop_pmac_tx_jgr3()
142 struct phydm_pmac_info *tx_info) in phydm_set_mac_phy_txinfo_jgr3() argument
148 odm_set_bb_reg(dm, R_0xa58, 0x003f8000, tx_info->tx_rate); in phydm_set_mac_phy_txinfo_jgr3()
151 odm_set_bb_reg(dm, R_0x900, BIT(1), tx_info->ndp_sound); in phydm_set_mac_phy_txinfo_jgr3()
154 tx_info->m_stbc = tx_info->m_stbc - 1; in phydm_set_mac_phy_txinfo_jgr3()
157 tmp = (tx_info->tx_sc) | ((tx_info->bw) << 4) | in phydm_set_mac_phy_txinfo_jgr3()
158 ((tx_info->m_stbc) << 6); in phydm_set_mac_phy_txinfo_jgr3()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/hal/phydm/
H A Dphydm_pmac_tx_setting.c37 struct phydm_pmac_info *tx_info) in phydm_start_cck_cont_tx_jgr3() argument
41 u8 rate = tx_info->tx_rate; /* HW rate */ in phydm_start_cck_cont_tx_jgr3()
126 void phydm_stop_pmac_tx_jgr3(void *dm_void, struct phydm_pmac_info *tx_info) in phydm_stop_pmac_tx_jgr3() argument
134 if (tx_info->mode == CONT_TX) { in phydm_stop_pmac_tx_jgr3()
143 struct phydm_pmac_info *tx_info) in phydm_set_mac_phy_txinfo_jgr3() argument
149 odm_set_bb_reg(dm, R_0xa58, 0x003f8000, tx_info->tx_rate); in phydm_set_mac_phy_txinfo_jgr3()
152 odm_set_bb_reg(dm, R_0x900, BIT(1), tx_info->ndp_sound); in phydm_set_mac_phy_txinfo_jgr3()
155 tx_info->m_stbc = tx_info->m_stbc - 1; in phydm_set_mac_phy_txinfo_jgr3()
158 tmp = (tx_info->tx_sc) | ((tx_info->bw) << 4) | in phydm_set_mac_phy_txinfo_jgr3()
159 ((tx_info->m_stbc) << 6); in phydm_set_mac_phy_txinfo_jgr3()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/hal/phydm/
H A Dphydm_pmac_tx_setting.c36 struct phydm_pmac_info *tx_info) in phydm_start_cck_cont_tx_jgr3() argument
40 u8 rate = tx_info->tx_rate; /* HW rate */ in phydm_start_cck_cont_tx_jgr3()
125 void phydm_stop_pmac_tx_jgr3(void *dm_void, struct phydm_pmac_info *tx_info) in phydm_stop_pmac_tx_jgr3() argument
133 if (tx_info->mode == CONT_TX) { in phydm_stop_pmac_tx_jgr3()
142 struct phydm_pmac_info *tx_info) in phydm_set_mac_phy_txinfo_jgr3() argument
148 odm_set_bb_reg(dm, R_0xa58, 0x003f8000, tx_info->tx_rate); in phydm_set_mac_phy_txinfo_jgr3()
151 odm_set_bb_reg(dm, R_0x900, BIT(1), tx_info->ndp_sound); in phydm_set_mac_phy_txinfo_jgr3()
154 tx_info->m_stbc = tx_info->m_stbc - 1; in phydm_set_mac_phy_txinfo_jgr3()
157 tmp = (tx_info->tx_sc) | ((tx_info->bw) << 4) | in phydm_set_mac_phy_txinfo_jgr3()
158 ((tx_info->m_stbc) << 6); in phydm_set_mac_phy_txinfo_jgr3()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/phydm/
H A Dphydm_pmac_tx_setting.c36 struct phydm_pmac_info *tx_info) in phydm_start_cck_cont_tx_jgr3() argument
40 u8 rate = tx_info->tx_rate; /* HW rate */ in phydm_start_cck_cont_tx_jgr3()
134 void phydm_stop_pmac_tx_jgr3(void *dm_void, struct phydm_pmac_info *tx_info) in phydm_stop_pmac_tx_jgr3() argument
142 if (tx_info->mode == CONT_TX) { in phydm_stop_pmac_tx_jgr3()
167 if (tx_info->mode == CONT_TX) { in phydm_stop_pmac_tx_jgr3()
177 struct phydm_pmac_info *tx_info) in phydm_set_mac_phy_txinfo_jgr3() argument
183 odm_set_bb_reg(dm, R_0xa58, 0x003f8000, tx_info->tx_rate); in phydm_set_mac_phy_txinfo_jgr3()
186 odm_set_bb_reg(dm, R_0x900, BIT(1), tx_info->ndp_sound); in phydm_set_mac_phy_txinfo_jgr3()
189 tx_info->m_stbc = tx_info->m_stbc - 1; in phydm_set_mac_phy_txinfo_jgr3()
192 tmp = (tx_info->tx_sc) | ((tx_info->bw) << 4) | in phydm_set_mac_phy_txinfo_jgr3()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/hal/phydm/
H A Dphydm_pmac_tx_setting.c36 struct phydm_pmac_info *tx_info) in phydm_start_cck_cont_tx_jgr3() argument
40 u8 rate = tx_info->tx_rate; /* HW rate */ in phydm_start_cck_cont_tx_jgr3()
134 void phydm_stop_pmac_tx_jgr3(void *dm_void, struct phydm_pmac_info *tx_info) in phydm_stop_pmac_tx_jgr3() argument
142 if (tx_info->mode == CONT_TX) { in phydm_stop_pmac_tx_jgr3()
167 if (tx_info->mode == CONT_TX) { in phydm_stop_pmac_tx_jgr3()
177 struct phydm_pmac_info *tx_info) in phydm_set_mac_phy_txinfo_jgr3() argument
183 odm_set_bb_reg(dm, R_0xa58, 0x003f8000, tx_info->tx_rate); in phydm_set_mac_phy_txinfo_jgr3()
186 odm_set_bb_reg(dm, R_0x900, BIT(1), tx_info->ndp_sound); in phydm_set_mac_phy_txinfo_jgr3()
189 tx_info->m_stbc = tx_info->m_stbc - 1; in phydm_set_mac_phy_txinfo_jgr3()
192 tmp = (tx_info->tx_sc) | ((tx_info->bw) << 4) | in phydm_set_mac_phy_txinfo_jgr3()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/phydm/
H A Dphydm_pmac_tx_setting.c36 struct phydm_pmac_info *tx_info) in phydm_start_cck_cont_tx_jgr3() argument
40 u8 rate = tx_info->tx_rate; /* HW rate */ in phydm_start_cck_cont_tx_jgr3()
134 void phydm_stop_pmac_tx_jgr3(void *dm_void, struct phydm_pmac_info *tx_info) in phydm_stop_pmac_tx_jgr3() argument
142 if (tx_info->mode == CONT_TX) { in phydm_stop_pmac_tx_jgr3()
167 if (tx_info->mode == CONT_TX) { in phydm_stop_pmac_tx_jgr3()
177 struct phydm_pmac_info *tx_info) in phydm_set_mac_phy_txinfo_jgr3() argument
183 odm_set_bb_reg(dm, R_0xa58, 0x003f8000, tx_info->tx_rate); in phydm_set_mac_phy_txinfo_jgr3()
186 odm_set_bb_reg(dm, R_0x900, BIT(1), tx_info->ndp_sound); in phydm_set_mac_phy_txinfo_jgr3()
189 tx_info->m_stbc = tx_info->m_stbc - 1; in phydm_set_mac_phy_txinfo_jgr3()
192 tmp = (tx_info->tx_sc) | ((tx_info->bw) << 4) | in phydm_set_mac_phy_txinfo_jgr3()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/hal/phydm/
H A Dphydm_pmac_tx_setting.c36 struct phydm_pmac_info *tx_info) in phydm_start_cck_cont_tx_jgr3() argument
40 u8 rate = tx_info->tx_rate; /* HW rate */ in phydm_start_cck_cont_tx_jgr3()
134 void phydm_stop_pmac_tx_jgr3(void *dm_void, struct phydm_pmac_info *tx_info) in phydm_stop_pmac_tx_jgr3() argument
142 if (tx_info->mode == CONT_TX) { in phydm_stop_pmac_tx_jgr3()
167 if (tx_info->mode == CONT_TX) { in phydm_stop_pmac_tx_jgr3()
177 struct phydm_pmac_info *tx_info) in phydm_set_mac_phy_txinfo_jgr3() argument
183 odm_set_bb_reg(dm, R_0xa58, 0x003f8000, tx_info->tx_rate); in phydm_set_mac_phy_txinfo_jgr3()
186 odm_set_bb_reg(dm, R_0x900, BIT(1), tx_info->ndp_sound); in phydm_set_mac_phy_txinfo_jgr3()
189 tx_info->m_stbc = tx_info->m_stbc - 1; in phydm_set_mac_phy_txinfo_jgr3()
192 tmp = (tx_info->tx_sc) | ((tx_info->bw) << 4) | in phydm_set_mac_phy_txinfo_jgr3()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/phydm/
H A Dphydm_pmac_tx_setting.c37 struct phydm_pmac_info *tx_info) in phydm_start_cck_cont_tx_jgr3() argument
41 u8 rate = tx_info->tx_rate; /* HW rate */ in phydm_start_cck_cont_tx_jgr3()
135 void phydm_stop_pmac_tx_jgr3(void *dm_void, struct phydm_pmac_info *tx_info) in phydm_stop_pmac_tx_jgr3() argument
143 if (tx_info->mode == CONT_TX) { in phydm_stop_pmac_tx_jgr3()
168 if (tx_info->mode == CONT_TX) { in phydm_stop_pmac_tx_jgr3()
178 struct phydm_pmac_info *tx_info) in phydm_set_mac_phy_txinfo_jgr3() argument
184 odm_set_bb_reg(dm, R_0xa58, 0x003f8000, tx_info->tx_rate); in phydm_set_mac_phy_txinfo_jgr3()
187 odm_set_bb_reg(dm, R_0x900, BIT(1), tx_info->ndp_sound); in phydm_set_mac_phy_txinfo_jgr3()
190 tx_info->m_stbc = tx_info->m_stbc - 1; in phydm_set_mac_phy_txinfo_jgr3()
193 tmp = (tx_info->tx_sc) | ((tx_info->bw) << 4) | in phydm_set_mac_phy_txinfo_jgr3()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
H A Dchcr_ktls.c62 static int chcr_init_tcb_fields(struct chcr_ktls_info *tx_info);
63 static void clear_conn_resources(struct chcr_ktls_info *tx_info);
71 static int chcr_ktls_save_keys(struct chcr_ktls_info *tx_info, in chcr_ktls_save_keys() argument
78 struct ktls_key_ctx *kctx = &tx_info->key_ctx; in chcr_ktls_save_keys()
88 tx_info->salt_size = TLS_CIPHER_AES_GCM_128_SALT_SIZE; in chcr_ktls_save_keys()
90 tx_info->iv_size = TLS_CIPHER_AES_GCM_128_IV_SIZE; in chcr_ktls_save_keys()
91 tx_info->iv = be64_to_cpu(*(__be64 *)info_128_gcm->iv); in chcr_ktls_save_keys()
96 tx_info->record_no = *(u64 *)info_128_gcm->rec_seq; in chcr_ktls_save_keys()
102 tx_info->scmd0_seqno_numivs = in chcr_ktls_save_keys()
112 tx_info->scmd0_ivgen_hdrlen = SCMD_KEY_CTX_INLINE_F; in chcr_ktls_save_keys()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/hal/phydm/
H A Dphydm_pmac_tx_setting.c38 struct phydm_pmac_info *tx_info) in phydm_start_cck_cont_tx_jgr3() argument
42 u8 rate = tx_info->tx_rate; /* @HW rate */ in phydm_start_cck_cont_tx_jgr3()
238 void phydm_stop_pmac_tx_jgr3(void *dm_void, struct phydm_pmac_info *tx_info) in phydm_stop_pmac_tx_jgr3() argument
244 if (tx_info->mode == CONT_TX) { in phydm_stop_pmac_tx_jgr3()
258 if (tx_info->mode == OFDM_SINGLE_TONE_TX) { in phydm_stop_pmac_tx_jgr3()
270 struct phydm_pmac_info *tx_info) in phydm_set_mac_phy_txinfo_jgr3() argument
276 odm_set_bb_reg(dm, R_0xa58, 0x003F8000, tx_info->tx_rate); in phydm_set_mac_phy_txinfo_jgr3()
279 odm_set_bb_reg(dm, R_0x900, 0x2, tx_info->ndp_sound); in phydm_set_mac_phy_txinfo_jgr3()
283 tmp = (tx_info->tx_sc) | ((tx_info->bw) << 4) | in phydm_set_mac_phy_txinfo_jgr3()
284 ((tx_info->m_stbc) << 6); in phydm_set_mac_phy_txinfo_jgr3()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/phydm/
H A Dphydm_pmac_tx_setting.c37 struct phydm_pmac_info *tx_info) in phydm_start_cck_cont_tx_jgr3() argument
41 u8 rate = tx_info->tx_rate; /* @HW rate */ in phydm_start_cck_cont_tx_jgr3()
237 void phydm_stop_pmac_tx_jgr3(void *dm_void, struct phydm_pmac_info *tx_info) in phydm_stop_pmac_tx_jgr3() argument
243 if (tx_info->mode == CONT_TX) { in phydm_stop_pmac_tx_jgr3()
257 if (tx_info->mode == OFDM_SINGLE_TONE_TX) { in phydm_stop_pmac_tx_jgr3()
269 struct phydm_pmac_info *tx_info) in phydm_set_mac_phy_txinfo_jgr3() argument
275 odm_set_bb_reg(dm, R_0xa58, 0x003F8000, tx_info->tx_rate); in phydm_set_mac_phy_txinfo_jgr3()
278 odm_set_bb_reg(dm, R_0x900, 0x2, tx_info->ndp_sound); in phydm_set_mac_phy_txinfo_jgr3()
282 tmp = (tx_info->tx_sc) | ((tx_info->bw) << 4) | in phydm_set_mac_phy_txinfo_jgr3()
283 ((tx_info->m_stbc) << 6); in phydm_set_mac_phy_txinfo_jgr3()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/hal/phydm/
H A Dphydm_pmac_tx_setting.c38 struct phydm_pmac_info *tx_info) in phydm_start_cck_cont_tx_jgr3() argument
42 u8 rate = tx_info->tx_rate; /* @HW rate */ in phydm_start_cck_cont_tx_jgr3()
238 void phydm_stop_pmac_tx_jgr3(void *dm_void, struct phydm_pmac_info *tx_info) in phydm_stop_pmac_tx_jgr3() argument
244 if (tx_info->mode == CONT_TX) { in phydm_stop_pmac_tx_jgr3()
258 if (tx_info->mode == OFDM_SINGLE_TONE_TX) { in phydm_stop_pmac_tx_jgr3()
270 struct phydm_pmac_info *tx_info) in phydm_set_mac_phy_txinfo_jgr3() argument
276 odm_set_bb_reg(dm, R_0xa58, 0x003F8000, tx_info->tx_rate); in phydm_set_mac_phy_txinfo_jgr3()
279 odm_set_bb_reg(dm, R_0x900, 0x2, tx_info->ndp_sound); in phydm_set_mac_phy_txinfo_jgr3()
283 tmp = (tx_info->tx_sc) | ((tx_info->bw) << 4) | in phydm_set_mac_phy_txinfo_jgr3()
284 ((tx_info->m_stbc) << 6); in phydm_set_mac_phy_txinfo_jgr3()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/phydm/
H A Dphydm_pmac_tx_setting.c38 struct phydm_pmac_info *tx_info) in phydm_start_cck_cont_tx_jgr3() argument
42 u8 rate = tx_info->tx_rate; /* @HW rate */ in phydm_start_cck_cont_tx_jgr3()
238 void phydm_stop_pmac_tx_jgr3(void *dm_void, struct phydm_pmac_info *tx_info) in phydm_stop_pmac_tx_jgr3() argument
244 if (tx_info->mode == CONT_TX) { in phydm_stop_pmac_tx_jgr3()
258 if (tx_info->mode == OFDM_SINGLE_TONE_TX) { in phydm_stop_pmac_tx_jgr3()
270 struct phydm_pmac_info *tx_info) in phydm_set_mac_phy_txinfo_jgr3() argument
276 odm_set_bb_reg(dm, R_0xa58, 0x003F8000, tx_info->tx_rate); in phydm_set_mac_phy_txinfo_jgr3()
279 odm_set_bb_reg(dm, R_0x900, 0x2, tx_info->ndp_sound); in phydm_set_mac_phy_txinfo_jgr3()
283 tmp = (tx_info->tx_sc) | ((tx_info->bw) << 4) | in phydm_set_mac_phy_txinfo_jgr3()
284 ((tx_info->m_stbc) << 6); in phydm_set_mac_phy_txinfo_jgr3()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dpci_mac.c51 mt7615_write_hw_txp(struct mt7615_dev *dev, struct mt76_tx_info *tx_info, in mt7615_write_hw_txp() argument
56 int i, nbuf = tx_info->nbuf - 1; in mt7615_write_hw_txp()
59 tx_info->buf[0].len = MT_TXD_SIZE + sizeof(*txp); in mt7615_write_hw_txp()
60 tx_info->nbuf = 1; in mt7615_write_hw_txp()
71 u16 len = tx_info->buf[i + 1].len & MT_TXD_LEN_MASK; in mt7615_write_hw_txp()
72 u32 addr = tx_info->buf[i + 1].addr; in mt7615_write_hw_txp()
89 mt7615_write_fw_txp(struct mt7615_dev *dev, struct mt76_tx_info *tx_info, in mt7615_write_fw_txp() argument
92 struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)tx_info->skb->data; in mt7615_write_fw_txp()
93 struct ieee80211_tx_info *info = IEEE80211_SKB_CB(tx_info->skb); in mt7615_write_fw_txp()
97 int nbuf = tx_info->nbuf - 1; in mt7615_write_fw_txp()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx4/
H A Den_tx.c71 ring->tx_info = kvmalloc_node(tmp, GFP_KERNEL, node); in mlx4_en_create_tx_ring()
72 if (!ring->tx_info) { in mlx4_en_create_tx_ring()
78 ring->tx_info, tmp); in mlx4_en_create_tx_ring()
153 kvfree(ring->tx_info); in mlx4_en_create_tx_ring()
154 ring->tx_info = NULL; in mlx4_en_create_tx_ring()
176 kvfree(ring->tx_info); in mlx4_en_destroy_tx_ring()
177 ring->tx_info = NULL; in mlx4_en_destroy_tx_ring()
193 memset(ring->tx_info, 0, ring->size * sizeof(struct mlx4_en_tx_info)); in mlx4_en_activate_tx_ring()
237 struct mlx4_en_tx_info *tx_info = &ring->tx_info[index]; in mlx4_en_stamp_wqe() local
244 (tx_info->nr_txbb << LOG_TXBB_SIZE) <= end)) { in mlx4_en_stamp_wqe()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/rf/
H A Dhalrf_pmac.c37 struct rf_pmac_tx_info *tx_info) in halrf_set_plcp_usr_info() argument
39 plcp->usr[0].mcs = tx_info->mcs; in halrf_set_plcp_usr_info()
47 plcp->usr[0].apep = tx_info->length; in halrf_set_plcp_usr_info()
49 plcp->usr[0].nss = tx_info->nss; in halrf_set_plcp_usr_info()
55 tx_info->mcs, tx_info->length, tx_info->nss); in halrf_set_plcp_usr_info()
59 struct rf_pmac_tx_info *tx_info) in halrf_set_plcp_para_info() argument
61 plcp->dbw = tx_info->bw; /*0:BW20, 1:BW40, 2:BW80, 3:BW160/BW80+80*/ in halrf_set_plcp_para_info()
66 plcp->long_preamble_en = tx_info->long_preamble_en; in halrf_set_plcp_para_info()
68 plcp->gi = tx_info->gi; in halrf_set_plcp_para_info()
93 plcp->ppdu_type = tx_info->ppdu; in halrf_set_plcp_para_info()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/rf/
H A Dhalrf_pmac.c37 struct rf_pmac_tx_info *tx_info) in halrf_set_plcp_usr_info() argument
39 plcp->usr[0].mcs = tx_info->mcs; in halrf_set_plcp_usr_info()
47 plcp->usr[0].apep = tx_info->length; in halrf_set_plcp_usr_info()
49 plcp->usr[0].nss = tx_info->nss; in halrf_set_plcp_usr_info()
55 tx_info->mcs, tx_info->length, tx_info->nss); in halrf_set_plcp_usr_info()
59 struct rf_pmac_tx_info *tx_info) in halrf_set_plcp_para_info() argument
61 plcp->dbw = tx_info->bw; /*0:BW20, 1:BW40, 2:BW80, 3:BW160/BW80+80*/ in halrf_set_plcp_para_info()
66 plcp->long_preamble_en = tx_info->long_preamble_en; in halrf_set_plcp_para_info()
68 plcp->gi = tx_info->gi; in halrf_set_plcp_para_info()
93 plcp->ppdu_type = tx_info->ppdu; in halrf_set_plcp_para_info()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/mwifiex/
H A Dtxrx.c170 struct mwifiex_txinfo *tx_info; in mwifiex_host_to_card() local
172 tx_info = MWIFIEX_SKB_TXCB(skb); in mwifiex_host_to_card()
173 priv = mwifiex_get_priv_by_id(adapter, tx_info->bss_num, in mwifiex_host_to_card()
174 tx_info->bss_type); in mwifiex_host_to_card()
207 if (tx_info->flags & MWIFIEX_BUF_FLAG_AGGR_PKT) in mwifiex_host_to_card()
208 atomic_add(tx_info->aggr_num, &adapter->tx_queued); in mwifiex_host_to_card()
234 struct mwifiex_txinfo *tx_info; in mwifiex_dequeue_tx_queue() local
241 tx_info = MWIFIEX_SKB_TXCB(skb); in mwifiex_dequeue_tx_queue()
242 if (tx_info->flags & MWIFIEX_BUF_FLAG_AGGR_PKT) in mwifiex_dequeue_tx_queue()
243 atomic_sub(tx_info->aggr_num, &adapter->tx_queued); in mwifiex_dequeue_tx_queue()
[all …]
H A Dsta_tx.c49 struct mwifiex_txinfo *tx_info = MWIFIEX_SKB_TXCB(skb); in mwifiex_process_sta_txpd() local
57 tx_info->status_code = -1; in mwifiex_process_sta_txpd()
81 if (tx_info->flags & MWIFIEX_BUF_FLAG_EAPOL_TX_STATUS || in mwifiex_process_sta_txpd()
82 tx_info->flags & MWIFIEX_BUF_FLAG_ACTION_TX_STATUS) { in mwifiex_process_sta_txpd()
83 local_tx_pd->tx_token_id = tx_info->ack_frame_id; in mwifiex_process_sta_txpd()
105 if (tx_info->flags & MWIFIEX_BUF_FLAG_TDLS_PKT) in mwifiex_process_sta_txpd()
144 struct mwifiex_txinfo *tx_info = NULL; in mwifiex_send_null_packet() local
163 tx_info = MWIFIEX_SKB_TXCB(skb); in mwifiex_send_null_packet()
164 memset(tx_info, 0, sizeof(*tx_info)); in mwifiex_send_null_packet()
165 tx_info->bss_num = priv->bss_num; in mwifiex_send_null_packet()
[all …]
H A Duap_txrx.c40 struct mwifiex_txinfo *tx_info; in mwifiex_uap_del_tx_pkts_in_ralist() local
48 tx_info = MWIFIEX_SKB_TXCB(skb); in mwifiex_uap_del_tx_pkts_in_ralist()
49 if (tx_info->flags & MWIFIEX_BUF_FLAG_BRIDGED_PKT) { in mwifiex_uap_del_tx_pkts_in_ralist()
100 struct mwifiex_txinfo *tx_info; in mwifiex_uap_queue_bridged_pkt() local
182 tx_info = MWIFIEX_SKB_TXCB(skb); in mwifiex_uap_queue_bridged_pkt()
183 memset(tx_info, 0, sizeof(*tx_info)); in mwifiex_uap_queue_bridged_pkt()
184 tx_info->bss_num = priv->bss_num; in mwifiex_uap_queue_bridged_pkt()
185 tx_info->bss_type = priv->bss_type; in mwifiex_uap_queue_bridged_pkt()
186 tx_info->flags |= MWIFIEX_BUF_FLAG_BRIDGED_PKT; in mwifiex_uap_queue_bridged_pkt()
207 tx_info->pkt_len = skb->len; in mwifiex_uap_queue_bridged_pkt()
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/wfx/
H A Ddata_tx.c289 struct ieee80211_tx_info *tx_info) in wfx_tx_get_rate_id() argument
295 tx_info->driver_rates, &tx_policy_renew); in wfx_tx_get_rate_id()
307 static int wfx_tx_get_frame_format(struct ieee80211_tx_info *tx_info) in wfx_tx_get_frame_format() argument
309 if (!(tx_info->driver_rates[0].flags & IEEE80211_TX_RC_MCS)) in wfx_tx_get_frame_format()
311 else if (!(tx_info->driver_rates[0].flags & IEEE80211_TX_RC_GREEN_FIELD)) in wfx_tx_get_frame_format()
335 struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); in wfx_tx_inner() local
336 struct ieee80211_key_conf *hw_key = tx_info->control.hw_key; in wfx_tx_inner()
344 wfx_tx_fixup_rates(tx_info->driver_rates); in wfx_tx_inner()
347 memset(tx_info->rate_driver_data, 0, sizeof(struct wfx_tx_priv)); in wfx_tx_inner()
349 tx_priv = (struct wfx_tx_priv *)tx_info->rate_driver_data; in wfx_tx_inner()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/bb/halbb_8852b/
H A Dhalbb_8852b.c53 struct halbb_pmac_info *tx_info, in halbb_stop_pmac_tx_8852b() argument
56 if (tx_info->is_cck) { // CCK in halbb_stop_pmac_tx_8852b()
57 if (tx_info->mode == CONT_TX) { in halbb_stop_pmac_tx_8852b()
62 } else if (tx_info->mode == PKTS_TX) { in halbb_stop_pmac_tx_8852b()
66 if (tx_info->mode == CONT_TX) in halbb_stop_pmac_tx_8852b()
68 else if (tx_info->mode == PKTS_TX) in halbb_stop_pmac_tx_8852b()
75 struct halbb_pmac_info *tx_info, in halbb_start_pmac_tx_8852b() argument
80 if (tx_info->is_cck) { in halbb_start_pmac_tx_8852b()
94 if (tx_info->is_cck) { in halbb_start_pmac_tx_8852b()
115 void halbb_set_pmac_tx_8852b(struct bb_info *bb, struct halbb_pmac_info *tx_info, in halbb_set_pmac_tx_8852b() argument
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/bb/halbb_8852b/
H A Dhalbb_8852b.c53 struct halbb_pmac_info *tx_info, in halbb_stop_pmac_tx_8852b() argument
56 if (tx_info->is_cck) { // CCK in halbb_stop_pmac_tx_8852b()
57 if (tx_info->mode == CONT_TX) { in halbb_stop_pmac_tx_8852b()
62 } else if (tx_info->mode == PKTS_TX) { in halbb_stop_pmac_tx_8852b()
66 if (tx_info->mode == CONT_TX) in halbb_stop_pmac_tx_8852b()
68 else if (tx_info->mode == PKTS_TX) in halbb_stop_pmac_tx_8852b()
75 struct halbb_pmac_info *tx_info, in halbb_start_pmac_tx_8852b() argument
80 if (tx_info->is_cck) { in halbb_start_pmac_tx_8852b()
94 if (tx_info->is_cck) { in halbb_start_pmac_tx_8852b()
115 void halbb_set_pmac_tx_8852b(struct bb_info *bb, struct halbb_pmac_info *tx_info, in halbb_set_pmac_tx_8852b() argument
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/mediatek/mt76/
H A Dmt76x02_txrx.c140 struct mt76_tx_info *tx_info) in mt76x02_tx_prepare_skb() argument
143 struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)tx_info->skb->data; in mt76x02_tx_prepare_skb()
145 bool ampdu = IEEE80211_SKB_CB(tx_info->skb)->flags & IEEE80211_TX_CTL_AMPDU; in mt76x02_tx_prepare_skb()
152 len = tx_info->skb->len - (hdrlen & 2); in mt76x02_tx_prepare_skb()
153 mt76x02_mac_write_txwi(dev, txwi, tx_info->skb, wcid, sta, len); in mt76x02_tx_prepare_skb()
155 pid = mt76_tx_status_skb_add(mdev, wcid, tx_info->skb); in mt76x02_tx_prepare_skb()
162 skb_get_queue_mapping(tx_info->skb)); in mt76x02_tx_prepare_skb()
169 tx_info->info = FIELD_PREP(MT_TXD_INFO_QSEL, qsel) | in mt76x02_tx_prepare_skb()
173 tx_info->info |= MT_TXD_INFO_WIV; in mt76x02_tx_prepare_skb()
178 ewma_pktlen_add(&msta->pktlen, tx_info->skb->len); in mt76x02_tx_prepare_skb()
H A Dmt76x02_usb_core.c67 struct mt76_tx_info *tx_info) in mt76x02u_tx_prepare_skb() argument
70 int pid, len = tx_info->skb->len, ep = q2ep(mdev->q_tx[qid]->hw_idx); in mt76x02u_tx_prepare_skb()
72 bool ampdu = IEEE80211_SKB_CB(tx_info->skb)->flags & IEEE80211_TX_CTL_AMPDU; in mt76x02u_tx_prepare_skb()
76 mt76_insert_hdr_pad(tx_info->skb); in mt76x02u_tx_prepare_skb()
78 txwi = (struct mt76x02_txwi *)(tx_info->skb->data - sizeof(*txwi)); in mt76x02u_tx_prepare_skb()
79 mt76x02_mac_write_txwi(dev, txwi, tx_info->skb, wcid, sta, len); in mt76x02u_tx_prepare_skb()
80 skb_push(tx_info->skb, sizeof(*txwi)); in mt76x02u_tx_prepare_skb()
82 pid = mt76_tx_status_skb_add(mdev, wcid, tx_info->skb); in mt76x02u_tx_prepare_skb()
89 skb_get_queue_mapping(tx_info->skb)); in mt76x02u_tx_prepare_skb()
106 ewma_pktlen_add(&msta->pktlen, tx_info->skb->len); in mt76x02u_tx_prepare_skb()
[all …]

1234567