Searched refs:ipw_rt (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/net/wireless/ipw2x00/
H A Dipw2200.c7768 struct ipw_rt_hdr *ipw_rt; ipw_handle_data_packet_monitor() local
7804 ipw_rt = (struct ipw_rt_hdr *)rxb->skb->data; ipw_handle_data_packet_monitor()
7806 ipw_rt->rt_hdr.it_version = PKTHDR_RADIOTAP_VERSION; ipw_handle_data_packet_monitor()
7807 ipw_rt->rt_hdr.it_pad = 0; /* always good to zero */ ipw_handle_data_packet_monitor()
7808 ipw_rt->rt_hdr.it_len = cpu_to_le16(sizeof(struct ipw_rt_hdr)); /* total header+data */ ipw_handle_data_packet_monitor()
7811 ipw_rt->rt_hdr.it_present = cpu_to_le32( ipw_handle_data_packet_monitor()
7821 ipw_rt->rt_flags = 0; ipw_handle_data_packet_monitor()
7822 ipw_rt->rt_tsf = (u64)(frame->parent_tsf[3] << 24 | ipw_handle_data_packet_monitor()
7828 ipw_rt->rt_dbmsignal = antsignal; ipw_handle_data_packet_monitor()
7829 ipw_rt->rt_dbmnoise = (s8) le16_to_cpu(frame->noise); ipw_handle_data_packet_monitor()
7832 ipw_rt->rt_channel = cpu_to_le16(ieee80211chan2mhz(received_channel)); ipw_handle_data_packet_monitor()
7834 ipw_rt->rt_chbitmask = ipw_handle_data_packet_monitor()
7837 ipw_rt->rt_chbitmask = ipw_handle_data_packet_monitor()
7840 ipw_rt->rt_chbitmask = ipw_handle_data_packet_monitor()
7847 ipw_rt->rt_rate = 2; ipw_handle_data_packet_monitor()
7850 ipw_rt->rt_rate = 4; ipw_handle_data_packet_monitor()
7853 ipw_rt->rt_rate = 10; ipw_handle_data_packet_monitor()
7856 ipw_rt->rt_rate = 12; ipw_handle_data_packet_monitor()
7859 ipw_rt->rt_rate = 18; ipw_handle_data_packet_monitor()
7862 ipw_rt->rt_rate = 22; ipw_handle_data_packet_monitor()
7865 ipw_rt->rt_rate = 24; ipw_handle_data_packet_monitor()
7868 ipw_rt->rt_rate = 36; ipw_handle_data_packet_monitor()
7871 ipw_rt->rt_rate = 48; ipw_handle_data_packet_monitor()
7874 ipw_rt->rt_rate = 72; ipw_handle_data_packet_monitor()
7877 ipw_rt->rt_rate = 96; ipw_handle_data_packet_monitor()
7880 ipw_rt->rt_rate = 108; ipw_handle_data_packet_monitor()
7883 ipw_rt->rt_rate = 0; ipw_handle_data_packet_monitor()
7888 ipw_rt->rt_antenna = (antennaAndPhy & 3); /* Is this right? */ ipw_handle_data_packet_monitor()
7892 ipw_rt->rt_flags |= IEEE80211_RADIOTAP_F_SHORTPRE; ipw_handle_data_packet_monitor()
7935 struct ipw_rt_hdr *ipw_rt; ipw_handle_promiscuous_rx() local
8005 ipw_rt = (void *)skb->data; ipw_handle_promiscuous_rx()
8010 memcpy(ipw_rt->payload, hdr, len); ipw_handle_promiscuous_rx()
8012 ipw_rt->rt_hdr.it_version = PKTHDR_RADIOTAP_VERSION; ipw_handle_promiscuous_rx()
8013 ipw_rt->rt_hdr.it_pad = 0; /* always good to zero */ ipw_handle_promiscuous_rx()
8014 ipw_rt->rt_hdr.it_len = cpu_to_le16(sizeof(*ipw_rt)); /* total header+data */ ipw_handle_promiscuous_rx()
8017 skb_put(skb, sizeof(*ipw_rt) + len); ipw_handle_promiscuous_rx()
8020 ipw_rt->rt_hdr.it_present = cpu_to_le32( ipw_handle_promiscuous_rx()
8030 ipw_rt->rt_flags = 0; ipw_handle_promiscuous_rx()
8031 ipw_rt->rt_tsf = (u64)(frame->parent_tsf[3] << 24 | ipw_handle_promiscuous_rx()
8037 ipw_rt->rt_dbmsignal = signal; ipw_handle_promiscuous_rx()
8038 ipw_rt->rt_dbmnoise = noise; ipw_handle_promiscuous_rx()
8041 ipw_rt->rt_channel = cpu_to_le16(ieee80211chan2mhz(channel)); ipw_handle_promiscuous_rx()
8043 ipw_rt->rt_chbitmask = ipw_handle_promiscuous_rx()
8046 ipw_rt->rt_chbitmask = ipw_handle_promiscuous_rx()
8049 ipw_rt->rt_chbitmask = ipw_handle_promiscuous_rx()
8056 ipw_rt->rt_rate = 2; ipw_handle_promiscuous_rx()
8059 ipw_rt->rt_rate = 4; ipw_handle_promiscuous_rx()
8062 ipw_rt->rt_rate = 10; ipw_handle_promiscuous_rx()
8065 ipw_rt->rt_rate = 12; ipw_handle_promiscuous_rx()
8068 ipw_rt->rt_rate = 18; ipw_handle_promiscuous_rx()
8071 ipw_rt->rt_rate = 22; ipw_handle_promiscuous_rx()
8074 ipw_rt->rt_rate = 24; ipw_handle_promiscuous_rx()
8077 ipw_rt->rt_rate = 36; ipw_handle_promiscuous_rx()
8080 ipw_rt->rt_rate = 48; ipw_handle_promiscuous_rx()
8083 ipw_rt->rt_rate = 72; ipw_handle_promiscuous_rx()
8086 ipw_rt->rt_rate = 96; ipw_handle_promiscuous_rx()
8089 ipw_rt->rt_rate = 108; ipw_handle_promiscuous_rx()
8092 ipw_rt->rt_rate = 0; ipw_handle_promiscuous_rx()
8097 ipw_rt->rt_antenna = (phy_flags & 3); ipw_handle_promiscuous_rx()
8101 ipw_rt->rt_flags |= IEEE80211_RADIOTAP_F_SHORTPRE; ipw_handle_promiscuous_rx()
H A Dipw2100.c2548 } *ipw_rt; isr_rx_monitor() local
2582 ipw_rt = (struct ipw_rt_hdr *) packet->skb->data; isr_rx_monitor()
2584 ipw_rt->rt_hdr.it_version = PKTHDR_RADIOTAP_VERSION; isr_rx_monitor()
2585 ipw_rt->rt_hdr.it_pad = 0; /* always good to zero */ isr_rx_monitor()
2586 ipw_rt->rt_hdr.it_len = cpu_to_le16(sizeof(struct ipw_rt_hdr)); /* total hdr+data */ isr_rx_monitor()
2588 ipw_rt->rt_hdr.it_present = cpu_to_le32(1 << IEEE80211_RADIOTAP_DBM_ANTSIGNAL); isr_rx_monitor()
2590 ipw_rt->rt_dbmsignal = status->rssi + IPW2100_RSSI_TO_DBM; isr_rx_monitor()

Completed in 219 milliseconds