Closed linkin8834 closed 9 years ago
Or, are the CSIs obtained from the HT-LTF? For example, if I use 2 spatial streams, does it mean that the HT-LTF would look like this: and we can get a total of 4 CSIs (2x2)? Thanks!
You receive at most one CSI measurement per received packet. I am no longer familiar with the exact process, but the CSI is estimated and refined during the entire preamble.
On Fri, Jun 19, 2015 at 7:18 PM Chen Chen notifications@github.com wrote:
Or, are the CSIs obtained from the HT-LTF? For example, if I use 2 spatial streams, does it mean that the HT-LTF would look like this: [image: image] https://cloud.githubusercontent.com/assets/7716130/8265655/e8ec857c-16d0-11e5-8699-1b98e1595457.png and we can get a total of 4 CSIs (2x2)? Thanks!
— Reply to this email directly or view it on GitHub https://github.com/dhalperi/linux-80211n-csitool-supplementary/issues/60#issuecomment-113696284 .
Thanks! Another question is: is it possible to tune the txpower? I am in the regulation domain of US. It seems that the 5300 txpower is fixed as 15dBm. I tried iwconfig wlan0 txpower 20 but failed. I want to adjust it for educational purpose (to see the difference of CSIs with an increasing power). Some solutions said I should change the reg domain to BO. It does not work for me. Thanks again.
Hmm, with connector_log=0x5 I should be able to get the package payload as well. I see entries like
Entry size=30, code=0xC1
in the log file. Does it say anything to the sequence number or package payload? Thanks, and sorry for asking so many silly problems all the time. Your tool really rocks (and the academic checking tool) :+1:
Regarding the transmit power, see FAQ 13. The EEPROM in the Intel adapter contains regulatory settings, and those settings get combined with the regulatory domain settings that you have selected in the Linux kernel. The settings written by Intel seem to be more restrictive than the regulations in the United States.
Hello David, I tried to reduce the txpower and it works. It seems that changing domain tricks does not work for intel...anyway, it is good that at least I can reduce it, so that I can study its effect on performance. Thanks!
For the logging problem, I think it is the cmsg->seq. I commented it out from the log_to_file.c and I missed the sequence number...
Thanks!
Please read FAQ#12 for information about the 802.11 sequence number. The cmsg->seq
is actually unused, but signifies the sequence number for the socket by which the kernel sends messages to userspace.
Thanks!
Hi Daniel, I turned the connector_log id to 0x5 and I see that some packages are in different size with the 3x3 package (573 Bytes). I guess that they correspond to the additional information of the package (not just the beamforming information). I think log_to_file dumps everything to the output file. Should I change the read_bfee.c to dump the payload into workspace (or should I just use wireshark). Thanks!
read_bfee
produces only CSI measurements. If you want the packet payloads, you need to write code to read them.
573 bytes is the size of a 3x3 CSI measurement. The payloads are in different messages which you will find in MATLAB.
Dear Daniel, Got it. Thanks so much :}
Please create separate issues for separate questions.
@linkin8834 : Hi, I want a sequence number with every packet while injecting packets and receiving them on two laptops in monitor mode. Subsequently I intend to use this seq no. for synchronizing the data collected by two laptops. I will appreciate your help. Thanks
Hello, As far as I know, 802.11n uses the two long preambles to get the estimated CSI. I am wondering, could I say that the CSIs I captured using Intel 5300 can be grouped into segments composed by two consecutive CSIs belonging to the training sequence of one package? For instance, if I capture CSI1 | CSI2 | CSI3 | CSI4 ... Can I conclude that, CSI1 and CSI2 are from the 1st package, and CSI3 , CSI4 are from the 2nd package? If so, I could use some algorithms to estimate/compensate the frequency offset by correlation between CSI1 and CSI2, as well as CSI3 and CSI4. Thanks!