Home
last modified time | relevance | path

Searched refs:pkt_type (Results 1 – 25 of 130) sorted by relevance

123456

/drivers/staging/vt6656/
Drxtx.c116 static u32 vnt_get_rsvtime(struct vnt_private *priv, u8 pkt_type, in vnt_get_rsvtime() argument
121 data_time = vnt_get_frame_time(priv->preamble_type, pkt_type, in vnt_get_rsvtime()
124 if (pkt_type == PK_TYPE_11B) in vnt_get_rsvtime()
125 ack_time = vnt_get_frame_time(priv->preamble_type, pkt_type, in vnt_get_rsvtime()
128 ack_time = vnt_get_frame_time(priv->preamble_type, pkt_type, in vnt_get_rsvtime()
137 static __le16 vnt_rxtx_rsvtime_le16(struct vnt_private *priv, u8 pkt_type, in vnt_rxtx_rsvtime_le16() argument
140 return cpu_to_le16((u16)vnt_get_rsvtime(priv, pkt_type, in vnt_rxtx_rsvtime_le16()
145 u8 pkt_type, u32 frame_length, in vnt_get_rtscts_rsvtime_le() argument
155 data_time = vnt_get_frame_time(priv->preamble_type, pkt_type, in vnt_get_rtscts_rsvtime_le()
159 rts_time = vnt_get_frame_time(priv->preamble_type, pkt_type, in vnt_get_rtscts_rsvtime_le()
[all …]
Dbaseband.c140 unsigned int vnt_get_frame_time(u8 preamble_type, u8 pkt_type, in vnt_get_frame_time() argument
175 if (pkt_type != PK_TYPE_11A) in vnt_get_frame_time()
198 u16 tx_rate, u8 pkt_type, struct vnt_phy_field *phy) in vnt_get_phy_field() argument
256 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field()
263 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field()
270 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field()
277 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field()
284 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field()
291 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field()
298 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field()
[all …]
Dbaseband.h86 unsigned int vnt_get_frame_time(u8 preamble_type, u8 pkt_type,
90 u16 tx_rate, u8 pkt_type, struct vnt_phy_field *phy);
/drivers/staging/vt6655/
Dbaseband.c1778 u16 tx_rate, u8 pkt_type, struct vnt_phy_field *phy) in vnt_get_phy_field() argument
1836 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field()
1843 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field()
1850 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field()
1857 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field()
1864 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field()
1871 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field()
1878 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field()
1885 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field()
1891 if (pkt_type == PK_TYPE_11A) in vnt_get_phy_field()
[all …]
Drxtx.c188 static __le16 vnt_rxtx_rsvtime_le16(struct vnt_private *priv, u8 pkt_type, in vnt_rxtx_rsvtime_le16() argument
191 return cpu_to_le16((u16)s_uGetTxRsvTime(priv, pkt_type, in vnt_rxtx_rsvtime_le16()
1294 u8 pkt_type; in vnt_generate_fifo_header() local
1314 pkt_type = PK_TYPE_11A; in vnt_generate_fifo_header()
1317 pkt_type = PK_TYPE_11GB; in vnt_generate_fifo_header()
1319 pkt_type = PK_TYPE_11GA; in vnt_generate_fifo_header()
1322 pkt_type = PK_TYPE_11B; in vnt_generate_fifo_header()
1326 if (pkt_type == PK_TYPE_11A) in vnt_generate_fifo_header()
1328 else if (pkt_type == PK_TYPE_11B) in vnt_generate_fifo_header()
1330 else if (pkt_type == PK_TYPE_11GB) in vnt_generate_fifo_header()
[all …]
/drivers/media/platform/qcom/venus/
Dhfi_cmds.c25 pkt->hdr.pkt_type = HFI_CMD_SYS_INIT; in pkt_sys_init()
32 pkt->hdr.pkt_type = HFI_CMD_SYS_PC_PREP; in pkt_sys_pc_prep()
40 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_PROPERTY; in pkt_sys_idle_indicator()
52 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_PROPERTY; in pkt_sys_debug_config()
63 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_PROPERTY; in pkt_sys_coverage_config()
73 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_RESOURCE; in pkt_sys_set_resource()
100 pkt->hdr.pkt_type = HFI_CMD_SYS_RELEASE_RESOURCE; in pkt_sys_unset_resource()
120 pkt->hdr.pkt_type = HFI_CMD_SYS_PING; in pkt_sys_ping()
129 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_PROPERTY; in pkt_sys_power_control()
147 pkt->hdr.pkt_type = HFI_CMD_SYS_TEST_SSR; in pkt_sys_ssr_cmd()
[all …]
Dhfi_msgs.c1008 if (handler->pkt != hdr->pkt_type) in hfi_process_msg_packet()
1015 return hdr->pkt_type; in hfi_process_msg_packet()
1020 hdr->size, handler->pkt_sz, hdr->pkt_type); in hfi_process_msg_packet()
1022 return hdr->pkt_type; in hfi_process_msg_packet()
1042 if (!inst && hdr->pkt_type != HFI_MSG_EVENT_NOTIFY) { in hfi_process_msg_packet()
1052 return hdr->pkt_type; in hfi_process_msg_packet()
/drivers/bluetooth/
Dbtwilink.c60 static inline void ti_st_tx_complete(struct ti_st *hst, int pkt_type) in ti_st_tx_complete() argument
65 switch (pkt_type) { in ti_st_tx_complete()
248 int pkt_type; in ti_st_send_frame() local
262 pkt_type = hci_skb_pkt_type(skb); in ti_st_send_frame()
272 ti_st_tx_complete(hst, pkt_type); in ti_st_send_frame()
Dhci_h5.c616 static struct sk_buff *h5_prepare_pkt(struct hci_uart *hu, u8 pkt_type, in h5_prepare_pkt() argument
624 if (!valid_packet_type(pkt_type)) { in h5_prepare_pkt()
625 BT_ERR("Unknown packet type %u", pkt_type); in h5_prepare_pkt()
639 hci_skb_pkt_type(nskb) = pkt_type; in h5_prepare_pkt()
647 if (pkt_type == HCI_ACLDATA_PKT || pkt_type == HCI_COMMAND_PKT) { in h5_prepare_pkt()
653 hdr[1] = pkt_type | ((len & 0x0f) << 4); in h5_prepare_pkt()
Dhci_vhci.c174 __u8 pkt_type, opcode; in vhci_get_user() local
189 pkt_type = *((__u8 *) skb->data); in vhci_get_user()
192 switch (pkt_type) { in vhci_get_user()
201 hci_skb_pkt_type(skb) = pkt_type; in vhci_get_user()
Dbfusb.c273 unsigned char pkt_type; in bfusb_recv_block() local
287 pkt_type = *buf++; len--; in bfusb_recv_block()
289 switch (pkt_type) { in bfusb_recv_block()
327 hci_skb_pkt_type(skb) = pkt_type; in bfusb_recv_block()
/drivers/net/wireless/marvell/mwifiex/
Dsta_tx.c51 u16 pkt_type, pkt_offset; in mwifiex_process_sta_txpd() local
63 pkt_type = mwifiex_is_skb_mgmt_frame(skb) ? PKT_TYPE_MGMT : 0; in mwifiex_process_sta_txpd()
110 if (pkt_type == PKT_TYPE_MGMT) { in mwifiex_process_sta_txpd()
112 local_tx_pd->tx_pkt_type = cpu_to_le16(pkt_type); in mwifiex_process_sta_txpd()
Duap_txrx.c380 u8 ta[ETH_ALEN], pkt_type; in mwifiex_process_uap_rx_packet() local
432 pkt_type = (u8)le16_to_cpu(uap_rx_pd->rx_pkt_type); in mwifiex_process_uap_rx_packet()
434 uap_rx_pd->priority, ta, pkt_type, in mwifiex_process_uap_rx_packet()
470 u16 pkt_type, pkt_offset; in mwifiex_process_uap_txpd() local
482 pkt_type = mwifiex_is_skb_mgmt_frame(skb) ? PKT_TYPE_MGMT : 0; in mwifiex_process_uap_txpd()
515 if (pkt_type == PKT_TYPE_MGMT) { in mwifiex_process_uap_txpd()
517 txpd->tx_pkt_type = cpu_to_le16(pkt_type); in mwifiex_process_uap_txpd()
Dsdio.c1281 u32 pkt_len, pkt_type, mport, pind; in mwifiex_sdio_card_to_host_mp_aggr() local
1397 pkt_type = get_unaligned_le16(&curr_ptr[2]); in mwifiex_sdio_card_to_host_mp_aggr()
1405 pkt_len, pkt_type); in mwifiex_sdio_card_to_host_mp_aggr()
1412 if ((pkt_type == MWIFIEX_TYPE_DATA || in mwifiex_sdio_card_to_host_mp_aggr()
1413 (pkt_type == MWIFIEX_TYPE_AGGR_DATA && in mwifiex_sdio_card_to_host_mp_aggr()
1423 pkt_type); in mwifiex_sdio_card_to_host_mp_aggr()
1430 pkt_type, pkt_len, len_arr[pind]); in mwifiex_sdio_card_to_host_mp_aggr()
1448 if (mwifiex_sdio_card_to_host(adapter, &pkt_type, in mwifiex_sdio_card_to_host_mp_aggr()
1457 if (mwifiex_sdio_card_to_host(adapter, &pkt_type, in mwifiex_sdio_card_to_host_mp_aggr()
1462 pkt_type == MWIFIEX_TYPE_AGGR_DATA) { in mwifiex_sdio_card_to_host_mp_aggr()
[all …]
/drivers/net/ipvlan/
Dipvlan_core.c198 u8 pkt_type; in ipvlan_process_multicast() local
216 pkt_type = PACKET_BROADCAST; in ipvlan_process_multicast()
218 pkt_type = PACKET_MULTICAST; in ipvlan_process_multicast()
234 nskb->pkt_type = pkt_type; in ipvlan_process_multicast()
249 skb->pkt_type = pkt_type; in ipvlan_process_multicast()
304 skb->pkt_type = PACKET_HOST; in ipvlan_rcv_frame()
310 skb->pkt_type = PACKET_OTHERHOST; in ipvlan_rcv_frame()
/drivers/staging/rtl8192u/
Dr819xU_cmdpkt.c113 if (pstx_fb->pkt_type == PACKET_MULTICAST) { in cmpk_count_txstatistic()
116 } else if (pstx_fb->pkt_type == PACKET_BROADCAST) { in cmpk_count_txstatistic()
129 if (pstx_fb->pkt_type == PACKET_MULTICAST) in cmpk_count_txstatistic()
131 else if (pstx_fb->pkt_type == PACKET_BROADCAST) in cmpk_count_txstatistic()
/drivers/net/can/
Dvcan.c80 skb->pkt_type = PACKET_BROADCAST; in vcan_rx()
100 loop = skb->pkt_type == PACKET_LOOPBACK; in vcan_tx()
/drivers/media/usb/gspca/
Dt613.c837 int pkt_type; in sd_pkt_scan() local
859 pkt_type = FIRST_PACKET; in sd_pkt_scan()
861 pkt_type = LAST_PACKET; in sd_pkt_scan()
863 pkt_type = INTER_PACKET; in sd_pkt_scan()
864 gspca_frame_add(gspca_dev, pkt_type, data, len); in sd_pkt_scan()
/drivers/net/wireless/mediatek/mt7601u/
Dphy.c815 u8 bbp_r47, pkt_type, tx_rate; in mt7601u_tssi_params_get() local
822 pkt_type = mt7601u_bbp_r47_get(dev, bbp_r47, BBP_R47_F_PKT_T); in mt7601u_tssi_params_get()
826 switch (pkt_type & 0x03) { in mt7601u_tssi_params_get()
828 tx_rate = (pkt_type >> 4) & 0x03; in mt7601u_tssi_params_get()
833 tx_rate = ofdm_pkt2rate[(pkt_type >> 4) & 0x07]; in mt7601u_tssi_params_get()
853 p.trgt_power += mt7601u_phy_rf_pa_mode_val(dev, pkt_type & 0x03, in mt7601u_tssi_params_get()
857 if ((pkt_type & 0x03) == MT_PHY_TYPE_CCK) { in mt7601u_tssi_params_get()
870 p.tssi0, p.trgt_power, dev->raw_temp, pkt_type); in mt7601u_tssi_params_get()
/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_handlers.c72 skb->pkt_type = PACKET_HOST; in rmnet_deliver_skb()
208 if (skb->pkt_type == PACKET_LOOPBACK) in rmnet_rx_handler()
/drivers/net/arcnet/
Drfc1051.c98 skb->pkt_type = PACKET_BROADCAST; in type_trans()
102 skb->pkt_type = PACKET_OTHERHOST; in type_trans()
/drivers/net/wireless/realtek/rtlwifi/btcoexist/
Drtl_btc.c243 void rtl_btc_special_packet_notify(struct rtl_priv *rtlpriv, u8 pkt_type) in rtl_btc_special_packet_notify() argument
245 return exhalbtc_special_packet_notify(&gl_bt_coexist, pkt_type); in rtl_btc_special_packet_notify()
/drivers/staging/octeon/
Dethernet-tx.c620 work->word2.s.is_bcast = (skb->pkt_type == PACKET_BROADCAST); in cvm_oct_xmit_pow()
621 work->word2.s.is_mcast = (skb->pkt_type == PACKET_MULTICAST); in cvm_oct_xmit_pow()
648 (skb->pkt_type == PACKET_BROADCAST); in cvm_oct_xmit_pow()
650 (skb->pkt_type == PACKET_MULTICAST); in cvm_oct_xmit_pow()
/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_a0.c597 unsigned int pkt_type = 0U; in hw_atl_a0_hw_ring_rx_receive() local
633 pkt_type = 0xFFU & (rxd_wb->type >> 4); in hw_atl_a0_hw_ring_rx_receive()
636 if (0x0U == (pkt_type & 0x3U)) in hw_atl_a0_hw_ring_rx_receive()
639 if (0x4U == (pkt_type & 0x1CU)) in hw_atl_a0_hw_ring_rx_receive()
641 else if (0x0U == (pkt_type & 0x1CU)) in hw_atl_a0_hw_ring_rx_receive()
/drivers/staging/wilc1000/
Dlinux_mon.c117 skb->pkt_type = PACKET_OTHERHOST; in WILC_WFI_monitor_rx()
223 skb2->pkt_type = PACKET_OTHERHOST; in WILC_WFI_mon_xmit()

123456