/drivers/net/wireless/b43/ |
D | xmit.c | 67 static int b43_plcp_get_bitrate_idx_cck(struct b43_plcp_hdr6 *plcp) in b43_plcp_get_bitrate_idx_cck() argument 69 switch (plcp->raw[0]) { in b43_plcp_get_bitrate_idx_cck() 83 static int b43_plcp_get_bitrate_idx_ofdm(struct b43_plcp_hdr6 *plcp, bool ghz5) in b43_plcp_get_bitrate_idx_ofdm() argument 88 switch (plcp->raw[0] & 0xF) { in b43_plcp_get_bitrate_idx_ofdm() 149 void b43_generate_plcp_hdr(struct b43_plcp_hdr4 *plcp, in b43_generate_plcp_hdr() argument 152 __u8 *raw = plcp->raw; in b43_generate_plcp_hdr() 160 plcp->data = cpu_to_le32(d); in b43_generate_plcp_hdr() 174 plcp->data |= cpu_to_le32(plen << 16); in b43_generate_plcp_hdr() 348 b43_generate_plcp_hdr((struct b43_plcp_hdr4 *)(&txhdr->format_598.plcp), in b43_generate_txhdr() 352 b43_generate_plcp_hdr((struct b43_plcp_hdr4 *)(&txhdr->format_351.plcp), in b43_generate_txhdr() [all …]
|
D | xmit.h | 63 struct b43_plcp_hdr6 plcp; /* Main PLCP header */ member 76 struct b43_plcp_hdr6 plcp; /* Main PLCP header */ member 87 struct b43_plcp_hdr6 plcp; /* Main PLCP header */ member 353 void b43_generate_plcp_hdr(struct b43_plcp_hdr4 *plcp,
|
/drivers/net/wireless/b43legacy/ |
D | xmit.c | 40 static u8 b43legacy_plcp_get_bitrate_idx_cck(struct b43legacy_plcp_hdr6 *plcp) in b43legacy_plcp_get_bitrate_idx_cck() argument 42 switch (plcp->raw[0]) { in b43legacy_plcp_get_bitrate_idx_cck() 57 static u8 b43legacy_plcp_get_bitrate_idx_ofdm(struct b43legacy_plcp_hdr6 *plcp, in b43legacy_plcp_get_bitrate_idx_ofdm() argument 62 switch (plcp->raw[0] & 0xF) { in b43legacy_plcp_get_bitrate_idx_ofdm() 124 void b43legacy_generate_plcp_hdr(struct b43legacy_plcp_hdr4 *plcp, in b43legacy_generate_plcp_hdr() argument 127 __le32 *data = &(plcp->data); in b43legacy_generate_plcp_hdr() 128 __u8 *raw = plcp->raw; in b43legacy_generate_plcp_hdr() 270 (&txhdr->plcp), plcp_fragment_len, in generate_txhdr_fw3() 436 struct b43legacy_plcp_hdr6 *plcp; in b43legacy_rx() local 469 plcp = (struct b43legacy_plcp_hdr6 *)(skb->data + padding); in b43legacy_rx() [all …]
|
D | xmit.h | 41 struct b43legacy_plcp_hdr6 plcp; member 194 void b43legacy_generate_plcp_hdr(struct b43legacy_plcp_hdr4 *plcp,
|
D | main.c | 927 struct b43legacy_plcp_hdr4 plcp; in b43legacy_write_template_common() local 929 plcp.data = 0; in b43legacy_write_template_common() 930 b43legacy_generate_plcp_hdr(&plcp, size + FCS_LEN, rate); in b43legacy_write_template_common() 931 b43legacy_ram_write(dev, ram_offset, le32_to_cpu(plcp.data)); in b43legacy_write_template_common() 1051 struct b43legacy_plcp_hdr4 plcp; in b43legacy_write_probe_resp_plcp() local 1055 plcp.data = 0; in b43legacy_write_probe_resp_plcp() 1056 b43legacy_generate_plcp_hdr(&plcp, size + FCS_LEN, rate->hw_value); in b43legacy_write_probe_resp_plcp() 1063 tmp = le32_to_cpu(plcp.data); in b43legacy_write_probe_resp_plcp()
|
/drivers/net/wireless/brcm80211/brcmsmac/ |
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()
|
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() 709 plcp3 = plcp[3]; in brcms_c_ampdu_finalize() 727 rspec |= plcp[0] & ~MIMO_PLCP_40MHZ; in brcms_c_ampdu_finalize() 728 if (plcp[0] & MIMO_PLCP_40MHZ) in brcms_c_ampdu_finalize() [all …]
|
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
|
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);
|
D | main.c | 6012 uint length, u8 *plcp) in brcms_c_cck_plcp_set() argument 6047 plcp[0] = rate_500 * 5; /* r (500kbps) * 5 == r (100kbps) */ in brcms_c_cck_plcp_set() 6049 plcp[1] = (u8) (le | D11B_PLCP_SIGNAL_LOCKED); in brcms_c_cck_plcp_set() 6051 plcp[2] = usec & 0xff; in brcms_c_cck_plcp_set() 6052 plcp[3] = (usec >> 8) & 0xff; in brcms_c_cck_plcp_set() 6054 plcp[4] = 0; in brcms_c_cck_plcp_set() 6055 plcp[5] = 0; in brcms_c_cck_plcp_set() 6059 static void brcms_c_compute_mimo_plcp(u32 rspec, uint length, u8 *plcp) in brcms_c_compute_mimo_plcp() argument 6062 plcp[0] = mcs; in brcms_c_compute_mimo_plcp() 6064 plcp[0] |= MIMO_PLCP_40MHZ; in brcms_c_compute_mimo_plcp() [all …]
|
/drivers/net/wireless/rt2x00/ |
D | rt2x00dev.c | 660 (rate->plcp == signal)) || in rt2x00lib_rxdone_read_signal() 827 .plcp = 0x00, 834 .plcp = 0x01, 841 .plcp = 0x02, 848 .plcp = 0x03, 855 .plcp = 0x0b, 862 .plcp = 0x0f, 869 .plcp = 0x0a, 876 .plcp = 0x0e, 883 .plcp = 0x09, [all …]
|
D | rt2x00queue.c | 252 txdesc->u.plcp.ifs = IFS_BACKOFF; in rt2x00queue_create_tx_descriptor_plcp() 254 txdesc->u.plcp.ifs = IFS_SIFS; in rt2x00queue_create_tx_descriptor_plcp() 264 txdesc->u.plcp.signal = hwrate->plcp; in rt2x00queue_create_tx_descriptor_plcp() 265 txdesc->u.plcp.service = 0x04; in rt2x00queue_create_tx_descriptor_plcp() 268 txdesc->u.plcp.length_high = (data_length >> 6) & 0x3f; in rt2x00queue_create_tx_descriptor_plcp() 269 txdesc->u.plcp.length_low = data_length & 0x3f; in rt2x00queue_create_tx_descriptor_plcp() 284 txdesc->u.plcp.service |= 0x80; in rt2x00queue_create_tx_descriptor_plcp() 287 txdesc->u.plcp.length_high = (duration >> 8) & 0xff; in rt2x00queue_create_tx_descriptor_plcp() 288 txdesc->u.plcp.length_low = duration & 0xff; in rt2x00queue_create_tx_descriptor_plcp() 295 txdesc->u.plcp.signal |= 0x08; in rt2x00queue_create_tx_descriptor_plcp()
|
D | rt2500usb.c | 1096 rt2x00_set_field32(&word, TXD_W0_IFS, txdesc->u.plcp.ifs); in rt2500usb_write_tx_desc() 1110 rt2x00_set_field32(&word, TXD_W2_PLCP_SIGNAL, txdesc->u.plcp.signal); in rt2500usb_write_tx_desc() 1111 rt2x00_set_field32(&word, TXD_W2_PLCP_SERVICE, txdesc->u.plcp.service); in rt2500usb_write_tx_desc() 1113 txdesc->u.plcp.length_low); in rt2500usb_write_tx_desc() 1115 txdesc->u.plcp.length_high); in rt2500usb_write_tx_desc()
|
D | rt2400pci.c | 1121 rt2x00_set_field32(&word, TXD_W3_PLCP_SIGNAL, txdesc->u.plcp.signal); in rt2400pci_write_tx_desc() 1124 rt2x00_set_field32(&word, TXD_W3_PLCP_SERVICE, txdesc->u.plcp.service); in rt2400pci_write_tx_desc() 1131 txdesc->u.plcp.length_low); in rt2400pci_write_tx_desc() 1135 txdesc->u.plcp.length_high); in rt2400pci_write_tx_desc() 1156 rt2x00_set_field32(&word, TXD_W0_IFS, txdesc->u.plcp.ifs); in rt2400pci_write_tx_desc()
|
D | rt2x00lib.h | 48 unsigned short plcp; member
|
D | rt2x00queue.h | 314 } plcp; member
|
D | rt2500pci.c | 1276 rt2x00_set_field32(&word, TXD_W3_PLCP_SIGNAL, txdesc->u.plcp.signal); in rt2500pci_write_tx_desc() 1277 rt2x00_set_field32(&word, TXD_W3_PLCP_SERVICE, txdesc->u.plcp.service); in rt2500pci_write_tx_desc() 1279 txdesc->u.plcp.length_low); in rt2500pci_write_tx_desc() 1281 txdesc->u.plcp.length_high); in rt2500pci_write_tx_desc() 1306 rt2x00_set_field32(&word, TXD_W0_IFS, txdesc->u.plcp.ifs); in rt2500pci_write_tx_desc()
|
D | rt73usb.c | 1472 rt2x00_set_field32(&word, TXD_W0_IFS, txdesc->u.plcp.ifs); in rt73usb_write_tx_desc() 1497 rt2x00_set_field32(&word, TXD_W2_PLCP_SIGNAL, txdesc->u.plcp.signal); in rt73usb_write_tx_desc() 1498 rt2x00_set_field32(&word, TXD_W2_PLCP_SERVICE, txdesc->u.plcp.service); in rt73usb_write_tx_desc() 1500 txdesc->u.plcp.length_low); in rt73usb_write_tx_desc() 1502 txdesc->u.plcp.length_high); in rt73usb_write_tx_desc()
|
/drivers/net/wireless/ath/carl9170/ |
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(0, 75, head->plcp[3] & 0x7f); in carl9170_rx_mac_status()
|
D | tx.c | 1565 u32 *ht1, u32 *plcp) in carl9170_tx_beacon_physet() argument 1575 carl9170_tx_rate_tpc_chains(ar, txinfo, rate, plcp, &power, &chains); in carl9170_tx_beacon_physet() 1587 *plcp |= AR9170_MAC_BCN_HT2_SGI; in carl9170_tx_beacon_physet() 1591 *plcp |= AR9170_MAC_BCN_HT2_BW40; in carl9170_tx_beacon_physet() 1594 *plcp |= AR9170_MAC_BCN_HT2_BW40; in carl9170_tx_beacon_physet() 1597 SET_VAL(AR9170_MAC_BCN_HT2_LEN, *plcp, skb->len + FCS_LEN); in carl9170_tx_beacon_physet() 1599 if (*plcp <= AR9170_TX_PHY_RATE_CCK_11M) in carl9170_tx_beacon_physet() 1600 *plcp |= ((skb->len + FCS_LEN) << (3 + 16)) + 0x0400; in carl9170_tx_beacon_physet() 1602 *plcp |= ((skb->len + FCS_LEN) << 16) + 0x0010; in carl9170_tx_beacon_physet() 1613 u32 word, ht1, plcp, off, addr, len; in carl9170_update_beacon() local [all …]
|
D | wlan.h | 339 u8 plcp[12]; member
|
/drivers/net/wireless/ |
D | adm8211.c | 1563 static void adm8211_calc_durations(int *dur, int *plcp, size_t payload_len, int len, in adm8211_calc_durations() argument 1606 *plcp = (80 * len) / plcp_signal; in adm8211_calc_durations() 1610 *plcp = (*plcp | 0x8000) + 1; in adm8211_calc_durations() 1612 (*plcp)++; in adm8211_calc_durations() 1669 int plcp, dur, len, plcp_signal, short_preamble; in adm8211_tx() local 1696 adm8211_calc_durations(&dur, &plcp, payload_len, in adm8211_tx() 1698 txhdr->plcp_frag_head_len = cpu_to_le16(plcp); in adm8211_tx() 1699 txhdr->plcp_frag_tail_len = cpu_to_le16(plcp); in adm8211_tx()
|
/drivers/net/wireless/iwlegacy/ |
D | 3945.c | 200 il3945_hwrate_to_plcp_idx(u8 plcp) in il3945_hwrate_to_plcp_idx() argument 205 if (il3945_rates[idx].plcp == plcp) in il3945_hwrate_to_plcp_idx() 712 rate = il3945_rates[rate_idx].plcp; in il3945_hw_build_tx_cmd_rate() 1432 txpower.power[i].rate = il3945_rates[rate_idx].plcp; in il3945_send_tx_power() 1443 txpower.power[i].rate = il3945_rates[rate_idx].plcp; in il3945_send_tx_power() 2340 table[idx].rate_n_flags = cpu_to_le16(il3945_rates[i].plcp); in il3945_init_hw_rate_table()
|
/drivers/net/wireless/iwlwifi/dvm/ |
D | rs.h | 37 u8 plcp; /* uCode API: IWL_RATE_6M_PLCP, etc. */ member
|
/drivers/net/wireless/iwlwifi/mvm/ |
D | rs.h | 39 u8 plcp; /* uCode API: IWL_RATE_6M_PLCP, etc. */ member
|