/linux/drivers/net/wireless/broadcom/b43/ |
A D | xmit.c | 56 switch (plcp->raw[0]) { in b43_plcp_get_bitrate_idx_cck() 75 switch (plcp->raw[0] & 0xF) { in b43_plcp_get_bitrate_idx_ofdm() 139 __u8 *raw = plcp->raw; in b43_generate_plcp_hdr() 147 plcp->data = cpu_to_le32(d); in b43_generate_plcp_hdr() 161 plcp->data |= cpu_to_le32(plen << 16); in b43_generate_plcp_hdr() 428 struct b43_plcp_hdr6 *plcp; in b43_generate_txhdr() local 488 plcp = &txhdr->format_598.rts_plcp; in b43_generate_txhdr() 491 plcp = &txhdr->format_351.rts_plcp; in b43_generate_txhdr() 494 plcp = &txhdr->format_410.rts_plcp; in b43_generate_txhdr() 499 plcp = &txhdr->rts_plcp_fb; in b43_generate_txhdr() [all …]
|
A D | xmit.h | 64 struct b43_plcp_hdr6 plcp; /* Main PLCP header */ member 77 struct b43_plcp_hdr6 plcp; /* Main PLCP header */ member 88 struct b43_plcp_hdr6 plcp; /* Main PLCP header */ member 354 void b43_generate_plcp_hdr(struct b43_plcp_hdr4 *plcp,
|
/linux/drivers/net/wireless/broadcom/b43legacy/ |
A D | xmit.c | 27 static u8 b43legacy_plcp_get_bitrate_idx_cck(struct b43legacy_plcp_hdr6 *plcp) in b43legacy_plcp_get_bitrate_idx_cck() argument 29 switch (plcp->raw[0]) { in b43legacy_plcp_get_bitrate_idx_cck() 49 switch (plcp->raw[0] & 0xF) { in b43legacy_plcp_get_bitrate_idx_ofdm() 111 void b43legacy_generate_plcp_hdr(struct b43legacy_plcp_hdr4 *plcp, in b43legacy_generate_plcp_hdr() argument 114 __le32 *data = &(plcp->data); in b43legacy_generate_plcp_hdr() 115 __u8 *raw = plcp->raw; in b43legacy_generate_plcp_hdr() 257 (&txhdr->plcp), plcp_fragment_len, in generate_txhdr_fw3() 423 struct b43legacy_plcp_hdr6 *plcp; in b43legacy_rx() local 456 plcp = (struct b43legacy_plcp_hdr6 *)(skb->data + padding); in b43legacy_rx() 525 status.rate_idx = b43legacy_plcp_get_bitrate_idx_ofdm(plcp, false); in b43legacy_rx() [all …]
|
A D | xmit.h | 42 struct b43legacy_plcp_hdr6 plcp; member 195 void b43legacy_generate_plcp_hdr(struct b43legacy_plcp_hdr4 *plcp,
|
A D | main.c | 899 struct b43legacy_plcp_hdr4 plcp; in b43legacy_write_template_common() local 901 plcp.data = 0; in b43legacy_write_template_common() 902 b43legacy_generate_plcp_hdr(&plcp, size + FCS_LEN, rate); in b43legacy_write_template_common() 903 b43legacy_ram_write(dev, ram_offset, le32_to_cpu(plcp.data)); in b43legacy_write_template_common() 1023 struct b43legacy_plcp_hdr4 plcp; in b43legacy_write_probe_resp_plcp() local 1027 plcp.data = 0; in b43legacy_write_probe_resp_plcp() 1028 b43legacy_generate_plcp_hdr(&plcp, size + FCS_LEN, rate->hw_value); in b43legacy_write_probe_resp_plcp() 1035 tmp = le32_to_cpu(plcp.data); in b43legacy_write_probe_resp_plcp()
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
A D | rate.c | 343 u32 brcms_c_compute_rspec(struct d11rxhdr *rxh, u8 *plcp) in brcms_c_compute_rspec() argument 357 ((struct cck_phy_hdr *) plcp)->signal); in brcms_c_compute_rspec() 362 ((struct ofdm_phy_hdr *) plcp)->rlpt[0]); in brcms_c_compute_rspec() 365 rspec = (plcp[0] & MIMO_PLCP_MCS_MASK) | RSPEC_MIMORATE; in brcms_c_compute_rspec() 366 if (plcp[0] & MIMO_PLCP_40MHZ) { in brcms_c_compute_rspec() 378 if (plcp3_issgi(plcp[3])) in brcms_c_compute_rspec() 383 ((struct ofdm_phy_hdr *) plcp)->rlpt[0]); in brcms_c_compute_rspec() 386 ((struct cck_phy_hdr *) plcp)->signal); in brcms_c_compute_rspec()
|
A D | ampdu.c | 529 u8 *plcp; in brcms_c_ampdu_add_frame() local 536 plcp = (u8 *)(txh + 1); in brcms_c_ampdu_add_frame() 587 plcp0 = plcp[0]; in brcms_c_ampdu_add_frame() 588 plcp3 = plcp[3]; in brcms_c_ampdu_add_frame() 635 u8 *plcp; in brcms_c_ampdu_finalize() local 686 plcp = (u8 *)(txh + 1); in brcms_c_ampdu_finalize() 708 plcp0 = plcp[0]; in brcms_c_ampdu_finalize() 725 if (plcp[0] & MIMO_PLCP_40MHZ) in brcms_c_ampdu_finalize() 750 BRCMS_SET_MIMO_PLCP_AMPDU(plcp); in brcms_c_ampdu_finalize() 843 u8 *plcp; in brcms_c_ampdu_dotxstatus_complete() local [all …]
|
A D | d11.h | 731 #define BRCMS_GET_CCK_PLCP_LEN(plcp) (plcp[4] + (plcp[5] << 8)) argument 732 #define BRCMS_GET_MIMO_PLCP_LEN(plcp) (plcp[1] + (plcp[2] << 8)) argument 733 #define BRCMS_SET_MIMO_PLCP_LEN(plcp, len) \ argument 735 plcp[1] = len & 0xff; \ 736 plcp[2] = ((len >> 8) & 0xff); \ 739 #define BRCMS_SET_MIMO_PLCP_AMPDU(plcp) (plcp[3] |= MIMO_PLCP_AMPDU) argument 740 #define BRCMS_CLR_MIMO_PLCP_AMPDU(plcp) (plcp[3] &= ~MIMO_PLCP_AMPDU) argument 741 #define BRCMS_IS_MIMO_PLCP_AMPDU(plcp) (plcp[3] & MIMO_PLCP_AMPDU) argument
|
A D | rate.h | 155 static inline bool plcp3_issgi(u8 plcp) in plcp3_issgi() argument 157 return (plcp & (RSPEC_SHORT_GI >> 16)) != 0; in plcp3_issgi() 227 u32 brcms_c_compute_rspec(struct d11rxhdr *rxh, u8 *plcp);
|
A D | main.c | 5992 plcp[2] = usec & 0xff; in brcms_c_cck_plcp_set() 5995 plcp[4] = 0; in brcms_c_cck_plcp_set() 5996 plcp[5] = 0; in brcms_c_cck_plcp_set() 6003 plcp[0] = mcs; in brcms_c_compute_mimo_plcp() 6010 plcp[5] = 0; in brcms_c_compute_mimo_plcp() 6032 plcp[0] |= tmp & 0xff; in brcms_c_compute_ofdm_plcp() 6451 plcp[0]; in brcms_c_d11hdrs_mac80211() 7007 unsigned char *plcp; in prep_mac80211_status() local 7027 plcp = p->data; in prep_mac80211_status() 7228 (u16) (plcp[0] + (plcp[1] << 8))); in brcms_c_mod_prb_rsp_rate_table() [all …]
|
/linux/drivers/net/wireless/ralink/rt2x00/ |
A D | rt2x00dev.c | 883 .plcp = 0x00, 890 .plcp = 0x01, 897 .plcp = 0x02, 904 .plcp = 0x03, 911 .plcp = 0x0b, 918 .plcp = 0x0f, 925 .plcp = 0x0a, 932 .plcp = 0x0e, 939 .plcp = 0x09, 946 .plcp = 0x0d, [all …]
|
A D | rt2x00queue.c | 244 txdesc->u.plcp.ifs = IFS_BACKOFF; in rt2x00queue_create_tx_descriptor_plcp() 246 txdesc->u.plcp.ifs = IFS_SIFS; in rt2x00queue_create_tx_descriptor_plcp() 256 txdesc->u.plcp.signal = hwrate->plcp; in rt2x00queue_create_tx_descriptor_plcp() 257 txdesc->u.plcp.service = 0x04; in rt2x00queue_create_tx_descriptor_plcp() 260 txdesc->u.plcp.length_high = (data_length >> 6) & 0x3f; in rt2x00queue_create_tx_descriptor_plcp() 261 txdesc->u.plcp.length_low = data_length & 0x3f; in rt2x00queue_create_tx_descriptor_plcp() 276 txdesc->u.plcp.service |= 0x80; in rt2x00queue_create_tx_descriptor_plcp() 279 txdesc->u.plcp.length_high = (duration >> 8) & 0xff; in rt2x00queue_create_tx_descriptor_plcp() 280 txdesc->u.plcp.length_low = duration & 0xff; in rt2x00queue_create_tx_descriptor_plcp() 287 txdesc->u.plcp.signal |= 0x08; in rt2x00queue_create_tx_descriptor_plcp()
|
A D | rt2400pci.c | 1115 rt2x00_set_field32(&word, TXD_W3_PLCP_SIGNAL, txdesc->u.plcp.signal); in rt2400pci_write_tx_desc() 1118 rt2x00_set_field32(&word, TXD_W3_PLCP_SERVICE, txdesc->u.plcp.service); in rt2400pci_write_tx_desc() 1125 txdesc->u.plcp.length_low); in rt2400pci_write_tx_desc() 1129 txdesc->u.plcp.length_high); in rt2400pci_write_tx_desc() 1150 rt2x00_set_field32(&word, TXD_W0_IFS, txdesc->u.plcp.ifs); in rt2400pci_write_tx_desc()
|
A D | rt2500usb.c | 1078 rt2x00_set_field32(&word, TXD_W0_IFS, txdesc->u.plcp.ifs); in rt2500usb_write_tx_desc() 1092 rt2x00_set_field32(&word, TXD_W2_PLCP_SIGNAL, txdesc->u.plcp.signal); in rt2500usb_write_tx_desc() 1093 rt2x00_set_field32(&word, TXD_W2_PLCP_SERVICE, txdesc->u.plcp.service); in rt2500usb_write_tx_desc() 1095 txdesc->u.plcp.length_low); in rt2500usb_write_tx_desc() 1097 txdesc->u.plcp.length_high); in rt2500usb_write_tx_desc()
|
A D | rt2x00lib.h | 38 unsigned short plcp; member
|
A D | rt2x00queue.h | 306 } plcp; member
|
A D | rt2500pci.c | 1270 rt2x00_set_field32(&word, TXD_W3_PLCP_SIGNAL, txdesc->u.plcp.signal); in rt2500pci_write_tx_desc() 1271 rt2x00_set_field32(&word, TXD_W3_PLCP_SERVICE, txdesc->u.plcp.service); in rt2500pci_write_tx_desc() 1273 txdesc->u.plcp.length_low); in rt2500pci_write_tx_desc() 1275 txdesc->u.plcp.length_high); in rt2500pci_write_tx_desc() 1300 rt2x00_set_field32(&word, TXD_W0_IFS, txdesc->u.plcp.ifs); in rt2500pci_write_tx_desc()
|
A D | rt73usb.c | 1466 rt2x00_set_field32(&word, TXD_W0_IFS, txdesc->u.plcp.ifs); in rt73usb_write_tx_desc() 1491 rt2x00_set_field32(&word, TXD_W2_PLCP_SIGNAL, txdesc->u.plcp.signal); in rt73usb_write_tx_desc() 1492 rt2x00_set_field32(&word, TXD_W2_PLCP_SERVICE, txdesc->u.plcp.service); in rt73usb_write_tx_desc() 1494 txdesc->u.plcp.length_low); in rt73usb_write_tx_desc() 1496 txdesc->u.plcp.length_high); in rt73usb_write_tx_desc()
|
/linux/drivers/net/wireless/ath/carl9170/ |
A D | rx.c | 362 switch (head->plcp[0]) { in carl9170_rx_mac_status() 378 "rate (%x).\n", head->plcp[0]); in carl9170_rx_mac_status() 387 switch (head->plcp[0] & 0xf) { in carl9170_rx_mac_status() 415 "rate (%x).\n", head->plcp[0]); in carl9170_rx_mac_status() 425 if (head->plcp[3] & 0x80) in carl9170_rx_mac_status() 427 if (head->plcp[6] & 0x80) in carl9170_rx_mac_status() 430 status->rate_idx = clamp(head->plcp[3] & 0x7f, 0, 75); in carl9170_rx_mac_status()
|
A D | tx.c | 1569 u32 *ht1, u32 *plcp) in carl9170_tx_beacon_physet() argument 1591 *plcp |= AR9170_MAC_BCN_HT2_SGI; in carl9170_tx_beacon_physet() 1595 *plcp |= AR9170_MAC_BCN_HT2_BW40; in carl9170_tx_beacon_physet() 1598 *plcp |= AR9170_MAC_BCN_HT2_BW40; in carl9170_tx_beacon_physet() 1603 if (*plcp <= AR9170_TX_PHY_RATE_CCK_11M) in carl9170_tx_beacon_physet() 1604 *plcp |= ((skb->len + FCS_LEN) << (3 + 16)) + 0x0400; in carl9170_tx_beacon_physet() 1606 *plcp |= ((skb->len + FCS_LEN) << 16) + 0x0010; in carl9170_tx_beacon_physet() 1617 u32 word, ht1, plcp, off, addr, len; in carl9170_update_beacon() local 1663 ht_rate = carl9170_tx_beacon_physet(ar, skb, &ht1, &plcp); in carl9170_update_beacon() 1668 carl9170_async_regwrite(AR9170_MAC_REG_BCN_HT2, plcp); in carl9170_update_beacon() [all …]
|
A D | wlan.h | 339 u8 plcp[12]; member
|
/linux/drivers/net/wireless/admtek/ |
A D | adm8211.c | 1568 static void adm8211_calc_durations(int *dur, int *plcp, size_t payload_len, int len, in adm8211_calc_durations() argument 1611 *plcp = (80 * len) / plcp_signal; in adm8211_calc_durations() 1615 *plcp = (*plcp | 0x8000) + 1; in adm8211_calc_durations() 1617 (*plcp)++; in adm8211_calc_durations() 1678 int plcp, dur, len, plcp_signal, short_preamble; in adm8211_tx() local 1705 adm8211_calc_durations(&dur, &plcp, payload_len, in adm8211_tx() 1707 txhdr->plcp_frag_head_len = cpu_to_le16(plcp); in adm8211_tx() 1708 txhdr->plcp_frag_tail_len = cpu_to_le16(plcp); in adm8211_tx()
|
/linux/drivers/net/wireless/intel/iwlegacy/ |
A D | 3945.c | 185 il3945_hwrate_to_plcp_idx(u8 plcp) in il3945_hwrate_to_plcp_idx() argument 190 if (il3945_rates[idx].plcp == plcp) in il3945_hwrate_to_plcp_idx() 697 rate = il3945_rates[rate_idx].plcp; in il3945_hw_build_tx_cmd_rate() 1417 txpower.power[i].rate = il3945_rates[rate_idx].plcp; in il3945_send_tx_power() 1428 txpower.power[i].rate = il3945_rates[rate_idx].plcp; in il3945_send_tx_power() 2323 table[idx].rate_n_flags = cpu_to_le16(il3945_rates[i].plcp); in il3945_init_hw_rate_table()
|
/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
A D | rs.h | 17 u8 plcp; /* uCode API: IWL_RATE_6M_PLCP, etc. */ member
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
A D | rs.h | 23 u8 plcp; /* uCode API: IWL_RATE_6M_PLCP, etc. */ member
|