gr-csitool
gr-csitool copied to clipboard
## problem about mac address filter
I have some problem to filter the specific mac address by using the ofdm_parse_payload_impl block. It can't check all of my mac address.
You can only specify one mac address, or leave the MAC Filter field blank to capture all packets. The format of mac address is xx:xx:xx:xx:xx:xx, where x is hex digit and : is any separator.
I only use one mac address, but it doesn't work. For example, I want to filter 23:23:23:23:23:23
, and I fill the field with 23:23:23:23:23:23
then I only get the packet with the same src mac, but It drops lots of packets. And then I replace the filed with the mac 23:23:23:23:23:aa
then the same result occurs, I can only receive the packets with the same src 23:23:23:23:23:23
. If I leave the field to blank I get the all packets and other mac packets I can also receive, This works well.
big brother!!! your codes in 205 lines may be have some error
for(j = 0; j < 6; j++){
if(d_mac[i] != d_data_bytes[12 + i]){
break;
}
}
the i
should be replaced by j
!!!!!