Awesome-WiFi-CSI-Research

Linux 802.11n CSI Tool移植问题研究

2017-06-12  本文已影响352人  wuzhiguo

组件

userspace tools 文件列表

注意

iw wlan0 set channel 64 HT20 表示将wlan0网口设置为64信道,20MHz带宽,采用802.11n协议传输数据

Channel Center Frequency(GHz) Frequency Range(GHz) Bandwidth(MHz)
64 5.320 5.310-5.330 20
linux-80211n-csitool-supplementary
│  .gitattributes
│  .gitignore
│  CONTRIBUTING.md
│  README.md
│  tree.md
│  
├─firmware
│      iwlwifi-5000-2.ucode.sigcomm2010
│      
├─hostap-config-files
│      hostap-dotconfig
│      hostapd.conf-real
│      hostapd.conf-test
│      
├─injection
│      .gitignore
│      Makefile
│      random_packets.c
│      README
│      setup_inject.sh
│      setup_monitor_csi.sh
│      util.c
│      util.h
│      
├─matlab
│  │  apply_sm.m
│  │  bpsk_ber.m
│  │  bpsk_berinv.m
│  │  dbinv.m
│  │  get_eff_SNRs.m
│  │  get_eff_SNRs_sm.m
│  │  get_mimo2_SNRs.m
│  │  get_mimo2_SNRs_sm.m
│  │  get_mimo3_SNRs.m
│  │  get_mimo3_SNRs_sm.m
│  │  get_scaled_csi.m
│  │  get_scaled_csi_sm.m
│  │  get_simo_SNRs.m
│  │  get_total_rss.m
│  │  qam16_ber.m
│  │  qam16_berinv.m
│  │  qam64_ber.m
│  │  qam64_berinv.m
│  │  qpsk_ber.m
│  │  qpsk_berinv.m
│  │  read_bfee.c
│  │  read_bfee.mexa64
│  │  read_bfee.mexmaci64
│  │  read_bfee.mexw32
│  │  read_bfee.mexw64
│  │  read_bf_file.m
│  │  remove_sm.m
│  │  sm_matrices.m
│  │  
│  └─sample_data
│          log.all_csi.6.7.6
│          
└─netlink
        .gitignore
        bfee.h
        bf_to_eff.c
        bf_to_eff.h
        get_first_bfee.c
        iwl_connector.h
        iwl_nl.c
        iwl_nl.h
        iwl_structs.h
        log_to_file.c
        Makefile
        nl_bf_to_eff.c
        parse_log.c
        print_packets.c
        q_approx.c
        q_approx.h
        util.c
        util.h
        

工作原理

Every 802.11n NIC measures the channel state for each received packet during the packet preamble. <u> The CSI is then used in the equalizer to compensate for channel effects before demodulation.</u>

Our firmware modifications enable an Intel debug mode that records CSI for each correctly received 802.11n packet and sends it up to the kernel driver on the host computer. The driver in turn passes the CSI to a user-space program for processing.

需要移植的部分

lwlwifi

**更多讨论: **

上一篇下一篇

猜你喜欢

热点阅读